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
Inherited Members
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateWorkerPoolOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateWorkerPoolOperationMetadata build()
public UpdateWorkerPoolOperationMetadata buildPartial()
public UpdateWorkerPoolOperationMetadata.Builder clear()
Overrides
public UpdateWorkerPoolOperationMetadata.Builder clearCompleteTime()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
public UpdateWorkerPoolOperationMetadata.Builder clearCreateTime()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
public UpdateWorkerPoolOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateWorkerPoolOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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) = { ... }
public UpdateWorkerPoolOperationMetadata.Builder clone()
Overrides
public Timestamp getCompleteTime()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Returns |
Type |
Description |
Timestamp |
The completeTime.
|
public Timestamp.Builder getCompleteTimeBuilder()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
public TimestampOrBuilder getCompleteTimeOrBuilder()
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
public Timestamp getCreateTime()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
public Timestamp.Builder getCreateTimeBuilder()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
public TimestampOrBuilder getCreateTimeOrBuilder()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
public UpdateWorkerPoolOperationMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
Type |
Description |
String |
The workerPool.
|
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 |
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()
Overrides
public final boolean isInitialized()
Overrides
public UpdateWorkerPoolOperationMetadata.Builder mergeCompleteTime(Timestamp value)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
public UpdateWorkerPoolOperationMetadata.Builder mergeCreateTime(Timestamp value)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
public UpdateWorkerPoolOperationMetadata.Builder mergeFrom(UpdateWorkerPoolOperationMetadata other)
public UpdateWorkerPoolOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateWorkerPoolOperationMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final UpdateWorkerPoolOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp value)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
public UpdateWorkerPoolOperationMetadata.Builder setCompleteTime(Timestamp.Builder builderForValue)
Time the operation was completed.
.google.protobuf.Timestamp complete_time = 3;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public UpdateWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp value)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
public UpdateWorkerPoolOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
public UpdateWorkerPoolOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateWorkerPoolOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdateWorkerPoolOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
Name |
Description |
value |
String
The workerPool to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for workerPool to set.
|