Package k8s.io.api.core.v1
Interface Generated.TopologySelectorLabelRequirementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.TopologySelectorLabelRequirement,Generated.TopologySelectorLabelRequirement.Builder
- Enclosing class:
- Generated
public static interface Generated.TopologySelectorLabelRequirementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()The label key that the selector applies to.com.google.protobuf.ByteStringgetKeyBytes()The label key 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.booleanhasKey()The label key 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
-
hasKey
boolean hasKey()
The label key that the selector applies to.
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
The label key that the selector applies to.
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The label key that the selector applies to.
optional string key = 1;- Returns:
- The bytes for key.
-
getValuesList
List<String> getValuesList()
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. +listType=atomic
repeated string values = 2;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. +listType=atomic
repeated string values = 2;- Returns:
- The count of values.
-
getValues
String getValues(int index)
An array of string values. One value must match the label to be selected. Each entry in Values is ORed. +listType=atomic
repeated string values = 2;- 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. One value must match the label to be selected. Each entry in Values is ORed. +listType=atomic
repeated string values = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-