Searched refs:_FieldDescriptor (Results 1 – 2 of 2) sorted by relevance
59 _FieldDescriptor = descriptor.FieldDescriptor variable74 if (field.cpp_type == _FieldDescriptor.CPPTYPE_STRING and75 field.type == _FieldDescriptor.TYPE_STRING):77 if field.cpp_type == _FieldDescriptor.CPPTYPE_ENUM:80 return _VALUE_CHECKERS[_FieldDescriptor.CPPTYPE_INT32]221 _FieldDescriptor.CPPTYPE_INT32: Int32ValueChecker(),222 _FieldDescriptor.CPPTYPE_INT64: Int64ValueChecker(),223 _FieldDescriptor.CPPTYPE_UINT32: Uint32ValueChecker(),224 _FieldDescriptor.CPPTYPE_UINT64: Uint64ValueChecker(),225 _FieldDescriptor.CPPTYPE_DOUBLE: TypeCheckerWithDefault([all …]
82 _FieldDescriptor = descriptor_mod.FieldDescriptor variable232 if not isinstance(extension_handle, _FieldDescriptor):274 field.type == _FieldDescriptor.TYPE_MESSAGE and275 field.label == _FieldDescriptor.LABEL_OPTIONAL)279 return (field.type == _FieldDescriptor.TYPE_MESSAGE and286 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE290 is_repeated = (field_descriptor.label == _FieldDescriptor.LABEL_REPEATED)325 if (decode_type == _FieldDescriptor.TYPE_ENUM and327 decode_type = _FieldDescriptor.TYPE_INT32378 if field.label != _FieldDescriptor.LABEL_REPEATED:[all …]