Package com.google.cloudbuild.v1
Interface CreateWorkerPoolRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateWorkerPoolRequest,CreateWorkerPoolRequest.Builder
@Generated
public interface CreateWorkerPoolRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.booleanIf set, validate the request and preview the response, but do not actually post it.Required.Required.com.google.protobuf.ByteStringRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasWorkerPool
boolean hasWorkerPool()Required. `WorkerPool` resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the workerPool field is set.
-
getWorkerPool
WorkerPool getWorkerPool()Required. `WorkerPool` resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The workerPool.
-
getWorkerPoolOrBuilder
WorkerPoolOrBuilder getWorkerPoolOrBuilder()Required. `WorkerPool` resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED]; -
getWorkerPoolId
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][0-9]-/.
string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Returns:
- The workerPoolId.
-
getWorkerPoolIdBytes
com.google.protobuf.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][0-9]-/.
string worker_pool_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for workerPoolId.
-
getValidateOnly
boolean getValidateOnly()If set, validate the request and preview the response, but do not actually post it.
bool validate_only = 4;- Returns:
- The validateOnly.
-