Interface SoleTenantConfig.NodeAffinityOrBuilder (2.22.0)

public static interface SoleTenantConfig.NodeAffinityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Key for NodeAffinity.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Key for NodeAffinity.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getOperator()

public abstract SoleTenantConfig.NodeAffinity.Operator getOperator()

Operator for NodeAffinity.

.google.container.v1.SoleTenantConfig.NodeAffinity.Operator operator = 2;

Returns
TypeDescription
SoleTenantConfig.NodeAffinity.Operator

The operator.

getOperatorValue()

public abstract int getOperatorValue()

Operator for NodeAffinity.

.google.container.v1.SoleTenantConfig.NodeAffinity.Operator operator = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for operator.

getValues(int index)

public abstract String getValues(int index)

Values for NodeAffinity.

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)

Values for NodeAffinity.

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()

Values for NodeAffinity.

repeated string values = 3;

Returns
TypeDescription
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Values for NodeAffinity.

repeated string values = 3;

Returns
TypeDescription
List<String>

A list containing the values.