Interface SchedulingNodeAffinityOrBuilder (0.16.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
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

The label key of Node resource to reference.

string key = 1;

Returns
Type Description
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.events.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator operator = 2;

Returns
Type Description
SchedulingNodeAffinity.Operator

The operator.

getOperatorValue()

public abstract int getOperatorValue()

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

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

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
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()

public abstract int getValuesCount()

Corresponds to the label values of Node resource.

repeated string values = 3;

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Corresponds to the label values of Node resource.

repeated string values = 3;

Returns
Type Description
List<String>

A list containing the values.