Interface ValueOrBuilder (6.60.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ValueListOrBuilder

getBoolValue()

public abstract boolean getBoolValue()

Bool type value.

bool bool_value = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
long

The intValue.

getIsCommitTimestamp()

public abstract boolean getIsCommitTimestamp()

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

bool is_commit_timestamp = 10;

Returns
TypeDescription
boolean

The isCommitTimestamp.

getIsNull()

public abstract boolean getIsNull()

If is_null is set, then this value is null.

bool is_null = 1;

Returns
TypeDescription
boolean

The isNull.

getStringValue()

public abstract String getStringValue()

String type value, stored in CORD.

string string_value = 6;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

String type value, stored in CORD.

string string_value = 6;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ValueListOrBuilder

getTimestampValue()

public abstract Timestamp getTimestampValue()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public abstract TimestampOrBuilder getTimestampValueOrBuilder()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
TimestampOrBuilder

getValueTypeCase()

public abstract Value.ValueTypeCase getValueTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the arrayValue field is set.

hasBoolValue()

public abstract boolean hasBoolValue()

Bool type value.

bool bool_value = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the isNull field is set.

hasStringValue()

public abstract boolean hasStringValue()

String type value, stored in CORD.

string string_value = 6;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the structValue field is set.

hasTimestampValue()

public abstract boolean hasTimestampValue()

Timestamp type value.

.google.protobuf.Timestamp timestamp_value = 8;

Returns
TypeDescription
boolean

Whether the timestampValue field is set.