Class: Google::Apis::DataflowV1b3::SplitInt64

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb

Overview

A representation of an int64, n, that is immune to precision loss when encoded in JSON.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SplitInt64

Returns a new instance of SplitInt64.



1634
1635
1636
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1634

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#high_bitsFixnum

The high order bits, including the sign: n >> 32. Corresponds to the JSON property highBits

Returns:

  • (Fixnum)


1632
1633
1634
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1632

def high_bits
  @high_bits
end

#low_bitsFixnum

The low order bits: n & 0xffffffff. Corresponds to the JSON property lowBits

Returns:

  • (Fixnum)


1627
1628
1629
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1627

def low_bits
  @low_bits
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1639
1640
1641
1642
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1639

def update!(**args)
  @low_bits = args[:low_bits] if args.key?(:low_bits)
  @high_bits = args[:high_bits] if args.key?(:high_bits)
end