Interface InstancesSetMachineTypeRequestOrBuilder (1.27.0)

public interface InstancesSetMachineTypeRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMachineType()

public abstract String getMachineType()

Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1

optional string machine_type = 227711026;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1

optional string machine_type = 227711026;

Returns
TypeDescription
ByteString

The bytes for machineType.

hasMachineType()

public abstract boolean hasMachineType()

Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1

optional string machine_type = 227711026;

Returns
TypeDescription
boolean

Whether the machineType field is set.