Class UpdateWorkerPoolOperationMetadata.Builder (3.33.0)

public static final class UpdateWorkerPoolOperationMetadata.Builder extends GeneratedMessageV3.Builder<UpdateWorkerPoolOperationMetadata.Builder> implements UpdateWorkerPoolOperationMetadataOrBuilder

Metadata for the UpdateWorkerPool operation.

Protobuf type google.devtools.cloudbuild.v1.UpdateWorkerPoolOperationMetadata

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateWorkerPoolOperationMetadata build()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata

buildPartial()

public UpdateWorkerPoolOperationMetadata buildPartial()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata

clear()

public UpdateWorkerPoolOperationMetadata.Builder clear()
Overrides

clearCompleteTime()

public UpdateWorkerPoolOperationMetadata.Builder clearCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

clearCreateTime()

public UpdateWorkerPoolOperationMetadata.Builder clearCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

clearField(Descriptors.FieldDescriptor field)

public UpdateWorkerPoolOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateWorkerPoolOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Overrides

clearWorkerPool()

public UpdateWorkerPoolOperationMetadata.Builder clearWorkerPool()

The resource name of the WorkerPool being updated. Format: projects/{project}/locations/{location}/workerPools/{worker_pool}.

string worker_pool = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder

This builder for chaining.

clone()

public UpdateWorkerPoolOperationMetadata.Builder clone()
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 UpdateWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getWorkerPool()

public String getWorkerPool()

The resource name of the WorkerPool being updated. 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 updated. 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 UpdateWorkerPoolOperationMetadata.Builder mergeCompleteTime(Timestamp value)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
valueTimestamp

mergeCreateTime(Timestamp value)

public UpdateWorkerPoolOperationMetadata.Builder mergeCreateTime(Timestamp value)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp

mergeFrom(UpdateWorkerPoolOperationMetadata other)

public UpdateWorkerPoolOperationMetadata.Builder mergeFrom(UpdateWorkerPoolOperationMetadata other)
Parameter
NameDescription
otherUpdateWorkerPoolOperationMetadata

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdateWorkerPoolOperationMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkerPoolOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setCompleteTime(Timestamp value)

public UpdateWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp value)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
valueTimestamp

setCompleteTime(Timestamp.Builder builderForValue)

public UpdateWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp.Builder builderForValue)

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Parameter
NameDescription
builderForValueBuilder

setCreateTime(Timestamp value)

public UpdateWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp value)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
valueTimestamp

setCreateTime(Timestamp.Builder builderForValue)

public UpdateWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Parameter
NameDescription
builderForValueBuilder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateWorkerPoolOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides

setWorkerPool(String value)

public UpdateWorkerPoolOperationMetadata.Builder setWorkerPool(String value)

The resource name of the WorkerPool being updated. 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
UpdateWorkerPoolOperationMetadata.Builder

This builder for chaining.

setWorkerPoolBytes(ByteString value)

public UpdateWorkerPoolOperationMetadata.Builder setWorkerPoolBytes(ByteString value)

The resource name of the WorkerPool being updated. 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
UpdateWorkerPoolOperationMetadata.Builder

This builder for chaining.