Interface BuildOptions.PoolOptionOrBuilder (3.105.0)

public static interface BuildOptions.PoolOptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool.

Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool.

Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getResolvedWorkerRelease()

public abstract String getResolvedWorkerRelease()

Output only. OUTPUT_ONLY. Worker release resolved from the release channel.

string resolved_worker_release = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The resolvedWorkerRelease.

getResolvedWorkerReleaseBytes()

public abstract ByteString getResolvedWorkerReleaseBytes()

Output only. OUTPUT_ONLY. Worker release resolved from the release channel.

string resolved_worker_release = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for resolvedWorkerRelease.

getWorkerRelease()

public abstract String getWorkerRelease()

Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as PrivatePoolV1Config.WorkerConfig.worker_release for the UI to easily access.

string worker_release = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The workerRelease.

getWorkerReleaseBytes()

public abstract ByteString getWorkerReleaseBytes()

Output only. OUTPUT_ONLY. The release or release channel used to run the Build. This is set to the same value as PrivatePoolV1Config.WorkerConfig.worker_release for the UI to easily access.

string worker_release = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for workerRelease.