Class FieldConstraints.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FieldConstraints.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
build.buf.validate.FieldConstraints.Builder
All Implemented Interfaces:
FieldConstraintsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FieldConstraints

public static final class FieldConstraints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder> implements FieldConstraintsOrBuilder
 FieldConstraints encapsulates the rules for each type of field. Depending on
 the field, the correct set should be used to ensure proper validations.
 
Protobuf type buf.validate.FieldConstraints
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • clear

      public FieldConstraints.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • getDefaultInstanceForType

      public FieldConstraints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FieldConstraints build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FieldConstraints buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public FieldConstraints.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • setField

      public FieldConstraints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • clearField

      public FieldConstraints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • clearOneof

      public FieldConstraints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • setRepeatedField

      public FieldConstraints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • addRepeatedField

      public FieldConstraints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • mergeFrom

      public FieldConstraints.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldConstraints.Builder>
    • mergeFrom

      public FieldConstraints.Builder mergeFrom(FieldConstraints other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • mergeFrom

      public FieldConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FieldConstraints.Builder>
      Throws:
      IOException
    • getTypeCase

      public FieldConstraints.TypeCase getTypeCase()
      Specified by:
      getTypeCase in interface FieldConstraintsOrBuilder
    • clearType

      public FieldConstraints.Builder clearType()
    • getCelList

      public List<Constraint> getCelList()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
      Specified by:
      getCelList in interface FieldConstraintsOrBuilder
    • getCelCount

      public int getCelCount()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
      Specified by:
      getCelCount in interface FieldConstraintsOrBuilder
    • getCel

      public Constraint getCel(int index)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
      Specified by:
      getCel in interface FieldConstraintsOrBuilder
    • setCel

      public FieldConstraints.Builder setCel(int index, Constraint value)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • setCel

      public FieldConstraints.Builder setCel(int index, Constraint.Builder builderForValue)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addCel

      public FieldConstraints.Builder addCel(Constraint value)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addCel

      public FieldConstraints.Builder addCel(int index, Constraint value)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addCel

      public FieldConstraints.Builder addCel(Constraint.Builder builderForValue)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addCel

      public FieldConstraints.Builder addCel(int index, Constraint.Builder builderForValue)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addAllCel

      public FieldConstraints.Builder addAllCel(Iterable<? extends Constraint> values)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • clearCel

      public FieldConstraints.Builder clearCel()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • removeCel

      public FieldConstraints.Builder removeCel(int index)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • getCelBuilder

      public Constraint.Builder getCelBuilder(int index)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • getCelOrBuilder

      public ConstraintOrBuilder getCelOrBuilder(int index)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
      Specified by:
      getCelOrBuilder in interface FieldConstraintsOrBuilder
    • getCelOrBuilderList

      public List<? extends ConstraintOrBuilder> getCelOrBuilderList()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
      Specified by:
      getCelOrBuilderList in interface FieldConstraintsOrBuilder
    • addCelBuilder

      public Constraint.Builder addCelBuilder()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • addCelBuilder

      public Constraint.Builder addCelBuilder(int index)
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • getCelBuilderList

      public List<Constraint.Builder> getCelBuilderList()
       `cel` is a repeated field used to represent a textual expression
       in the Common Expression Language (CEL) syntax. For more information on
       CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
      
       ```proto
       message MyMessage {
         // The field `value` must be greater than 42.
         optional int32 value = 1 [(buf.validate.field).cel = {
           id: "my_message.value",
           message: "value must be greater than 42",
           expression: "this > 42",
         }];
       }
       ```
       
      repeated .buf.validate.Constraint cel = 23 [json_name = "cel"];
    • getRequired

      public boolean getRequired()
       If `required` is true, the field must be populated. A populated field can be
       described as "serialized in the wire format," which includes:
      
       - the following "nullable" fields must be explicitly set to be considered populated:
         - singular message fields (whose fields may be unpopulated/default values)
         - member fields of a oneof (may be their default value)
         - proto3 optional fields (may be their default value)
         - proto2 scalar fields (both optional and required)
       - proto3 scalar fields must be non-zero to be considered populated
       - repeated and map fields must be non-empty to be considered populated
      
       ```proto
       message MyMessage {
         // The field `value` must be set to a non-null value.
         optional MyOtherMessage value = 1 [(buf.validate.field).required = true];
       }
       ```
       
      bool required = 25 [json_name = "required"];
      Specified by:
      getRequired in interface FieldConstraintsOrBuilder
      Returns:
      The required.
    • setRequired

      public FieldConstraints.Builder setRequired(boolean value)
       If `required` is true, the field must be populated. A populated field can be
       described as "serialized in the wire format," which includes:
      
       - the following "nullable" fields must be explicitly set to be considered populated:
         - singular message fields (whose fields may be unpopulated/default values)
         - member fields of a oneof (may be their default value)
         - proto3 optional fields (may be their default value)
         - proto2 scalar fields (both optional and required)
       - proto3 scalar fields must be non-zero to be considered populated
       - repeated and map fields must be non-empty to be considered populated
      
       ```proto
       message MyMessage {
         // The field `value` must be set to a non-null value.
         optional MyOtherMessage value = 1 [(buf.validate.field).required = true];
       }
       ```
       
      bool required = 25 [json_name = "required"];
      Parameters:
      value - The required to set.
      Returns:
      This builder for chaining.
    • clearRequired

      public FieldConstraints.Builder clearRequired()
       If `required` is true, the field must be populated. A populated field can be
       described as "serialized in the wire format," which includes:
      
       - the following "nullable" fields must be explicitly set to be considered populated:
         - singular message fields (whose fields may be unpopulated/default values)
         - member fields of a oneof (may be their default value)
         - proto3 optional fields (may be their default value)
         - proto2 scalar fields (both optional and required)
       - proto3 scalar fields must be non-zero to be considered populated
       - repeated and map fields must be non-empty to be considered populated
      
       ```proto
       message MyMessage {
         // The field `value` must be set to a non-null value.
         optional MyOtherMessage value = 1 [(buf.validate.field).required = true];
       }
       ```
       
      bool required = 25 [json_name = "required"];
      Returns:
      This builder for chaining.
    • getIgnoreValue

      public int getIgnoreValue()
       Skip validation on the field if its value matches the specified criteria.
       See Ignore enum for details.
      
       ```proto
       message UpdateRequest {
         // The uri rule only applies if the field is populated and not an empty
         // string.
         optional string url = 1 [
           (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
           (buf.validate.field).string.uri = true,
         ];
       }
       ```
       
      .buf.validate.Ignore ignore = 27 [json_name = "ignore"];
      Specified by:
      getIgnoreValue in interface FieldConstraintsOrBuilder
      Returns:
      The enum numeric value on the wire for ignore.
    • setIgnoreValue

      public FieldConstraints.Builder setIgnoreValue(int value)
       Skip validation on the field if its value matches the specified criteria.
       See Ignore enum for details.
      
       ```proto
       message UpdateRequest {
         // The uri rule only applies if the field is populated and not an empty
         // string.
         optional string url = 1 [
           (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
           (buf.validate.field).string.uri = true,
         ];
       }
       ```
       
      .buf.validate.Ignore ignore = 27 [json_name = "ignore"];
      Parameters:
      value - The enum numeric value on the wire for ignore to set.
      Returns:
      This builder for chaining.
    • getIgnore

      public Ignore getIgnore()
       Skip validation on the field if its value matches the specified criteria.
       See Ignore enum for details.
      
       ```proto
       message UpdateRequest {
         // The uri rule only applies if the field is populated and not an empty
         // string.
         optional string url = 1 [
           (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
           (buf.validate.field).string.uri = true,
         ];
       }
       ```
       
      .buf.validate.Ignore ignore = 27 [json_name = "ignore"];
      Specified by:
      getIgnore in interface FieldConstraintsOrBuilder
      Returns:
      The ignore.
    • setIgnore

      public FieldConstraints.Builder setIgnore(Ignore value)
       Skip validation on the field if its value matches the specified criteria.
       See Ignore enum for details.
      
       ```proto
       message UpdateRequest {
         // The uri rule only applies if the field is populated and not an empty
         // string.
         optional string url = 1 [
           (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
           (buf.validate.field).string.uri = true,
         ];
       }
       ```
       
      .buf.validate.Ignore ignore = 27 [json_name = "ignore"];
      Parameters:
      value - The ignore to set.
      Returns:
      This builder for chaining.
    • clearIgnore

      public FieldConstraints.Builder clearIgnore()
       Skip validation on the field if its value matches the specified criteria.
       See Ignore enum for details.
      
       ```proto
       message UpdateRequest {
         // The uri rule only applies if the field is populated and not an empty
         // string.
         optional string url = 1 [
           (buf.validate.field).ignore = IGNORE_IF_DEFAULT_VALUE,
           (buf.validate.field).string.uri = true,
         ];
       }
       ```
       
      .buf.validate.Ignore ignore = 27 [json_name = "ignore"];
      Returns:
      This builder for chaining.
    • hasFloat

      public boolean hasFloat()
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
      Specified by:
      hasFloat in interface FieldConstraintsOrBuilder
      Returns:
      Whether the float field is set.
    • getFloat

      public FloatRules getFloat()
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
      Specified by:
      getFloat in interface FieldConstraintsOrBuilder
      Returns:
      The float.
    • setFloat

      public FieldConstraints.Builder setFloat(FloatRules value)
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
    • setFloat

      public FieldConstraints.Builder setFloat(FloatRules.Builder builderForValue)
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
    • mergeFloat

      public FieldConstraints.Builder mergeFloat(FloatRules value)
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
    • clearFloat

      public FieldConstraints.Builder clearFloat()
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
    • getFloatBuilder

      public FloatRules.Builder getFloatBuilder()
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
    • getFloatOrBuilder

      public FloatRulesOrBuilder getFloatOrBuilder()
       Scalar Field Types
       
      .buf.validate.FloatRules float = 1 [json_name = "float"];
      Specified by:
      getFloatOrBuilder in interface FieldConstraintsOrBuilder
    • hasDouble

      public boolean hasDouble()
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
      Specified by:
      hasDouble in interface FieldConstraintsOrBuilder
      Returns:
      Whether the double field is set.
    • getDouble

      public DoubleRules getDouble()
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
      Specified by:
      getDouble in interface FieldConstraintsOrBuilder
      Returns:
      The double.
    • setDouble

      public FieldConstraints.Builder setDouble(DoubleRules value)
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
    • setDouble

      public FieldConstraints.Builder setDouble(DoubleRules.Builder builderForValue)
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
    • mergeDouble

      public FieldConstraints.Builder mergeDouble(DoubleRules value)
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
    • clearDouble

      public FieldConstraints.Builder clearDouble()
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
    • getDoubleBuilder

      public DoubleRules.Builder getDoubleBuilder()
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
    • getDoubleOrBuilder

      public DoubleRulesOrBuilder getDoubleOrBuilder()
      .buf.validate.DoubleRules double = 2 [json_name = "double"];
      Specified by:
      getDoubleOrBuilder in interface FieldConstraintsOrBuilder
    • hasInt32

      public boolean hasInt32()
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
      Specified by:
      hasInt32 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the int32 field is set.
    • getInt32

      public Int32Rules getInt32()
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
      Specified by:
      getInt32 in interface FieldConstraintsOrBuilder
      Returns:
      The int32.
    • setInt32

      public FieldConstraints.Builder setInt32(Int32Rules value)
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
    • setInt32

      public FieldConstraints.Builder setInt32(Int32Rules.Builder builderForValue)
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
    • mergeInt32

      public FieldConstraints.Builder mergeInt32(Int32Rules value)
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
    • clearInt32

      public FieldConstraints.Builder clearInt32()
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
    • getInt32Builder

      public Int32Rules.Builder getInt32Builder()
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
    • getInt32OrBuilder

      public Int32RulesOrBuilder getInt32OrBuilder()
      .buf.validate.Int32Rules int32 = 3 [json_name = "int32"];
      Specified by:
      getInt32OrBuilder in interface FieldConstraintsOrBuilder
    • hasInt64

      public boolean hasInt64()
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
      Specified by:
      hasInt64 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the int64 field is set.
    • getInt64

      public Int64Rules getInt64()
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
      Specified by:
      getInt64 in interface FieldConstraintsOrBuilder
      Returns:
      The int64.
    • setInt64

      public FieldConstraints.Builder setInt64(Int64Rules value)
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
    • setInt64

      public FieldConstraints.Builder setInt64(Int64Rules.Builder builderForValue)
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
    • mergeInt64

      public FieldConstraints.Builder mergeInt64(Int64Rules value)
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
    • clearInt64

      public FieldConstraints.Builder clearInt64()
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
    • getInt64Builder

      public Int64Rules.Builder getInt64Builder()
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
    • getInt64OrBuilder

      public Int64RulesOrBuilder getInt64OrBuilder()
      .buf.validate.Int64Rules int64 = 4 [json_name = "int64"];
      Specified by:
      getInt64OrBuilder in interface FieldConstraintsOrBuilder
    • hasUint32

      public boolean hasUint32()
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
      Specified by:
      hasUint32 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the uint32 field is set.
    • getUint32

      public UInt32Rules getUint32()
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
      Specified by:
      getUint32 in interface FieldConstraintsOrBuilder
      Returns:
      The uint32.
    • setUint32

      public FieldConstraints.Builder setUint32(UInt32Rules value)
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
    • setUint32

      public FieldConstraints.Builder setUint32(UInt32Rules.Builder builderForValue)
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
    • mergeUint32

      public FieldConstraints.Builder mergeUint32(UInt32Rules value)
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
    • clearUint32

      public FieldConstraints.Builder clearUint32()
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
    • getUint32Builder

      public UInt32Rules.Builder getUint32Builder()
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
    • getUint32OrBuilder

      public UInt32RulesOrBuilder getUint32OrBuilder()
      .buf.validate.UInt32Rules uint32 = 5 [json_name = "uint32"];
      Specified by:
      getUint32OrBuilder in interface FieldConstraintsOrBuilder
    • hasUint64

      public boolean hasUint64()
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
      Specified by:
      hasUint64 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the uint64 field is set.
    • getUint64

      public UInt64Rules getUint64()
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
      Specified by:
      getUint64 in interface FieldConstraintsOrBuilder
      Returns:
      The uint64.
    • setUint64

      public FieldConstraints.Builder setUint64(UInt64Rules value)
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
    • setUint64

      public FieldConstraints.Builder setUint64(UInt64Rules.Builder builderForValue)
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
    • mergeUint64

      public FieldConstraints.Builder mergeUint64(UInt64Rules value)
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
    • clearUint64

      public FieldConstraints.Builder clearUint64()
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
    • getUint64Builder

      public UInt64Rules.Builder getUint64Builder()
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
    • getUint64OrBuilder

      public UInt64RulesOrBuilder getUint64OrBuilder()
      .buf.validate.UInt64Rules uint64 = 6 [json_name = "uint64"];
      Specified by:
      getUint64OrBuilder in interface FieldConstraintsOrBuilder
    • hasSint32

      public boolean hasSint32()
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
      Specified by:
      hasSint32 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the sint32 field is set.
    • getSint32

      public SInt32Rules getSint32()
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
      Specified by:
      getSint32 in interface FieldConstraintsOrBuilder
      Returns:
      The sint32.
    • setSint32

      public FieldConstraints.Builder setSint32(SInt32Rules value)
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
    • setSint32

      public FieldConstraints.Builder setSint32(SInt32Rules.Builder builderForValue)
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
    • mergeSint32

      public FieldConstraints.Builder mergeSint32(SInt32Rules value)
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
    • clearSint32

      public FieldConstraints.Builder clearSint32()
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
    • getSint32Builder

      public SInt32Rules.Builder getSint32Builder()
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
    • getSint32OrBuilder

      public SInt32RulesOrBuilder getSint32OrBuilder()
      .buf.validate.SInt32Rules sint32 = 7 [json_name = "sint32"];
      Specified by:
      getSint32OrBuilder in interface FieldConstraintsOrBuilder
    • hasSint64

      public boolean hasSint64()
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
      Specified by:
      hasSint64 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the sint64 field is set.
    • getSint64

      public SInt64Rules getSint64()
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
      Specified by:
      getSint64 in interface FieldConstraintsOrBuilder
      Returns:
      The sint64.
    • setSint64

      public FieldConstraints.Builder setSint64(SInt64Rules value)
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
    • setSint64

      public FieldConstraints.Builder setSint64(SInt64Rules.Builder builderForValue)
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
    • mergeSint64

      public FieldConstraints.Builder mergeSint64(SInt64Rules value)
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
    • clearSint64

      public FieldConstraints.Builder clearSint64()
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
    • getSint64Builder

      public SInt64Rules.Builder getSint64Builder()
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
    • getSint64OrBuilder

      public SInt64RulesOrBuilder getSint64OrBuilder()
      .buf.validate.SInt64Rules sint64 = 8 [json_name = "sint64"];
      Specified by:
      getSint64OrBuilder in interface FieldConstraintsOrBuilder
    • hasFixed32

      public boolean hasFixed32()
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
      Specified by:
      hasFixed32 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the fixed32 field is set.
    • getFixed32

      public Fixed32Rules getFixed32()
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
      Specified by:
      getFixed32 in interface FieldConstraintsOrBuilder
      Returns:
      The fixed32.
    • setFixed32

      public FieldConstraints.Builder setFixed32(Fixed32Rules value)
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
    • setFixed32

      public FieldConstraints.Builder setFixed32(Fixed32Rules.Builder builderForValue)
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
    • mergeFixed32

      public FieldConstraints.Builder mergeFixed32(Fixed32Rules value)
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
    • clearFixed32

      public FieldConstraints.Builder clearFixed32()
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
    • getFixed32Builder

      public Fixed32Rules.Builder getFixed32Builder()
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
    • getFixed32OrBuilder

      public Fixed32RulesOrBuilder getFixed32OrBuilder()
      .buf.validate.Fixed32Rules fixed32 = 9 [json_name = "fixed32"];
      Specified by:
      getFixed32OrBuilder in interface FieldConstraintsOrBuilder
    • hasFixed64

      public boolean hasFixed64()
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
      Specified by:
      hasFixed64 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the fixed64 field is set.
    • getFixed64

      public Fixed64Rules getFixed64()
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
      Specified by:
      getFixed64 in interface FieldConstraintsOrBuilder
      Returns:
      The fixed64.
    • setFixed64

      public FieldConstraints.Builder setFixed64(Fixed64Rules value)
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
    • setFixed64

      public FieldConstraints.Builder setFixed64(Fixed64Rules.Builder builderForValue)
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
    • mergeFixed64

      public FieldConstraints.Builder mergeFixed64(Fixed64Rules value)
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
    • clearFixed64

      public FieldConstraints.Builder clearFixed64()
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
    • getFixed64Builder

      public Fixed64Rules.Builder getFixed64Builder()
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
    • getFixed64OrBuilder

      public Fixed64RulesOrBuilder getFixed64OrBuilder()
      .buf.validate.Fixed64Rules fixed64 = 10 [json_name = "fixed64"];
      Specified by:
      getFixed64OrBuilder in interface FieldConstraintsOrBuilder
    • hasSfixed32

      public boolean hasSfixed32()
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
      Specified by:
      hasSfixed32 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the sfixed32 field is set.
    • getSfixed32

      public SFixed32Rules getSfixed32()
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
      Specified by:
      getSfixed32 in interface FieldConstraintsOrBuilder
      Returns:
      The sfixed32.
    • setSfixed32

      public FieldConstraints.Builder setSfixed32(SFixed32Rules value)
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
    • setSfixed32

      public FieldConstraints.Builder setSfixed32(SFixed32Rules.Builder builderForValue)
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
    • mergeSfixed32

      public FieldConstraints.Builder mergeSfixed32(SFixed32Rules value)
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
    • clearSfixed32

      public FieldConstraints.Builder clearSfixed32()
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
    • getSfixed32Builder

      public SFixed32Rules.Builder getSfixed32Builder()
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
    • getSfixed32OrBuilder

      public SFixed32RulesOrBuilder getSfixed32OrBuilder()
      .buf.validate.SFixed32Rules sfixed32 = 11 [json_name = "sfixed32"];
      Specified by:
      getSfixed32OrBuilder in interface FieldConstraintsOrBuilder
    • hasSfixed64

      public boolean hasSfixed64()
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
      Specified by:
      hasSfixed64 in interface FieldConstraintsOrBuilder
      Returns:
      Whether the sfixed64 field is set.
    • getSfixed64

      public SFixed64Rules getSfixed64()
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
      Specified by:
      getSfixed64 in interface FieldConstraintsOrBuilder
      Returns:
      The sfixed64.
    • setSfixed64

      public FieldConstraints.Builder setSfixed64(SFixed64Rules value)
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
    • setSfixed64

      public FieldConstraints.Builder setSfixed64(SFixed64Rules.Builder builderForValue)
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
    • mergeSfixed64

      public FieldConstraints.Builder mergeSfixed64(SFixed64Rules value)
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
    • clearSfixed64

      public FieldConstraints.Builder clearSfixed64()
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
    • getSfixed64Builder

      public SFixed64Rules.Builder getSfixed64Builder()
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
    • getSfixed64OrBuilder

      public SFixed64RulesOrBuilder getSfixed64OrBuilder()
      .buf.validate.SFixed64Rules sfixed64 = 12 [json_name = "sfixed64"];
      Specified by:
      getSfixed64OrBuilder in interface FieldConstraintsOrBuilder
    • hasBool

      public boolean hasBool()
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
      Specified by:
      hasBool in interface FieldConstraintsOrBuilder
      Returns:
      Whether the bool field is set.
    • getBool

      public BoolRules getBool()
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
      Specified by:
      getBool in interface FieldConstraintsOrBuilder
      Returns:
      The bool.
    • setBool

      public FieldConstraints.Builder setBool(BoolRules value)
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
    • setBool

      public FieldConstraints.Builder setBool(BoolRules.Builder builderForValue)
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
    • mergeBool

      public FieldConstraints.Builder mergeBool(BoolRules value)
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
    • clearBool

      public FieldConstraints.Builder clearBool()
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
    • getBoolBuilder

      public BoolRules.Builder getBoolBuilder()
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
    • getBoolOrBuilder

      public BoolRulesOrBuilder getBoolOrBuilder()
      .buf.validate.BoolRules bool = 13 [json_name = "bool"];
      Specified by:
      getBoolOrBuilder in interface FieldConstraintsOrBuilder
    • hasString

      public boolean hasString()
      .buf.validate.StringRules string = 14 [json_name = "string"];
      Specified by:
      hasString in interface FieldConstraintsOrBuilder
      Returns:
      Whether the string field is set.
    • getString

      public StringRules getString()
      .buf.validate.StringRules string = 14 [json_name = "string"];
      Specified by:
      getString in interface FieldConstraintsOrBuilder
      Returns:
      The string.
    • setString

      public FieldConstraints.Builder setString(StringRules value)
      .buf.validate.StringRules string = 14 [json_name = "string"];
    • setString

      public FieldConstraints.Builder setString(StringRules.Builder builderForValue)
      .buf.validate.StringRules string = 14 [json_name = "string"];
    • mergeString

      public FieldConstraints.Builder mergeString(StringRules value)
      .buf.validate.StringRules string = 14 [json_name = "string"];
    • clearString

      public FieldConstraints.Builder clearString()
      .buf.validate.StringRules string = 14 [json_name = "string"];
    • getStringBuilder

      public StringRules.Builder getStringBuilder()
      .buf.validate.StringRules string = 14 [json_name = "string"];
    • getStringOrBuilder

      public StringRulesOrBuilder getStringOrBuilder()
      .buf.validate.StringRules string = 14 [json_name = "string"];
      Specified by:
      getStringOrBuilder in interface FieldConstraintsOrBuilder
    • hasBytes

      public boolean hasBytes()
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
      Specified by:
      hasBytes in interface FieldConstraintsOrBuilder
      Returns:
      Whether the bytes field is set.
    • getBytes

      public BytesRules getBytes()
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
      Specified by:
      getBytes in interface FieldConstraintsOrBuilder
      Returns:
      The bytes.
    • setBytes

      public FieldConstraints.Builder setBytes(BytesRules value)
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
    • setBytes

      public FieldConstraints.Builder setBytes(BytesRules.Builder builderForValue)
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
    • mergeBytes

      public FieldConstraints.Builder mergeBytes(BytesRules value)
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
    • clearBytes

      public FieldConstraints.Builder clearBytes()
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
    • getBytesBuilder

      public BytesRules.Builder getBytesBuilder()
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
    • getBytesOrBuilder

      public BytesRulesOrBuilder getBytesOrBuilder()
      .buf.validate.BytesRules bytes = 15 [json_name = "bytes"];
      Specified by:
      getBytesOrBuilder in interface FieldConstraintsOrBuilder
    • hasEnum

      public boolean hasEnum()
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
      Specified by:
      hasEnum in interface FieldConstraintsOrBuilder
      Returns:
      Whether the enum field is set.
    • getEnum

      public EnumRules getEnum()
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
      Specified by:
      getEnum in interface FieldConstraintsOrBuilder
      Returns:
      The enum.
    • setEnum

      public FieldConstraints.Builder setEnum(EnumRules value)
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
    • setEnum

      public FieldConstraints.Builder setEnum(EnumRules.Builder builderForValue)
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
    • mergeEnum

      public FieldConstraints.Builder mergeEnum(EnumRules value)
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
    • clearEnum

      public FieldConstraints.Builder clearEnum()
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
    • getEnumBuilder

      public EnumRules.Builder getEnumBuilder()
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
    • getEnumOrBuilder

      public EnumRulesOrBuilder getEnumOrBuilder()
       Complex Field Types
       
      .buf.validate.EnumRules enum = 16 [json_name = "enum"];
      Specified by:
      getEnumOrBuilder in interface FieldConstraintsOrBuilder
    • hasRepeated

      public boolean hasRepeated()
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
      Specified by:
      hasRepeated in interface FieldConstraintsOrBuilder
      Returns:
      Whether the repeated field is set.
    • getRepeated

      public RepeatedRules getRepeated()
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
      Specified by:
      getRepeated in interface FieldConstraintsOrBuilder
      Returns:
      The repeated.
    • setRepeated

      public FieldConstraints.Builder setRepeated(RepeatedRules value)
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
    • setRepeated

      public FieldConstraints.Builder setRepeated(RepeatedRules.Builder builderForValue)
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
    • mergeRepeated

      public FieldConstraints.Builder mergeRepeated(RepeatedRules value)
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
    • clearRepeated

      public FieldConstraints.Builder clearRepeated()
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
    • getRepeatedBuilder

      public RepeatedRules.Builder getRepeatedBuilder()
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
    • getRepeatedOrBuilder

      public RepeatedRulesOrBuilder getRepeatedOrBuilder()
      .buf.validate.RepeatedRules repeated = 18 [json_name = "repeated"];
      Specified by:
      getRepeatedOrBuilder in interface FieldConstraintsOrBuilder
    • hasMap

      public boolean hasMap()
      .buf.validate.MapRules map = 19 [json_name = "map"];
      Specified by:
      hasMap in interface FieldConstraintsOrBuilder
      Returns:
      Whether the map field is set.
    • getMap

      public MapRules getMap()
      .buf.validate.MapRules map = 19 [json_name = "map"];
      Specified by:
      getMap in interface FieldConstraintsOrBuilder
      Returns:
      The map.
    • setMap

      public FieldConstraints.Builder setMap(MapRules value)
      .buf.validate.MapRules map = 19 [json_name = "map"];
    • setMap

      public FieldConstraints.Builder setMap(MapRules.Builder builderForValue)
      .buf.validate.MapRules map = 19 [json_name = "map"];
    • mergeMap

      public FieldConstraints.Builder mergeMap(MapRules value)
      .buf.validate.MapRules map = 19 [json_name = "map"];
    • clearMap

      public FieldConstraints.Builder clearMap()
      .buf.validate.MapRules map = 19 [json_name = "map"];
    • getMapBuilder

      public MapRules.Builder getMapBuilder()
      .buf.validate.MapRules map = 19 [json_name = "map"];
    • getMapOrBuilder

      public MapRulesOrBuilder getMapOrBuilder()
      .buf.validate.MapRules map = 19 [json_name = "map"];
      Specified by:
      getMapOrBuilder in interface FieldConstraintsOrBuilder
    • hasAny

      public boolean hasAny()
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
      Specified by:
      hasAny in interface FieldConstraintsOrBuilder
      Returns:
      Whether the any field is set.
    • getAny

      public AnyRules getAny()
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
      Specified by:
      getAny in interface FieldConstraintsOrBuilder
      Returns:
      The any.
    • setAny

      public FieldConstraints.Builder setAny(AnyRules value)
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
    • setAny

      public FieldConstraints.Builder setAny(AnyRules.Builder builderForValue)
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
    • mergeAny

      public FieldConstraints.Builder mergeAny(AnyRules value)
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
    • clearAny

      public FieldConstraints.Builder clearAny()
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
    • getAnyBuilder

      public AnyRules.Builder getAnyBuilder()
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
    • getAnyOrBuilder

      public AnyRulesOrBuilder getAnyOrBuilder()
       Well-Known Field Types
       
      .buf.validate.AnyRules any = 20 [json_name = "any"];
      Specified by:
      getAnyOrBuilder in interface FieldConstraintsOrBuilder
    • hasDuration

      public boolean hasDuration()
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
      Specified by:
      hasDuration in interface FieldConstraintsOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public DurationRules getDuration()
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
      Specified by:
      getDuration in interface FieldConstraintsOrBuilder
      Returns:
      The duration.
    • setDuration

      public FieldConstraints.Builder setDuration(DurationRules value)
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
    • setDuration

      public FieldConstraints.Builder setDuration(DurationRules.Builder builderForValue)
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
    • mergeDuration

      public FieldConstraints.Builder mergeDuration(DurationRules value)
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
    • clearDuration

      public FieldConstraints.Builder clearDuration()
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
    • getDurationBuilder

      public DurationRules.Builder getDurationBuilder()
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
    • getDurationOrBuilder

      public DurationRulesOrBuilder getDurationOrBuilder()
      .buf.validate.DurationRules duration = 21 [json_name = "duration"];
      Specified by:
      getDurationOrBuilder in interface FieldConstraintsOrBuilder
    • hasTimestamp

      public boolean hasTimestamp()
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
      Specified by:
      hasTimestamp in interface FieldConstraintsOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public TimestampRules getTimestamp()
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
      Specified by:
      getTimestamp in interface FieldConstraintsOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public FieldConstraints.Builder setTimestamp(TimestampRules value)
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
    • setTimestamp

      public FieldConstraints.Builder setTimestamp(TimestampRules.Builder builderForValue)
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
    • mergeTimestamp

      public FieldConstraints.Builder mergeTimestamp(TimestampRules value)
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
    • clearTimestamp

      public FieldConstraints.Builder clearTimestamp()
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
    • getTimestampBuilder

      public TimestampRules.Builder getTimestampBuilder()
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
    • getTimestampOrBuilder

      public TimestampRulesOrBuilder getTimestampOrBuilder()
      .buf.validate.TimestampRules timestamp = 22 [json_name = "timestamp"];
      Specified by:
      getTimestampOrBuilder in interface FieldConstraintsOrBuilder
    • getSkipped

      @Deprecated public boolean getSkipped()
      Deprecated.
      buf.validate.FieldConstraints.skipped is deprecated. See buf/validate/validate.proto;l=196
       DEPRECATED: use ignore=IGNORE_ALWAYS instead. TODO: remove this field pre-v1.
       
      bool skipped = 24 [json_name = "skipped", deprecated = true];
      Specified by:
      getSkipped in interface FieldConstraintsOrBuilder
      Returns:
      The skipped.
    • setSkipped

      @Deprecated public FieldConstraints.Builder setSkipped(boolean value)
      Deprecated.
      buf.validate.FieldConstraints.skipped is deprecated. See buf/validate/validate.proto;l=196
       DEPRECATED: use ignore=IGNORE_ALWAYS instead. TODO: remove this field pre-v1.
       
      bool skipped = 24 [json_name = "skipped", deprecated = true];
      Parameters:
      value - The skipped to set.
      Returns:
      This builder for chaining.
    • clearSkipped

      @Deprecated public FieldConstraints.Builder clearSkipped()
      Deprecated.
      buf.validate.FieldConstraints.skipped is deprecated. See buf/validate/validate.proto;l=196
       DEPRECATED: use ignore=IGNORE_ALWAYS instead. TODO: remove this field pre-v1.
       
      bool skipped = 24 [json_name = "skipped", deprecated = true];
      Returns:
      This builder for chaining.
    • getIgnoreEmpty

      @Deprecated public boolean getIgnoreEmpty()
      Deprecated.
      buf.validate.FieldConstraints.ignore_empty is deprecated. See buf/validate/validate.proto;l=198
       DEPRECATED: use ignore=IGNORE_IF_UNPOPULATED instead. TODO: remove this field pre-v1.
       
      bool ignore_empty = 26 [json_name = "ignoreEmpty", deprecated = true];
      Specified by:
      getIgnoreEmpty in interface FieldConstraintsOrBuilder
      Returns:
      The ignoreEmpty.
    • setIgnoreEmpty

      @Deprecated public FieldConstraints.Builder setIgnoreEmpty(boolean value)
      Deprecated.
      buf.validate.FieldConstraints.ignore_empty is deprecated. See buf/validate/validate.proto;l=198
       DEPRECATED: use ignore=IGNORE_IF_UNPOPULATED instead. TODO: remove this field pre-v1.
       
      bool ignore_empty = 26 [json_name = "ignoreEmpty", deprecated = true];
      Parameters:
      value - The ignoreEmpty to set.
      Returns:
      This builder for chaining.
    • clearIgnoreEmpty

      @Deprecated public FieldConstraints.Builder clearIgnoreEmpty()
      Deprecated.
      buf.validate.FieldConstraints.ignore_empty is deprecated. See buf/validate/validate.proto;l=198
       DEPRECATED: use ignore=IGNORE_IF_UNPOPULATED instead. TODO: remove this field pre-v1.
       
      bool ignore_empty = 26 [json_name = "ignoreEmpty", deprecated = true];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final FieldConstraints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>
    • mergeUnknownFields

      public final FieldConstraints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FieldConstraints.Builder>