Class: Google::Apis::DataflowV1b3::SplitInt64
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DataflowV1b3::SplitInt64
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataflow_v1b3/classes.rb,
 lib/google/apis/dataflow_v1b3/representations.rb,
 lib/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
- 
  
    
      #high_bits  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The high order bits, including the sign: n >> 32. 
- 
  
    
      #low_bits  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The low order bits: n & 0xffffffff. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SplitInt64 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SplitInt64. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ SplitInt64
Returns a new instance of SplitInt64.
| 5620 5621 5622 | # File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5620 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#high_bits ⇒ Fixnum
The high order bits, including the sign: n >> 32.
Corresponds to the JSON property highBits
| 5613 5614 5615 | # File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5613 def high_bits @high_bits end | 
#low_bits ⇒ Fixnum
The low order bits: n & 0xffffffff.
Corresponds to the JSON property lowBits
| 5618 5619 5620 | # File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5618 def low_bits @low_bits end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5625 5626 5627 5628 | # File 'lib/google/apis/dataflow_v1b3/classes.rb', line 5625 def update!(**args) @high_bits = args[:high_bits] if args.key?(:high_bits) @low_bits = args[:low_bits] if args.key?(:low_bits) end |