Package io.envoyproxy.pgv.validate
Interface Validate.TimestampRulesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.TimestampRules,Validate.TimestampRules.Builder
- Enclosing class:
- Validate
public static interface Validate.TimestampRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampgetConst()Const specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampOrBuilderConst specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampgetGt()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.TimestampOrBuilderGte 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.TimestampOrBuilderGt 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.TimestampgetLte()Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.TimestampOrBuilderLte 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.TimestampOrBuilderLt specifies that this field must be less than the specified value, exclusivebooleanRequired specifies that this field must be setcom.google.protobuf.DurationWithin specifies that this field must be within this duration of the current time.com.google.protobuf.DurationOrBuilderWithin 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.booleanRequired specifies that this field must be setbooleanWithin specifies that this field must be within this duration of the current time.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequired
boolean hasRequired()Required specifies that this field must be set
optional bool required = 1;- Returns:
- Whether the required field is set.
-
getRequired
boolean getRequired()Required specifies that this field must be set
optional bool required = 1;- Returns:
- The required.
-
hasConst
boolean hasConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Returns:
- Whether the const field is set.
-
getConst
com.google.protobuf.Timestamp getConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2;- Returns:
- The const.
-
getConstOrBuilder
com.google.protobuf.TimestampOrBuilder getConstOrBuilder()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Timestamp const = 2; -
hasLt
boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Returns:
- Whether the lt field is set.
-
getLt
com.google.protobuf.Timestamp getLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3;- Returns:
- The lt.
-
getLtOrBuilder
com.google.protobuf.TimestampOrBuilder getLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Timestamp lt = 3; -
hasLte
boolean hasLte()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Returns:
- Whether the lte field is set.
-
getLte
com.google.protobuf.Timestamp getLte()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4;- Returns:
- The lte.
-
getLteOrBuilder
com.google.protobuf.TimestampOrBuilder getLteOrBuilder()Lte specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Timestamp lte = 4; -
hasGt
boolean hasGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Returns:
- Whether the gt field is set.
-
getGt
com.google.protobuf.Timestamp getGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5;- Returns:
- The gt.
-
getGtOrBuilder
com.google.protobuf.TimestampOrBuilder getGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Timestamp gt = 5; -
hasGte
boolean hasGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Returns:
- Whether the gte field is set.
-
getGte
com.google.protobuf.Timestamp getGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6;- Returns:
- The gte.
-
getGteOrBuilder
com.google.protobuf.TimestampOrBuilder getGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Timestamp gte = 6; -
hasLtNow
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;- Returns:
- Whether the ltNow field is set.
-
getLtNow
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;- Returns:
- The ltNow.
-
hasGtNow
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;- Returns:
- Whether the gtNow field is set.
-
getGtNow
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;- Returns:
- The gtNow.
-
hasWithin
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;- Returns:
- Whether the within field is set.
-
getWithin
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;- Returns:
- The within.
-
getWithinOrBuilder
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;
-