Class Value (6.74.1)

public final class Value extends GeneratedMessageV3 implements ValueOrBuilder

Value represents a single value that can be read or written to/from Spanner.

Protobuf type google.spanner.executor.v1.Value

Implements

ValueOrBuilder

Static Fields

ARRAY_TYPE_FIELD_NUMBER

public static final int ARRAY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

ARRAY_VALUE_FIELD_NUMBER

public static final int ARRAY_VALUE_FIELD_NUMBER
Field Value
Type Description
int

BOOL_VALUE_FIELD_NUMBER

public static final int BOOL_VALUE_FIELD_NUMBER
Field Value
Type Description
int

BYTES_VALUE_FIELD_NUMBER

public static final int BYTES_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DATE_DAYS_VALUE_FIELD_NUMBER

public static final int DATE_DAYS_VALUE_FIELD_NUMBER
Field Value
Type Description
int

DOUBLE_VALUE_FIELD_NUMBER

public static final int DOUBLE_VALUE_FIELD_NUMBER
Field Value
Type Description
int

INT_VALUE_FIELD_NUMBER

public static final int INT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

IS_COMMIT_TIMESTAMP_FIELD_NUMBER

public static final int IS_COMMIT_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

IS_NULL_FIELD_NUMBER

public static final int IS_NULL_FIELD_NUMBER
Field Value
Type Description
int

STRING_VALUE_FIELD_NUMBER

public static final int STRING_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STRUCT_VALUE_FIELD_NUMBER

public static final int STRUCT_VALUE_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_VALUE_FIELD_NUMBER

public static final int TIMESTAMP_VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Value getDefaultInstance()
Returns
Type Description
Value

getDescriptor()

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

newBuilder()

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

newBuilder(Value prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)