Package io.envoyproxy.pgv.validate
Class Validate.TimestampRules.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
- io.envoyproxy.pgv.validate.Validate.TimestampRules.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Validate.TimestampRulesOrBuilder,java.lang.Cloneable
- Enclosing class:
- Validate.TimestampRules
public static final class Validate.TimestampRules.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder> implements Validate.TimestampRulesOrBuilder
TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type
Protobuf typevalidate.TimestampRules
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Validate.TimestampRules.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Validate.TimestampRulesbuild()Validate.TimestampRulesbuildPartial()Validate.TimestampRules.Builderclear()Validate.TimestampRules.BuilderclearConst()Const specifies that this field must be exactly the specified valueValidate.TimestampRules.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Validate.TimestampRules.BuilderclearGt()Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.BuilderclearGte()Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.BuilderclearGtNow()GtNow specifies that this must be greater than the current time.Validate.TimestampRules.BuilderclearLt()Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.BuilderclearLte()Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.BuilderclearLtNow()LtNow specifies that this must be less than the current time.Validate.TimestampRules.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Validate.TimestampRules.BuilderclearRequired()Required specifies that this field must be setValidate.TimestampRules.BuilderclearWithin()Within specifies that this field must be within this duration of the current time.Validate.TimestampRules.Builderclone()com.google.protobuf.TimestampgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.Timestamp.BuildergetConstBuilder()Const specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampOrBuildergetConstOrBuilder()Const specifies that this field must be exactly the specified valueValidate.TimestampRulesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetGt()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Timestamp.BuildergetGtBuilder()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.TimestampgetGte()Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.Timestamp.BuildergetGteBuilder()Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.TimestampOrBuildergetGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusivebooleangetGtNow()GtNow specifies that this must be greater than the current time.com.google.protobuf.TimestampOrBuildergetGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.TimestampgetLt()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Timestamp.BuildergetLtBuilder()Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.TimestampgetLte()Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.Timestamp.BuildergetLteBuilder()Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.TimestampOrBuildergetLteOrBuilder()Lte specifies that this field must be less than the specified value, inclusivebooleangetLtNow()LtNow specifies that this must be less than the current time.com.google.protobuf.TimestampOrBuildergetLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusivebooleangetRequired()Required specifies that this field must be setcom.google.protobuf.DurationgetWithin()Within specifies that this field must be within this duration of the current time.com.google.protobuf.Duration.BuildergetWithinBuilder()Within specifies that this field must be within this duration of the current time.com.google.protobuf.DurationOrBuildergetWithinOrBuilder()Within specifies that this field must be within this duration of the current time.booleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasGt()Gt specifies that this field must be greater than the specified value, exclusivebooleanhasGte()Gte specifies that this field must be greater than the specified value, inclusivebooleanhasGtNow()GtNow specifies that this must be greater than the current time.booleanhasLt()Lt specifies that this field must be less than the specified value, exclusivebooleanhasLte()Lte specifies that this field must be less than the specified value, inclusivebooleanhasLtNow()LtNow specifies that this must be less than the current time.booleanhasRequired()Required specifies that this field must be setbooleanhasWithin()Within specifies that this field must be within this duration of the current time.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Validate.TimestampRules.BuildermergeConst(com.google.protobuf.Timestamp value)Const specifies that this field must be exactly the specified valueValidate.TimestampRules.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Validate.TimestampRules.BuildermergeFrom(com.google.protobuf.Message other)Validate.TimestampRules.BuildermergeFrom(Validate.TimestampRules other)Validate.TimestampRules.BuildermergeGt(com.google.protobuf.Timestamp value)Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.BuildermergeGte(com.google.protobuf.Timestamp value)Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.BuildermergeLt(com.google.protobuf.Timestamp value)Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.BuildermergeLte(com.google.protobuf.Timestamp value)Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.TimestampRules.BuildermergeWithin(com.google.protobuf.Duration value)Within specifies that this field must be within this duration of the current time.Validate.TimestampRules.BuildersetConst(com.google.protobuf.Timestamp value)Const specifies that this field must be exactly the specified valueValidate.TimestampRules.BuildersetConst(com.google.protobuf.Timestamp.Builder builderForValue)Const specifies that this field must be exactly the specified valueValidate.TimestampRules.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Validate.TimestampRules.BuildersetGt(com.google.protobuf.Timestamp value)Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.BuildersetGt(com.google.protobuf.Timestamp.Builder builderForValue)Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.BuildersetGte(com.google.protobuf.Timestamp value)Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.BuildersetGte(com.google.protobuf.Timestamp.Builder builderForValue)Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.BuildersetGtNow(boolean value)GtNow specifies that this must be greater than the current time.Validate.TimestampRules.BuildersetLt(com.google.protobuf.Timestamp value)Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.BuildersetLt(com.google.protobuf.Timestamp.Builder builderForValue)Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.BuildersetLte(com.google.protobuf.Timestamp value)Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.BuildersetLte(com.google.protobuf.Timestamp.Builder builderForValue)Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.BuildersetLtNow(boolean value)LtNow specifies that this must be less than the current time.Validate.TimestampRules.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Validate.TimestampRules.BuildersetRequired(boolean value)Required specifies that this field must be setValidate.TimestampRules.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Validate.TimestampRules.BuildersetWithin(com.google.protobuf.Duration value)Within specifies that this field must be within this duration of the current time.Validate.TimestampRules.BuildersetWithin(com.google.protobuf.Duration.Builder builderForValue)Within specifies that this field must be within this duration of the current time.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
clear
public Validate.TimestampRules.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
getDefaultInstanceForType
public Validate.TimestampRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.TimestampRules build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.TimestampRules buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Validate.TimestampRules.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
setField
public Validate.TimestampRules.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
clearField
public Validate.TimestampRules.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
clearOneof
public Validate.TimestampRules.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
setRepeatedField
public Validate.TimestampRules.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
addRepeatedField
public Validate.TimestampRules.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
mergeFrom
public Validate.TimestampRules.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.TimestampRules.Builder>
-
mergeFrom
public Validate.TimestampRules.Builder mergeFrom(Validate.TimestampRules other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
mergeFrom
public Validate.TimestampRules.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Validate.TimestampRules.Builder>- Throws:
java.io.IOException
-
hasRequired
public boolean hasRequired()
Required specifies that this field must be set
optional bool required = 1;- Specified by:
hasRequiredin interfaceValidate.TimestampRulesOrBuilder- 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:
getRequiredin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The required.
-
setRequired
public Validate.TimestampRules.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.TimestampRules.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.Timestamp const = 2;- Specified by:
hasConstin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the const field is set.
-
getConst
public com.google.protobuf.Timestamp getConst()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Specified by:
getConstin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The const.
-
setConst
public Validate.TimestampRules.Builder setConst(com.google.protobuf.Timestamp value)
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
setConst
public Validate.TimestampRules.Builder setConst(com.google.protobuf.Timestamp.Builder builderForValue)
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
mergeConst
public Validate.TimestampRules.Builder mergeConst(com.google.protobuf.Timestamp value)
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
clearConst
public Validate.TimestampRules.Builder clearConst()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
getConstBuilder
public com.google.protobuf.Timestamp.Builder getConstBuilder()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
getConstOrBuilder
public com.google.protobuf.TimestampOrBuilder getConstOrBuilder()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Specified by:
getConstOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLt
public boolean hasLt()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
hasLtin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the lt field is set.
-
getLt
public com.google.protobuf.Timestamp getLt()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
getLtin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The lt.
-
setLt
public Validate.TimestampRules.Builder setLt(com.google.protobuf.Timestamp value)
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
setLt
public Validate.TimestampRules.Builder setLt(com.google.protobuf.Timestamp.Builder builderForValue)
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
mergeLt
public Validate.TimestampRules.Builder mergeLt(com.google.protobuf.Timestamp value)
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
clearLt
public Validate.TimestampRules.Builder clearLt()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
getLtBuilder
public com.google.protobuf.Timestamp.Builder getLtBuilder()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
getLtOrBuilder
public com.google.protobuf.TimestampOrBuilder getLtOrBuilder()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Specified by:
getLtOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLte
public boolean hasLte()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
hasLtein interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the lte field is set.
-
getLte
public com.google.protobuf.Timestamp getLte()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
getLtein interfaceValidate.TimestampRulesOrBuilder- Returns:
- The lte.
-
setLte
public Validate.TimestampRules.Builder setLte(com.google.protobuf.Timestamp value)
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
setLte
public Validate.TimestampRules.Builder setLte(com.google.protobuf.Timestamp.Builder builderForValue)
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
mergeLte
public Validate.TimestampRules.Builder mergeLte(com.google.protobuf.Timestamp value)
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
clearLte
public Validate.TimestampRules.Builder clearLte()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
getLteBuilder
public com.google.protobuf.Timestamp.Builder getLteBuilder()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
getLteOrBuilder
public com.google.protobuf.TimestampOrBuilder getLteOrBuilder()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Specified by:
getLteOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasGt
public boolean hasGt()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
hasGtin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the gt field is set.
-
getGt
public com.google.protobuf.Timestamp getGt()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
getGtin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The gt.
-
setGt
public Validate.TimestampRules.Builder setGt(com.google.protobuf.Timestamp value)
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
setGt
public Validate.TimestampRules.Builder setGt(com.google.protobuf.Timestamp.Builder builderForValue)
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
mergeGt
public Validate.TimestampRules.Builder mergeGt(com.google.protobuf.Timestamp value)
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
clearGt
public Validate.TimestampRules.Builder clearGt()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
getGtBuilder
public com.google.protobuf.Timestamp.Builder getGtBuilder()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
getGtOrBuilder
public com.google.protobuf.TimestampOrBuilder getGtOrBuilder()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Specified by:
getGtOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasGte
public boolean hasGte()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
hasGtein interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the gte field is set.
-
getGte
public com.google.protobuf.Timestamp getGte()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
getGtein interfaceValidate.TimestampRulesOrBuilder- Returns:
- The gte.
-
setGte
public Validate.TimestampRules.Builder setGte(com.google.protobuf.Timestamp value)
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
setGte
public Validate.TimestampRules.Builder setGte(com.google.protobuf.Timestamp.Builder builderForValue)
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
mergeGte
public Validate.TimestampRules.Builder mergeGte(com.google.protobuf.Timestamp value)
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
clearGte
public Validate.TimestampRules.Builder clearGte()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
getGteBuilder
public com.google.protobuf.Timestamp.Builder getGteBuilder()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
getGteOrBuilder
public com.google.protobuf.TimestampOrBuilder getGteOrBuilder()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Specified by:
getGteOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
hasLtNow
public boolean hasLtNow()
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Specified by:
hasLtNowin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the ltNow field is set.
-
getLtNow
public boolean getLtNow()
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Specified by:
getLtNowin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The ltNow.
-
setLtNow
public Validate.TimestampRules.Builder setLtNow(boolean value)
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Parameters:
value- The ltNow to set.- Returns:
- This builder for chaining.
-
clearLtNow
public Validate.TimestampRules.Builder clearLtNow()
LtNow specifies that this must be less than the current time. LtNow can only be used with the Within rule.
optional bool lt_now = 7;- Returns:
- This builder for chaining.
-
hasGtNow
public boolean hasGtNow()
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Specified by:
hasGtNowin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the gtNow field is set.
-
getGtNow
public boolean getGtNow()
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Specified by:
getGtNowin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The gtNow.
-
setGtNow
public Validate.TimestampRules.Builder setGtNow(boolean value)
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Parameters:
value- The gtNow to set.- Returns:
- This builder for chaining.
-
clearGtNow
public Validate.TimestampRules.Builder clearGtNow()
GtNow specifies that this must be greater than the current time. GtNow can only be used with the Within rule.
optional bool gt_now = 8;- Returns:
- This builder for chaining.
-
hasWithin
public boolean hasWithin()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
hasWithinin interfaceValidate.TimestampRulesOrBuilder- Returns:
- Whether the within field is set.
-
getWithin
public com.google.protobuf.Duration getWithin()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
getWithinin interfaceValidate.TimestampRulesOrBuilder- Returns:
- The within.
-
setWithin
public Validate.TimestampRules.Builder setWithin(com.google.protobuf.Duration value)
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;
-
setWithin
public Validate.TimestampRules.Builder setWithin(com.google.protobuf.Duration.Builder builderForValue)
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;
-
mergeWithin
public Validate.TimestampRules.Builder mergeWithin(com.google.protobuf.Duration value)
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;
-
clearWithin
public Validate.TimestampRules.Builder clearWithin()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;
-
getWithinBuilder
public com.google.protobuf.Duration.Builder getWithinBuilder()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;
-
getWithinOrBuilder
public com.google.protobuf.DurationOrBuilder getWithinOrBuilder()
Within specifies that this field must be within this duration of the current time. This constraint can be used alone or with the LtNow and GtNow rules.
optional .google.protobuf.Duration within = 9;- Specified by:
getWithinOrBuilderin interfaceValidate.TimestampRulesOrBuilder
-
setUnknownFields
public final Validate.TimestampRules.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
mergeUnknownFields
public final Validate.TimestampRules.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Validate.TimestampRules.Builder>
-
-