Cloud Bigtable V2 Client - Class Encoding (2.6.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 Encoding\Utf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

↳ utf8_bytes Encoding\Utf8Bytes

Use Utf8Bytes encoding.

getUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Returns
Type Description
Encoding\Utf8Raw|null

hasUtf8Raw

setUtf8Raw

Deprecated: if set, converts to an empty utf8_bytes.

Parameter
Name Description
var Encoding\Utf8Raw
Returns
Type Description
$this

getUtf8Bytes

Use Utf8Bytes encoding.

Returns
Type Description
Encoding\Utf8Bytes|null

hasUtf8Bytes

setUtf8Bytes

Use Utf8Bytes encoding.

Parameter
Name Description
var Encoding\Utf8Bytes
Returns
Type Description
$this

getEncoding

Returns
Type Description
string