Class UpdateWorkerPoolOperationMetadata (3.22.0)

public final class UpdateWorkerPoolOperationMetadata extends GeneratedMessageV3 implements UpdateWorkerPoolOperationMetadataOrBuilder

Metadata for the UpdateWorkerPool operation.

Protobuf type google.devtools.cloudbuild.v1.UpdateWorkerPoolOperationMetadata

Inheritance

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

Static Fields

COMPLETE_TIME_FIELD_NUMBER

public static final int COMPLETE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

WORKER_POOL_FIELD_NUMBER

public static final int WORKER_POOL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateWorkerPoolOperationMetadata getDefaultInstance()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata

getDescriptor()

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

newBuilder()

public static UpdateWorkerPoolOperationMetadata.Builder newBuilder()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder

newBuilder(UpdateWorkerPoolOperationMetadata prototype)

public static UpdateWorkerPoolOperationMetadata.Builder newBuilder(UpdateWorkerPoolOperationMetadata prototype)
Parameter
NameDescription
prototypeUpdateWorkerPoolOperationMetadata
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static UpdateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateWorkerPoolOperationMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateWorkerPoolOperationMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateWorkerPoolOperationMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateWorkerPoolOperationMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateWorkerPoolOperationMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateWorkerPoolOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateWorkerPoolOperationMetadata> parser()
Returns
TypeDescription
Parser<UpdateWorkerPoolOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCompleteTime()

public Timestamp getCompleteTime()

Time the operation was completed.

.google.protobuf.Timestamp complete_time = 3;

Returns
TypeDescription
Timestamp

The completeTime.

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.

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

getParserForType()

public Parser<UpdateWorkerPoolOperationMetadata> getParserForType()
Returns
TypeDescription
Parser<UpdateWorkerPoolOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateWorkerPoolOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateWorkerPoolOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateWorkerPoolOperationMetadata.Builder toBuilder()
Returns
TypeDescription
UpdateWorkerPoolOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException