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 Summary

    Modifier and Type
    Method
    Description
    API version used to start the operation.
    com.google.protobuf.ByteString
    API version used to start the operation.
    com.google.protobuf.Timestamp
    The time the operation was created.
    com.google.protobuf.TimestampOrBuilder
    The time the operation was created.
    com.google.protobuf.Timestamp
    The time the operation finished running.
    com.google.protobuf.TimestampOrBuilder
    The time the operation finished running.
    boolean
    Identifies whether the user has requested cancellation of the operation.
    Human-readable status of the operation, if any.
    com.google.protobuf.ByteString
    Human-readable status of the operation, if any.
    Machine-readable status of the operation, if any.
    int
    Machine-readable status of the operation, if any.
    Server-defined resource path for the target of the operation.
    com.google.protobuf.ByteString
    Server-defined resource path for the target of the operation.
    The verb executed by the operation.
    com.google.protobuf.ByteString
    The verb executed by the operation.
    getWarnings(int index)
    Warnings that do not block the operation, but still hold relevant information for the end user to receive.
    com.google.protobuf.ByteString
    getWarningsBytes(int index)
    Warnings that do not block the operation, but still hold relevant information for the end user to receive.
    int
    Warnings that do not block the operation, but still hold relevant information for the end user to receive.
    Warnings that do not block the operation, but still hold relevant information for the end user to receive.
    boolean
    The time the operation was created.
    boolean
    The time the operation finished running.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasCreateTime

      boolean hasCreateTime()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       The time the operation was created.
       
      .google.protobuf.Timestamp create_time = 1;
    • hasEndTime

      boolean hasEndTime()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
      Returns:
      Whether the endTime field is set.
    • getEndTime

      com.google.protobuf.Timestamp getEndTime()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       The time the operation finished running.
       
      .google.protobuf.Timestamp end_time = 2;
    • getTarget

      String getTarget()
       Server-defined resource path for the target of the operation.
       
      string target = 3;
      Returns:
      The target.
    • getTargetBytes

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

      String getVerb()
       The verb executed by the operation.
       
      string verb = 4;
      Returns:
      The verb.
    • getVerbBytes

      com.google.protobuf.ByteString getVerbBytes()
       The verb executed by the operation.
       
      string verb = 4;
      Returns:
      The bytes for verb.
    • getStatusMessage

      String getStatusMessage()
       Human-readable status of the operation, if any.
       
      string status_message = 5;
      Returns:
      The statusMessage.
    • getStatusMessageBytes

      com.google.protobuf.ByteString getStatusMessageBytes()
       Human-readable status of the operation, if any.
       
      string status_message = 5;
      Returns:
      The bytes for statusMessage.
    • getRequestedCancellation

      boolean getRequestedCancellation()
       Identifies whether the user has requested cancellation of 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;
      Returns:
      The requestedCancellation.
    • getApiVersion

      String getApiVersion()
       API version used to start the operation.
       
      string api_version = 7;
      Returns:
      The apiVersion.
    • getApiVersionBytes

      com.google.protobuf.ByteString getApiVersionBytes()
       API version used to start the operation.
       
      string api_version = 7;
      Returns:
      The bytes for apiVersion.
    • getWarningsList

      List<String> getWarningsList()
       Warnings that do not block the operation, but still hold relevant
       information for the end user to receive.
       
      repeated string warnings = 8;
      Returns:
      A list containing the warnings.
    • getWarningsCount

      int getWarningsCount()
       Warnings that do not block the operation, but still hold relevant
       information for the end user to receive.
       
      repeated string warnings = 8;
      Returns:
      The count of warnings.
    • getWarnings

      String getWarnings(int index)
       Warnings that do not block the operation, but still hold relevant
       information for the end user to receive.
       
      repeated string warnings = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The warnings at the given index.
    • getWarningsBytes

      com.google.protobuf.ByteString getWarningsBytes(int index)
       Warnings that do not block the operation, but still hold relevant
       information for the end user to receive.
       
      repeated string warnings = 8;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the warnings at the given index.
    • getStatusReasonValue

      int getStatusReasonValue()
       Machine-readable status of the operation, if any.
       
      .google.cloud.edgecontainer.v1.OperationMetadata.StatusReason status_reason = 9;
      Returns:
      The enum numeric value on the wire for statusReason.
    • getStatusReason

       Machine-readable status of the operation, if any.
       
      .google.cloud.edgecontainer.v1.OperationMetadata.StatusReason status_reason = 9;
      Returns:
      The statusReason.