Class RequestOptions (6.74.0)

public final class RequestOptions extends GeneratedMessageV3 implements RequestOptionsOrBuilder

Common request options for various APIs.

Protobuf type google.spanner.v1.RequestOptions

Static Fields

PRIORITY_FIELD_NUMBER

public static final int PRIORITY_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_TAG_FIELD_NUMBER

public static final int REQUEST_TAG_FIELD_NUMBER
Field Value
Type Description
int

TRANSACTION_TAG_FIELD_NUMBER

public static final int TRANSACTION_TAG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RequestOptions getDefaultInstance()
Returns
Type Description
RequestOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RequestOptions.Builder newBuilder()
Returns
Type Description
RequestOptions.Builder

newBuilder(RequestOptions prototype)

public static RequestOptions.Builder newBuilder(RequestOptions prototype)
Parameter
Name Description
prototype RequestOptions
Returns
Type Description
RequestOptions.Builder

parseDelimitedFrom(InputStream input)

public static RequestOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RequestOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RequestOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RequestOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RequestOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RequestOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RequestOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static