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.v1.BatchCreateInstanceStatus.State state = 1;
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.v1.BatchCreateInstanceStatus.State state = 1;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface BatchCreateInstanceStatusOrBuilder (0.61.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.61.0 (latest)](/java/docs/reference/google-cloud-alloydb/latest/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.59.0](/java/docs/reference/google-cloud-alloydb/0.59.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.57.0](/java/docs/reference/google-cloud-alloydb/0.57.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.56.0](/java/docs/reference/google-cloud-alloydb/0.56.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.53.0](/java/docs/reference/google-cloud-alloydb/0.53.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.52.0](/java/docs/reference/google-cloud-alloydb/0.52.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.51.0](/java/docs/reference/google-cloud-alloydb/0.51.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.49.0](/java/docs/reference/google-cloud-alloydb/0.49.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.48.0](/java/docs/reference/google-cloud-alloydb/0.48.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.47.0](/java/docs/reference/google-cloud-alloydb/0.47.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.46.0](/java/docs/reference/google-cloud-alloydb/0.46.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.45.0](/java/docs/reference/google-cloud-alloydb/0.45.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.44.0](/java/docs/reference/google-cloud-alloydb/0.44.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.43.0](/java/docs/reference/google-cloud-alloydb/0.43.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.42.0](/java/docs/reference/google-cloud-alloydb/0.42.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.41.0](/java/docs/reference/google-cloud-alloydb/0.41.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.40.0](/java/docs/reference/google-cloud-alloydb/0.40.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.38.0](/java/docs/reference/google-cloud-alloydb/0.38.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.37.0](/java/docs/reference/google-cloud-alloydb/0.37.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.36.0](/java/docs/reference/google-cloud-alloydb/0.36.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.35.0](/java/docs/reference/google-cloud-alloydb/0.35.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.34.0](/java/docs/reference/google-cloud-alloydb/0.34.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.33.0](/java/docs/reference/google-cloud-alloydb/0.33.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.32.0](/java/docs/reference/google-cloud-alloydb/0.32.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.31.0](/java/docs/reference/google-cloud-alloydb/0.31.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.30.0](/java/docs/reference/google-cloud-alloydb/0.30.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-alloydb/0.29.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.28.0](/java/docs/reference/google-cloud-alloydb/0.28.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-alloydb/0.26.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.25.0](/java/docs/reference/google-cloud-alloydb/0.25.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.24.0](/java/docs/reference/google-cloud-alloydb/0.24.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-alloydb/0.23.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-alloydb/0.22.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-alloydb/0.21.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.20.0](/java/docs/reference/google-cloud-alloydb/0.20.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-alloydb/0.19.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-alloydb/0.18.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-alloydb/0.17.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-alloydb/0.16.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-alloydb/0.13.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-alloydb/0.12.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-alloydb/0.11.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-alloydb/0.10.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-alloydb/0.9.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-alloydb/0.8.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-alloydb/0.7.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-alloydb/0.6.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-alloydb/0.5.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-alloydb/0.4.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-alloydb/0.3.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-alloydb/0.2.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-alloydb/0.1.0/com.google.cloud.alloydb.v1.BatchCreateInstanceStatusOrBuilder) \n\n public interface BatchCreateInstanceStatusOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getError()\n\n public abstract Status getError()\n\nThe RPC status of the instance creation operation. This field will be\npresent if an error happened during the instance creation.\n\n`.google.rpc.Status error = 4;`\n\n### getErrorMsg()\n\n public abstract String getErrorMsg()\n\nDEPRECATED - Use the error field instead.\nError, if any error occurred and is available, during instance creation.\n\n`string error_msg = 2;`\n\n### getErrorMsgBytes()\n\n public abstract ByteString getErrorMsgBytes()\n\nDEPRECATED - Use the error field instead.\nError, if any error occurred and is available, during instance creation.\n\n`string error_msg = 2;`\n\n### getErrorOrBuilder()\n\n public abstract StatusOrBuilder getErrorOrBuilder()\n\nThe RPC status of the instance creation operation. This field will be\npresent if an error happened during the instance creation.\n\n`.google.rpc.Status error = 4;`\n\n### getState()\n\n public abstract BatchCreateInstanceStatus.State getState()\n\nThe current state of an instance involved in the batch create operation.\nOnce the operation is complete, the final state of the instances in the\nLRO can be one of:\n\n1. ACTIVE, indicating that instances were created successfully\n2. FAILED, indicating that a particular instance failed creation\n3. 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.\n\n`.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1;`\n\n### getStateValue()\n\n public abstract int getStateValue()\n\nThe current state of an instance involved in the batch create operation.\nOnce the operation is complete, the final state of the instances in the\nLRO can be one of:\n\n1. ACTIVE, indicating that instances were created successfully\n2. FAILED, indicating that a particular instance failed creation\n3. 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.\n\n`.google.cloud.alloydb.v1.BatchCreateInstanceStatus.State state = 1;`\n\n### getType()\n\n public abstract Instance.InstanceType getType()\n\n`.google.cloud.alloydb.v1.Instance.InstanceType type = 3;`\n\n### getTypeValue()\n\n public abstract int getTypeValue()\n\n`.google.cloud.alloydb.v1.Instance.InstanceType type = 3;`\n\n### hasError()\n\n public abstract boolean hasError()\n\nThe RPC status of the instance creation operation. This field will be\npresent if an error happened during the instance creation.\n\n`.google.rpc.Status error = 4;`"]]