Interface SpotConfigOrBuilder (0.50.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
Name Description
index int

The index of the element to return.

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

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the instanceTypes.