Interface InstancesSetMachineTypeRequestOrBuilder (1.54.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
Type Description
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
Type Description
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
Type Description
boolean

Whether the machineType field is set.