Class Session (6.77.0)

public final class Session extends GeneratedMessageV3 implements SessionOrBuilder

A session in the Cloud Spanner API.

Protobuf type google.spanner.v1.Session

Implements

SessionOrBuilder

Static Fields

APPROXIMATE_LAST_USE_TIME_FIELD_NUMBER

public static final int APPROXIMATE_LAST_USE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CREATOR_ROLE_FIELD_NUMBER

public static final int CREATOR_ROLE_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

MULTIPLEXED_FIELD_NUMBER

public static final int MULTIPLEXED_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Session getDefaultInstance()
Returns
Type Description
Session

getDescriptor()

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

newBuilder()

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

newBuilder(Session prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Session parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry