Package k8s.io.api.core.v1
Interface Generated.ScopedResourceSelectorRequirementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ScopedResourceSelectorRequirement,Generated.ScopedResourceSelectorRequirement.Builder
- Enclosing class:
- Generated
public static interface Generated.ScopedResourceSelectorRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetOperator()Represents a scope's relationship to a set of values.com.google.protobuf.ByteStringgetOperatorBytes()Represents a scope's relationship to a set of values.StringgetScopeName()The name of the scope that the selector applies to.com.google.protobuf.ByteStringgetScopeNameBytes()The name of the scope that the selector applies to.StringgetValues(int index)An array of string values.com.google.protobuf.ByteStringgetValuesBytes(int index)An array of string values.intgetValuesCount()An array of string values.List<String>getValuesList()An array of string values.booleanhasOperator()Represents a scope's relationship to a set of values.booleanhasScopeName()The name of the scope that the selector applies to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasScopeName
boolean hasScopeName()
The name of the scope that the selector applies to.
optional string scopeName = 1;- Returns:
- Whether the scopeName field is set.
-
getScopeName
String getScopeName()
The name of the scope that the selector applies to.
optional string scopeName = 1;- Returns:
- The scopeName.
-
getScopeNameBytes
com.google.protobuf.ByteString getScopeNameBytes()
The name of the scope that the selector applies to.
optional string scopeName = 1;- Returns:
- The bytes for scopeName.
-
hasOperator
boolean hasOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Returns:
- Whether the operator field is set.
-
getOperator
String getOperator()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Returns:
- The operator.
-
getOperatorBytes
com.google.protobuf.ByteString getOperatorBytes()
Represents a scope's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist.
optional string operator = 2;- Returns:
- The bytes for operator.
-
getValuesList
List<String> getValuesList()
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. This array is replaced during a strategic merge patch. +optional +listType=atomic
repeated string values = 3;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
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. This array is replaced during a strategic merge patch. +optional +listType=atomic
repeated string values = 3;- Returns:
- The count of values.
-
getValues
String getValues(int index)
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. This array is replaced during a strategic merge patch. +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)
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. This array is replaced during a strategic merge patch. +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.
-
-