TransactionOptions

com.google.spanner.v1.transaction.TransactionOptions
See theTransactionOptions companion class
object TransactionOptions extends GeneratedMessageCompanion[TransactionOptions]

Attributes

Companion
class
Source
TransactionOptions.scala
Graph
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[TransactionOptions]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

object Mode

Attributes

Companion
trait
Source
TransactionOptions.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Mode.type
sealed trait Mode extends GeneratedOneof

Attributes

Companion
object
Source
TransactionOptions.scala
Supertypes
trait GeneratedOneof
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object Empty.type
class ReadOnly
class ReadWrite
final case class PartitionedDml(unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PartitionedDml]

Message type to initiate a Partitioned DML transaction.

Message type to initiate a Partitioned DML transaction.

Attributes

Companion
object
Source
TransactionOptions.scala
Supertypes
trait Updatable[PartitionedDml]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object PartitionedDml extends GeneratedMessageCompanion[PartitionedDml]

Attributes

Companion
class
Source
TransactionOptions.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[PartitionedDml]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
final case class ReadOnly(timestampBound: TimestampBound, returnReadTimestamp: Boolean, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ReadOnly]

Message type to initiate a read-only transaction.

Message type to initiate a read-only transaction.

Value parameters

returnReadTimestamp

If true, the Cloud Spanner-selected read timestamp is included in the [Transaction][google.spanner.v1.Transaction] message that describes the transaction.

Attributes

Companion
object
Source
TransactionOptions.scala
Supertypes
trait Updatable[ReadOnly]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ReadOnly extends GeneratedMessageCompanion[ReadOnly]

Attributes

Companion
class
Source
TransactionOptions.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ReadOnly]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ReadOnly.type
final case class ReadWrite(readLockMode: ReadLockMode, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[ReadWrite]

Message type to initiate a read-write transaction. Currently this transaction type has no options.

Message type to initiate a read-write transaction. Currently this transaction type has no options.

Value parameters

readLockMode

Read lock mode for the transaction.

Attributes

Companion
object
Source
TransactionOptions.scala
Supertypes
trait Updatable[ReadWrite]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ReadWrite extends GeneratedMessageCompanion[ReadWrite]

Attributes

Companion
class
Source
TransactionOptions.scala
Supertypes
trait Product
trait Mirror
trait GeneratedMessageCompanion[ReadWrite]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ReadWrite.type
implicit class TransactionOptionsLens[UpperPB](_l: Lens[UpperPB, TransactionOptions]) extends ObjectLens[UpperPB, TransactionOptions]

Attributes

Source
TransactionOptions.scala
Supertypes
class ObjectLens[UpperPB, TransactionOptions]
trait Lens[UpperPB, TransactionOptions]
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def enumCompanionForFieldNumber(`__fieldNumber`: Int): GeneratedEnumCompanion[_]

Attributes

Source
TransactionOptions.scala
def javaDescriptor: Descriptor

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Returns the Java descriptors for this message. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
TransactionOptions.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
TransactionOptions.scala
def of(mode: Mode): TransactionOptions

Attributes

Source
TransactionOptions.scala
def parseFrom(`_input__`: CodedInputStream): TransactionOptions

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
TransactionOptions.scala
def scalaDescriptor: Descriptor

Attributes

Source
TransactionOptions.scala

Inherited methods

def enumCompanionForField(field: FieldDescriptor): GeneratedEnumCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def fromAscii(s: String): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def merge(a: TransactionOptions, input: CodedInputStream): A

Merges the given message with the additional fields in the steam.

Merges the given message with the additional fields in the steam.

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def messageCompanionForField(field: FieldDescriptor): GeneratedMessageCompanion[_]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: InputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseDelimitedFrom(input: CodedInputStream): Option[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(s: Array[Byte]): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def parseFrom(input: InputStream): A

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def streamFromDelimitedInput(input: InputStream): Stream[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def toByteArray(a: TransactionOptions): Array[Byte]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validate(s: Array[Byte]): Try[A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala
def validateAscii(s: String): Either[TextFormatError, A]

Attributes

Inherited from:
GeneratedMessageCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

final val READ_ONLY_FIELD_NUMBER: 2

Attributes

Source
TransactionOptions.scala

Attributes

Source
TransactionOptions.scala
lazy val nestedMessagesCompanions: Seq[GeneratedMessageCompanion[_ <: GeneratedMessage]]

Attributes

Source
TransactionOptions.scala

Implicits

Implicits

final implicit def TransactionOptionsLens[UpperPB](_l: Lens[UpperPB, TransactionOptions]): TransactionOptionsLens[UpperPB]

Attributes

Source
TransactionOptions.scala
implicit def messageCompanion: GeneratedMessageCompanion[TransactionOptions]

Attributes

Source
TransactionOptions.scala
implicit def messageReads: Reads[TransactionOptions]

Attributes

Source
TransactionOptions.scala