Class OperationMetadata (0.75.0)

publicfinalclass OperationMetadataextendsGeneratedMessageV3implementsOperationMetadataOrBuilder

Long-running operation metadata for Edge Container API methods.

Protobuf type google.cloud.edgecontainer.v1.OperationMetadata

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

API_VERSION_FIELD_NUMBER

publicstaticfinalintAPI_VERSION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

publicstaticfinalintEND_TIME_FIELD_NUMBER
Field Value
Type Description
int

REQUESTED_CANCELLATION_FIELD_NUMBER

publicstaticfinalintREQUESTED_CANCELLATION_FIELD_NUMBER
Field Value
Type Description
int

STATUS_MESSAGE_FIELD_NUMBER

publicstaticfinalintSTATUS_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STATUS_REASON_FIELD_NUMBER

publicstaticfinalintSTATUS_REASON_FIELD_NUMBER
Field Value
Type Description
int

TARGET_FIELD_NUMBER

publicstaticfinalintTARGET_FIELD_NUMBER
Field Value
Type Description
int

VERB_FIELD_NUMBER

publicstaticfinalintVERB_FIELD_NUMBER
Field Value
Type Description
int

WARNINGS_FIELD_NUMBER

publicstaticfinalintWARNINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticOperationMetadatagetDefaultInstance()
Returns
Type Description
OperationMetadata

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticOperationMetadata.BuildernewBuilder()
Returns
Type Description
OperationMetadata.Builder

newBuilder(OperationMetadata prototype)

publicstaticOperationMetadata.BuildernewBuilder(OperationMetadataprototype)
Parameter
Name Description
prototype OperationMetadata
Returns
Type Description
OperationMetadata.Builder

parseDelimitedFrom(InputStream input)

publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticOperationMetadataparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticOperationMetadataparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticOperationMetadataparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticOperationMetadataparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticOperationMetadataparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticOperationMetadataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<OperationMetadata>parser()
Returns
Type Description
Parser<OperationMetadata>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiVersion()

publicStringgetApiVersion()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
String

The apiVersion.

getApiVersionBytes()

publicByteStringgetApiVersionBytes()

API version used to start the operation.

string api_version = 7;

Returns
Type Description
ByteString

The bytes for apiVersion.

getCreateTime()

publicTimestampgetCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicOperationMetadatagetDefaultInstanceForType()
Returns
Type Description
OperationMetadata

getEndTime()

publicTimestampgetEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

publicTimestampOrBuildergetEndTimeOrBuilder()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

publicParser<OperationMetadata>getParserForType()
Returns
Type Description
Parser<OperationMetadata>
Overrides

getRequestedCancellation()

publicbooleangetRequestedCancellation()

Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool requested_cancellation = 6;

Returns
Type Description
boolean

The requestedCancellation.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getStatusMessage()

publicStringgetStatusMessage()

Human-readable status of the operation, if any.

string status_message = 5;

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

publicByteStringgetStatusMessageBytes()

Human-readable status of the operation, if any.

string status_message = 5;

Returns
Type Description
ByteString

The bytes for statusMessage.

getStatusReason()

publicOperationMetadata.StatusReasongetStatusReason()

Machine-readable status of the operation, if any.

.google.cloud.edgecontainer.v1.OperationMetadata.StatusReason status_reason = 9;

Returns
Type Description
OperationMetadata.StatusReason

The statusReason.

getStatusReasonValue()

publicintgetStatusReasonValue()

Machine-readable status of the operation, if any.

.google.cloud.edgecontainer.v1.OperationMetadata.StatusReason status_reason = 9;

Returns
Type Description
int

The enum numeric value on the wire for statusReason.

getTarget()

publicStringgetTarget()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
String

The target.

getTargetBytes()

publicByteStringgetTargetBytes()

Server-defined resource path for the target of the operation.

string target = 3;

Returns
Type Description
ByteString

The bytes for target.

getVerb()

publicStringgetVerb()

The verb executed by the operation.

string verb = 4;

Returns
Type Description
String

The verb.

getVerbBytes()

publicByteStringgetVerbBytes()

The verb executed by the operation.

string verb = 4;

Returns
Type Description
ByteString

The bytes for verb.

getWarnings(int index)

publicStringgetWarnings(intindex)

Warnings that do not block the operation, but still hold relevant information for the end user to receive.

repeated string warnings = 8;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The warnings at the given index.

getWarningsBytes(int index)

publicByteStringgetWarningsBytes(intindex)

Warnings that do not block the operation, but still hold relevant information for the end user to receive.

repeated string warnings = 8;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the warnings at the given index.

getWarningsCount()

publicintgetWarningsCount()

Warnings that do not block the operation, but still hold relevant information for the end user to receive.

repeated string warnings = 8;

Returns
Type Description
int

The count of warnings.

getWarningsList()

publicProtocolStringListgetWarningsList()

Warnings that do not block the operation, but still hold relevant information for the end user to receive.

repeated string warnings = 8;

Returns
Type Description
ProtocolStringList

A list containing the warnings.

hasCreateTime()

publicbooleanhasCreateTime()

The time the operation was created.

.google.protobuf.Timestamp create_time = 1;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

publicbooleanhasEndTime()

The time the operation finished running.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
boolean

Whether the endTime field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicOperationMetadata.BuildernewBuilderForType()
Returns
Type Description
OperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedOperationMetadata.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicOperationMetadata.BuildertoBuilder()
Returns
Type Description
OperationMetadata.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.