public final class CreateWorkerPoolOperationMetadata extends GeneratedMessageV3 implements CreateWorkerPoolOperationMetadataOrBuilder
Metadata for the CreateWorkerPool
operation.
Protobuf type google.devtools.cloudbuild.v1.CreateWorkerPoolOperationMetadata
Static Fields
public static final int COMPLETE_TIME_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int WORKER_POOL_FIELD_NUMBER
Field Value
Static Methods
public static CreateWorkerPoolOperationMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CreateWorkerPoolOperationMetadata.Builder newBuilder()
Returns
public static CreateWorkerPoolOperationMetadata.Builder newBuilder(CreateWorkerPoolOperationMetadata prototype)
Parameter
Returns
public static CreateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CreateWorkerPoolOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CreateWorkerPoolOperationMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Timestamp getCompleteTime()
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 TimestampOrBuilder getCreateTimeOrBuilder()
Time the operation was created.
.google.protobuf.Timestamp create_time = 2;
Returns
public CreateWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
public Parser<CreateWorkerPoolOperationMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CreateWorkerPoolOperationMetadata.Builder newBuilderForType()
Returns
protected CreateWorkerPoolOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CreateWorkerPoolOperationMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions