Interface Scheduling.NodeAffinityOrBuilder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticinterface Scheduling.NodeAffinityOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getKey()
publicabstractStringgetKey()Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
publicabstractByteStringgetKeyBytes()Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getOperator()
publicabstractScheduling.NodeAffinity.OperatorgetOperator()Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Scheduling.NodeAffinity.Operator |
The operator. |
getOperatorValue()
publicabstractintgetOperatorValue()Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for operator. |
getValues(int index)
publicabstractStringgetValues(intindex)Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The values at the given index. |
getValuesBytes(int index)
publicabstractByteStringgetValuesBytes(intindex)Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the values at the given index. |
getValuesCount()
publicabstractintgetValuesCount()Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of values. |
getValuesList()
publicabstractList<String>getValuesList()Optional. Corresponds to the label values of Node resource.
repeated string values = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the values. |
hasKey()
publicabstractbooleanhasKey()Optional. Corresponds to the label key of Node resource.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the key field is set. |
hasOperator()
publicabstractbooleanhasOperator()Optional. Defines the operation of node selection.
optional .google.cloud.backupdr.v1.Scheduling.NodeAffinity.Operator operator = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the operator field is set. |