publicfinalclass OperationMetadataextendsGeneratedMessageV3implementsOperationMetadataOrBuilder
Represents the metadata of a long-running operation.
Protobuf type google.cloud.memcache.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>)
Static Fields
publicstaticfinalintAPI_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintCANCEL_REQUESTED_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 |
publicstaticfinalintSTATUS_DETAIL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintTARGET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintVERB_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()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The apiVersion.
|
publicByteStringgetApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for apiVersion.
|
publicbooleangetCancelRequested()
Output only. 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 cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
The cancelRequested.
|
publicTimestampgetCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The createTime.
|
publicTimestampOrBuildergetCreateTimeOrBuilder()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
publicOperationMetadatagetDefaultInstanceForType()
publicTimestampgetEndTime()
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
publicTimestampOrBuildergetEndTimeOrBuilder()
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
publicParser<OperationMetadata>getParserForType()
Overrides
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
publicStringgetStatusDetail()
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The statusDetail.
|
publicByteStringgetStatusDetailBytes()
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for statusDetail.
|
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The target.
|
publicByteStringgetTargetBytes()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for target.
|
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The verb.
|
publicByteStringgetVerbBytes()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for verb.
|
publicbooleanhasCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the createTime field is set.
|
publicbooleanhasEndTime()
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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