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 or from lower level types.

Returns:



225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
# File 'proto_docs/google/bigtable/v2/types.rb', line 225

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

  # Rules used to convert to or from lower level types.
  # @!attribute [rw] big_endian_bytes
  #   @return [::Google::Cloud::Bigtable::V2::Type::Int64::Encoding::BigEndianBytes]
  #     Use `BigEndianBytes` encoding.
  #
  #     Note: The following fields are mutually exclusive: `big_endian_bytes`, `ordered_code_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] ordered_code_bytes
  #   @return [::Google::Cloud::Bigtable::V2::Type::Int64::Encoding::OrderedCodeBytes]
  #     Use `OrderedCodeBytes` encoding.
  #
  #     Note: The following fields are mutually exclusive: `ordered_code_bytes`, `big_endian_bytes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class Encoding
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Encodes the value as an 8-byte big-endian two's complement value.
    #
    # Sorted mode: non-negative values are supported.
    #
    # Distinct mode: all values are supported.
    #
    # Compatible with:
    #
    #  - BigQuery `BINARY` encoding
    #  - HBase `Bytes.toBytes`
    #  - Java `ByteBuffer.putLong()` with `ByteOrder.BIG_ENDIAN`
    # @!attribute [rw] bytes_type
    #   @deprecated This field is deprecated and may be removed in the next major version update.
    #   @return [::Google::Cloud::Bigtable::V2::Type::Bytes]
    #     Deprecated: ignored if set.
    class BigEndianBytes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Encodes the value in a variable length binary format of up to 10 bytes.
    # Values that are closer to zero use fewer bytes.
    #
    # Sorted mode: all values are supported.
    #
    # Distinct mode: all values are supported.
    class OrderedCodeBytes
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end