Package io.envoyproxy.pgv.validate
Interface Validate.AnyRulesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Validate.AnyRules,Validate.AnyRules.Builder
- Enclosing class:
- Validate
public static interface Validate.AnyRulesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetIn(int index) In specifies that this field's `type_url` must be equal to one of the specified values.com.google.protobuf.ByteStringgetInBytes(int index) In specifies that this field's `type_url` must be equal to one of the specified values.intIn specifies that this field's `type_url` must be equal to one of the specified values.In specifies that this field's `type_url` must be equal to one of the specified values.getNotIn(int index) NotIn specifies that this field's `type_url` must not be equal to any of the specified values.com.google.protobuf.ByteStringgetNotInBytes(int index) NotIn specifies that this field's `type_url` must not be equal to any of the specified values.intNotIn specifies that this field's `type_url` must not be equal to any of the specified values.NotIn specifies that this field's `type_url` must not be equal to any of the specified values.booleanRequired specifies that this field must be setbooleanRequired specifies that this field must be setMethods 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.
-
getInList
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Returns:
- A list containing the in.
-
getInCount
int getInCount()In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Returns:
- The count of in.
-
getIn
In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Parameters:
index- The index of the element to return.- Returns:
- The in at the given index.
-
getInBytes
com.google.protobuf.ByteString getInBytes(int index) In specifies that this field's `type_url` must be equal to one of the specified values.
repeated string in = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the in at the given index.
-
getNotInList
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Returns:
- A list containing the notIn.
-
getNotInCount
int getNotInCount()NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Returns:
- The count of notIn.
-
getNotIn
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Parameters:
index- The index of the element to return.- Returns:
- The notIn at the given index.
-
getNotInBytes
com.google.protobuf.ByteString getNotInBytes(int index) NotIn specifies that this field's `type_url` must not be equal to any of the specified values.
repeated string not_in = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notIn at the given index.
-