Cloud Bigtable V2 Client - Class Encoding (2.2.1)

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.admin.v2.Type.String.Encoding

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2 \ Type \ PBString

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ utf8_raw Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

↳ utf8_bytes Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes

Use Utf8Bytes encoding.

getUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw|null

hasUtf8Raw

setUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Raw
Returns
Type Description
$this

getUtf8Bytes

Use Utf8Bytes encoding.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes|null

hasUtf8Bytes

setUtf8Bytes

Use Utf8Bytes encoding.

Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\Type\PBString\Encoding\Utf8Bytes
Returns
Type Description
$this

getEncoding

Returns
Type Description
string