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.GeneratedMessage.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.GeneratedMessage.Builder<Validate.TimestampRules.Builder> implements Validate.TimestampRulesOrBuilder
TimestampRules describe the constraints applied exclusively to the `google.protobuf.Timestamp` well-known type
Protobuf typevalidate.TimestampRules
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private com.google.protobuf.Timestamp
const_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
constBuilder_
private com.google.protobuf.Timestamp
gt_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
gtBuilder_
private com.google.protobuf.Timestamp
gte_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
gteBuilder_
private boolean
gtNow_
private com.google.protobuf.Timestamp
lt_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
ltBuilder_
private com.google.protobuf.Timestamp
lte_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
lteBuilder_
private boolean
ltNow_
private boolean
required_
private com.google.protobuf.Duration
within_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
withinBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Validate.TimestampRules
build()
Validate.TimestampRules
buildPartial()
private void
buildPartial0(Validate.TimestampRules result)
Validate.TimestampRules.Builder
clear()
Validate.TimestampRules.Builder
clearConst()
Const specifies that this field must be exactly the specified valueValidate.TimestampRules.Builder
clearGt()
Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.Builder
clearGte()
Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.Builder
clearGtNow()
GtNow specifies that this must be greater than the current time.Validate.TimestampRules.Builder
clearLt()
Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.Builder
clearLte()
Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.Builder
clearLtNow()
LtNow specifies that this must be less than the current time.Validate.TimestampRules.Builder
clearRequired()
Required specifies that this field must be setValidate.TimestampRules.Builder
clearWithin()
Within specifies that this field must be within this duration of the current time.com.google.protobuf.Timestamp
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.Timestamp.Builder
getConstBuilder()
Const specifies that this field must be exactly the specified valueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getConstFieldBuilder()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampOrBuilder
getConstOrBuilder()
Const specifies that this field must be exactly the specified valueValidate.TimestampRules
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getGt()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Timestamp.Builder
getGtBuilder()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Timestamp
getGte()
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.Timestamp.Builder
getGteBuilder()
Gte specifies that this field must be greater than the specified value, inclusiveprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getGteFieldBuilder()
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.TimestampOrBuilder
getGteOrBuilder()
Gte specifies that this field must be greater than the specified value, inclusiveprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getGtFieldBuilder()
Gt specifies that this field must be greater than the specified value, exclusiveboolean
getGtNow()
GtNow specifies that this must be greater than the current time.com.google.protobuf.TimestampOrBuilder
getGtOrBuilder()
Gt specifies that this field must be greater than the specified value, exclusivecom.google.protobuf.Timestamp
getLt()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Timestamp.Builder
getLtBuilder()
Lt specifies that this field must be less than the specified value, exclusivecom.google.protobuf.Timestamp
getLte()
Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.Timestamp.Builder
getLteBuilder()
Lte specifies that this field must be less than the specified value, inclusiveprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getLteFieldBuilder()
Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.TimestampOrBuilder
getLteOrBuilder()
Lte specifies that this field must be less than the specified value, inclusiveprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder>
getLtFieldBuilder()
Lt specifies that this field must be less than the specified value, exclusiveboolean
getLtNow()
LtNow specifies that this must be less than the current time.com.google.protobuf.TimestampOrBuilder
getLtOrBuilder()
Lt specifies that this field must be less than the specified value, exclusiveboolean
getRequired()
Required specifies that this field must be setcom.google.protobuf.Duration
getWithin()
Within specifies that this field must be within this duration of the current time.com.google.protobuf.Duration.Builder
getWithinBuilder()
Within specifies that this field must be within this duration of the current time.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
getWithinFieldBuilder()
Within specifies that this field must be within this duration of the current time.com.google.protobuf.DurationOrBuilder
getWithinOrBuilder()
Within specifies that this field must be within this duration of the current time.boolean
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
hasGtNow()
GtNow specifies that this must be greater than the current time.boolean
hasLt()
Lt specifies that this field must be less than the specified value, exclusiveboolean
hasLte()
Lte specifies that this field must be less than the specified value, inclusiveboolean
hasLtNow()
LtNow specifies that this must be less than the current time.boolean
hasRequired()
Required specifies that this field must be setboolean
hasWithin()
Within specifies that this field must be within this duration of the current time.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Validate.TimestampRules.Builder
mergeConst(com.google.protobuf.Timestamp value)
Const specifies that this field must be exactly the specified valueValidate.TimestampRules.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Validate.TimestampRules.Builder
mergeFrom(com.google.protobuf.Message other)
Validate.TimestampRules.Builder
mergeFrom(Validate.TimestampRules other)
Validate.TimestampRules.Builder
mergeGt(com.google.protobuf.Timestamp value)
Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.Builder
mergeGte(com.google.protobuf.Timestamp value)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.Builder
mergeLt(com.google.protobuf.Timestamp value)
Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.Builder
mergeLte(com.google.protobuf.Timestamp value)
Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.Builder
mergeWithin(com.google.protobuf.Duration value)
Within specifies that this field must be within this duration of the current time.Validate.TimestampRules.Builder
setConst(com.google.protobuf.Timestamp value)
Const specifies that this field must be exactly the specified valueValidate.TimestampRules.Builder
setConst(com.google.protobuf.Timestamp.Builder builderForValue)
Const specifies that this field must be exactly the specified valueValidate.TimestampRules.Builder
setGt(com.google.protobuf.Timestamp value)
Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.Builder
setGt(com.google.protobuf.Timestamp.Builder builderForValue)
Gt specifies that this field must be greater than the specified value, exclusiveValidate.TimestampRules.Builder
setGte(com.google.protobuf.Timestamp value)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.Builder
setGte(com.google.protobuf.Timestamp.Builder builderForValue)
Gte specifies that this field must be greater than the specified value, inclusiveValidate.TimestampRules.Builder
setGtNow(boolean value)
GtNow specifies that this must be greater than the current time.Validate.TimestampRules.Builder
setLt(com.google.protobuf.Timestamp value)
Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.Builder
setLt(com.google.protobuf.Timestamp.Builder builderForValue)
Lt specifies that this field must be less than the specified value, exclusiveValidate.TimestampRules.Builder
setLte(com.google.protobuf.Timestamp value)
Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.Builder
setLte(com.google.protobuf.Timestamp.Builder builderForValue)
Lte specifies that this field must be less than the specified value, inclusiveValidate.TimestampRules.Builder
setLtNow(boolean value)
LtNow specifies that this must be less than the current time.Validate.TimestampRules.Builder
setRequired(boolean value)
Required specifies that this field must be setValidate.TimestampRules.Builder
setWithin(com.google.protobuf.Duration value)
Within specifies that this field must be within this duration of the current time.Validate.TimestampRules.Builder
setWithin(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.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.Timestamp const_
-
constBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> constBuilder_
-
lt_
private com.google.protobuf.Timestamp lt_
-
ltBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> ltBuilder_
-
lte_
private com.google.protobuf.Timestamp lte_
-
lteBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> lteBuilder_
-
gt_
private com.google.protobuf.Timestamp gt_
-
gtBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> gtBuilder_
-
gte_
private com.google.protobuf.Timestamp gte_
-
gteBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> gteBuilder_
-
ltNow_
private boolean ltNow_
-
gtNow_
private boolean gtNow_
-
within_
private com.google.protobuf.Duration within_
-
withinBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> withinBuilder_
-
-
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.TimestampRules.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Validate.TimestampRules.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.TimestampRules.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.TimestampRules.Builder>
-
getDefaultInstanceForType
public Validate.TimestampRules getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Validate.TimestampRules build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Validate.TimestampRules buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(Validate.TimestampRules result)
-
mergeFrom
public Validate.TimestampRules.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.TimestampRules.Builder>
-
mergeFrom
public Validate.TimestampRules.Builder mergeFrom(Validate.TimestampRules other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.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:
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.TimestampRules.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.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:
getRequired
in 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:
hasConst
in 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:
getConst
in 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:
getConstOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getConstFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getConstFieldBuilder()
Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;
-
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:
hasLt
in 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:
getLt
in 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:
getLtOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getLtFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLtFieldBuilder()
Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;
-
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:
hasLte
in 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:
getLte
in 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:
getLteOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getLteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getLteFieldBuilder()
Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;
-
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:
hasGt
in 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:
getGt
in 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:
getGtOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getGtFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getGtFieldBuilder()
Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;
-
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:
hasGte
in 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:
getGte
in 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:
getGteOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getGteFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,com.google.protobuf.Timestamp.Builder,com.google.protobuf.TimestampOrBuilder> getGteFieldBuilder()
Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;
-
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:
hasLtNow
in 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:
getLtNow
in 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:
hasGtNow
in 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:
getGtNow
in 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:
hasWithin
in 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:
getWithin
in 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:
getWithinOrBuilder
in interfaceValidate.TimestampRulesOrBuilder
-
getWithinFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getWithinFieldBuilder()
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;
-
-