Class Encoding (2.32.0)

Encoding(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Rules used to convert to or from lower level types.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
utf8_raw google.cloud.bigtable_admin_v2.types.Type.String.Encoding.Utf8Raw
Deprecated: if set, converts to an empty utf8_bytes. This field is a member of oneof_ encoding.
utf8_bytes google.cloud.bigtable_admin_v2.types.Type.String.Encoding.Utf8Bytes
Use Utf8Bytes encoding. This field is a member of oneof_ encoding.

Classes

Utf8Bytes

Utf8Bytes(mapping=None, *, ignore_unknown_fields=False, **kwargs)

UTF-8 encoding.

Sorted mode:

  • All values are supported.
  • Code point order is preserved.

Distinct mode: all values are supported.

Compatible with:

  • BigQuery TEXT encoding
  • HBase Bytes.toBytes
  • Java String#getBytes(StandardCharsets.UTF_8)

Utf8Raw

Utf8Raw(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Deprecated: prefer the equivalent Utf8Bytes.