Package com.google.cloud.alloydb.v1
Interface BatchCreateInstanceStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchCreateInstanceStatus
,BatchCreateInstanceStatus.Builder
public interface BatchCreateInstanceStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v1.BatchCreateInstanceStatus.State state = 1;
- Returns:
- The enum numeric value on the wire for state.
-
getState
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;
- 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
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;
- Returns:
- The error.
-
getErrorOrBuilder
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;
-
getTypeValue
int getTypeValue()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Instance.InstanceType getType()
.google.cloud.alloydb.v1.Instance.InstanceType type = 3;
- Returns:
- The type.
-
-