Class: Google::Cloud::Bigtable::Admin::V2::Type::Int64

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/admin/v2/types.rb

Overview

Int64 Values of type Int64 are stored in Value.int_value.

Defined Under Namespace

Classes: Encoding

Instance Attribute Summary collapse

Instance Attribute Details

#encoding::Google::Cloud::Bigtable::Admin::V2::Type::Int64::Encoding

Returns The encoding to use when converting to/from lower level types.

Returns:



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'proto_docs/google/bigtable/admin/v2/types.rb', line 100

class Int64
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Rules used to convert to/from lower level types.
  # @!attribute [rw] big_endian_bytes
  #   @return [::Google::Cloud::Bigtable::Admin::V2::Type::Int64::Encoding::BigEndianBytes]
  #     Use `BigEndianBytes` encoding.
  class Encoding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Encodes the value as an 8-byte big endian twos complement `Bytes`
    # value.
    # * Natural sort? No (positive values only)
    # * Self-delimiting? Yes
    # * Compatibility?
    #    - BigQuery Federation `BINARY` encoding
    #    - HBase `Bytes.toBytes`
    #    - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`
    # @!attribute [rw] bytes_type
    #   @return [::Google::Cloud::Bigtable::Admin::V2::Type::Bytes]
    #     The underlying `Bytes` type, which may be able to encode further.
    class BigEndianBytes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end