Cloud Bigtable V2 Client - Class TimestampOrigin (2.29.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class TimestampOrigin.

Represents the origin of the timestamp in the mutation.

Protobuf type google.bigtable.v2.Mutation.TimestampOrigin

Namespace

Google \ Cloud \ Bigtable \ V2 \ Mutation

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TIMESTAMP_ORIGIN_UNSPECIFIED

Value: 0

Default value. Should not be explicitly set.

Generated from protobuf enum TIMESTAMP_ORIGIN_UNSPECIFIED = 0;

USER_SPECIFIED

Value: 1

Indicates that the timestamp was explicitly provided by the user (either >0 or -1 for server-assigned).

The server will reject the mutation if the timestamp's precision does not match the table's granularity. (e.g., a millisecond table only allows timestamps that are multiples of 1000).

Generated from protobuf enum USER_SPECIFIED = 1;

CLIENT_AUTO_GENERATED

Value: 2

Indicates that the timestamp was auto-generated by the client library.

The server will truncate the timestamp's precision to match the table's granularity. (e.g., zeroing the last 3 digits for a millisecond table).

Generated from protobuf enum CLIENT_AUTO_GENERATED = 2;