class_docstr: Checker used for integer fields.  Performs type-check and range check.
code: def CheckValue(self, proposed_value):
      if not isinstance(proposed_value, numbers.Integral):
          message = "%.1024r has type %s, but expected one of: %s" % (
              proposed_value,
              type(proposed_value),
              six.integer_types,
          )
          raise TypeError(message)
      if not self._MIN <= int(proposed_value) <= self._MAX:
          raise ValueError("Value out of range: %d" % proposed_value)
      # We force 32-bit values to int and 64-bit values to long to make
      # alternate implementations where the distinction is more significant
      # (e.g. the C++ implementation) simpler.
      proposed_value = self._TYPE(proposed_value)
      return proposed_value
  
imports: import numbers
  import six
  from google.protobuf.internal import api_implementation
  from google.protobuf.internal import decoder
  from google.protobuf.internal import encoder
  from google.protobuf.internal import wire_format
  from google.protobuf import descriptor
label_desc: Use image node_id 1 for calling the IntValueChecker obj's underlying member method code with example usage: obj.CheckValue(proposed_value) and returns: proposed_value