template <typename Type>
class MessageTypeTraits
Defined at line 1472 of file ../../third_party/protobuf/src/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/src/google/protobuf/extension_set.h
ConstType Get (intnumber,const ExtensionSet &set,ConstTypedefault_value)
Defined at line 1483 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
std::nullptr_t GetPtr (int,const ExtensionSet &,ConstType)
Defined at line 1487 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
MutableType Mutable (intnumber,FieldTypefield_type,ExtensionSet *set)
Defined at line 1493 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
void SetAllocated (intnumber,FieldTypefield_type,MutableTypemessage,ExtensionSet *set)
Defined at line 1498 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
void UnsafeArenaSetAllocated (intnumber,FieldTypefield_type,MutableTypemessage,ExtensionSet *set)
Defined at line 1502 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
MutableType Release (intnumber,FieldType,ExtensionSet *set)
Defined at line 1507 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h
MutableType UnsafeArenaRelease (intnumber,FieldType,ExtensionSet *set)
Defined at line 1512 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h