public static final class DeleteWorkerPoolOperationMetadata.Builder extends GeneratedMessageV3.Builder<DeleteWorkerPoolOperationMetadata.Builder> implements DeleteWorkerPoolOperationMetadataOrBuilder
Metadata for the DeleteWorkerPool
operation.
Protobuf type google.devtools.cloudbuild.v1.DeleteWorkerPoolOperationMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public DeleteWorkerPoolOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteWorkerPoolOperationMetadata build()
Returns
public DeleteWorkerPoolOperationMetadata buildPartial()
Returns
public DeleteWorkerPoolOperationMetadata.Builder clear()
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder clearCompleteTime()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns
public DeleteWorkerPoolOperationMetadata.Builder clearCreateTime()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public DeleteWorkerPoolOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder clearWorkerPool()
The resource name of the WorkerPool
being deleted.
Format:
projects/{project}/locations/{location}/workerPools/{worker_pool}
.
string worker_pool = 1 [(.google.api.resource_reference) = { ... }
Returns
public DeleteWorkerPoolOperationMetadata.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 DeleteWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public String getWorkerPool()
The resource name of the WorkerPool
being deleted.
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
being deleted.
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 DeleteWorkerPoolOperationMetadata.Builder mergeCompleteTime(Timestamp value)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Returns
public DeleteWorkerPoolOperationMetadata.Builder mergeCreateTime(Timestamp value)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(DeleteWorkerPoolOperationMetadata other)
Parameter
Returns
public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final DeleteWorkerPoolOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp value)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Returns
public DeleteWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp.Builder builderForValue)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public DeleteWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp value)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Returns
public DeleteWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public DeleteWorkerPoolOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final DeleteWorkerPoolOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public DeleteWorkerPoolOperationMetadata.Builder setWorkerPool(String value)
The resource name of the WorkerPool
being deleted.
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 DeleteWorkerPoolOperationMetadata.Builder setWorkerPoolBytes(ByteString value)
The resource name of the WorkerPool
being deleted.
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