Interface BatchCreateInstanceStatusOrBuilder (0.30.0)

public interface BatchCreateInstanceStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract 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
Type Description
com.google.rpc.Status

The error.

getErrorMsg()

public abstract String getErrorMsg()

DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.

string error_msg = 2;

Returns
Type Description
String

The errorMsg.

getErrorMsgBytes()

public abstract ByteString getErrorMsgBytes()

DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.

string error_msg = 2;

Returns
Type Description
ByteString

The bytes for errorMsg.

getErrorOrBuilder()

public abstract 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;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getState()

public abstract BatchCreateInstanceStatus.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.v1alpha.BatchCreateInstanceStatus.State state = 1;

Returns
Type Description
BatchCreateInstanceStatus.State

The state.

getStateValue()

public abstract 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.v1alpha.BatchCreateInstanceStatus.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getType()

public abstract Instance.InstanceType getType()

.google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;

Returns
Type Description
Instance.InstanceType

The type.

getTypeValue()

public abstract int getTypeValue()

.google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasError()

public abstract 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
Type Description
boolean

Whether the error field is set.