Reference documentation and code samples for the Cloud Bigtable V2 Client class Value.
Valuerepresents a dynamically typed value.
The typed fields inValueare used as a transport encoding for the actual
value (which may be of a more complex type). See the documentation of theTypemessage for more details.
Generated from protobuf messagegoogle.bigtable.v2.Value
The verifiedTypeof thisValue, if it cannot be inferred. Read results will never specify the encoding fortypesince 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 outermostValuewill 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.
↳ raw_value
string
Represents a raw byte sequence with no type information. Thetypefield must be omitted.
↳ raw_timestamp_micros
int|string
Represents a raw cell timestamp with no type information. Thetypefield must be omitted.
↳ bytes_value
string
Represents a typed value transported as a byte sequence.
↳ string_value
string
Represents a typed value transported as a string.
↳ int_value
int|string
Represents a typed value transported as an integer.
↳ bool_value
bool
Represents a typed value transported as a boolean.
↳ float_value
float
Represents a typed value transported as a floating point number. Does not support NaN or infinities.
Represents a typed value transported as a sequence of values. To differentiate betweenStruct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill apply recursively to the nestedStructfields,Arrayelements, orMapkey/value pairs, whichmust notsupply their owntype.
getType
The verifiedTypeof thisValue, if it cannot be inferred.
Read results will never specify the encoding fortypesince 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 outermostValuewill 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.
The verifiedTypeof thisValue, if it cannot be inferred.
Read results will never specify the encoding fortypesince 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 outermostValuewill 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.
Represents a typed value transported as a sequence of values.
To differentiate betweenStruct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill
apply recursively to the nestedStructfields,Arrayelements,
orMapkey/value pairs, whichmust notsupply their owntype.
Represents a typed value transported as a sequence of values.
To differentiate betweenStruct,Array, andMap, the outermostValuemust provide an explicittypeon write. Thistypewill
apply recursively to the nestedStructfields,Arrayelements,
orMapkey/value pairs, whichmust notsupply their owntype.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class Value (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/V2.Value)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/V2.Value)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/V2.Value)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/V2.Value)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/V2.Value)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/V2.Value)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/V2.Value)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/V2.Value)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/V2.Value)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/V2.Value)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/V2.Value)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/V2.Value)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/V2.Value)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/V2.Value)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/V2.Value)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/V2.Value)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/V2.Value)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/V2.Value)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/V2.Value)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/V2.Value)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/V2.Value)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/V2.Value)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/V2.Value)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/V2.Value)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/V2.Value)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/V2.Value)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/V2.Value)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/V2.Value)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/V2.Value)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/V2.Value)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/V2.Value) \nReference documentation and code samples for the Cloud Bigtable V2 Client class Value.\n\n`Value` represents a dynamically typed value.\n\nThe typed fields in `Value` are used as a transport encoding for the actual\nvalue (which may be of a more complex type). See the documentation of the\n`Type` message for more details.\n\nGenerated from protobuf message `google.bigtable.v2.Value`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nThe verified `Type` of this `Value`, if it cannot be inferred.\n\nRead results will never specify the encoding for `type` since the value\nwill already have been decoded by the server. Furthermore, the `type` will\nbe omitted entirely if it can be inferred from a previous response. The\nexact semantics for inferring `type` will vary, and are therefore\ndocumented separately for each read method.\nWhen using composite types (Struct, Array, Map) only the outermost `Value`\nwill specify the `type`. This top-level `type` will define the types for\nany nested `Struct' fields,`Array`elements, or`Map`key/value pairs.\nIf a nested`Value`provides a`type\\` on write, the request will be\nrejected with INVALID_ARGUMENT.\n\n### hasType\n\n### clearType\n\n### setType\n\nThe verified `Type` of this `Value`, if it cannot be inferred.\n\nRead results will never specify the encoding for `type` since the value\nwill already have been decoded by the server. Furthermore, the `type` will\nbe omitted entirely if it can be inferred from a previous response. The\nexact semantics for inferring `type` will vary, and are therefore\ndocumented separately for each read method.\nWhen using composite types (Struct, Array, Map) only the outermost `Value`\nwill specify the `type`. This top-level `type` will define the types for\nany nested `Struct' fields,`Array`elements, or`Map`key/value pairs.\nIf a nested`Value`provides a`type\\` on write, the request will be\nrejected with INVALID_ARGUMENT.\n\n### getRawValue\n\nRepresents a raw byte sequence with no type information.\n\nThe `type` field must be omitted.\n\n### hasRawValue\n\n### setRawValue\n\nRepresents a raw byte sequence with no type information.\n\nThe `type` field must be omitted.\n\n### getRawTimestampMicros\n\nRepresents a raw cell timestamp with no type information.\n\nThe `type` field must be omitted.\n\n### hasRawTimestampMicros\n\n### setRawTimestampMicros\n\nRepresents a raw cell timestamp with no type information.\n\nThe `type` field must be omitted.\n\n### getBytesValue\n\nRepresents a typed value transported as a byte sequence.\n\n### hasBytesValue\n\n### setBytesValue\n\nRepresents a typed value transported as a byte sequence.\n\n### getStringValue\n\nRepresents a typed value transported as a string.\n\n### hasStringValue\n\n### setStringValue\n\nRepresents a typed value transported as a string.\n\n### getIntValue\n\nRepresents a typed value transported as an integer.\n\n### hasIntValue\n\n### setIntValue\n\nRepresents a typed value transported as an integer.\n\n### getBoolValue\n\nRepresents a typed value transported as a boolean.\n\n### hasBoolValue\n\n### setBoolValue\n\nRepresents a typed value transported as a boolean.\n\n### getFloatValue\n\nRepresents a typed value transported as a floating point number.\n\nDoes not support NaN or infinities.\n\n### hasFloatValue\n\n### setFloatValue\n\nRepresents a typed value transported as a floating point number.\n\nDoes not support NaN or infinities.\n\n### getTimestampValue\n\nRepresents a typed value transported as a timestamp.\n\n### hasTimestampValue\n\n### setTimestampValue\n\nRepresents a typed value transported as a timestamp.\n\n### getDateValue\n\nRepresents a typed value transported as a date.\n\n### hasDateValue\n\n### setDateValue\n\nRepresents a typed value transported as a date.\n\n### getArrayValue\n\nRepresents a typed value transported as a sequence of values.\n\nTo differentiate between `Struct`, `Array`, and `Map`, the outermost\n`Value` must provide an explicit `type` on write. This `type` will\napply recursively to the nested `Struct` fields, `Array` elements,\nor `Map` key/value pairs, which *must not* supply their own `type`.\n\n### hasArrayValue\n\n### setArrayValue\n\nRepresents a typed value transported as a sequence of values.\n\nTo differentiate between `Struct`, `Array`, and `Map`, the outermost\n`Value` must provide an explicit `type` on write. This `type` will\napply recursively to the nested `Struct` fields, `Array` elements,\nor `Map` key/value pairs, which *must not* supply their own `type`.\n\n### getKind"]]