Interface CreateWorkerPoolRequestOrBuilder (3.34.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the workerPool field is set.