Package com.google.storage.control.v2
Interface CommonLongRunningOperationMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommonLongRunningOperationMetadata,CommonLongRunningOperationMetadata.Builder
public interface CommonLongRunningOperationMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.intOutput only.booleanOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasCreateTime
boolean hasCreateTime()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEndTime
boolean hasEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the operation was last modified.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getType
String getType()Output only. The type of operation invoked.
string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Output only. The type of operation invoked.
string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for type.
-
getRequestedCancellation
boolean getRequestedCancellation()Output only. Identifies whether the user has requested cancellation.
bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The requestedCancellation.
-
getProgressPercent
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:
- The progressPercent.
-