Interface InstanceFlexibilityPolicy.InstanceSelectionResultOrBuilder (4.49.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the vmCount field is set.