Interface CreateWorkerPoolRequestOrBuilder (3.45.0)

public interface CreateWorkerPoolRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent resource where this worker pool will be created. Format: projects/{project}/locations/{location}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

If set, validate the request and preview the response, but do not actually post it.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

getWorkerPool()

public abstract WorkerPool getWorkerPool()

Required. WorkerPool resource to create.

.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkerPool

The workerPool.

getWorkerPoolId()

public abstract String getWorkerPoolId()

Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name.

This value should be 1-63 characters, and valid characters are /a-z-/.

string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The workerPoolId.

getWorkerPoolIdBytes()

public abstract ByteString getWorkerPoolIdBytes()

Required. Immutable. The ID to use for the WorkerPool, which will become the final component of the resource name.

This value should be 1-63 characters, and valid characters are /a-z-/.

string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for workerPoolId.

getWorkerPoolOrBuilder()

public abstract WorkerPoolOrBuilder getWorkerPoolOrBuilder()

Required. WorkerPool resource to create.

.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkerPoolOrBuilder

hasWorkerPool()

public abstract boolean hasWorkerPool()

Required. WorkerPool resource to create.

.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the workerPool field is set.