Package io.envoyproxy.pgv.validate
Interface Validate.EnumRulesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.EnumRules,Validate.EnumRules.Builder
- Enclosing class:
- Validate
public static interface Validate.EnumRulesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetConst()Const specifies that this field must be exactly the specified valuebooleangetDefinedOnly()DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.intgetIn(int index)In specifies that this field must be equal to one of the specified valuesintgetInCount()In specifies that this field must be equal to one of the specified valuesList<Integer>getInList()In specifies that this field must be equal to one of the specified valuesintgetNotIn(int index)NotIn specifies that this field cannot be equal to one of the specified valuesintgetNotInCount()NotIn specifies that this field cannot be equal to one of the specified valuesList<Integer>getNotInList()NotIn specifies that this field cannot be equal to one of the specified valuesbooleanhasConst()Const specifies that this field must be exactly the specified valuebooleanhasDefinedOnly()DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConst
boolean hasConst()
Const specifies that this field must be exactly the specified value
optional int32 const = 1;
-
getConst
int getConst()
Const specifies that this field must be exactly the specified value
optional int32 const = 1;
-
hasDefinedOnly
boolean hasDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
optional bool defined_only = 2;
-
getDefinedOnly
boolean getDefinedOnly()
DefinedOnly specifies that this field must be only one of the defined values for this enum, failing on any undefined value.
optional bool defined_only = 2;
-
getInList
List<Integer> getInList()
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;
-
getInCount
int getInCount()
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;
-
getIn
int getIn(int index)
In specifies that this field must be equal to one of the specified values
repeated int32 in = 3;
-
getNotInList
List<Integer> getNotInList()
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;
-
getNotInCount
int getNotInCount()
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;
-
getNotIn
int getNotIn(int index)
NotIn specifies that this field cannot be equal to one of the specified values
repeated int32 not_in = 4;
-
-