Package flyteidl.admin
Interface ClusterAssignmentOuterClass.SelectorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ClusterAssignmentOuterClass.Selector,ClusterAssignmentOuterClass.Selector.Builder
- Enclosing class:
- ClusterAssignmentOuterClass
public static interface ClusterAssignmentOuterClass.SelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()The label key.com.google.protobuf.ByteStringgetKeyBytes()The label key.ClusterAssignmentOuterClass.Selector.OperatorgetOperator().flyteidl.admin.Selector.Operator operator = 3;intgetOperatorValue().flyteidl.admin.Selector.Operator operator = 3;StringgetValue(int index)One or more values used to match labels.com.google.protobuf.ByteStringgetValueBytes(int index)One or more values used to match labels.intgetValueCount()One or more values used to match labels.List<String>getValueList()One or more values used to match labels.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
String getKey()
The label key.
string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The label key.
string key = 1;- Returns:
- The bytes for key.
-
getValueList
List<String> getValueList()
One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements.
repeated string value = 2;- Returns:
- A list containing the value.
-
getValueCount
int getValueCount()
One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements.
repeated string value = 2;- Returns:
- The count of value.
-
getValue
String getValue(int index)
One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements.
repeated string value = 2;- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes(int index)
One or more values used to match labels. For equality (or inequality) requirements, values must contain a single element. For set-based requirements, values may contain one or more elements.
repeated string value = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-
getOperatorValue
int getOperatorValue()
.flyteidl.admin.Selector.Operator operator = 3;- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
ClusterAssignmentOuterClass.Selector.Operator getOperator()
.flyteidl.admin.Selector.Operator operator = 3;- Returns:
- The operator.
-
-