Interface OperationMetadataOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
OperationMetadata, OperationMetadata.Builder

@Generated public interface OperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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];
    • getTarget

      String getTarget()
       Output only. Server-defined resource path for the target of the operation.
       
      string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The target.
    • getTargetBytes

      com.google.protobuf.ByteString getTargetBytes()
       Output only. Server-defined resource path for the target of the operation.
       
      string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for target.
    • getVerb

      String getVerb()
       Output only. Name of the verb executed by the operation.
       
      string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The verb.
    • getVerbBytes

      com.google.protobuf.ByteString getVerbBytes()
       Output only. Name of the verb executed by the operation.
       
      string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for verb.
    • getStatusMessage

      String getStatusMessage()
       Output only. The status of the operation.
       
      string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      com.google.protobuf.ByteString getStatusMessageBytes()
       Output only. The status of the operation.
       
      string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for statusMessage.
    • getRequestedCancellation

      boolean getRequestedCancellation()
       Output only. Identifies whether the user has requested cancellation
       of the operation. Operations that have been cancelled successfully
       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.
    • getApiVersion

      String getApiVersion()
       Output only. API version used to start the operation.
       
      string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The apiVersion.
    • getApiVersionBytes

      com.google.protobuf.ByteString getApiVersionBytes()
       Output only. API version used to start the operation.
       
      string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for apiVersion.
    • getPercentComplete

      double getPercentComplete()
       Output only. An estimated percentage of the operation that has been
       completed at a given moment of time, between 0 and 100.
       
      double percent_complete = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The percentComplete.