Interface SoleTenantConfig.NodeAffinityOrBuilder (2.46.0)

public static interface SoleTenantConfig.NodeAffinityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Key for NodeAffinity.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Key for NodeAffinity.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getOperator()

public abstract SoleTenantConfig.NodeAffinity.Operator getOperator()

Operator for NodeAffinity.

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

Returns
Type Description
SoleTenantConfig.NodeAffinity.Operator

The operator.

getOperatorValue()

public abstract int getOperatorValue()

Operator for NodeAffinity.

.google.container.v1.SoleTenantConfig.NodeAffinity.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)

Values for NodeAffinity.

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)

Values for NodeAffinity.

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

Values for NodeAffinity.

repeated string values = 3;

Returns
Type Description
int

The count of values.

getValuesList()

public abstract List<String> getValuesList()

Values for NodeAffinity.

repeated string values = 3;

Returns
Type Description
List<String>

A list containing the values.