Package com.google.cloud.vmmigration.v1
Interface SchedulingNodeAffinityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SchedulingNodeAffinity
,SchedulingNodeAffinity.Builder
public interface SchedulingNodeAffinityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKey()
The label key of Node resource to reference.com.google.protobuf.ByteString
getKeyBytes()
The label key of Node resource to reference.SchedulingNodeAffinity.Operator
getOperator()
The operator to use for the node resources specified in the `values` parameter.int
getOperatorValue()
The operator to use for the node resources specified in the `values` parameter.String
getValues(int index)
Corresponds to the label values of Node resource.com.google.protobuf.ByteString
getValuesBytes(int index)
Corresponds to the label values of Node resource.int
getValuesCount()
Corresponds to the label values of Node resource.List<String>
getValuesList()
Corresponds to the label values of Node resource.-
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 of Node resource to reference.
string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
The label key of Node resource to reference.
string key = 1;
- Returns:
- The bytes for key.
-
getOperatorValue
int getOperatorValue()
The operator to use for the node resources specified in the `values` parameter.
.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2;
- Returns:
- The enum numeric value on the wire for operator.
-
getOperator
SchedulingNodeAffinity.Operator getOperator()
The operator to use for the node resources specified in the `values` parameter.
.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2;
- Returns:
- The operator.
-
getValuesList
List<String> getValuesList()
Corresponds to the label values of Node resource.
repeated string values = 3;
- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()
Corresponds to the label values of Node resource.
repeated string values = 3;
- Returns:
- The count of values.
-
getValues
String getValues(int index)
Corresponds to the label values of Node resource.
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)
Corresponds to the label values of Node resource.
repeated string values = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-
-