All Downloads are FREE. Search and download functionalities are using the official Maven repository.

build.buf.validate.AnyRulesOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: buf/validate/validate.proto
// Protobuf Java Version: 4.28.1

package build.buf.validate;

public interface AnyRulesOrBuilder extends
    // @@protoc_insertion_point(interface_extends:buf.validate.AnyRules)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * `in` requires the field's `type_url` to be equal to one of the
   * specified values. If it doesn't match any of the specified values, an error
   * message is generated.
   *
   * ```proto
   * message MyAny {
   * //  The `value` field must have a `type_url` equal to one of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
   * }
   * ```
   * 
* * repeated string in = 2 [json_name = "in"]; * @return A list containing the in. */ java.util.List getInList(); /** *
   * `in` requires the field's `type_url` to be equal to one of the
   * specified values. If it doesn't match any of the specified values, an error
   * message is generated.
   *
   * ```proto
   * message MyAny {
   * //  The `value` field must have a `type_url` equal to one of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
   * }
   * ```
   * 
* * repeated string in = 2 [json_name = "in"]; * @return The count of in. */ int getInCount(); /** *
   * `in` requires the field's `type_url` to be equal to one of the
   * specified values. If it doesn't match any of the specified values, an error
   * message is generated.
   *
   * ```proto
   * message MyAny {
   * //  The `value` field must have a `type_url` equal to one of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
   * }
   * ```
   * 
* * repeated string in = 2 [json_name = "in"]; * @param index The index of the element to return. * @return The in at the given index. */ java.lang.String getIn(int index); /** *
   * `in` requires the field's `type_url` to be equal to one of the
   * specified values. If it doesn't match any of the specified values, an error
   * message is generated.
   *
   * ```proto
   * message MyAny {
   * //  The `value` field must have a `type_url` equal to one of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.in = ["type.googleapis.com/MyType1", "type.googleapis.com/MyType2"]];
   * }
   * ```
   * 
* * repeated string in = 2 [json_name = "in"]; * @param index The index of the value to return. * @return The bytes of the in at the given index. */ com.google.protobuf.ByteString getInBytes(int index); /** *
   * requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
   *
   * ```proto
   * message MyAny {
   * // The field `value` must not have a `type_url` equal to any of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
   * }
   * ```
   * 
* * repeated string not_in = 3 [json_name = "notIn"]; * @return A list containing the notIn. */ java.util.List getNotInList(); /** *
   * requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
   *
   * ```proto
   * message MyAny {
   * // The field `value` must not have a `type_url` equal to any of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
   * }
   * ```
   * 
* * repeated string not_in = 3 [json_name = "notIn"]; * @return The count of notIn. */ int getNotInCount(); /** *
   * requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
   *
   * ```proto
   * message MyAny {
   * // The field `value` must not have a `type_url` equal to any of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
   * }
   * ```
   * 
* * repeated string not_in = 3 [json_name = "notIn"]; * @param index The index of the element to return. * @return The notIn at the given index. */ java.lang.String getNotIn(int index); /** *
   * requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
   *
   * ```proto
   * message MyAny {
   * // The field `value` must not have a `type_url` equal to any of the specified values.
   * google.protobuf.Any value = 1 [(buf.validate.field).any.not_in = ["type.googleapis.com/ForbiddenType1", "type.googleapis.com/ForbiddenType2"]];
   * }
   * ```
   * 
* * repeated string not_in = 3 [json_name = "notIn"]; * @param index The index of the value to return. * @return The bytes of the notIn at the given index. */ com.google.protobuf.ByteString getNotInBytes(int index); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy