Interface SchedulingNodeAffinityOrBuilder (1.19.0)

public interface SchedulingNodeAffinityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

The label key of Node resource to reference.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The label key of Node resource to reference.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getOperator()

public abstract 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
TypeDescription
SchedulingNodeAffinity.Operator

The operator.

getOperatorValue()

public abstract int getOperatorValue()

The operator to use for the node resources specified in the values parameter.

.google.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for operator.

getValues(int index)

public abstract String getValues(int index)

Corresponds to the label values of Node resource.

repeated string values = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The values at the given index.

getValuesBytes(int index)

public abstract ByteString getValuesBytes(int index)

Corresponds to the label values of Node resource.

repeated string values = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the values at the given index.

getValuesCount()

public abstract int getValuesCount()

Corresponds to the label values of Node resource.

repeated string values = 3;

Returns
TypeDescription
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Corresponds to the label values of Node resource.

repeated string values = 3;

Returns
TypeDescription
List<String>

A list containing the values.