Interface Generated.FieldSelectorRequirementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.FieldSelectorRequirement,Generated.FieldSelectorRequirement.Builder
- Enclosing class:
- Generated
public static interface Generated.FieldSelectorRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()key is the field selector key that the requirement applies to.com.google.protobuf.ByteStringgetKeyBytes()key is the field selector key that the requirement applies to.StringgetOperator()operator represents a key's relationship to a set of values.com.google.protobuf.ByteStringgetOperatorBytes()operator represents a key's relationship to a set of values.StringgetValues(int index)values is an array of string values.com.google.protobuf.ByteStringgetValuesBytes(int index)values is an array of string values.intgetValuesCount()values is an array of string values.List<String>getValuesList()values is an array of string values.booleanhasKey()key is the field selector key that the requirement applies to.booleanhasOperator()operator represents a key's relationship to a set of values.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
key is the field selector key that the requirement applies to.
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
key is the field selector key that the requirement applies to.
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
key is the field selector key that the requirement applies to.
optional string key = 1;- Returns:
- The bytes for key.
-
hasOperator
boolean hasOperator()
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
optional string operator = 2;- Returns:
- Whether the operator field is set.
-
getOperator
String getOperator()
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
optional string operator = 2;- Returns:
- The operator.
-
getOperatorBytes
com.google.protobuf.ByteString getOperatorBytes()
operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.
optional string operator = 2;- Returns:
- The bytes for operator.
-
getValuesList
List<String> getValuesList()
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. +optional +listType=atomic
repeated string values = 3;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. +optional +listType=atomic
repeated string values = 3;- Returns:
- The count of values.
-
getValues
String getValues(int index)
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. +optional +listType=atomic
repeated string values = 3;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
com.google.protobuf.ByteString getValuesBytes(int index)
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. +optional +listType=atomic
repeated string values = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-