Class: Protobuf::Field::Int32Field

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

Direct Known Subclasses

Sfixed32Field

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, #message_class, #name, #rule, #tag, #type

Class Method Summary collapse

Methods inherited from IntegerField

#decode, #encode

Methods inherited from VarintField

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

Methods inherited from BaseField

#acceptable?, #clear, default, #default_value, descriptor, #descriptor, #error_message, #get, #initialize, #initialized?, #max, #merge, #merge_array, #merge_value, #min, #optional?, #ready?, #repeated?, #required?, #set, #to_s, #typed_default_value

Constructor Details

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

Class Method Details

.maxObject



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

def self.max; INT32_MAX; end

.minObject



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

def self.min; INT32_MIN; end