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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getIn(int index)
In specifies that this field's `type_url` must be equal to one of the specified values.com.google.protobuf.ByteString
getInBytes(int index)
In specifies that this field's `type_url` must be equal to one of the specified values.int
getInCount()
In specifies that this field's `type_url` must be equal to one of the specified values.java.util.List<java.lang.String>
getInList()
In specifies that this field's `type_url` must be equal to one of the specified values.java.lang.String
getNotIn(int index)
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.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.int
getNotInCount()
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.java.util.List<java.lang.String>
getNotInList()
NotIn specifies that this field's `type_url` must not be equal to any of the specified values.boolean
getRequired()
Required specifies that this field must be setboolean
hasRequired()
Required specifies that this field must be set-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
java.util.List<java.lang.String> 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
java.lang.String getIn(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 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
java.util.List<java.lang.String> 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
java.lang.String getNotIn(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 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.
-
-