- 3.49.0 (latest)
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class CreateWorkerPoolRequest.Builder extends GeneratedMessageV3.Builder<CreateWorkerPoolRequest.Builder> implements CreateWorkerPoolRequestOrBuilder
Request to create a new WorkerPool
.
Protobuf type google.devtools.cloudbuild.v1.CreateWorkerPoolRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateWorkerPoolRequest.BuilderImplements
CreateWorkerPoolRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkerPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateWorkerPoolRequest.Builder |
build()
public CreateWorkerPoolRequest build()
Type | Description |
CreateWorkerPoolRequest |
buildPartial()
public CreateWorkerPoolRequest buildPartial()
Type | Description |
CreateWorkerPoolRequest |
clear()
public CreateWorkerPoolRequest.Builder clear()
Type | Description |
CreateWorkerPoolRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkerPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateWorkerPoolRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkerPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateWorkerPoolRequest.Builder |
clearParent()
public CreateWorkerPoolRequest.Builder clearParent()
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) = { ... }
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
clearValidateOnly()
public CreateWorkerPoolRequest.Builder clearValidateOnly()
If set, validate the request and preview the response, but do not actually post it.
bool validate_only = 4;
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
clearWorkerPool()
public CreateWorkerPoolRequest.Builder clearWorkerPool()
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
CreateWorkerPoolRequest.Builder |
clearWorkerPoolId()
public CreateWorkerPoolRequest.Builder clearWorkerPoolId()
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];
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
clone()
public CreateWorkerPoolRequest.Builder clone()
Type | Description |
CreateWorkerPoolRequest.Builder |
getDefaultInstanceForType()
public CreateWorkerPoolRequest getDefaultInstanceForType()
Type | Description |
CreateWorkerPoolRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public 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) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public 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) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getValidateOnly()
public boolean getValidateOnly()
If set, validate the request and preview the response, but do not actually post it.
bool validate_only = 4;
Type | Description |
boolean | The validateOnly. |
getWorkerPool()
public WorkerPool getWorkerPool()
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WorkerPool | The workerPool. |
getWorkerPoolBuilder()
public WorkerPool.Builder getWorkerPoolBuilder()
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WorkerPool.Builder |
getWorkerPoolId()
public 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];
Type | Description |
String | The workerPoolId. |
getWorkerPoolIdBytes()
public 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];
Type | Description |
ByteString | The bytes for workerPoolId. |
getWorkerPoolOrBuilder()
public WorkerPoolOrBuilder getWorkerPoolOrBuilder()
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
WorkerPoolOrBuilder |
hasWorkerPool()
public boolean hasWorkerPool()
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the workerPool field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateWorkerPoolRequest other)
public CreateWorkerPoolRequest.Builder mergeFrom(CreateWorkerPoolRequest other)
Name | Description |
other | CreateWorkerPoolRequest |
Type | Description |
CreateWorkerPoolRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkerPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateWorkerPoolRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateWorkerPoolRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateWorkerPoolRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkerPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateWorkerPoolRequest.Builder |
mergeWorkerPool(WorkerPool value)
public CreateWorkerPoolRequest.Builder mergeWorkerPool(WorkerPool value)
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | WorkerPool |
Type | Description |
CreateWorkerPoolRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkerPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateWorkerPoolRequest.Builder |
setParent(String value)
public CreateWorkerPoolRequest.Builder setParent(String value)
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) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public CreateWorkerPoolRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateWorkerPoolRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateWorkerPoolRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkerPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateWorkerPoolRequest.Builder |
setValidateOnly(boolean value)
public CreateWorkerPoolRequest.Builder setValidateOnly(boolean value)
If set, validate the request and preview the response, but do not actually post it.
bool validate_only = 4;
Name | Description |
value | boolean The validateOnly to set. |
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
setWorkerPool(WorkerPool value)
public CreateWorkerPoolRequest.Builder setWorkerPool(WorkerPool value)
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | WorkerPool |
Type | Description |
CreateWorkerPoolRequest.Builder |
setWorkerPool(WorkerPool.Builder builderForValue)
public CreateWorkerPoolRequest.Builder setWorkerPool(WorkerPool.Builder builderForValue)
Required. WorkerPool
resource to create.
.google.devtools.cloudbuild.v1.WorkerPool worker_pool = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | WorkerPool.Builder |
Type | Description |
CreateWorkerPoolRequest.Builder |
setWorkerPoolId(String value)
public CreateWorkerPoolRequest.Builder setWorkerPoolId(String value)
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];
Name | Description |
value | String The workerPoolId to set. |
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
setWorkerPoolIdBytes(ByteString value)
public CreateWorkerPoolRequest.Builder setWorkerPoolIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for workerPoolId to set. |
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |