Package io.envoyproxy.pgv.validate
Class Validate.DurationRules.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
-
- io.envoyproxy.pgv.validate.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 typevalidate.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_
-
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 valuesValidate.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 valuesValidate.DurationRules.Builder
addIn(int index, com.google.protobuf.Duration value)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
addIn(int index, com.google.protobuf.Duration.Builder builderForValue)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
addIn(com.google.protobuf.Duration value)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
addIn(com.google.protobuf.Duration.Builder builderForValue)
In specifies that this field must be equal to one of the specified valuescom.google.protobuf.Duration.Builder
addInBuilder()
In specifies that this field must be equal to one of the specified valuescom.google.protobuf.Duration.Builder
addInBuilder(int index)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
addNotIn(int index, com.google.protobuf.Duration value)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
addNotIn(int index, com.google.protobuf.Duration.Builder builderForValue)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
addNotIn(com.google.protobuf.Duration value)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
addNotIn(com.google.protobuf.Duration.Builder builderForValue)
NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.Duration.Builder
addNotInBuilder()
NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.Duration.Builder
addNotInBuilder(int index)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.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 valueValidate.DurationRules.Builder
clearGt()
Gt specifies that this field must be greater than the specified value, exclusiveValidate.DurationRules.Builder
clearGte()
Gte specifies that this field must be greater than the specified value, inclusiveValidate.DurationRules.Builder
clearIn()
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
clearLt()
Lt specifies that this field must be less than the specified value, exclusiveValidate.DurationRules.Builder
clearLte()
Lt specifies that this field must be less than the specified value, inclusiveValidate.DurationRules.Builder
clearNotIn()
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
clearRequired()
Required specifies that this field must be setprivate void
ensureInIsMutable()
private void
ensureNotInIsMutable()
com.google.protobuf.Duration
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.Duration.Builder
getConstBuilder()
Const specifies that this field must be exactly the specified valueprivate 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 valuecom.google.protobuf.DurationOrBuilder
getConstOrBuilder()
Const specifies that this field must be exactly the specified valueValidate.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, exclusivecom.google.protobuf.Duration.Builder
getGtBuilder()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Duration
getGte()
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.Duration.Builder
getGteBuilder()
Gte specifies that this field must be greater than the specified value, inclusiveprivate 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, inclusivecom.google.protobuf.DurationOrBuilder
getGteOrBuilder()
Gte specifies that this field must be greater than the specified value, inclusiveprivate 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, exclusivecom.google.protobuf.DurationOrBuilder
getGtOrBuilder()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Duration
getIn(int index)
In specifies that this field must be equal to one of the specified valuescom.google.protobuf.Duration.Builder
getInBuilder(int index)
In specifies that this field must be equal to one of the specified valuesjava.util.List<com.google.protobuf.Duration.Builder>
getInBuilderList()
In specifies that this field must be equal to one of the specified valuesint
getInCount()
In specifies that this field must be equal to one of the specified valuesprivate 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 valuescom.google.protobuf.DurationOrBuilder
getInOrBuilder(int index)
In specifies that this field must be equal to one of the specified valuesjava.util.List<? extends com.google.protobuf.DurationOrBuilder>
getInOrBuilderList()
In specifies that this field must be equal to one of the specified valuescom.google.protobuf.Duration
getLt()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Duration.Builder
getLtBuilder()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Duration
getLte()
Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.Duration.Builder
getLteBuilder()
Lt specifies that this field must be less than the specified value, inclusiveprivate 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, inclusivecom.google.protobuf.DurationOrBuilder
getLteOrBuilder()
Lt specifies that this field must be less than the specified value, inclusiveprivate 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, exclusivecom.google.protobuf.DurationOrBuilder
getLtOrBuilder()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Duration
getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified valuescom.google.protobuf.Duration.Builder
getNotInBuilder(int index)
NotIn specifies that this field cannot be equal to one of the specified valuesjava.util.List<com.google.protobuf.Duration.Builder>
getNotInBuilderList()
NotIn specifies that this field cannot be equal to one of the specified valuesint
getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified valuesprivate 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 valuescom.google.protobuf.DurationOrBuilder
getNotInOrBuilder(int index)
NotIn specifies that this field cannot be equal to one of the specified valuesjava.util.List<? extends com.google.protobuf.DurationOrBuilder>
getNotInOrBuilderList()
NotIn specifies that this field cannot be equal to one of the specified valuesboolean
getRequired()
Required specifies that this field must be setboolean
hasConst()
Const specifies that this field must be exactly the specified valueboolean
hasGt()
Gt specifies that this field must be greater than the specified value, exclusiveboolean
hasGte()
Gte specifies that this field must be greater than the specified value, inclusiveboolean
hasLt()
Lt specifies that this field must be less than the specified value, exclusiveboolean
hasLte()
Lt specifies that this field must be less than the specified value, inclusiveboolean
hasRequired()
Required specifies that this field must be setprotected 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 valueValidate.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, exclusiveValidate.DurationRules.Builder
mergeGte(com.google.protobuf.Duration value)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.DurationRules.Builder
mergeLt(com.google.protobuf.Duration value)
Lt specifies that this field must be less than the specified value, exclusiveValidate.DurationRules.Builder
mergeLte(com.google.protobuf.Duration value)
Lt specifies that this field must be less than the specified value, inclusiveValidate.DurationRules.Builder
removeIn(int index)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
removeNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
setConst(com.google.protobuf.Duration value)
Const specifies that this field must be exactly the specified valueValidate.DurationRules.Builder
setConst(com.google.protobuf.Duration.Builder builderForValue)
Const specifies that this field must be exactly the specified valueValidate.DurationRules.Builder
setGt(com.google.protobuf.Duration value)
Gt specifies that this field must be greater than the specified value, exclusiveValidate.DurationRules.Builder
setGt(com.google.protobuf.Duration.Builder builderForValue)
Gt specifies that this field must be greater than the specified value, exclusiveValidate.DurationRules.Builder
setGte(com.google.protobuf.Duration value)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.DurationRules.Builder
setGte(com.google.protobuf.Duration.Builder builderForValue)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.DurationRules.Builder
setIn(int index, com.google.protobuf.Duration value)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
setIn(int index, com.google.protobuf.Duration.Builder builderForValue)
In specifies that this field must be equal to one of the specified valuesValidate.DurationRules.Builder
setLt(com.google.protobuf.Duration value)
Lt specifies that this field must be less than the specified value, exclusiveValidate.DurationRules.Builder
setLt(com.google.protobuf.Duration.Builder builderForValue)
Lt specifies that this field must be less than the specified value, exclusiveValidate.DurationRules.Builder
setLte(com.google.protobuf.Duration value)
Lt specifies that this field must be less than the specified value, inclusiveValidate.DurationRules.Builder
setLte(com.google.protobuf.Duration.Builder builderForValue)
Lt specifies that this field must be less than the specified value, inclusiveValidate.DurationRules.Builder
setNotIn(int index, com.google.protobuf.Duration value)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.DurationRules.Builder
setNotIn(int index, com.google.protobuf.Duration.Builder builderForValue)
NotIn specifies that this field cannot be equal to one of the specified valuesValidate.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
-
-
-
-
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_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Validate.DurationRules.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Validate.DurationRules.Builder>
-
getDefaultInstanceForType
public Validate.DurationRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.DurationRules build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.DurationRules buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(Validate.DurationRules result)
-
buildPartial0
private void buildPartial0(Validate.DurationRules result)
-
mergeFrom
public Validate.DurationRules.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Validate.DurationRules.Builder>
-
mergeFrom
public Validate.DurationRules.Builder mergeFrom(Validate.DurationRules other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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 interfaceValidate.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()
-
-