Class DeleteWorkerPoolOperationMetadata.Builder (3.16.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteWorkerPoolOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

build()

public DeleteWorkerPoolOperationMetadata build()
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata

buildPartial()

public DeleteWorkerPoolOperationMetadata buildPartial()
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata

clear()

public DeleteWorkerPoolOperationMetadata.Builder clear()
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

clearCompleteTime()

public DeleteWorkerPoolOperationMetadata.Builder clearCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

clearCreateTime()

public DeleteWorkerPoolOperationMetadata.Builder clearCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public DeleteWorkerPoolOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteWorkerPoolOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

clearWorkerPool()

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
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

This builder for chaining.

clone()

public DeleteWorkerPoolOperationMetadata.Builder clone()
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

getCompleteTime()

public Timestamp getCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
Timestamp

The completeTime.

getCompleteTimeBuilder()

public Timestamp.Builder getCompleteTimeBuilder()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
Builder

getCompleteTimeOrBuilder()

public TimestampOrBuilder getCompleteTimeOrBuilder()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DeleteWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWorkerPool()

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
TypeDescription
String

The workerPool.

getWorkerPoolBytes()

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
TypeDescription
ByteString

The bytes for workerPool.

hasCompleteTime()

public boolean hasCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
boolean

Whether the completeTime field is set.

hasCreateTime()

public boolean hasCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
TypeDescription
boolean

Whether the createTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCompleteTime(Timestamp value)

public DeleteWorkerPoolOperationMetadata.Builder mergeCompleteTime(Timestamp value)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

mergeCreateTime(Timestamp value)

public DeleteWorkerPoolOperationMetadata.Builder mergeCreateTime(Timestamp value)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

mergeFrom(DeleteWorkerPoolOperationMetadata other)

public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(DeleteWorkerPoolOperationMetadata other)
Parameter
NameDescription
otherDeleteWorkerPoolOperationMetadata
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteWorkerPoolOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteWorkerPoolOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

setCompleteTime(Timestamp value)

public DeleteWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp value)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

setCompleteTime(Timestamp.Builder builderForValue)

public DeleteWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp.Builder builderForValue)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

setCreateTime(Timestamp value)

public DeleteWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp value)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeleteWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteWorkerPoolOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteWorkerPoolOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteWorkerPoolOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder
Overrides

setWorkerPool(String value)

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
NameDescription
valueString

The workerPool to set.

Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

This builder for chaining.

setWorkerPoolBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for workerPool to set.

Returns
TypeDescription
DeleteWorkerPoolOperationMetadata.Builder

This builder for chaining.