Package com.google.spanner.executor.v1
Interface ValueOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Value,Value.Builder
public interface ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionType of array element.Type of array element.Array type value.Array type value.booleanBool type value.com.google.protobuf.ByteStringBytes type value, stored in CORD.intDate type value.doubleDouble type value.longInt type value.booleanIf set, holds the sentinel value for the transaction CommitTimestamp.booleanIf is_null is set, then this value is null.String type value, stored in CORD.com.google.protobuf.ByteStringString type value, stored in CORD.Struct type value.Struct type value.com.google.protobuf.TimestampTimestamp type value.com.google.protobuf.TimestampOrBuilderTimestamp type value.booleanType of array element.booleanArray type value.booleanBool type value.booleanBytes type value, stored in CORD.booleanDate type value.booleanDouble type value.booleanInt type value.booleanIf set, holds the sentinel value for the transaction CommitTimestamp.booleanIf is_null is set, then this value is null.booleanString type value, stored in CORD.booleanStruct type value.booleanTimestamp type value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIsNull
boolean hasIsNull()If is_null is set, then this value is null.
bool is_null = 1;- Returns:
- Whether the isNull field is set.
-
getIsNull
boolean getIsNull()If is_null is set, then this value is null.
bool is_null = 1;- Returns:
- The isNull.
-
hasIntValue
boolean hasIntValue()Int type value. It's used for all integer number types, like int32 and int64.
int64 int_value = 2;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()Int type value. It's used for all integer number types, like int32 and int64.
int64 int_value = 2;- Returns:
- The intValue.
-
hasBoolValue
boolean hasBoolValue()Bool type value.
bool bool_value = 3;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()Bool type value.
bool bool_value = 3;- Returns:
- The boolValue.
-
hasDoubleValue
boolean hasDoubleValue()Double type value. It's used for all float point types, like float and double.
double double_value = 4;- Returns:
- Whether the doubleValue field is set.
-
getDoubleValue
double getDoubleValue()Double type value. It's used for all float point types, like float and double.
double double_value = 4;- Returns:
- The doubleValue.
-
hasBytesValue
boolean hasBytesValue()Bytes type value, stored in CORD. It's also used for PROTO type value.
bytes bytes_value = 5;- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
com.google.protobuf.ByteString getBytesValue()Bytes type value, stored in CORD. It's also used for PROTO type value.
bytes bytes_value = 5;- Returns:
- The bytesValue.
-
hasStringValue
boolean hasStringValue()String type value, stored in CORD.
string string_value = 6;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()String type value, stored in CORD.
string string_value = 6;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()String type value, stored in CORD.
string string_value = 6;- Returns:
- The bytes for stringValue.
-
hasStructValue
boolean hasStructValue()Struct type value. It contains a ValueList representing the values in this struct.
.google.spanner.executor.v1.ValueList struct_value = 7;- Returns:
- Whether the structValue field is set.
-
getStructValue
ValueList getStructValue()Struct type value. It contains a ValueList representing the values in this struct.
.google.spanner.executor.v1.ValueList struct_value = 7;- Returns:
- The structValue.
-
getStructValueOrBuilder
ValueListOrBuilder getStructValueOrBuilder()Struct type value. It contains a ValueList representing the values in this struct.
.google.spanner.executor.v1.ValueList struct_value = 7; -
hasTimestampValue
boolean hasTimestampValue()Timestamp type value.
.google.protobuf.Timestamp timestamp_value = 8;- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
com.google.protobuf.Timestamp getTimestampValue()Timestamp type value.
.google.protobuf.Timestamp timestamp_value = 8;- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()Timestamp type value.
.google.protobuf.Timestamp timestamp_value = 8; -
hasDateDaysValue
boolean hasDateDaysValue()Date type value. Date is specified as a number of days since Unix epoch.
int32 date_days_value = 9;- Returns:
- Whether the dateDaysValue field is set.
-
getDateDaysValue
int getDateDaysValue()Date type value. Date is specified as a number of days since Unix epoch.
int32 date_days_value = 9;- Returns:
- The dateDaysValue.
-
hasIsCommitTimestamp
boolean hasIsCommitTimestamp()If set, holds the sentinel value for the transaction CommitTimestamp.
bool is_commit_timestamp = 10;- Returns:
- Whether the isCommitTimestamp field is set.
-
getIsCommitTimestamp
boolean getIsCommitTimestamp()If set, holds the sentinel value for the transaction CommitTimestamp.
bool is_commit_timestamp = 10;- Returns:
- The isCommitTimestamp.
-
hasArrayValue
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:
- Whether the arrayValue field is set.
-
getArrayValue
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:
- The arrayValue.
-
getArrayValueOrBuilder
ValueListOrBuilder getArrayValueOrBuilder()Array type value. The underlying Valuelist should have values that have the same type.
.google.spanner.executor.v1.ValueList array_value = 11; -
hasArrayType
boolean hasArrayType()Type of array element. Only set if value is an array.
optional .google.spanner.v1.Type array_type = 12;- Returns:
- Whether the arrayType field is set.
-
getArrayType
Type getArrayType()Type of array element. Only set if value is an array.
optional .google.spanner.v1.Type array_type = 12;- Returns:
- The arrayType.
-
getArrayTypeOrBuilder
TypeOrBuilder getArrayTypeOrBuilder()Type of array element. Only set if value is an array.
optional .google.spanner.v1.Type array_type = 12; -
getValueTypeCase
Value.ValueTypeCase getValueTypeCase()
-