public interface CreateWorkerPoolRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract String getParent() Required. The location and project in which this worker pool should be
created. Format: projects/{project}/locations/{location}, where
{project} can be project id or number. Only lowercase characters, digits,
and hyphens.
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 location and project in which this worker pool should be
created. Format: projects/{project}/locations/{location}, where
{project} can be project id or number. Only lowercase characters, digits,
and hyphens.
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()Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
getWorkerPool()
public abstract WorkerPool getWorkerPool()Required. The WorkerPool instance to create.
.google.cloud.run.v2.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WorkerPool |
The workerPool. |
getWorkerPoolId()
public abstract String getWorkerPoolId() Required. The unique identifier for the WorkerPool. It must begin with
letter, and cannot end with hyphen; must contain fewer than 50 characters.
The name of the worker pool becomes
{parent}/workerPools/{worker_pool_id}.
string worker_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The workerPoolId. |
getWorkerPoolIdBytes()
public abstract ByteString getWorkerPoolIdBytes() Required. The unique identifier for the WorkerPool. It must begin with
letter, and cannot end with hyphen; must contain fewer than 50 characters.
The name of the worker pool becomes
{parent}/workerPools/{worker_pool_id}.
string worker_pool_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for workerPoolId. |
getWorkerPoolOrBuilder()
public abstract WorkerPoolOrBuilder getWorkerPoolOrBuilder()Required. The WorkerPool instance to create.
.google.cloud.run.v2.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
WorkerPoolOrBuilder |
|
hasWorkerPool()
public abstract boolean hasWorkerPool()Required. The WorkerPool instance to create.
.google.cloud.run.v2.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the workerPool field is set. |