Class Validate.DurationRules.Builder

    • 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.DurationRules.Builder>
      • 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

        public Validate.DurationRules.Builder setRequired​(boolean value)
         Required specifies that this field must be set
         
        optional bool required = 1;
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • 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
      • getInList

        public 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​(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 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 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;
      • getNotInList

        public 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​(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 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 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;
      • setUnknownFields

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

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