Interface SpotConfigOrBuilder (0.34.0)

public interface SpotConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceTypes(int index)

public abstract String getInstanceTypes(int index)

Required. A list of instance types for creating spot node pool.

repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The instanceTypes at the given index.

getInstanceTypesBytes(int index)

public abstract ByteString getInstanceTypesBytes(int index)

Required. A list of instance types for creating spot node pool.

repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the instanceTypes at the given index.

getInstanceTypesCount()

public abstract int getInstanceTypesCount()

Required. A list of instance types for creating spot node pool.

repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of instanceTypes.

getInstanceTypesList()

public abstract List<String> getInstanceTypesList()

Required. A list of instance types for creating spot node pool.

repeated string instance_types = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<String>

A list containing the instanceTypes.