Class: Google::Cloud::Bigtable::V2::Type::Timestamp
- Inherits:
-
Object
- Object
- Google::Cloud::Bigtable::V2::Type::Timestamp
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/bigtable/v2/types.rb
Overview
Timestamp
Values of type Timestamp are stored in Value.timestamp_value.
Defined Under Namespace
Classes: Encoding
Instance Attribute Summary collapse
-
#encoding ⇒ ::Google::Cloud::Bigtable::V2::Type::Timestamp::Encoding
The encoding to use when converting to or from lower level types.
Instance Attribute Details
#encoding ⇒ ::Google::Cloud::Bigtable::V2::Type::Timestamp::Encoding
Returns The encoding to use when converting to or from lower level types.
303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 |
# File 'proto_docs/google/bigtable/v2/types.rb', line 303 class Timestamp include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Rules used to convert to or from lower level types. # @!attribute [rw] unix_micros_int64 # @return [::Google::Cloud::Bigtable::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` class Encoding include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |