Interface PrivatePoolV1Config.WorkerConfigOrBuilder (3.8.0)

public static interface PrivatePoolV1Config.WorkerConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDiskSizeGb()

public abstract long getDiskSizeGb()

Size of the disk attached to the worker, in GB. See Worker pool config file. Specify a value of up to 1000. If 0 is specified, Cloud Build will use a standard disk size.

int64 disk_size_gb = 2;

Returns
TypeDescription
long

The diskSizeGb.

getMachineType()

public abstract String getMachineType()

Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

string machine_type = 1;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

string machine_type = 1;

Returns
TypeDescription
ByteString

The bytes for machineType.