Interface InstanceFlexibilityPolicy.InstanceSelectionResultOrBuilder (4.37.0)

public static interface InstanceFlexibilityPolicy.InstanceSelectionResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMachineType()

public abstract String getMachineType()

Output only. Full machine-type names, e.g. "n1-standard-16".

optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Output only. Full machine-type names, e.g. "n1-standard-16".

optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for machineType.

getVmCount()

public abstract int getVmCount()

Output only. Number of VM provisioned with the machine_type.

optional int32 vm_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The vmCount.

hasMachineType()

public abstract boolean hasMachineType()

Output only. Full machine-type names, e.g. "n1-standard-16".

optional string machine_type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the machineType field is set.

hasVmCount()

public abstract boolean hasVmCount()

Output only. Number of VM provisioned with the machine_type.

optional int32 vm_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the vmCount field is set.