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