template <typename Type>
class MessageTypeTraits
Defined at line 1472 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
ExtensionSet guarantees that when manipulating extensions with message
types, the implementation used will be the compiled-in class representing
that type. So, we can static_cast down to the exact type we expect.
Public Members
static const bool kLifetimeBound
Public Methods
ConstType FromInitType (InitType v)
Defined at line 1477 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
ConstType Get (int number, const ExtensionSet & set, ConstType default_value)
Defined at line 1483 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
std::nullptr_t GetPtr (int , const ExtensionSet & , ConstType )
Defined at line 1487 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
MutableType Mutable (int number, FieldType field_type, ExtensionSet * set)
Defined at line 1493 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
void SetAllocated (int number, FieldType field_type, MutableType message, ExtensionSet * set)
Defined at line 1498 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
void UnsafeArenaSetAllocated (int number, FieldType field_type, MutableType message, ExtensionSet * set)
Defined at line 1502 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
MutableType Release (int number, FieldType , ExtensionSet * set)
Defined at line 1507 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h
MutableType UnsafeArenaRelease (int number, FieldType , ExtensionSet * set)
Defined at line 1512 of file ../../third_party/protobuf/src/google/protobuf/extension_set.h