public static interface PrivatePoolV1Config.WorkerConfigOrBuilder extends MessageOrBuilderImplements
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 4000. If 0 is specified, Cloud Build will use
a standard disk size.
int64 disk_size_gb = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The diskSizeGb. |
getEnableNestedVirtualization()
public abstract boolean getEnableNestedVirtualization()Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
optional bool enable_nested_virtualization = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableNestedVirtualization. |
getMachineType()
public abstract String getMachineType() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes() Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
hasEnableNestedVirtualization()
public abstract boolean hasEnableNestedVirtualization()Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.
optional bool enable_nested_virtualization = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the enableNestedVirtualization field is set. |