Class: Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64Encoding
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
Rules used to convert to/from lower level types.
Instance Attribute Summary collapse
-
#big_endian_bytes ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
Encodes the value as an 8-byte big endian twos complement
Bytes
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeInt64Encoding
constructor
A new instance of GoogleBigtableAdminV2TypeInt64Encoding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleBigtableAdminV2TypeInt64Encoding
Returns a new instance of GoogleBigtableAdminV2TypeInt64Encoding.
1938 1939 1940 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1938 def initialize(**args) update!(**args) end |
Instance Attribute Details
#big_endian_bytes ⇒ Google::Apis::BigtableadminV2::GoogleBigtableAdminV2TypeInt64EncodingBigEndianBytes
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()
withByteOrder.BIG_ENDIAN
Corresponds to the JSON propertybigEndianBytes
1936 1937 1938 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1936 def big_endian_bytes @big_endian_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1943 1944 1945 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1943 def update!(**args) @big_endian_bytes = args[:big_endian_bytes] if args.key?(:big_endian_bytes) end |