Package com.google.cloud.compute.v1
Interface SchedulingNodeAffinityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SchedulingNodeAffinity,SchedulingNodeAffinity.Builder
@Generated
public interface SchedulingNodeAffinityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Corresponds to the label key of Node resource.com.google.protobuf.ByteStringCorresponds to the label key of Node resource.Defines the operation of node selection.com.google.protobuf.ByteStringDefines the operation of node selection.getValues(int index) Corresponds to the label values of Node resource.com.google.protobuf.ByteStringgetValuesBytes(int index) Corresponds to the label values of Node resource.intCorresponds to the label values of Node resource.Corresponds to the label values of Node resource.booleanhasKey()Corresponds to the label key of Node resource.booleanDefines the operation of node selection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKey
boolean hasKey()Corresponds to the label key of Node resource.
optional string key = 106079;- Returns:
- Whether the key field is set.
-
getKey
String getKey()Corresponds to the label key of Node resource.
optional string key = 106079;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Corresponds to the label key of Node resource.
optional string key = 106079;- Returns:
- The bytes for key.
-
hasOperator
boolean hasOperator()Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity. Check the Operator enum for the list of possible values.
optional string operator = 36317348;- Returns:
- Whether the operator field is set.
-
getOperator
String getOperator()Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity. Check the Operator enum for the list of possible values.
optional string operator = 36317348;- Returns:
- The operator.
-
getOperatorBytes
com.google.protobuf.ByteString getOperatorBytes()Defines the operation of node selection. Valid operators areIN for affinity and NOT_IN for anti-affinity. Check the Operator enum for the list of possible values.
optional string operator = 36317348;- Returns:
- The bytes for operator.
-
getValuesList
Corresponds to the label values of Node resource.
repeated string values = 249928994;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()Corresponds to the label values of Node resource.
repeated string values = 249928994;- Returns:
- The count of values.
-
getValues
Corresponds to the label values of Node resource.
repeated string values = 249928994;- 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 = 249928994;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-