Cloud Bigtable V2 Client - Class Encoding (2.6.3)

Reference documentation and code samples for the Cloud Bigtable V2 Client class Encoding.

Rules used to convert to/from lower level types.

Generated from protobuf message google.bigtable.v2.Type.String.Encoding

Namespace

Google \ Cloud \ Bigtable \ V2 \ Type \ PBString

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ utf8_rawEncoding\Utf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

↳ utf8_bytesEncoding\Utf8Bytes

Use Utf8Bytes encoding.

getUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Returns
TypeDescription
Encoding\Utf8Raw|null

hasUtf8Raw

setUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Parameter
NameDescription
varEncoding\Utf8Raw
Returns
TypeDescription
$this

getUtf8Bytes

Use Utf8Bytes encoding.

Returns
TypeDescription
Encoding\Utf8Bytes|null

hasUtf8Bytes

setUtf8Bytes

Use Utf8Bytes encoding.

Parameter
NameDescription
varEncoding\Utf8Bytes
Returns
TypeDescription
$this

getEncoding

Returns
TypeDescription
string