Cloud Bigtable V2 Client - Class Encoding (2.8.0)

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

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2 \ Type \ Timestamp

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ unix_micros_int64 Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding

Encodes the number of microseconds since the Unix epoch using the given Int64 encoding. Values must be microsecond-aligned. Compatible with: - Java Instant.truncatedTo() with ChronoUnit.MICROS

getUnixMicrosInt64

Encodes the number of microseconds since the Unix epoch using the given Int64 encoding. Values must be microsecond-aligned.

Compatible with:

  • Java Instant.truncatedTo() with ChronoUnit.MICROS
Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding|null

hasUnixMicrosInt64

setUnixMicrosInt64

Encodes the number of microseconds since the Unix epoch using the given Int64 encoding. Values must be microsecond-aligned.

Compatible with:

  • Java Instant.truncatedTo() with ChronoUnit.MICROS
Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\Type\Int64\Encoding
Returns
Type Description
$this

getEncoding

Returns
Type Description
string