Interface ValueOrBuilder (6.69.0)

public interface ValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArrayType()

public abstract Type getArrayType()

Type of array element. Only set if value is an array.

optional .google.spanner.v1.Type array_type = 12;

Returns
Type Description
Type

The arrayType.

getArrayTypeOrBuilder()

public abstract TypeOrBuilder getArrayTypeOrBuilder()

Type of array element. Only set if value is an array.

optional .google.spanner.v1.Type array_type = 12;

Returns
Type Description
TypeOrBuilder

getArrayValue()

public abstract ValueList getArrayValue()

Array type value. The underlying Valuelist should have values that have the same type.

.google.spanner.executor.v1.ValueList array_value = 11;

Returns
Type Description
ValueList

The arrayValue.

getArrayValueOrBuilder()

public abstract ValueListOrBuilder getArrayValueOrBuilder()

Array type value. The underlying Valuelist should have values that have the same type.

.google.spanner.executor.v1.ValueList array_value = 11;

Returns
Type Description
ValueListOrBuilder

getBoolValue()

public abstract boolean getBoolValue()

Bool type value.

bool bool_value = 3;

Returns
Type Description
boolean

The boolValue.

getBytesValue()

public abstract ByteString getBytesValue()

Bytes type value, stored in CORD. It's also used for PROTO type value.

bytes bytes_value = 5;

Returns
Type Description
ByteString

The bytesValue.

getDateDaysValue()

public abstract int getDateDaysValue()

Date type value. Date is specified as a number of days since Unix epoch.

int32 date_days_value = 9;

Returns
Type Description
int

The dateDaysValue.

getDoubleValue()

public abstract double getDoubleValue()

Double type value. It's used for all float point types, like float and double.

double double_value = 4;

Returns
Type Description
double

The doubleValue.

getIntValue()

public abstract long getIntValue()

Int type value. It's used for all integer number types, like int32 and int64.

int64 int_value = 2;

Returns
Type Description
long

The intValue.

getIsCommitTimestamp()

public abstract boolean getIsCommitTimestamp()

If set, holds the sentinel value for the transaction CommitTimestamp.

bool is_commit_timestamp = 10;

Returns
Type Description
boolean

The isCommitTimestamp.

getIsNull()

public abstract boolean getIsNull()

If is_null is set, then this value is null.

bool is_null = 1;

Returns
Type Description
boolean

The isNull.

getStringValue()

public abstract String getStringValue()

String type value, stored in CORD.

string string_value = 6;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

String type value, stored in CORD.

string string_value = 6;

Returns
Type Description
ByteString

The bytes for stringValue.

getStructValue()

public abstract ValueList getStructValue()

Struct type value. It contains a ValueList representing the values in this struct.

.google.spanner.executor.v1.ValueList struct_value = 7;

Returns
Type Description
ValueList

The structValue.

getStructValueOrBuilder()

public abstract ValueListOrBuilder getStructValueOrBuilder()

Struct type value. It contains a ValueList representing the values in this struct.

.google.spanner.executor.v1.ValueList struct_value = 7;

Returns
Type Description
ValueListOrBuilder

getTimestampValue()

public abstract Timestamp getTimestampValue()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
Type Description
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public abstract TimestampOrBuilder getTimestampValueOrBuilder()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
Type Description
TimestampOrBuilder

getValueTypeCase()

public abstract Value.ValueTypeCase getValueTypeCase()
Returns
Type Description
Value.ValueTypeCase

hasArrayType()

public abstract boolean hasArrayType()

Type of array element. Only set if value is an array.

optional .google.spanner.v1.Type array_type = 12;

Returns
Type Description
boolean

Whether the arrayType field is set.

hasArrayValue()

public abstract boolean hasArrayValue()

Array type value. The underlying Valuelist should have values that have the same type.

.google.spanner.executor.v1.ValueList array_value = 11;

Returns
Type Description
boolean

Whether the arrayValue field is set.

hasBoolValue()

public abstract boolean hasBoolValue()

Bool type value.

bool bool_value = 3;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasBytesValue()

public abstract boolean hasBytesValue()

Bytes type value, stored in CORD. It's also used for PROTO type value.

bytes bytes_value = 5;

Returns
Type Description
boolean

Whether the bytesValue field is set.

hasDateDaysValue()

public abstract boolean hasDateDaysValue()

Date type value. Date is specified as a number of days since Unix epoch.

int32 date_days_value = 9;

Returns
Type Description
boolean

Whether the dateDaysValue field is set.

hasDoubleValue()

public abstract boolean hasDoubleValue()

Double type value. It's used for all float point types, like float and double.

double double_value = 4;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasIntValue()

public abstract boolean hasIntValue()

Int type value. It's used for all integer number types, like int32 and int64.

int64 int_value = 2;

Returns
Type Description
boolean

Whether the intValue field is set.

hasIsCommitTimestamp()

public abstract boolean hasIsCommitTimestamp()

If set, holds the sentinel value for the transaction CommitTimestamp.

bool is_commit_timestamp = 10;

Returns
Type Description
boolean

Whether the isCommitTimestamp field is set.

hasIsNull()

public abstract boolean hasIsNull()

If is_null is set, then this value is null.

bool is_null = 1;

Returns
Type Description
boolean

Whether the isNull field is set.

hasStringValue()

public abstract boolean hasStringValue()

String type value, stored in CORD.

string string_value = 6;

Returns
Type Description
boolean

Whether the stringValue field is set.

hasStructValue()

public abstract boolean hasStructValue()

Struct type value. It contains a ValueList representing the values in this struct.

.google.spanner.executor.v1.ValueList struct_value = 7;

Returns
Type Description
boolean

Whether the structValue field is set.

hasTimestampValue()

public abstract boolean hasTimestampValue()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
Type Description
boolean

Whether the timestampValue field is set.