Class Validate.DurationRules.Builder

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

    public static final class Validate.DurationRules.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
    implements Validate.DurationRulesOrBuilder
     DurationRules describe the constraints applied exclusively to the
     `google.protobuf.Duration` well-known type
     
    Protobuf type validate.DurationRules
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bitField0_  
      private com.google.protobuf.Duration const_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> constBuilder_  
      private com.google.protobuf.Duration gt_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> gtBuilder_  
      private com.google.protobuf.Duration gte_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> gteBuilder_  
      private java.util.List<com.google.protobuf.Duration> in_  
      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> inBuilder_  
      private com.google.protobuf.Duration lt_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> ltBuilder_  
      private com.google.protobuf.Duration lte_  
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> lteBuilder_  
      private java.util.List<com.google.protobuf.Duration> notIn_  
      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> notInBuilder_  
      private boolean required_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Validate.DurationRules.Builder addAllIn​(java.lang.Iterable<? extends com.google.protobuf.Duration> values)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder addAllNotIn​(java.lang.Iterable<? extends com.google.protobuf.Duration> values)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder addIn​(int index, com.google.protobuf.Duration value)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder addIn​(int index, com.google.protobuf.Duration.Builder builderForValue)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder addIn​(com.google.protobuf.Duration value)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder addIn​(com.google.protobuf.Duration.Builder builderForValue)
      In specifies that this field must be equal to one of the specified values
      com.google.protobuf.Duration.Builder addInBuilder()
      In specifies that this field must be equal to one of the specified values
      com.google.protobuf.Duration.Builder addInBuilder​(int index)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder addNotIn​(int index, com.google.protobuf.Duration value)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder addNotIn​(int index, com.google.protobuf.Duration.Builder builderForValue)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder addNotIn​(com.google.protobuf.Duration value)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder addNotIn​(com.google.protobuf.Duration.Builder builderForValue)
      NotIn specifies that this field cannot be equal to one of the specified values
      com.google.protobuf.Duration.Builder addNotInBuilder()
      NotIn specifies that this field cannot be equal to one of the specified values
      com.google.protobuf.Duration.Builder addNotInBuilder​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules build()  
      Validate.DurationRules buildPartial()  
      private void buildPartial0​(Validate.DurationRules result)  
      private void buildPartialRepeatedFields​(Validate.DurationRules result)  
      Validate.DurationRules.Builder clear()  
      Validate.DurationRules.Builder clearConst()
      Const specifies that this field must be exactly the specified value
      Validate.DurationRules.Builder clearGt()
      Gt specifies that this field must be greater than the specified value, exclusive
      Validate.DurationRules.Builder clearGte()
      Gte specifies that this field must be greater than the specified value, inclusive
      Validate.DurationRules.Builder clearIn()
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder clearLt()
      Lt specifies that this field must be less than the specified value, exclusive
      Validate.DurationRules.Builder clearLte()
      Lt specifies that this field must be less than the specified value, inclusive
      Validate.DurationRules.Builder clearNotIn()
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder clearRequired()
      Required specifies that this field must be set
      private void ensureInIsMutable()  
      private void ensureNotInIsMutable()  
      com.google.protobuf.Duration getConst()
      Const specifies that this field must be exactly the specified value
      com.google.protobuf.Duration.Builder getConstBuilder()
      Const specifies that this field must be exactly the specified value
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getConstFieldBuilder()
      Const specifies that this field must be exactly the specified value
      com.google.protobuf.DurationOrBuilder getConstOrBuilder()
      Const specifies that this field must be exactly the specified value
      Validate.DurationRules getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.Duration getGt()
      Gt specifies that this field must be greater than the specified value, exclusive
      com.google.protobuf.Duration.Builder getGtBuilder()
      Gt specifies that this field must be greater than the specified value, exclusive
      com.google.protobuf.Duration getGte()
      Gte specifies that this field must be greater than the specified value, inclusive
      com.google.protobuf.Duration.Builder getGteBuilder()
      Gte specifies that this field must be greater than the specified value, inclusive
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGteFieldBuilder()
      Gte specifies that this field must be greater than the specified value, inclusive
      com.google.protobuf.DurationOrBuilder getGteOrBuilder()
      Gte specifies that this field must be greater than the specified value, inclusive
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGtFieldBuilder()
      Gt specifies that this field must be greater than the specified value, exclusive
      com.google.protobuf.DurationOrBuilder getGtOrBuilder()
      Gt specifies that this field must be greater than the specified value, exclusive
      com.google.protobuf.Duration getIn​(int index)
      In specifies that this field must be equal to one of the specified values
      com.google.protobuf.Duration.Builder getInBuilder​(int index)
      In specifies that this field must be equal to one of the specified values
      java.util.List<com.google.protobuf.Duration.Builder> getInBuilderList()
      In specifies that this field must be equal to one of the specified values
      int getInCount()
      In specifies that this field must be equal to one of the specified values
      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getInFieldBuilder()  
      java.util.List<com.google.protobuf.Duration> getInList()
      In specifies that this field must be equal to one of the specified values
      com.google.protobuf.DurationOrBuilder getInOrBuilder​(int index)
      In specifies that this field must be equal to one of the specified values
      java.util.List<? extends com.google.protobuf.DurationOrBuilder> getInOrBuilderList()
      In specifies that this field must be equal to one of the specified values
      com.google.protobuf.Duration getLt()
      Lt specifies that this field must be less than the specified value, exclusive
      com.google.protobuf.Duration.Builder getLtBuilder()
      Lt specifies that this field must be less than the specified value, exclusive
      com.google.protobuf.Duration getLte()
      Lt specifies that this field must be less than the specified value, inclusive
      com.google.protobuf.Duration.Builder getLteBuilder()
      Lt specifies that this field must be less than the specified value, inclusive
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getLteFieldBuilder()
      Lt specifies that this field must be less than the specified value, inclusive
      com.google.protobuf.DurationOrBuilder getLteOrBuilder()
      Lt specifies that this field must be less than the specified value, inclusive
      private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getLtFieldBuilder()
      Lt specifies that this field must be less than the specified value, exclusive
      com.google.protobuf.DurationOrBuilder getLtOrBuilder()
      Lt specifies that this field must be less than the specified value, exclusive
      com.google.protobuf.Duration getNotIn​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      com.google.protobuf.Duration.Builder getNotInBuilder​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      java.util.List<com.google.protobuf.Duration.Builder> getNotInBuilderList()
      NotIn specifies that this field cannot be equal to one of the specified values
      int getNotInCount()
      NotIn specifies that this field cannot be equal to one of the specified values
      private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getNotInFieldBuilder()  
      java.util.List<com.google.protobuf.Duration> getNotInList()
      NotIn specifies that this field cannot be equal to one of the specified values
      com.google.protobuf.DurationOrBuilder getNotInOrBuilder​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      java.util.List<? extends com.google.protobuf.DurationOrBuilder> getNotInOrBuilderList()
      NotIn specifies that this field cannot be equal to one of the specified values
      boolean getRequired()
      Required specifies that this field must be set
      boolean hasConst()
      Const specifies that this field must be exactly the specified value
      boolean hasGt()
      Gt specifies that this field must be greater than the specified value, exclusive
      boolean hasGte()
      Gte specifies that this field must be greater than the specified value, inclusive
      boolean hasLt()
      Lt specifies that this field must be less than the specified value, exclusive
      boolean hasLte()
      Lt specifies that this field must be less than the specified value, inclusive
      boolean hasRequired()
      Required specifies that this field must be set
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      private void maybeForceBuilderInitialization()  
      Validate.DurationRules.Builder mergeConst​(com.google.protobuf.Duration value)
      Const specifies that this field must be exactly the specified value
      Validate.DurationRules.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Validate.DurationRules.Builder mergeFrom​(com.google.protobuf.Message other)  
      Validate.DurationRules.Builder mergeFrom​(Validate.DurationRules other)  
      Validate.DurationRules.Builder mergeGt​(com.google.protobuf.Duration value)
      Gt specifies that this field must be greater than the specified value, exclusive
      Validate.DurationRules.Builder mergeGte​(com.google.protobuf.Duration value)
      Gte specifies that this field must be greater than the specified value, inclusive
      Validate.DurationRules.Builder mergeLt​(com.google.protobuf.Duration value)
      Lt specifies that this field must be less than the specified value, exclusive
      Validate.DurationRules.Builder mergeLte​(com.google.protobuf.Duration value)
      Lt specifies that this field must be less than the specified value, inclusive
      Validate.DurationRules.Builder removeIn​(int index)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder removeNotIn​(int index)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder setConst​(com.google.protobuf.Duration value)
      Const specifies that this field must be exactly the specified value
      Validate.DurationRules.Builder setConst​(com.google.protobuf.Duration.Builder builderForValue)
      Const specifies that this field must be exactly the specified value
      Validate.DurationRules.Builder setGt​(com.google.protobuf.Duration value)
      Gt specifies that this field must be greater than the specified value, exclusive
      Validate.DurationRules.Builder setGt​(com.google.protobuf.Duration.Builder builderForValue)
      Gt specifies that this field must be greater than the specified value, exclusive
      Validate.DurationRules.Builder setGte​(com.google.protobuf.Duration value)
      Gte specifies that this field must be greater than the specified value, inclusive
      Validate.DurationRules.Builder setGte​(com.google.protobuf.Duration.Builder builderForValue)
      Gte specifies that this field must be greater than the specified value, inclusive
      Validate.DurationRules.Builder setIn​(int index, com.google.protobuf.Duration value)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder setIn​(int index, com.google.protobuf.Duration.Builder builderForValue)
      In specifies that this field must be equal to one of the specified values
      Validate.DurationRules.Builder setLt​(com.google.protobuf.Duration value)
      Lt specifies that this field must be less than the specified value, exclusive
      Validate.DurationRules.Builder setLt​(com.google.protobuf.Duration.Builder builderForValue)
      Lt specifies that this field must be less than the specified value, exclusive
      Validate.DurationRules.Builder setLte​(com.google.protobuf.Duration value)
      Lt specifies that this field must be less than the specified value, inclusive
      Validate.DurationRules.Builder setLte​(com.google.protobuf.Duration.Builder builderForValue)
      Lt specifies that this field must be less than the specified value, inclusive
      Validate.DurationRules.Builder setNotIn​(int index, com.google.protobuf.Duration value)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder setNotIn​(int index, com.google.protobuf.Duration.Builder builderForValue)
      NotIn specifies that this field cannot be equal to one of the specified values
      Validate.DurationRules.Builder setRequired​(boolean value)
      Required specifies that this field must be set
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • required_

        private boolean required_
      • const_

        private com.google.protobuf.Duration const_
      • constBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> constBuilder_
      • lt_

        private com.google.protobuf.Duration lt_
      • ltBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> ltBuilder_
      • lte_

        private com.google.protobuf.Duration lte_
      • lteBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> lteBuilder_
      • gt_

        private com.google.protobuf.Duration gt_
      • gtBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> gtBuilder_
      • gte_

        private com.google.protobuf.Duration gte_
      • gteBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> gteBuilder_
      • in_

        private java.util.List<com.google.protobuf.Duration> in_
      • inBuilder_

        private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> inBuilder_
      • notIn_

        private java.util.List<com.google.protobuf.Duration> notIn_
      • notInBuilder_

        private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> notInBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

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

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

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

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

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

        public Validate.DurationRules.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.DurationRules.Builder>
        Throws:
        java.io.IOException
      • hasRequired

        public boolean hasRequired()
         Required specifies that this field must be set
         
        optional bool required = 1;
        Specified by:
        hasRequired in interface Validate.DurationRulesOrBuilder
        Returns:
        Whether the required field is set.
      • getRequired

        public boolean getRequired()
         Required specifies that this field must be set
         
        optional bool required = 1;
        Specified by:
        getRequired in interface Validate.DurationRulesOrBuilder
        Returns:
        The required.
      • setRequired

        public Validate.DurationRules.Builder setRequired​(boolean value)
         Required specifies that this field must be set
         
        optional bool required = 1;
        Parameters:
        value - The required to set.
        Returns:
        This builder for chaining.
      • clearRequired

        public Validate.DurationRules.Builder clearRequired()
         Required specifies that this field must be set
         
        optional bool required = 1;
        Returns:
        This builder for chaining.
      • hasConst

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

        public com.google.protobuf.Duration getConst()
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
        Specified by:
        getConst in interface Validate.DurationRulesOrBuilder
        Returns:
        The const.
      • setConst

        public Validate.DurationRules.Builder setConst​(com.google.protobuf.Duration value)
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • setConst

        public Validate.DurationRules.Builder setConst​(com.google.protobuf.Duration.Builder builderForValue)
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • mergeConst

        public Validate.DurationRules.Builder mergeConst​(com.google.protobuf.Duration value)
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • clearConst

        public Validate.DurationRules.Builder clearConst()
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • getConstBuilder

        public com.google.protobuf.Duration.Builder getConstBuilder()
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • getConstOrBuilder

        public com.google.protobuf.DurationOrBuilder getConstOrBuilder()
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
        Specified by:
        getConstOrBuilder in interface Validate.DurationRulesOrBuilder
      • getConstFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getConstFieldBuilder()
         Const specifies that this field must be exactly the specified value
         
        optional .google.protobuf.Duration const = 2;
      • hasLt

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

        public com.google.protobuf.Duration getLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
        Specified by:
        getLt in interface Validate.DurationRulesOrBuilder
        Returns:
        The lt.
      • setLt

        public Validate.DurationRules.Builder setLt​(com.google.protobuf.Duration value)
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • setLt

        public Validate.DurationRules.Builder setLt​(com.google.protobuf.Duration.Builder builderForValue)
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • mergeLt

        public Validate.DurationRules.Builder mergeLt​(com.google.protobuf.Duration value)
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • clearLt

        public Validate.DurationRules.Builder clearLt()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • getLtBuilder

        public com.google.protobuf.Duration.Builder getLtBuilder()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • getLtOrBuilder

        public com.google.protobuf.DurationOrBuilder getLtOrBuilder()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
        Specified by:
        getLtOrBuilder in interface Validate.DurationRulesOrBuilder
      • getLtFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getLtFieldBuilder()
         Lt specifies that this field must be less than the specified value,
         exclusive
         
        optional .google.protobuf.Duration lt = 3;
      • hasLte

        public boolean hasLte()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
        Specified by:
        hasLte in interface Validate.DurationRulesOrBuilder
        Returns:
        Whether the lte field is set.
      • getLte

        public com.google.protobuf.Duration getLte()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
        Specified by:
        getLte in interface Validate.DurationRulesOrBuilder
        Returns:
        The lte.
      • setLte

        public Validate.DurationRules.Builder setLte​(com.google.protobuf.Duration value)
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • setLte

        public Validate.DurationRules.Builder setLte​(com.google.protobuf.Duration.Builder builderForValue)
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • mergeLte

        public Validate.DurationRules.Builder mergeLte​(com.google.protobuf.Duration value)
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • clearLte

        public Validate.DurationRules.Builder clearLte()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • getLteBuilder

        public com.google.protobuf.Duration.Builder getLteBuilder()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • getLteOrBuilder

        public com.google.protobuf.DurationOrBuilder getLteOrBuilder()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
        Specified by:
        getLteOrBuilder in interface Validate.DurationRulesOrBuilder
      • getLteFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getLteFieldBuilder()
         Lt specifies that this field must be less than the specified value,
         inclusive
         
        optional .google.protobuf.Duration lte = 4;
      • hasGt

        public boolean hasGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
        Specified by:
        hasGt in interface Validate.DurationRulesOrBuilder
        Returns:
        Whether the gt field is set.
      • getGt

        public com.google.protobuf.Duration getGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
        Specified by:
        getGt in interface Validate.DurationRulesOrBuilder
        Returns:
        The gt.
      • setGt

        public Validate.DurationRules.Builder setGt​(com.google.protobuf.Duration value)
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • setGt

        public Validate.DurationRules.Builder setGt​(com.google.protobuf.Duration.Builder builderForValue)
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • mergeGt

        public Validate.DurationRules.Builder mergeGt​(com.google.protobuf.Duration value)
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • clearGt

        public Validate.DurationRules.Builder clearGt()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • getGtBuilder

        public com.google.protobuf.Duration.Builder getGtBuilder()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • getGtOrBuilder

        public com.google.protobuf.DurationOrBuilder getGtOrBuilder()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
        Specified by:
        getGtOrBuilder in interface Validate.DurationRulesOrBuilder
      • getGtFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGtFieldBuilder()
         Gt specifies that this field must be greater than the specified value,
         exclusive
         
        optional .google.protobuf.Duration gt = 5;
      • hasGte

        public boolean hasGte()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
        Specified by:
        hasGte in interface Validate.DurationRulesOrBuilder
        Returns:
        Whether the gte field is set.
      • getGte

        public com.google.protobuf.Duration getGte()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
        Specified by:
        getGte in interface Validate.DurationRulesOrBuilder
        Returns:
        The gte.
      • setGte

        public Validate.DurationRules.Builder setGte​(com.google.protobuf.Duration value)
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • setGte

        public Validate.DurationRules.Builder setGte​(com.google.protobuf.Duration.Builder builderForValue)
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • mergeGte

        public Validate.DurationRules.Builder mergeGte​(com.google.protobuf.Duration value)
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • clearGte

        public Validate.DurationRules.Builder clearGte()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • getGteBuilder

        public com.google.protobuf.Duration.Builder getGteBuilder()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • getGteOrBuilder

        public com.google.protobuf.DurationOrBuilder getGteOrBuilder()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
        Specified by:
        getGteOrBuilder in interface Validate.DurationRulesOrBuilder
      • getGteFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getGteFieldBuilder()
         Gte specifies that this field must be greater than the specified value,
         inclusive
         
        optional .google.protobuf.Duration gte = 6;
      • ensureInIsMutable

        private void ensureInIsMutable()
      • getInList

        public java.util.List<com.google.protobuf.Duration> getInList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
        Specified by:
        getInList in interface Validate.DurationRulesOrBuilder
      • getInCount

        public int getInCount()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
        Specified by:
        getInCount in interface Validate.DurationRulesOrBuilder
      • getIn

        public com.google.protobuf.Duration getIn​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
        Specified by:
        getIn in interface Validate.DurationRulesOrBuilder
      • setIn

        public Validate.DurationRules.Builder setIn​(int index,
                                                    com.google.protobuf.Duration value)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • setIn

        public Validate.DurationRules.Builder setIn​(int index,
                                                    com.google.protobuf.Duration.Builder builderForValue)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addIn

        public Validate.DurationRules.Builder addIn​(com.google.protobuf.Duration value)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addIn

        public Validate.DurationRules.Builder addIn​(int index,
                                                    com.google.protobuf.Duration value)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addIn

        public Validate.DurationRules.Builder addIn​(com.google.protobuf.Duration.Builder builderForValue)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addIn

        public Validate.DurationRules.Builder addIn​(int index,
                                                    com.google.protobuf.Duration.Builder builderForValue)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addAllIn

        public Validate.DurationRules.Builder addAllIn​(java.lang.Iterable<? extends com.google.protobuf.Duration> values)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • clearIn

        public Validate.DurationRules.Builder clearIn()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • removeIn

        public Validate.DurationRules.Builder removeIn​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • getInBuilder

        public com.google.protobuf.Duration.Builder getInBuilder​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • getInOrBuilder

        public com.google.protobuf.DurationOrBuilder getInOrBuilder​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
        Specified by:
        getInOrBuilder in interface Validate.DurationRulesOrBuilder
      • getInOrBuilderList

        public java.util.List<? extends com.google.protobuf.DurationOrBuilder> getInOrBuilderList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
        Specified by:
        getInOrBuilderList in interface Validate.DurationRulesOrBuilder
      • addInBuilder

        public com.google.protobuf.Duration.Builder addInBuilder()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • addInBuilder

        public com.google.protobuf.Duration.Builder addInBuilder​(int index)
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • getInBuilderList

        public java.util.List<com.google.protobuf.Duration.Builder> getInBuilderList()
         In specifies that this field must be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration in = 7;
      • getInFieldBuilder

        private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getInFieldBuilder()
      • ensureNotInIsMutable

        private void ensureNotInIsMutable()
      • getNotInList

        public java.util.List<com.google.protobuf.Duration> getNotInList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
        Specified by:
        getNotInList in interface Validate.DurationRulesOrBuilder
      • getNotInCount

        public int getNotInCount()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
        Specified by:
        getNotInCount in interface Validate.DurationRulesOrBuilder
      • getNotIn

        public com.google.protobuf.Duration getNotIn​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
        Specified by:
        getNotIn in interface Validate.DurationRulesOrBuilder
      • setNotIn

        public Validate.DurationRules.Builder setNotIn​(int index,
                                                       com.google.protobuf.Duration value)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • setNotIn

        public Validate.DurationRules.Builder setNotIn​(int index,
                                                       com.google.protobuf.Duration.Builder builderForValue)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addNotIn

        public Validate.DurationRules.Builder addNotIn​(com.google.protobuf.Duration value)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addNotIn

        public Validate.DurationRules.Builder addNotIn​(int index,
                                                       com.google.protobuf.Duration value)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addNotIn

        public Validate.DurationRules.Builder addNotIn​(com.google.protobuf.Duration.Builder builderForValue)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addNotIn

        public Validate.DurationRules.Builder addNotIn​(int index,
                                                       com.google.protobuf.Duration.Builder builderForValue)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addAllNotIn

        public Validate.DurationRules.Builder addAllNotIn​(java.lang.Iterable<? extends com.google.protobuf.Duration> values)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • clearNotIn

        public Validate.DurationRules.Builder clearNotIn()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • removeNotIn

        public Validate.DurationRules.Builder removeNotIn​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • getNotInBuilder

        public com.google.protobuf.Duration.Builder getNotInBuilder​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • getNotInOrBuilder

        public com.google.protobuf.DurationOrBuilder getNotInOrBuilder​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
        Specified by:
        getNotInOrBuilder in interface Validate.DurationRulesOrBuilder
      • getNotInOrBuilderList

        public java.util.List<? extends com.google.protobuf.DurationOrBuilder> getNotInOrBuilderList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
        Specified by:
        getNotInOrBuilderList in interface Validate.DurationRulesOrBuilder
      • addNotInBuilder

        public com.google.protobuf.Duration.Builder addNotInBuilder()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • addNotInBuilder

        public com.google.protobuf.Duration.Builder addNotInBuilder​(int index)
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • getNotInBuilderList

        public java.util.List<com.google.protobuf.Duration.Builder> getNotInBuilderList()
         NotIn specifies that this field cannot be equal to one of the specified
         values
         
        repeated .google.protobuf.Duration not_in = 8;
      • getNotInFieldBuilder

        private com.google.protobuf.RepeatedFieldBuilder<com.google.protobuf.Duration,​com.google.protobuf.Duration.Builder,​com.google.protobuf.DurationOrBuilder> getNotInFieldBuilder()