Class Validate.Fixed64Rules.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Validate.Fixed64RulesOrBuilder, java.lang.Cloneable
    Enclosing class:
    Validate.Fixed64Rules

    public static final class Validate.Fixed64Rules.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.Fixed64Rules.Builder>
    implements Validate.Fixed64RulesOrBuilder
     Fixed64Rules describes the constraints applied to `fixed64` values
     
    Protobuf type validate.Fixed64Rules
    • Method Detail

      • 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<Validate.Fixed64Rules.Builder>
      • clear

        public Validate.Fixed64Rules.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<Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>
      • getDefaultInstanceForType

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

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

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

        public Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>
      • setField

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

        public Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>
      • clearOneof

        public Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>
      • setRepeatedField

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

        public Validate.Fixed64Rules.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Validate.Fixed64Rules.Builder>
      • isInitialized

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

        public Validate.Fixed64Rules.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.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<Validate.Fixed64Rules.Builder>
        Throws:
        java.io.IOException
      • hasConst

        public boolean hasConst()
         Const specifies that this field must be exactly the specified value
         
        optional fixed64 const = 1;
        Specified by:
        hasConst in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the const field is set.
      • getConst

        public long getConst()
         Const specifies that this field must be exactly the specified value
         
        optional fixed64 const = 1;
        Specified by:
        getConst in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The const.
      • setConst

        public Validate.Fixed64Rules.Builder setConst​(long value)
         Const specifies that this field must be exactly the specified value
         
        optional fixed64 const = 1;
        Parameters:
        value - The const to set.
        Returns:
        This builder for chaining.
      • clearConst

        public Validate.Fixed64Rules.Builder clearConst()
         Const specifies that this field must be exactly the specified value
         
        optional fixed64 const = 1;
        Returns:
        This builder for chaining.
      • hasLt

        public boolean hasLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional fixed64 lt = 2;
        Specified by:
        hasLt in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the lt field is set.
      • getLt

        public long getLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional fixed64 lt = 2;
        Specified by:
        getLt in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The lt.
      • setLt

        public Validate.Fixed64Rules.Builder setLt​(long value)
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional fixed64 lt = 2;
        Parameters:
        value - The lt to set.
        Returns:
        This builder for chaining.
      • clearLt

        public Validate.Fixed64Rules.Builder clearLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional fixed64 lt = 2;
        Returns:
        This builder for chaining.
      • hasLte

        public boolean hasLte()
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional fixed64 lte = 3;
        Specified by:
        hasLte in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the lte field is set.
      • getLte

        public long getLte()
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional fixed64 lte = 3;
        Specified by:
        getLte in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The lte.
      • setLte

        public Validate.Fixed64Rules.Builder setLte​(long value)
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional fixed64 lte = 3;
        Parameters:
        value - The lte to set.
        Returns:
        This builder for chaining.
      • clearLte

        public Validate.Fixed64Rules.Builder clearLte()
         Lte specifies that this field must be less than or equal to the
         specified value, inclusive
         
        optional fixed64 lte = 3;
        Returns:
        This builder for chaining.
      • hasGt

        public boolean hasGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive. If the value of Gt is larger than a specified Lt or Lte, the
         range is reversed.
         
        optional fixed64 gt = 4;
        Specified by:
        hasGt in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the gt field is set.
      • getGt

        public long getGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive. If the value of Gt is larger than a specified Lt or Lte, the
         range is reversed.
         
        optional fixed64 gt = 4;
        Specified by:
        getGt in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The gt.
      • setGt

        public Validate.Fixed64Rules.Builder setGt​(long value)
         Gt specifies that this field must be greater than the specified value,
         exclusive. If the value of Gt is larger than a specified Lt or Lte, the
         range is reversed.
         
        optional fixed64 gt = 4;
        Parameters:
        value - The gt to set.
        Returns:
        This builder for chaining.
      • clearGt

        public Validate.Fixed64Rules.Builder clearGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive. If the value of Gt is larger than a specified Lt or Lte, the
         range is reversed.
         
        optional fixed64 gt = 4;
        Returns:
        This builder for chaining.
      • hasGte

        public boolean hasGte()
         Gte specifies that this field must be greater than or equal to the
         specified value, inclusive. If the value of Gte is larger than a
         specified Lt or Lte, the range is reversed.
         
        optional fixed64 gte = 5;
        Specified by:
        hasGte in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the gte field is set.
      • getGte

        public long getGte()
         Gte specifies that this field must be greater than or equal to the
         specified value, inclusive. If the value of Gte is larger than a
         specified Lt or Lte, the range is reversed.
         
        optional fixed64 gte = 5;
        Specified by:
        getGte in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The gte.
      • setGte

        public Validate.Fixed64Rules.Builder setGte​(long value)
         Gte specifies that this field must be greater than or equal to the
         specified value, inclusive. If the value of Gte is larger than a
         specified Lt or Lte, the range is reversed.
         
        optional fixed64 gte = 5;
        Parameters:
        value - The gte to set.
        Returns:
        This builder for chaining.
      • clearGte

        public Validate.Fixed64Rules.Builder clearGte()
         Gte specifies that this field must be greater than or equal to the
         specified value, inclusive. If the value of Gte is larger than a
         specified Lt or Lte, the range is reversed.
         
        optional fixed64 gte = 5;
        Returns:
        This builder for chaining.
      • getInList

        public java.util.List<java.lang.Long> getInList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Specified by:
        getInList in interface Validate.Fixed64RulesOrBuilder
        Returns:
        A list containing the in.
      • getInCount

        public int getInCount()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Specified by:
        getInCount in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The count of in.
      • getIn

        public long getIn​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Specified by:
        getIn in interface Validate.Fixed64RulesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The in at the given index.
      • setIn

        public Validate.Fixed64Rules.Builder setIn​(int index,
                                                   long value)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Parameters:
        index - The index to set the value at.
        value - The in to set.
        Returns:
        This builder for chaining.
      • addIn

        public Validate.Fixed64Rules.Builder addIn​(long value)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Parameters:
        value - The in to add.
        Returns:
        This builder for chaining.
      • addAllIn

        public Validate.Fixed64Rules.Builder addAllIn​(java.lang.Iterable<? extends java.lang.Long> values)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Parameters:
        values - The in to add.
        Returns:
        This builder for chaining.
      • clearIn

        public Validate.Fixed64Rules.Builder clearIn()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated fixed64 in = 6;
        Returns:
        This builder for chaining.
      • getNotInList

        public java.util.List<java.lang.Long> getNotInList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Specified by:
        getNotInList in interface Validate.Fixed64RulesOrBuilder
        Returns:
        A list containing the notIn.
      • getNotInCount

        public int getNotInCount()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Specified by:
        getNotInCount in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The count of notIn.
      • getNotIn

        public long getNotIn​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Specified by:
        getNotIn in interface Validate.Fixed64RulesOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The notIn at the given index.
      • setNotIn

        public Validate.Fixed64Rules.Builder setNotIn​(int index,
                                                      long value)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Parameters:
        index - The index to set the value at.
        value - The notIn to set.
        Returns:
        This builder for chaining.
      • addNotIn

        public Validate.Fixed64Rules.Builder addNotIn​(long value)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Parameters:
        value - The notIn to add.
        Returns:
        This builder for chaining.
      • addAllNotIn

        public Validate.Fixed64Rules.Builder addAllNotIn​(java.lang.Iterable<? extends java.lang.Long> values)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Parameters:
        values - The notIn to add.
        Returns:
        This builder for chaining.
      • clearNotIn

        public Validate.Fixed64Rules.Builder clearNotIn()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated fixed64 not_in = 7;
        Returns:
        This builder for chaining.
      • hasIgnoreEmpty

        public boolean hasIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;
        Specified by:
        hasIgnoreEmpty in interface Validate.Fixed64RulesOrBuilder
        Returns:
        Whether the ignoreEmpty field is set.
      • getIgnoreEmpty

        public boolean getIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;
        Specified by:
        getIgnoreEmpty in interface Validate.Fixed64RulesOrBuilder
        Returns:
        The ignoreEmpty.
      • setIgnoreEmpty

        public Validate.Fixed64Rules.Builder setIgnoreEmpty​(boolean value)
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;
        Parameters:
        value - The ignoreEmpty to set.
        Returns:
        This builder for chaining.
      • clearIgnoreEmpty

        public Validate.Fixed64Rules.Builder clearIgnoreEmpty()
         IgnoreEmpty specifies that the validation rules of this field should be
         evaluated only if the field is not empty
         
        optional bool ignore_empty = 8;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>
      • mergeUnknownFields

        public final Validate.Fixed64Rules.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<Validate.Fixed64Rules.Builder>