Class CreateWorkerPoolOperationMetadata (3.4.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
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 CreateWorkerPoolOperationMetadata getDefaultInstance()
Returns
TypeDescription
CreateWorkerPoolOperationMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(CreateWorkerPoolOperationMetadata prototype)

public static CreateWorkerPoolOperationMetadata.Builder newBuilder(CreateWorkerPoolOperationMetadata prototype)
Parameter
NameDescription
prototypeCreateWorkerPoolOperationMetadata
Returns
TypeDescription
CreateWorkerPoolOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 CreateWorkerPoolOperationMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateWorkerPoolOperationMetadata

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
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 CreateWorkerPoolOperationMetadata.Builder newBuilderForType()
Returns
TypeDescription
CreateWorkerPoolOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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