Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::Value.
Value represents a dynamically typed value.
The typed fields in Value are used as a transport encoding for the actual
value (which may be of a more complex type). See the documentation of the
Type message for more details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#array_value
def array_value() -> ::Google::Cloud::Bigtable::V2::ArrayValue-
(::Google::Cloud::Bigtable::V2::ArrayValue) — Represents a typed value transported as a sequence of values.
To differentiate between
Struct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill apply recursively to the nestedStructfields,Arrayelements, orMapkey/value pairs, which must not supply their owntype.Note: The following fields are mutually exclusive:
array_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#array_value=
def array_value=(value) -> ::Google::Cloud::Bigtable::V2::ArrayValue-
value (::Google::Cloud::Bigtable::V2::ArrayValue) — Represents a typed value transported as a sequence of values.
To differentiate between
Struct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill apply recursively to the nestedStructfields,Arrayelements, orMapkey/value pairs, which must not supply their owntype.Note: The following fields are mutually exclusive:
array_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigtable::V2::ArrayValue) — Represents a typed value transported as a sequence of values.
To differentiate between
Struct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill apply recursively to the nestedStructfields,Arrayelements, orMapkey/value pairs, which must not supply their owntype.Note: The following fields are mutually exclusive:
array_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bool_value
def bool_value() -> ::Boolean-
(::Boolean) — Represents a typed value transported as a boolean.
Note: The following fields are mutually exclusive:
bool_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bool_value=
def bool_value=(value) -> ::Boolean-
value (::Boolean) — Represents a typed value transported as a boolean.
Note: The following fields are mutually exclusive:
bool_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — Represents a typed value transported as a boolean.
Note: The following fields are mutually exclusive:
bool_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bytes_value
def bytes_value() -> ::String-
(::String) — Represents a typed value transported as a byte sequence.
Note: The following fields are mutually exclusive:
bytes_value,raw_value,raw_timestamp_micros,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#bytes_value=
def bytes_value=(value) -> ::String-
value (::String) — Represents a typed value transported as a byte sequence.
Note: The following fields are mutually exclusive:
bytes_value,raw_value,raw_timestamp_micros,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Represents a typed value transported as a byte sequence.
Note: The following fields are mutually exclusive:
bytes_value,raw_value,raw_timestamp_micros,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#date_value
def date_value() -> ::Google::Type::Date-
(::Google::Type::Date) — Represents a typed value transported as a date.
Note: The following fields are mutually exclusive:
date_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#date_value=
def date_value=(value) -> ::Google::Type::Date-
value (::Google::Type::Date) — Represents a typed value transported as a date.
Note: The following fields are mutually exclusive:
date_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Type::Date) — Represents a typed value transported as a date.
Note: The following fields are mutually exclusive:
date_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#float_value
def float_value() -> ::Float-
(::Float) — Represents a typed value transported as a floating point number.
Does not support NaN or infinities.
Note: The following fields are mutually exclusive:
float_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#float_value=
def float_value=(value) -> ::Float-
value (::Float) — Represents a typed value transported as a floating point number.
Does not support NaN or infinities.
Note: The following fields are mutually exclusive:
float_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Represents a typed value transported as a floating point number.
Does not support NaN or infinities.
Note: The following fields are mutually exclusive:
float_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_value
def int_value() -> ::Integer-
(::Integer) — Represents a typed value transported as an integer.
Note: The following fields are mutually exclusive:
int_value,raw_value,raw_timestamp_micros,bytes_value,string_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#int_value=
def int_value=(value) -> ::Integer-
value (::Integer) — Represents a typed value transported as an integer.
Note: The following fields are mutually exclusive:
int_value,raw_value,raw_timestamp_micros,bytes_value,string_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Represents a typed value transported as an integer.
Note: The following fields are mutually exclusive:
int_value,raw_value,raw_timestamp_micros,bytes_value,string_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#raw_timestamp_micros
def raw_timestamp_micros() -> ::Integer-
(::Integer) — Represents a raw cell timestamp with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_timestamp_micros,raw_value,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#raw_timestamp_micros=
def raw_timestamp_micros=(value) -> ::Integer-
value (::Integer) — Represents a raw cell timestamp with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_timestamp_micros,raw_value,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Represents a raw cell timestamp with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_timestamp_micros,raw_value,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#raw_value
def raw_value() -> ::String-
(::String) — Represents a raw byte sequence with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#raw_value=
def raw_value=(value) -> ::String-
value (::String) — Represents a raw byte sequence with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Represents a raw byte sequence with no type information.
The
typefield must be omitted.Note: The following fields are mutually exclusive:
raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value
def string_value() -> ::String-
(::String) — Represents a typed value transported as a string.
Note: The following fields are mutually exclusive:
string_value,raw_value,raw_timestamp_micros,bytes_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#string_value=
def string_value=(value) -> ::String-
value (::String) — Represents a typed value transported as a string.
Note: The following fields are mutually exclusive:
string_value,raw_value,raw_timestamp_micros,bytes_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Represents a typed value transported as a string.
Note: The following fields are mutually exclusive:
string_value,raw_value,raw_timestamp_micros,bytes_value,int_value,bool_value,float_value,timestamp_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#timestamp_value
def timestamp_value() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — Represents a typed value transported as a timestamp.
Note: The following fields are mutually exclusive:
timestamp_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#timestamp_value=
def timestamp_value=(value) -> ::Google::Protobuf::Timestamp-
value (::Google::Protobuf::Timestamp) — Represents a typed value transported as a timestamp.
Note: The following fields are mutually exclusive:
timestamp_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Protobuf::Timestamp) — Represents a typed value transported as a timestamp.
Note: The following fields are mutually exclusive:
timestamp_value,raw_value,raw_timestamp_micros,bytes_value,string_value,int_value,bool_value,float_value,date_value,array_value. If a field in that set is populated, all other fields in the set will automatically be cleared.
#type
def type() -> ::Google::Cloud::Bigtable::V2::Type-
(::Google::Cloud::Bigtable::V2::Type) — The verified
Typeof thisValue, if it cannot be inferred.Read results will never specify the encoding for
typesince the value will already have been decoded by the server. Furthermore, thetypewill be omitted entirely if it can be inferred from a previous response. The exact semantics for inferringtypewill vary, and are therefore documented separately for each read method.When using composite types (Struct, Array, Map) only the outermost
Valuewill specify thetype. This top-leveltypewill define the types for any nestedStruct' fields,Arrayelements, orMapkey/value pairs. If a nestedValueprovides atype` on write, the request will be rejected with INVALID_ARGUMENT.
#type=
def type=(value) -> ::Google::Cloud::Bigtable::V2::Type-
value (::Google::Cloud::Bigtable::V2::Type) — The verified
Typeof thisValue, if it cannot be inferred.Read results will never specify the encoding for
typesince the value will already have been decoded by the server. Furthermore, thetypewill be omitted entirely if it can be inferred from a previous response. The exact semantics for inferringtypewill vary, and are therefore documented separately for each read method.When using composite types (Struct, Array, Map) only the outermost
Valuewill specify thetype. This top-leveltypewill define the types for any nestedStruct' fields,Arrayelements, orMapkey/value pairs. If a nestedValueprovides atype` on write, the request will be rejected with INVALID_ARGUMENT.
-
(::Google::Cloud::Bigtable::V2::Type) — The verified
Typeof thisValue, if it cannot be inferred.Read results will never specify the encoding for
typesince the value will already have been decoded by the server. Furthermore, thetypewill be omitted entirely if it can be inferred from a previous response. The exact semantics for inferringtypewill vary, and are therefore documented separately for each read method.When using composite types (Struct, Array, Map) only the outermost
Valuewill specify thetype. This top-leveltypewill define the types for any nestedStruct' fields,Arrayelements, orMapkey/value pairs. If a nestedValueprovides atype` on write, the request will be rejected with INVALID_ARGUMENT.