Send feedback
Class CommonLongRunningOperationMetadata (2.58.1)
Stay organized with collections
Save and categorize content based on your preferences.
public final class CommonLongRunningOperationMetadata extends GeneratedMessageV3 implements CommonLongRunningOperationMetadataOrBuilder
The message contains metadata that is common to all Storage Control
long-running operations, present in its google.longrunning.Operation
messages, and accessible via metadata.common_metadata
.
Protobuf type google.storage.control.v2.CommonLongRunningOperationMetadata
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
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUESTED_CANCELLATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TYPE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CommonLongRunningOperationMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CommonLongRunningOperationMetadata . Builder newBuilder ()
public static CommonLongRunningOperationMetadata . Builder newBuilder ( CommonLongRunningOperationMetadata prototype )
public static CommonLongRunningOperationMetadata parseDelimitedFrom ( InputStream input )
public static CommonLongRunningOperationMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CommonLongRunningOperationMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CommonLongRunningOperationMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CommonLongRunningOperationMetadata parseFrom ( ByteString data )
public static CommonLongRunningOperationMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CommonLongRunningOperationMetadata parseFrom ( CodedInputStream input )
public static CommonLongRunningOperationMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CommonLongRunningOperationMetadata parseFrom ( InputStream input )
public static CommonLongRunningOperationMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CommonLongRunningOperationMetadata parseFrom ( ByteBuffer data )
public static CommonLongRunningOperationMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CommonLongRunningOperationMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Timestamp getCreateTime ()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The createTime.
public TimestampOrBuilder getCreateTimeOrBuilder ()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public CommonLongRunningOperationMetadata getDefaultInstanceForType ()
public Timestamp getEndTime ()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Parser<CommonLongRunningOperationMetadata> getParserForType ()
Overrides
public int getProgressPercent ()
Output only. The estimated progress of the operation in percentage [0,
100]. The value -1 means the progress is unknown.
int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
int
The progressPercent.
public boolean getRequestedCancellation ()
Output only. Identifies whether the user has requested cancellation.
bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
The requestedCancellation.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Output only. The type of operation invoked.
string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The type.
public ByteString getTypeBytes ()
Output only. The type of operation invoked.
string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for type.
public Timestamp getUpdateTime ()
Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The updateTime.
public TimestampOrBuilder getUpdateTimeOrBuilder ()
Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasCreateTime ()
Output only. The time 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.
public boolean hasEndTime ()
Output only. The time 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.
public boolean hasUpdateTime ()
Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the updateTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CommonLongRunningOperationMetadata . Builder newBuilderForType ()
protected CommonLongRunningOperationMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CommonLongRunningOperationMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]