BeginTransactionRequest

com.google.spanner.v1.spanner.BeginTransactionRequest
See theBeginTransactionRequest companion object
final case class BeginTransactionRequest(session: String, options: Option[TransactionOptions], requestOptions: Option[RequestOptions], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[BeginTransactionRequest]

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

Value parameters

options

Required. Options for the new transaction.

requestOptions

Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct will not do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.

session

Required. The session in which the transaction runs.

Attributes

Companion
object
Source
BeginTransactionRequest.scala
Graph
Supertypes
trait Updatable[BeginTransactionRequest]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
BeginTransactionRequest.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
BeginTransactionRequest.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
BeginTransactionRequest.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
BeginTransactionRequest.scala
def withSession(`__v`: String): BeginTransactionRequest

Attributes

Source
BeginTransactionRequest.scala
def withUnknownFields(`__v`: UnknownFieldSet): BeginTransactionRequest

Attributes

Source
BeginTransactionRequest.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
BeginTransactionRequest.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala