Package io.envoyproxy.pgv.validate
Interface Validate.DurationRulesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.DurationRules
,Validate.DurationRules.Builder
- Enclosing class:
- Validate
public static interface Validate.DurationRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Duration
getConst()
Const specifies that this field must be exactly the specified valuecom.google.protobuf.DurationOrBuilder
Const specifies that this field must be exactly the specified valuecom.google.protobuf.Duration
getGt()
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.DurationOrBuilder
Gte specifies that this field must be greater than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
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 valuesint
In specifies that this field must be equal to one of the specified valuesList<com.google.protobuf.Duration>
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 valuesList<? extends com.google.protobuf.DurationOrBuilder>
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
getLte()
Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
Lt specifies that this field must be less than the specified value, inclusivecom.google.protobuf.DurationOrBuilder
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 valuesint
NotIn specifies that this field cannot be equal to one of the specified valuesList<com.google.protobuf.Duration>
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 valuesList<? extends com.google.protobuf.DurationOrBuilder>
NotIn specifies that this field cannot be equal to one of the specified valuesboolean
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
Required specifies that this field must be setMethods 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.Duration const = 2;
- Returns:
- Whether the const field is set.
-
getConst
com.google.protobuf.Duration getConst()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Duration const = 2;
- Returns:
- The const.
-
getConstOrBuilder
com.google.protobuf.DurationOrBuilder getConstOrBuilder()Const specifies that this field must be exactly the specified value
optional .google.protobuf.Duration const = 2;
-
hasLt
boolean hasLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;
- Returns:
- Whether the lt field is set.
-
getLt
com.google.protobuf.Duration getLt()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;
- Returns:
- The lt.
-
getLtOrBuilder
com.google.protobuf.DurationOrBuilder getLtOrBuilder()Lt specifies that this field must be less than the specified value, exclusive
optional .google.protobuf.Duration lt = 3;
-
hasLte
boolean hasLte()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;
- Returns:
- Whether the lte field is set.
-
getLte
com.google.protobuf.Duration getLte()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;
- Returns:
- The lte.
-
getLteOrBuilder
com.google.protobuf.DurationOrBuilder getLteOrBuilder()Lt specifies that this field must be less than the specified value, inclusive
optional .google.protobuf.Duration lte = 4;
-
hasGt
boolean hasGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;
- Returns:
- Whether the gt field is set.
-
getGt
com.google.protobuf.Duration getGt()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;
- Returns:
- The gt.
-
getGtOrBuilder
com.google.protobuf.DurationOrBuilder getGtOrBuilder()Gt specifies that this field must be greater than the specified value, exclusive
optional .google.protobuf.Duration gt = 5;
-
hasGte
boolean hasGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;
- Returns:
- Whether the gte field is set.
-
getGte
com.google.protobuf.Duration getGte()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;
- Returns:
- The gte.
-
getGteOrBuilder
com.google.protobuf.DurationOrBuilder getGteOrBuilder()Gte specifies that this field must be greater than the specified value, inclusive
optional .google.protobuf.Duration gte = 6;
-
getInList
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;
-
getIn
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;
-
getInCount
int getInCount()In specifies that this field must be equal to one of the specified values
repeated .google.protobuf.Duration in = 7;
-
getInOrBuilderList
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;
-
getInOrBuilder
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;
-
getNotInList
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;
-
getNotIn
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;
-
getNotInCount
int getNotInCount()NotIn specifies that this field cannot be equal to one of the specified values
repeated .google.protobuf.Duration not_in = 8;
-
getNotInOrBuilderList
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;
-
getNotInOrBuilder
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;
-