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:

  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.

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:

  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.
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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BatchCreateInstanceStatus
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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:

    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.
    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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearError: BatchCreateInstanceStatus
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def companion: BatchCreateInstanceStatus.type
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  8. def discardUnknownFields: BatchCreateInstanceStatus
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val error: Option[Status]
  11. val errorMsg: String
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getError: Status
  15. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  16. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def productElementNames: Iterator[String]
    Definition Classes
    Product
  22. def serializedSize: Int
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  23. val state: State
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  26. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  27. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  28. def toProtoString: String
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  29. val type: InstanceType
  30. val unknownFields: UnknownFieldSet
  31. def update(ms: (Lens[BatchCreateInstanceStatus, BatchCreateInstanceStatus]) => Mutation[BatchCreateInstanceStatus]*): BatchCreateInstanceStatus
    Definition Classes
    Updatable
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. def withError(__v: Status): BatchCreateInstanceStatus
  36. def withErrorMsg(__v: String): BatchCreateInstanceStatus
  37. def withState(__v: State): BatchCreateInstanceStatus
  38. def withType(__v: InstanceType): BatchCreateInstanceStatus
  39. def withUnknownFields(__v: UnknownFieldSet): BatchCreateInstanceStatus
  40. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  41. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    BatchCreateInstanceStatus → GeneratedMessage
  42. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[BatchCreateInstanceStatus]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped