Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_REFLECTION_TESTER_H__
32 #define GOOGLE_PROTOBUF_REFLECTION_TESTER_H__
34 #include <google/protobuf/message.h>
37 #include <google/protobuf/port_def.inc>
43 class MapReflectionTester {
64 const MapKey& map_key, MapValueRef* map_val);
120 #include <google/protobuf/port_undef.inc>
122 #endif // GOOGLE_PROTOBUF_REFLECTION_TESTER_H__
const FieldDescriptor * map_int32_foreign_message_key_
const FieldDescriptor * F(const std::string &name)
const EnumValueDescriptor * map_enum_bar_
const FieldDescriptor * map_bool_bool_val_
const FieldDescriptor * map_fixed64_fixed64_key_
const FieldDescriptor * map_sint64_sint64_val_
const FieldDescriptor * map_bool_bool_key_
const FieldDescriptor * map_int32_float_val_
const FieldDescriptor * map_sfixed32_sfixed32_key_
Message * GetMapEntryViaReflection(Message *message, const std::string &field_name, int index)
const EnumValueDescriptor * map_enum_foo_
const Descriptor * base_descriptor_
void SetMapFieldsViaReflection(Message *message)
const FieldDescriptor * map_sfixed64_sfixed64_key_
const FieldDescriptor * map_int32_double_key_
void SwapMapsViaReflection(Message *message)
void ExpectMapFieldsSetViaReflection(const Message &message)
const FieldDescriptor * map_string_string_key_
void RemoveLastMapsViaReflection(Message *message)
void MutableUnknownFieldsOfMapFieldsViaReflection(Message *message)
const FieldDescriptor * map_int32_bytes_key_
void ExpectMapFieldsSetViaReflectionIterator(Message *message)
void ModifyMapFieldsViaReflection(Message *message)
MapIterator MapBegin(Message *message, const std::string &field_name)
const FieldDescriptor * map_int32_foreign_message_val_
void SetMapFieldsViaMapReflection(Message *message)
const FieldDescriptor * map_int32_int32_val_
void ReleaseLastMapsViaReflection(Message *message)
const FieldDescriptor * map_fixed64_fixed64_val_
const FieldDescriptor * map_int32_enum_key_
const FieldDescriptor * map_string_string_val_
const EnumValueDescriptor * map_enum_baz_
MapReflectionTester(const Descriptor *base_descriptor)
const FieldDescriptor * map_uint64_uint64_key_
const FieldDescriptor * map_sfixed32_sfixed32_val_
int MapSize(const Message &message, const std::string &field_name)
const FieldDescriptor * map_sfixed64_sfixed64_val_
const FieldDescriptor * map_int64_int64_val_
void GetMapValueViaMapReflection(Message *message, const std::string &field_name, const MapKey &map_key, MapValueRef *map_val)
void ExpectClearViaReflection(const Message &message)
const FieldDescriptor * map_sint32_sint32_val_
const FieldDescriptor * map_fixed32_fixed32_key_
const FieldDescriptor * map_int64_int64_key_
const FieldDescriptor * map_int32_bytes_val_
const FieldDescriptor * map_int32_int32_key_
const FieldDescriptor * map_sint64_sint64_key_
const FieldDescriptor * map_int32_float_key_
MapIterator MapEnd(Message *message, const std::string &field_name)
const FieldDescriptor * map_sint32_sint32_key_
const FieldDescriptor * map_int32_double_val_
const FieldDescriptor * foreign_c_
const FieldDescriptor * map_uint64_uint64_val_
void ExpectClearViaReflectionIterator(Message *message)
const FieldDescriptor * map_uint32_uint32_key_
const FieldDescriptor * map_fixed32_fixed32_val_
const FieldDescriptor * map_int32_enum_val_
void ClearMapFieldsViaReflection(Message *message)
const FieldDescriptor * map_uint32_uint32_val_
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:08