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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/bigtable/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::V2::Type::Int64::Encoding

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

Returns:



163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/bigtable/v2/types.rb', line 163

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::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.
    # * Order-preserving? 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::V2::Type::Bytes]
    #     Deprecated: ignored if set.
    class BigEndianBytes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end