public final class BatchCreateInstanceStatus extends com.google.protobuf.GeneratedMessageV3 implements BatchCreateInstanceStatusOrBuilder
Message for current status of an instance in the BatchCreateInstances operation. For example, lets say a BatchCreateInstances workflow has 4 instances, Instance1 through Instance4. Lets also assume that 2 instances succeeded but the third failed to create and the 4th was never picked up for creation because of failure of the previous one. Then, resulting states would look something like: 1. Instance1 = ROLLED_BACK 2. Instance2 = ROLLED_BACK 3. Instance3 = FAILED 4. Instance4 = FAILED However, while the operation is running, the instance might be in other states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states / do not get further updated once the operation is done.Protobuf type
google.cloud.alloydb.v1.BatchCreateInstanceStatus| Modifier and Type | Class and Description |
|---|---|
static class |
BatchCreateInstanceStatus.Builder
Message for current status of an instance in the BatchCreateInstances
operation.
|
static class |
BatchCreateInstanceStatus.State
State contains all valid instance states for the BatchCreateInstances
operation.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_FIELD_NUMBER |
static int |
ERROR_MSG_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BatchCreateInstanceStatus |
getDefaultInstance() |
BatchCreateInstanceStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.rpc.Status |
getError()
The RPC status of the instance creation operation.
|
String |
getErrorMsg()
DEPRECATED - Use the error field instead.
|
com.google.protobuf.ByteString |
getErrorMsgBytes()
DEPRECATED - Use the error field instead.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
The RPC status of the instance creation operation.
|
com.google.protobuf.Parser<BatchCreateInstanceStatus> |
getParserForType() |
int |
getSerializedSize() |
BatchCreateInstanceStatus.State |
getState()
The current state of an instance involved in the batch create operation.
|
int |
getStateValue()
The current state of an instance involved in the batch create operation.
|
Instance.InstanceType |
getType()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3; |
int |
getTypeValue()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3; |
boolean |
hasError()
The RPC status of the instance creation operation.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchCreateInstanceStatus.Builder |
newBuilder() |
static BatchCreateInstanceStatus.Builder |
newBuilder(BatchCreateInstanceStatus prototype) |
BatchCreateInstanceStatus.Builder |
newBuilderForType() |
protected BatchCreateInstanceStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static BatchCreateInstanceStatus |
parseDelimitedFrom(InputStream input) |
static BatchCreateInstanceStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchCreateInstanceStatus |
parseFrom(byte[] data) |
static BatchCreateInstanceStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchCreateInstanceStatus |
parseFrom(ByteBuffer data) |
static BatchCreateInstanceStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchCreateInstanceStatus |
parseFrom(com.google.protobuf.ByteString data) |
static BatchCreateInstanceStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchCreateInstanceStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchCreateInstanceStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchCreateInstanceStatus |
parseFrom(InputStream input) |
static BatchCreateInstanceStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchCreateInstanceStatus> |
parser() |
BatchCreateInstanceStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STATE_FIELD_NUMBER
public static final int ERROR_MSG_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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.v1.BatchCreateInstanceStatus.State state = 1;getStateValue in interface BatchCreateInstanceStatusOrBuilderpublic 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.v1.BatchCreateInstanceStatus.State state = 1;getState in interface BatchCreateInstanceStatusOrBuilderpublic String getErrorMsg()
DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.
string error_msg = 2;getErrorMsg in interface BatchCreateInstanceStatusOrBuilderpublic 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;getErrorMsgBytes in interface BatchCreateInstanceStatusOrBuilderpublic 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;hasError in interface BatchCreateInstanceStatusOrBuilderpublic com.google.rpc.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;getError in interface BatchCreateInstanceStatusOrBuilderpublic com.google.rpc.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;getErrorOrBuilder in interface BatchCreateInstanceStatusOrBuilderpublic int getTypeValue()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3;getTypeValue in interface BatchCreateInstanceStatusOrBuilderpublic Instance.InstanceType getType()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3;getType in interface BatchCreateInstanceStatusOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BatchCreateInstanceStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchCreateInstanceStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchCreateInstanceStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchCreateInstanceStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchCreateInstanceStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchCreateInstanceStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchCreateInstanceStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchCreateInstanceStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchCreateInstanceStatus.Builder newBuilder()
public static BatchCreateInstanceStatus.Builder newBuilder(BatchCreateInstanceStatus prototype)
public BatchCreateInstanceStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchCreateInstanceStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BatchCreateInstanceStatus getDefaultInstance()
public static com.google.protobuf.Parser<BatchCreateInstanceStatus> parser()
public com.google.protobuf.Parser<BatchCreateInstanceStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BatchCreateInstanceStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.