Interface BatchCreateInstanceStatusOrBuilder

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

@Generated public interface BatchCreateInstanceStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The RPC status of the instance creation operation.
    DEPRECATED - Use the error field instead.
    com.google.protobuf.ByteString
    DEPRECATED - Use the error field instead.
    The RPC status of the instance creation operation.
    The current state of an instance involved in the batch create operation.
    int
    The current state of an instance involved in the batch create operation.
    .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
    int
    .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
    boolean
    The RPC status of the instance creation operation.

    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

    • getStateValue

      int getStateValue()
       The current state of an instance involved in the batch create operation.
       Once the operation is complete, the final state of the instances in the
       LRO can be one of:
       1. ACTIVE, indicating that instances were created successfully
       2. FAILED, indicating that a particular instance failed creation
       3. ROLLED_BACK indicating that although the instance was created
       successfully, it had to be rolled back and deleted due to failure in
       other steps of the workflow.
       
      .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       The current state of an instance involved in the batch create operation.
       Once the operation is complete, the final state of the instances in the
       LRO can be one of:
       1. ACTIVE, indicating that instances were created successfully
       2. FAILED, indicating that a particular instance failed creation
       3. ROLLED_BACK indicating that although the instance was created
       successfully, it had to be rolled back and deleted due to failure in
       other steps of the workflow.
       
      .google.cloud.alloydb.v1beta.BatchCreateInstanceStatus.State state = 1;
      Returns:
      The state.
    • getErrorMsg

      String getErrorMsg()
       DEPRECATED - Use the error field instead.
       Error, if any error occurred and is available, during instance creation.
       
      string error_msg = 2;
      Returns:
      The errorMsg.
    • getErrorMsgBytes

      com.google.protobuf.ByteString getErrorMsgBytes()
       DEPRECATED - Use the error field instead.
       Error, if any error occurred and is available, during instance creation.
       
      string error_msg = 2;
      Returns:
      The bytes for errorMsg.
    • hasError

      boolean hasError()
       The RPC status of the instance creation operation. This field will be
       present if an error happened during the instance creation.
       
      .google.rpc.Status error = 4;
      Returns:
      Whether the error field is set.
    • getError

      Status getError()
       The RPC status of the instance creation operation. This field will be
       present if an error happened during the instance creation.
       
      .google.rpc.Status error = 4;
      Returns:
      The error.
    • getErrorOrBuilder

      StatusOrBuilder getErrorOrBuilder()
       The RPC status of the instance creation operation. This field will be
       present if an error happened during the instance creation.
       
      .google.rpc.Status error = 4;
    • getTypeValue

      int getTypeValue()
      .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
      Returns:
      The enum numeric value on the wire for type.
    • getType

      .google.cloud.alloydb.v1beta.Instance.InstanceType type = 3;
      Returns:
      The type.