public static interface V1.NodeSelectorRequirementOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getKey()
The label key that the selector applies to.
|
com.google.protobuf.ByteString |
getKeyBytes()
The label key that the selector applies to.
|
String |
getOperator()
Represents a key's relationship to a set of values.
|
com.google.protobuf.ByteString |
getOperatorBytes()
Represents a key's relationship to a set of values.
|
String |
getValues(int index)
An array of string values.
|
com.google.protobuf.ByteString |
getValuesBytes(int index)
An array of string values.
|
int |
getValuesCount()
An array of string values.
|
List<String> |
getValuesList()
An array of string values.
|
boolean |
hasKey()
The label key that the selector applies to.
|
boolean |
hasOperator()
Represents a key's relationship to a set of values.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasKey()
The label key that the selector applies to.
optional string key = 1;
String getKey()
The label key that the selector applies to.
optional string key = 1;
com.google.protobuf.ByteString getKeyBytes()
The label key that the selector applies to.
optional string key = 1;
boolean hasOperator()
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
optional string operator = 2;
String getOperator()
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
optional string operator = 2;
com.google.protobuf.ByteString getOperatorBytes()
Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
optional string operator = 2;
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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;
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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;
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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;
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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch. +optional
repeated string values = 3;
Copyright © 2021. All rights reserved.