Class CreateWorkerPoolOperationMetadata.Builder (3.3.12)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.3.12keyboard_arrow_down
public static final class CreateWorkerPoolOperationMetadata . Builder extends GeneratedMessageV3 . Builder<CreateWorkerPoolOperationMetadata . Builder > implements CreateWorkerPoolOperationMetadataOrBuilder
Metadata for the CreateWorkerPool
operation.
Protobuf type google.devtools.cloudbuild.v1.CreateWorkerPoolOperationMetadata
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public CreateWorkerPoolOperationMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public CreateWorkerPoolOperationMetadata build ()
Returns
public CreateWorkerPoolOperationMetadata buildPartial ()
Returns
public CreateWorkerPoolOperationMetadata . Builder clear ()
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder clearCompleteTime ()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
public CreateWorkerPoolOperationMetadata . Builder clearCreateTime ()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public CreateWorkerPoolOperationMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder clearWorkerPool ()
The resource name of the WorkerPool
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Returns
public CreateWorkerPoolOperationMetadata . Builder clone ()
Returns
Overrides
public Timestamp getCompleteTime ()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
public Timestamp . Builder getCompleteTimeBuilder ()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
public TimestampOrBuilder getCompleteTimeOrBuilder ()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
public Timestamp getCreateTime ()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public Timestamp . Builder getCreateTimeBuilder ()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public TimestampOrBuilder getCreateTimeOrBuilder ()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public CreateWorkerPoolOperationMetadata getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getWorkerPool ()
The resource name of the WorkerPool
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The workerPool.
public ByteString getWorkerPoolBytes ()
The resource name of the WorkerPool
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for workerPool.
public boolean hasCompleteTime ()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
Type
Description
boolean
Whether the completeTime field is set.
public boolean hasCreateTime ()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
Type
Description
boolean
Whether the createTime field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder mergeCompleteTime ( Timestamp value )
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Returns
public CreateWorkerPoolOperationMetadata . Builder mergeCreateTime ( Timestamp value )
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public CreateWorkerPoolOperationMetadata . Builder mergeFrom ( CreateWorkerPoolOperationMetadata other )
Parameter
Returns
public CreateWorkerPoolOperationMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public CreateWorkerPoolOperationMetadata . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final CreateWorkerPoolOperationMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder setCompleteTime ( Timestamp value )
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Returns
public CreateWorkerPoolOperationMetadata . Builder setCompleteTime ( Timestamp . Builder builderForValue )
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Name
Description
builderForValue
Builder
Returns
public CreateWorkerPoolOperationMetadata . Builder setCreateTime ( Timestamp value )
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public CreateWorkerPoolOperationMetadata . Builder setCreateTime ( Timestamp . Builder builderForValue )
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name
Description
builderForValue
Builder
Returns
public CreateWorkerPoolOperationMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final CreateWorkerPoolOperationMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public CreateWorkerPoolOperationMetadata . Builder setWorkerPool ( String value )
The resource name of the WorkerPool
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
String
The workerPool to set.
Returns
public CreateWorkerPoolOperationMetadata . Builder setWorkerPoolBytes ( ByteString value )
The resource name of the WorkerPool
to create.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name
Description
value
ByteString
The bytes for workerPool to set.
Returns
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[],[]]