template <typename Type>

class MessageTypeTraits

Defined at line 1640 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 1645 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

ConstType Get (Arena * arena, int number, const ExtensionSet & set, ConstType default_value)

Defined at line 1651 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

std::nullptr_t GetPtr (int , const ExtensionSet & , ConstType )

Defined at line 1657 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

MutableType Mutable (Arena * arena, int number, FieldType field_type, ExtensionSet * set)

Defined at line 1663 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

void SetAllocated (Arena * arena, int number, FieldType field_type, MutableType message, ExtensionSet * set)

Defined at line 1668 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

void UnsafeArenaSetAllocated (Arena * arena, int number, FieldType field_type, MutableType message, ExtensionSet * set)

Defined at line 1673 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

MutableType Release (Arena * arena, int number, FieldType , ExtensionSet * set)

Defined at line 1680 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h

MutableType UnsafeArenaRelease (Arena * arena, int number, FieldType , ExtensionSet * set)

Defined at line 1686 of file ../../third_party/protobuf/src/src/google/protobuf/extension_set.h