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.Timestamp.Encoding
Namespace
Google \ Cloud \ Bigtable \ V2 \ Type \ TimestampMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ unix_micros_int64 |
Google\Cloud\Bigtable\V2\Type\Int64\Encoding
Encodes the number of microseconds since the Unix epoch using the given |
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()withChronoUnit.MICROS
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Bigtable\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()withChronoUnit.MICROS
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Bigtable\V2\Type\Int64\Encoding
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEncoding
| Returns | |
|---|---|
| Type | Description |
string |
|