Reference documentation and code samples for the Cloud Bigtable V2 Client class Encoding.
Rules used to convert to or from lower level types.
Generated from protobuf message google.bigtable.v2.Type.String.Encoding
Namespace
Google \ Cloud \ Bigtable \ V2 \ Type \ PBStringMethods
__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 |
Encoding\Utf8Bytes
Use |
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 |
|