com.google.cloud.alloydb.v1.service
BatchCreateInstanceStatus
Companion object BatchCreateInstanceStatus
final case class BatchCreateInstanceStatus(state: State = com.google.cloud.alloydb.v1.service.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED, errorMsg: String = "", error: Option[Status] = _root_.scala.None, type: InstanceType = com.google.cloud.alloydb.v1.resources.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[BatchCreateInstanceStatus] with Product with Serializable
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:
- 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.
- state
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 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.
- errorMsg
DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.
- error
The RPC status of the instance creation operation. This field will be present if an error happened during the instance creation.
- Annotations
- @SerialVersionUID()
- Source
- BatchCreateInstanceStatus.scala
- Alphabetic
- By Inheritance
- BatchCreateInstanceStatus
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new BatchCreateInstanceStatus(state: State = com.google.cloud.alloydb.v1.service.BatchCreateInstanceStatus.State.STATE_UNSPECIFIED, errorMsg: String = "", error: Option[Status] = _root_.scala.None, type: InstanceType = com.google.cloud.alloydb.v1.resources.Instance.InstanceType.INSTANCE_TYPE_UNSPECIFIED, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)
- state
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 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.
- errorMsg
DEPRECATED - Use the error field instead. Error, if any error occurred and is available, during instance creation.
- error
The RPC status of the instance creation operation. This field will be present if an error happened during the instance creation.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearError: BatchCreateInstanceStatus
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: BatchCreateInstanceStatus.type
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- def discardUnknownFields: BatchCreateInstanceStatus
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val error: Option[Status]
- val errorMsg: String
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getError: Status
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- val state: State
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- val type: InstanceType
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[BatchCreateInstanceStatus, BatchCreateInstanceStatus]) => Mutation[BatchCreateInstanceStatus]*): BatchCreateInstanceStatus
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withError(__v: Status): BatchCreateInstanceStatus
- def withErrorMsg(__v: String): BatchCreateInstanceStatus
- def withState(__v: State): BatchCreateInstanceStatus
- def withType(__v: InstanceType): BatchCreateInstanceStatus
- def withUnknownFields(__v: UnknownFieldSet): BatchCreateInstanceStatus
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- BatchCreateInstanceStatus → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage