Package com.google.bigtable.v2
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 TypeMethodDescriptionRepresents a typed value transported as a sequence of values.Represents a typed value transported as a sequence of values.booleanRepresents a typed value transported as a boolean.com.google.protobuf.ByteStringRepresents a typed value transported as a byte sequence.com.google.type.DateRepresents a typed value transported as a date.com.google.type.DateOrBuilderRepresents a typed value transported as a date.doubleRepresents a typed value transported as a floating point number.longRepresents a typed value transported as an integer.longRepresents a raw cell timestamp with no type information.com.google.protobuf.ByteStringRepresents a raw byte sequence with no type information.Represents a typed value transported as a string.com.google.protobuf.ByteStringRepresents a typed value transported as a string.com.google.protobuf.TimestampRepresents a typed value transported as a timestamp.com.google.protobuf.TimestampOrBuilderRepresents a typed value transported as a timestamp.getType()The verified `Type` of this `Value`, if it cannot be inferred.The verified `Type` of this `Value`, if it cannot be inferred.booleanRepresents a typed value transported as a sequence of values.booleanRepresents a typed value transported as a boolean.booleanRepresents a typed value transported as a byte sequence.booleanRepresents a typed value transported as a date.booleanRepresents a typed value transported as a floating point number.booleanRepresents a typed value transported as an integer.booleanRepresents a raw cell timestamp with no type information.booleanRepresents a raw byte sequence with no type information.booleanRepresents a typed value transported as a string.booleanRepresents a typed value transported as a timestamp.booleanhasType()The verified `Type` of this `Value`, if it cannot be inferred.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
-
hasType
boolean hasType()The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7;- Returns:
- Whether the type field is set.
-
getType
Type getType()The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7;- Returns:
- The type.
-
getTypeOrBuilder
TypeOrBuilder getTypeOrBuilder()The verified `Type` of this `Value`, if it cannot be inferred. Read results will never specify the encoding for `type` since the value will already have been decoded by the server. Furthermore, the `type` will be omitted entirely if it can be inferred from a previous response. The exact semantics for inferring `type` will vary, and are therefore documented separately for each read method. When using composite types (Struct, Array, Map) only the outermost `Value` will specify the `type`. This top-level `type` will define the types for any nested `Struct' fields, `Array` elements, or `Map` key/value pairs. If a nested `Value` provides a `type` on write, the request will be rejected with INVALID_ARGUMENT.
.google.bigtable.v2.Type type = 7; -
hasRawValue
boolean hasRawValue()Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;- Returns:
- Whether the rawValue field is set.
-
getRawValue
com.google.protobuf.ByteString getRawValue()Represents a raw byte sequence with no type information. The `type` field must be omitted.
bytes raw_value = 8;- Returns:
- The rawValue.
-
hasRawTimestampMicros
boolean hasRawTimestampMicros()Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;- Returns:
- Whether the rawTimestampMicros field is set.
-
getRawTimestampMicros
long getRawTimestampMicros()Represents a raw cell timestamp with no type information. The `type` field must be omitted.
int64 raw_timestamp_micros = 9;- Returns:
- The rawTimestampMicros.
-
hasBytesValue
boolean hasBytesValue()Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;- Returns:
- Whether the bytesValue field is set.
-
getBytesValue
com.google.protobuf.ByteString getBytesValue()Represents a typed value transported as a byte sequence.
bytes bytes_value = 2;- Returns:
- The bytesValue.
-
hasStringValue
boolean hasStringValue()Represents a typed value transported as a string.
string string_value = 3;- Returns:
- Whether the stringValue field is set.
-
getStringValue
String getStringValue()Represents a typed value transported as a string.
string string_value = 3;- Returns:
- The stringValue.
-
getStringValueBytes
com.google.protobuf.ByteString getStringValueBytes()Represents a typed value transported as a string.
string string_value = 3;- Returns:
- The bytes for stringValue.
-
hasIntValue
boolean hasIntValue()Represents a typed value transported as an integer.
int64 int_value = 6;- Returns:
- Whether the intValue field is set.
-
getIntValue
long getIntValue()Represents a typed value transported as an integer.
int64 int_value = 6;- Returns:
- The intValue.
-
hasBoolValue
boolean hasBoolValue()Represents a typed value transported as a boolean.
bool bool_value = 10;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
boolean getBoolValue()Represents a typed value transported as a boolean.
bool bool_value = 10;- Returns:
- The boolValue.
-
hasFloatValue
boolean hasFloatValue()Represents a typed value transported as a floating point number.
double float_value = 11;- Returns:
- Whether the floatValue field is set.
-
getFloatValue
double getFloatValue()Represents a typed value transported as a floating point number.
double float_value = 11;- Returns:
- The floatValue.
-
hasTimestampValue
boolean hasTimestampValue()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;- Returns:
- Whether the timestampValue field is set.
-
getTimestampValue
com.google.protobuf.Timestamp getTimestampValue()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12;- Returns:
- The timestampValue.
-
getTimestampValueOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder()Represents a typed value transported as a timestamp.
.google.protobuf.Timestamp timestamp_value = 12; -
hasDateValue
boolean hasDateValue()Represents a typed value transported as a date.
.google.type.Date date_value = 13;- Returns:
- Whether the dateValue field is set.
-
getDateValue
com.google.type.Date getDateValue()Represents a typed value transported as a date.
.google.type.Date date_value = 13;- Returns:
- The dateValue.
-
getDateValueOrBuilder
com.google.type.DateOrBuilder getDateValueOrBuilder()Represents a typed value transported as a date.
.google.type.Date date_value = 13; -
hasArrayValue
boolean hasArrayValue()Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4;- Returns:
- Whether the arrayValue field is set.
-
getArrayValue
ArrayValue getArrayValue()Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4;- Returns:
- The arrayValue.
-
getArrayValueOrBuilder
ArrayValueOrBuilder getArrayValueOrBuilder()Represents a typed value transported as a sequence of values. To differentiate between `Struct`, `Array`, and `Map`, the outermost `Value` must provide an explicit `type` on write. This `type` will apply recursively to the nested `Struct` fields, `Array` elements, or `Map` key/value pairs, which *must not* supply their own `type`.
.google.bigtable.v2.ArrayValue array_value = 4; -
getKindCase
Value.KindCase getKindCase()
-