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.Timestamp
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.TimestampOrBuilder
Const specifies that this field must be exactly the specified valuecom.google.protobuf.Timestamp
getGt()
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.TimestampOrBuilder
Gte specifies that this field must be greater than the specified value, inclusiveboolean
getGtNow()
GtNow specifies that this must be greater than the current time.com.google.protobuf.TimestampOrBuilder
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
getLte()
Lte specifies that this field must be less than the specified value, inclusivecom.google.protobuf.TimestampOrBuilder
Lte specifies that this field must be less than the specified value, inclusiveboolean
getLtNow()
LtNow specifies that this must be less than the current time.com.google.protobuf.TimestampOrBuilder
Lt specifies that this field must be less than the specified value, exclusiveboolean
Required specifies that this field must be setcom.google.protobuf.Duration
Within specifies that this field must be within this duration of the current time.com.google.protobuf.DurationOrBuilder
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
Required specifies that this field must be setboolean
Within specifies that this field must be within this duration of the current time.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods 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;
-