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 isfalse.- 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
- Alphabetic
- By Inheritance
- CommitRequest
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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 isfalse.- 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
- 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
- def addAllMutations(__vs: Iterable[Mutation]): CommitRequest
- def addMutations(__vs: Mutation*): CommitRequest
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearMaxCommitDelay: CommitRequest
- def clearMutations: CommitRequest
- def clearRequestOptions: CommitRequest
- def clearTransaction: CommitRequest
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: CommitRequest.type
- Definition Classes
- CommitRequest → GeneratedMessage
- def discardUnknownFields: CommitRequest
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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 getField(__field: FieldDescriptor): PValue
- Definition Classes
- CommitRequest → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- CommitRequest → GeneratedMessage
- def getMaxCommitDelay: Duration
- def getRequestOptions: RequestOptions
- def getSingleUseTransaction: TransactionOptions
- def getTransactionId: ByteString
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxCommitDelay: Option[Duration]
- val mutations: Seq[Mutation]
- 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
- val requestOptions: Option[RequestOptions]
- val returnCommitStats: Boolean
- def serializedSize: Int
- Definition Classes
- CommitRequest → GeneratedMessage
- val session: String
- 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
- CommitRequest → GeneratedMessage
- val transaction: Transaction
- val unknownFields: UnknownFieldSet
- def update(ms: (Lens[CommitRequest, CommitRequest]) => Mutation[CommitRequest]*): CommitRequest
- 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 withMaxCommitDelay(__v: Duration): CommitRequest
- def withMutations(__v: Seq[Mutation]): CommitRequest
- def withRequestOptions(__v: RequestOptions): CommitRequest
- def withReturnCommitStats(__v: Boolean): CommitRequest
- def withSession(__v: String): CommitRequest
- def withSingleUseTransaction(__v: TransactionOptions): CommitRequest
- def withTransaction(__v: Transaction): CommitRequest
- def withTransactionId(__v: ByteString): CommitRequest
- def withUnknownFields(__v: UnknownFieldSet): CommitRequest
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- CommitRequest → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage