final case class CommitRequest(session: String = "", transaction: Transaction = com.google.spanner.v1.spanner.CommitRequest.Transaction.Empty, mutations: Seq[Mutation] = _root_.scala.Seq.empty, returnCommitStats: Boolean = false, maxCommitDelay: Option[Duration] = _root_.scala.None, requestOptions: Option[RequestOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[CommitRequest] with Product with Serializable

The request for [Commit][google.spanner.v1.Spanner.Commit].

session

Required. The session in which the transaction to be committed is running.

mutations

The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.

returnCommitStats

If true, then statistics related to the transaction will be included in the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is false.

maxCommitDelay

Optional. The amount of latency this request is willing to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a batching delay value between 0 and 500 ms.

requestOptions

Common options for this request.

Annotations
@SerialVersionUID()
Source
CommitRequest.scala
Linear Supertypes
Updatable[CommitRequest], GeneratedMessage, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommitRequest
  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 CommitRequest(session: String = "", transaction: Transaction = com.google.spanner.v1.spanner.CommitRequest.Transaction.Empty, mutations: Seq[Mutation] = _root_.scala.Seq.empty, returnCommitStats: Boolean = false, maxCommitDelay: Option[Duration] = _root_.scala.None, requestOptions: Option[RequestOptions] = _root_.scala.None, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    session

    Required. The session in which the transaction to be committed is running.

    mutations

    The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.

    returnCommitStats

    If true, then statistics related to the transaction will be included in the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is false.

    maxCommitDelay

    Optional. The amount of latency this request is willing to incur in order to improve throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive and automatically determines an appropriate delay time. You can specify a batching delay value between 0 and 500 ms.

    requestOptions

    Common options for this request.

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. def addAllMutations(__vs: Iterable[Mutation]): CommitRequest
  5. def addMutations(__vs: Mutation*): CommitRequest
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearMaxCommitDelay: CommitRequest
  8. def clearMutations: CommitRequest
  9. def clearRequestOptions: CommitRequest
  10. def clearTransaction: CommitRequest
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def companion: CommitRequest.type
    Definition Classes
    CommitRequest → GeneratedMessage
  13. def discardUnknownFields: CommitRequest
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    CommitRequest → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    CommitRequest → GeneratedMessage
  19. def getMaxCommitDelay: Duration
  20. def getRequestOptions: RequestOptions
  21. def getSingleUseTransaction: TransactionOptions
  22. def getTransactionId: ByteString
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val maxCommitDelay: Option[Duration]
  25. val mutations: Seq[Mutation]
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. val requestOptions: Option[RequestOptions]
  31. val returnCommitStats: Boolean
  32. def serializedSize: Int
    Definition Classes
    CommitRequest → GeneratedMessage
  33. val session: String
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  36. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  37. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  38. def toProtoString: String
    Definition Classes
    CommitRequest → GeneratedMessage
  39. val transaction: Transaction
  40. val unknownFields: UnknownFieldSet
  41. def update(ms: (Lens[CommitRequest, CommitRequest]) => Mutation[CommitRequest]*): CommitRequest
    Definition Classes
    Updatable
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. def withMaxCommitDelay(__v: Duration): CommitRequest
  46. def withMutations(__v: Seq[Mutation]): CommitRequest
  47. def withRequestOptions(__v: RequestOptions): CommitRequest
  48. def withReturnCommitStats(__v: Boolean): CommitRequest
  49. def withSession(__v: String): CommitRequest
  50. def withSingleUseTransaction(__v: TransactionOptions): CommitRequest
  51. def withTransaction(__v: Transaction): CommitRequest
  52. def withTransactionId(__v: ByteString): CommitRequest
  53. def withUnknownFields(__v: UnknownFieldSet): CommitRequest
  54. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  55. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    CommitRequest → GeneratedMessage
  56. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Updatable[CommitRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped