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 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()