RequestOptions

com.google.spanner.v1.spanner.RequestOptions
See theRequestOptions companion class
object RequestOptions extends GeneratedMessageCompanion[RequestOptions]

Attributes

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

Members list

Type members

Classlikes

sealed abstract class Priority(val value: Int) extends GeneratedEnum

The relative priority for requests. Note that priority is not applicable for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].

The relative priority for requests. Note that priority is not applicable for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].

The priority acts as a hint to the Cloud Spanner scheduler and does not guarantee priority or order of execution. For example:

  • Some parts of a write operation always execute at PRIORITY_HIGH, regardless of the specified priority. This may cause you to see an increase in high priority workload even when executing a low priority request. This can also potentially cause a priority inversion where a lower priority request will be fulfilled ahead of a higher priority request.
  • If a transaction contains multiple operations with different priorities, Cloud Spanner does not guarantee to process the higher priority operations first. There may be other constraints to satisfy, such as order of operations.

Attributes

Companion
object
Source
RequestOptions.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object PRIORITY_HIGH.type
object PRIORITY_LOW.type
object PRIORITY_MEDIUM.type
object PRIORITY_UNSPECIFIED.type
trait Recognized
class Unrecognized
Show all
object Priority extends GeneratedEnumCompanion[Priority]

Attributes

Companion
class
Source
RequestOptions.scala
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[Priority]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Priority.type
implicit class RequestOptionsLens[UpperPB](_l: Lens[UpperPB, RequestOptions]) extends ObjectLens[UpperPB, RequestOptions]

Attributes

Source
RequestOptions.scala
Supertypes
class ObjectLens[UpperPB, RequestOptions]
trait Lens[UpperPB, RequestOptions]
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
RequestOptions.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
RequestOptions.scala
def messageCompanionForFieldNumber(`__number`: Int): GeneratedMessageCompanion[_]

Attributes

Source
RequestOptions.scala
def of(priority: Priority, requestTag: String, transactionTag: String): RequestOptions

Attributes

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

Parses a message from a CodedInputStream.

Parses a message from a CodedInputStream.

Attributes

Source
RequestOptions.scala
def scalaDescriptor: Descriptor

Attributes

Source
RequestOptions.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: RequestOptions, 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: RequestOptions): 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 PRIORITY_FIELD_NUMBER: 1

Attributes

Source
RequestOptions.scala

Attributes

Source
RequestOptions.scala

Attributes

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

Attributes

Source
RequestOptions.scala

Implicits

Implicits

final implicit def RequestOptionsLens[UpperPB](_l: Lens[UpperPB, RequestOptions]): RequestOptionsLens[UpperPB]

Attributes

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

Attributes

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

Attributes

Source
RequestOptions.scala