public static interface PrivatePoolV1Config.WorkerConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 2000. If 0
is specified, Cloud Build will use
a standard disk size.
int64 disk_size_gb = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for machineType. |