Interface OperationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationMetadata,OperationMetadata.Builder
public interface OperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.StringgetErrorDetail()Output only.com.google.protobuf.ByteStringgetErrorDetailBytes()Output only.booleangetRequestedCancellation()Output only.StringgetStatusDetail()Output only.com.google.protobuf.ByteStringgetStatusDetailBytes()Output only.StringgetTarget()Output only.com.google.protobuf.ByteStringgetTargetBytes()Output only.StringgetVerb()Output only.com.google.protobuf.ByteStringgetVerbBytes()Output only.booleanhasCreateTime()Output only.booleanhasEndTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCreateTime
boolean hasCreateTime()
Output only. The time at which this 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 at which this 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 at which this operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasEndTime
boolean hasEndTime()
Output only. The time at which this operation was completed.
.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 at which this operation was completed.
.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 at which this operation was completed.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTarget
String getTarget()
Output only. The name of the resource associated to this operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The target.
-
getTargetBytes
com.google.protobuf.ByteString getTargetBytes()
Output only. The name of the resource associated to this operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for target.
-
getStatusDetail
String getStatusDetail()
Output only. Human-readable status of the operation, if any.
string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The statusDetail.
-
getStatusDetailBytes
com.google.protobuf.ByteString getStatusDetailBytes()
Output only. Human-readable status of the operation, if any.
string status_detail = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for statusDetail.
-
getErrorDetail
String getErrorDetail()
Output only. Human-readable status of any error that occurred during the operation.
string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The errorDetail.
-
getErrorDetailBytes
com.google.protobuf.ByteString getErrorDetailBytes()
Output only. Human-readable status of any error that occurred during the operation.
string error_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for errorDetail.
-
getVerb
String getVerb()
Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".
string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The verb.
-
getVerbBytes
com.google.protobuf.ByteString getVerbBytes()
Output only. The verb associated with the API method which triggered this operation. Possible values are "create", "delete", "update" and "import".
string verb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for verb.
-
getRequestedCancellation
boolean getRequestedCancellation()
Output only. Identifies whether it has been requested cancellation for the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The requestedCancellation.
-
-