- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkerPoolRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
build()
public CreateWorkerPoolRequest build()
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest |
buildPartial()
public CreateWorkerPoolRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest |
clear()
public CreateWorkerPoolRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateWorkerPoolRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateWorkerPoolRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |
clone()
public CreateWorkerPoolRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
getDefaultInstanceForType()
public CreateWorkerPoolRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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;
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the workerPool field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CreateWorkerPoolRequest other)
public CreateWorkerPoolRequest.Builder mergeFrom(CreateWorkerPoolRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateWorkerPoolRequest |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateWorkerPoolRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateWorkerPoolRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkerPoolRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | WorkerPool |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateWorkerPoolRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateWorkerPoolRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The validateOnly to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | WorkerPool |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | WorkerPool.Builder |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The workerPoolId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for workerPoolId to set. |
Returns | |
---|---|
Type | Description |
CreateWorkerPoolRequest.Builder | This builder for chaining. |