Class: Protobuf::Field::Uint32Field

Inherits:
VarintField show all
Defined in:
lib/protobuf/message/field.rb

Direct Known Subclasses

Fixed32Field

Constant Summary

Constants inherited from VarintField

VarintField::INT32_MAX, VarintField::INT32_MIN, VarintField::INT64_MAX, VarintField::INT64_MIN, VarintField::UINT32_MAX, VarintField::UINT64_MAX

Instance Attribute Summary

Attributes inherited from BaseField

#default, #default_value, #message_class, #name, #rule, #tag, #type

Class Method Summary collapse

Methods inherited from VarintField

#acceptable?, decode, #decode, default, encode, #encode, #wire_type

Methods inherited from BaseField

#acceptable?, #decode, default, descriptor, #descriptor, #encode, #initialize, #initialized?, #max, #merge, #min, #optional?, #packed?, #ready?, #repeated?, #required?, #set, #to_s

Constructor Details

This class inherits a constructor from Protobuf::Field::BaseField

Class Method Details

.maxObject



437
# File 'lib/protobuf/message/field.rb', line 437

def self.max; UINT32_MAX; end

.minObject



438
# File 'lib/protobuf/message/field.rb', line 438

def self.min; 0; end