Class CreateWorkerPoolOperationMetadata (3.56.0)

public final class CreateWorkerPoolOperationMetadata extends GeneratedMessageV3 implements CreateWorkerPoolOperationMetadataOrBuilder

Metadata for the CreateWorkerPool operation.

Protobuf type google.devtools.cloudbuild.v1.CreateWorkerPoolOperationMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateWorkerPoolOperationMetadata

Static Fields

COMPLETE_TIME_FIELD_NUMBER

public static final int COMPLETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

WORKER_POOL_FIELD_NUMBER

public static final int WORKER_POOL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateWorkerPoolOperationMetadata getDefaultInstance()
Returns
Type Description
CreateWorkerPoolOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateWorkerPoolOperationMetadata.Builder newBuilder()
Returns
Type Description
CreateWorkerPoolOperationMetadata.Builder

newBuilder(CreateWorkerPoolOperationMetadata prototype)

public static CreateWorkerPoolOperationMetadata.Builder newBuilder(CreateWorkerPoolOperationMetadata prototype)
Parameter
Name Description
prototype CreateWorkerPoolOperationMetadata
Returns
Type Description
CreateWorkerPoolOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CreateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateWorkerPoolOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateWorkerPoolOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateWorkerPoolOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateWorkerPoolOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateWorkerPoolOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateWorkerPoolOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateWorkerPoolOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateWorkerPoolOperationMetadata> parser()
Returns
Type Description
Parser<CreateWorkerPoolOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCompleteTime()

public Timestamp getCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
Type Description
Timestamp

The completeTime.

getCompleteTimeOrBuilder()

public TimestampOrBuilder getCompleteTimeOrBuilder()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
Type Description
TimestampOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
Type Description
CreateWorkerPoolOperationMetadata

getParserForType()

public Parser<CreateWorkerPoolOperationMetadata> getParserForType()
Returns
Type Description
Parser<CreateWorkerPoolOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWorkerPool()

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.

getWorkerPoolBytes()

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.

hasCompleteTime()

public boolean hasCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
Type Description
boolean

Whether the completeTime field is set.

hasCreateTime()

public boolean hasCreateTime()

Time the operation was created.

.google.protobuf.Timestamp create_time = 2;

Returns
Type Description
boolean

Whether the createTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateWorkerPoolOperationMetadata.Builder newBuilderForType()
Returns
Type Description
CreateWorkerPoolOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateWorkerPoolOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateWorkerPoolOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateWorkerPoolOperationMetadata.Builder toBuilder()
Returns
Type Description
CreateWorkerPoolOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException