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
publicstaticfinalintAPI_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintCREATE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintEND_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintREQUESTED_CANCELLATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTATUS_MESSAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintSTATUS_REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintTARGET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintVERB_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintWARNINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
publicstaticOperationMetadatagetDefaultInstance()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
publicstaticOperationMetadata.BuildernewBuilder()
publicstaticOperationMetadata.BuildernewBuilder(OperationMetadataprototype)
publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput)
publicstaticOperationMetadataparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
publicstaticOperationMetadataparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(ByteStringdata)
publicstaticOperationMetadataparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(CodedInputStreaminput)
publicstaticOperationMetadataparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(InputStreaminput)
publicstaticOperationMetadataparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticOperationMetadataparseFrom(ByteBufferdata)
publicstaticOperationMetadataparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
publicstaticParser<OperationMetadata>parser()
Methods
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
publicStringgetApiVersion()
API version used to start the operation.
string api_version = 7;
| Returns |
| Type |
Description |
String |
The apiVersion.
|
publicByteStringgetApiVersionBytes()
API version used to start the operation.
string api_version = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for apiVersion.
|
publicTimestampgetCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
publicTimestampOrBuildergetCreateTimeOrBuilder()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
publicOperationMetadatagetDefaultInstanceForType()
publicTimestampgetEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
publicTimestampOrBuildergetEndTimeOrBuilder()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
publicParser<OperationMetadata>getParserForType()
Overrides
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.
|
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
publicStringgetStatusMessage()
Human-readable status of the operation, if any.
string status_message = 5;
| Returns |
| Type |
Description |
String |
The statusMessage.
|
publicByteStringgetStatusMessageBytes()
Human-readable status of the operation, if any.
string status_message = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for statusMessage.
|
publicOperationMetadata.StatusReasongetStatusReason()
Machine-readable status of the operation, if any.
.google.cloud.edgecontainer.v1.OperationMetadata.StatusReason status_reason = 9;
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.
|
Server-defined resource path for the target of the operation.
string target = 3;
| Returns |
| Type |
Description |
String |
The target.
|
publicByteStringgetTargetBytes()
Server-defined resource path for the target of the operation.
string target = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for target.
|
The verb executed by the operation.
string verb = 4;
| Returns |
| Type |
Description |
String |
The verb.
|
publicByteStringgetVerbBytes()
The verb executed by the operation.
string verb = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for verb.
|
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.
|
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.
|
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.
|
publicProtocolStringListgetWarningsList()
Warnings that do not block the operation, but still hold relevant
information for the end user to receive.
repeated string warnings = 8;
publicbooleanhasCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
publicbooleanhasEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
| Returns |
| Type |
Description |
int |
Overrides
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
publicfinalbooleanisInitialized()
Overrides
publicOperationMetadata.BuildernewBuilderForType()
protectedOperationMetadata.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
publicOperationMetadata.BuildertoBuilder()
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides