public interface BatchCreateInstanceStatusOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
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;
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;
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;
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:
- ACTIVE, indicating that instances were created successfully
- FAILED, indicating that a particular instance failed creation
- 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;
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:
- ACTIVE, indicating that instances were created successfully
- FAILED, indicating that a particular instance failed creation
- 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;
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;
Type | Description |
Instance.InstanceType |
The type. |
getTypeValue()
public abstract int getTypeValue()
.google.cloud.alloydb.v1alpha.Instance.InstanceType type = 3;
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;
Type | Description |
boolean |
Whether the error field is set. |