Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::TestUtil::ReflectionTester Class Reference

#include <test_util.h>

Public Types

enum  MessageReleaseState {
  IS_NULL, CAN_BE_NULL, NOT_NULL, IS_NULL,
  CAN_BE_NULL, NOT_NULL
}
 
enum  MessageReleaseState {
  IS_NULL, CAN_BE_NULL, NOT_NULL, IS_NULL,
  CAN_BE_NULL, NOT_NULL
}
 

Public Member Functions

void ExpectAllFieldsSetViaReflection (const Message &message)
 
void ExpectAllFieldsSetViaReflection (const Message &message)
 
void ExpectClearViaReflection (const Message &message)
 
void ExpectClearViaReflection (const Message &message)
 
void ExpectMessagesReleasedViaReflection (Message *message, MessageReleaseState expected_release_state)
 
void ExpectMessagesReleasedViaReflection (Message *message, MessageReleaseState expected_release_state)
 
void ExpectPackedFieldsSetViaReflection (const Message &message)
 
void ExpectPackedFieldsSetViaReflection (const Message &message)
 
void ModifyRepeatedFieldsViaReflection (Message *message)
 
void ModifyRepeatedFieldsViaReflection (Message *message)
 
 ReflectionTester (const Descriptor *base_descriptor)
 
 ReflectionTester (const Descriptor *base_descriptor)
 
void ReleaseLastRepeatedsViaReflection (Message *message, bool expect_extensions_notnull)
 
void ReleaseLastRepeatedsViaReflection (Message *message, bool expect_extensions_notnull)
 
void RemoveLastRepeatedsViaReflection (Message *message)
 
void RemoveLastRepeatedsViaReflection (Message *message)
 
void SetAllFieldsViaReflection (Message *message)
 
void SetAllFieldsViaReflection (Message *message)
 
void SetAllocatedOptionalMessageFieldsToNullViaReflection (Message *message)
 
void SetAllocatedOptionalMessageFieldsToNullViaReflection (Message *message)
 
void SetPackedFieldsViaReflection (Message *message)
 
void SetPackedFieldsViaReflection (Message *message)
 
void SwapRepeatedsViaReflection (Message *message)
 
void SwapRepeatedsViaReflection (Message *message)
 

Static Public Member Functions

static void ExpectOneofSetViaReflection (const Message &message)
 
static void ExpectOneofSetViaReflection (const Message &message)
 
static void SetAllocatedOptionalMessageFieldsToMessageViaReflection (Message *from_message, Message *to_message)
 
static void SetAllocatedOptionalMessageFieldsToMessageViaReflection (Message *from_message, Message *to_message)
 
static void SetOneofViaReflection (Message *message)
 
static void SetOneofViaReflection (Message *message)
 

Private Member Functions

void ExpectAllFieldsSetViaReflection1 (const Message &message)
 
void ExpectAllFieldsSetViaReflection1 (const Message &message)
 
void ExpectAllFieldsSetViaReflection2 (const Message &message)
 
void ExpectAllFieldsSetViaReflection2 (const Message &message)
 
void ExpectAllFieldsSetViaReflection3 (const Message &message)
 
void ExpectAllFieldsSetViaReflection3 (const Message &message)
 
const FieldDescriptorF (const std::string &name)
 
const FieldDescriptorF (const std::string &name)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ReflectionTester)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (ReflectionTester)
 

Private Attributes

const Descriptorbase_descriptor_
 
const EnumValueDescriptorforeign_bar_
 
const EnumValueDescriptorforeign_baz_
 
const FieldDescriptorforeign_c_
 
const EnumValueDescriptorforeign_foo_
 
const FieldDescriptorgroup_a_
 
const EnumValueDescriptorimport_bar_
 
const EnumValueDescriptorimport_baz_
 
const FieldDescriptorimport_d_
 
const FieldDescriptorimport_e_
 
const EnumValueDescriptorimport_foo_
 
const FieldDescriptornested_b_
 
const EnumValueDescriptornested_bar_
 
const EnumValueDescriptornested_baz_
 
const EnumValueDescriptornested_foo_
 
const FieldDescriptorrepeated_group_a_
 

Detailed Description

Definition at line 57 of file bloaty/third_party/protobuf/src/google/protobuf/test_util.h.

Member Enumeration Documentation

◆ MessageReleaseState [1/2]

Enumerator
IS_NULL 
CAN_BE_NULL 
NOT_NULL 
IS_NULL 
CAN_BE_NULL 
NOT_NULL 

Definition at line 82 of file bloaty/third_party/protobuf/src/google/protobuf/test_util.h.

◆ MessageReleaseState [2/2]

Enumerator
IS_NULL 
CAN_BE_NULL 
NOT_NULL 
IS_NULL 
CAN_BE_NULL 
NOT_NULL 

Definition at line 82 of file protobuf/src/google/protobuf/test_util.h.

Constructor & Destructor Documentation

◆ ReflectionTester() [1/2]

google::protobuf::TestUtil::ReflectionTester::ReflectionTester ( const Descriptor base_descriptor)
inlineexplicit

◆ ReflectionTester() [2/2]

google::protobuf::TestUtil::ReflectionTester::ReflectionTester ( const Descriptor base_descriptor)
explicit

Member Function Documentation

◆ ExpectAllFieldsSetViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection ( const Message message)
inline

◆ ExpectAllFieldsSetViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection ( const Message message)

◆ ExpectAllFieldsSetViaReflection1() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection1 ( const Message message)
private

◆ ExpectAllFieldsSetViaReflection1() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection1 ( const Message message)
inlineprivate

◆ ExpectAllFieldsSetViaReflection2() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection2 ( const Message message)
inlineprivate

◆ ExpectAllFieldsSetViaReflection2() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection2 ( const Message message)
private

◆ ExpectAllFieldsSetViaReflection3() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection3 ( const Message message)
inlineprivate

◆ ExpectAllFieldsSetViaReflection3() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectAllFieldsSetViaReflection3 ( const Message message)
private

◆ ExpectClearViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectClearViaReflection ( const Message message)
inline

◆ ExpectClearViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectClearViaReflection ( const Message message)

◆ ExpectMessagesReleasedViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectMessagesReleasedViaReflection ( Message message,
MessageReleaseState  expected_release_state 
)
inline

◆ ExpectMessagesReleasedViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectMessagesReleasedViaReflection ( Message message,
MessageReleaseState  expected_release_state 
)

◆ ExpectOneofSetViaReflection() [1/2]

static void google::protobuf::TestUtil::ReflectionTester::ExpectOneofSetViaReflection ( const Message message)
static

◆ ExpectOneofSetViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectOneofSetViaReflection ( const Message message)
inlinestatic

◆ ExpectPackedFieldsSetViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectPackedFieldsSetViaReflection ( const Message message)
inline

◆ ExpectPackedFieldsSetViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ExpectPackedFieldsSetViaReflection ( const Message message)

◆ F() [1/2]

const FieldDescriptor* google::protobuf::TestUtil::ReflectionTester::F ( const std::string &  name)
private

◆ F() [2/2]

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::F ( const std::string &  name)
inlineprivate

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::TestUtil::ReflectionTester::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ReflectionTester  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::TestUtil::ReflectionTester::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( ReflectionTester  )
private

◆ ModifyRepeatedFieldsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ModifyRepeatedFieldsViaReflection ( Message message)

◆ ModifyRepeatedFieldsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ModifyRepeatedFieldsViaReflection ( Message message)
inline

◆ ReleaseLastRepeatedsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::ReleaseLastRepeatedsViaReflection ( Message message,
bool  expect_extensions_notnull 
)
inline

◆ ReleaseLastRepeatedsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::ReleaseLastRepeatedsViaReflection ( Message message,
bool  expect_extensions_notnull 
)

◆ RemoveLastRepeatedsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::RemoveLastRepeatedsViaReflection ( Message message)

◆ RemoveLastRepeatedsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::RemoveLastRepeatedsViaReflection ( Message message)
inline

◆ SetAllFieldsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::SetAllFieldsViaReflection ( Message message)

◆ SetAllFieldsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::SetAllFieldsViaReflection ( Message message)
inline

◆ SetAllocatedOptionalMessageFieldsToMessageViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::SetAllocatedOptionalMessageFieldsToMessageViaReflection ( Message from_message,
Message to_message 
)
inlinestatic

◆ SetAllocatedOptionalMessageFieldsToMessageViaReflection() [2/2]

static void google::protobuf::TestUtil::ReflectionTester::SetAllocatedOptionalMessageFieldsToMessageViaReflection ( Message from_message,
Message to_message 
)
static

◆ SetAllocatedOptionalMessageFieldsToNullViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::SetAllocatedOptionalMessageFieldsToNullViaReflection ( Message message)
inline

◆ SetAllocatedOptionalMessageFieldsToNullViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::SetAllocatedOptionalMessageFieldsToNullViaReflection ( Message message)

◆ SetOneofViaReflection() [1/2]

static void google::protobuf::TestUtil::ReflectionTester::SetOneofViaReflection ( Message message)
static

◆ SetOneofViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::SetOneofViaReflection ( Message message)
inlinestatic

◆ SetPackedFieldsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::SetPackedFieldsViaReflection ( Message message)

◆ SetPackedFieldsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::SetPackedFieldsViaReflection ( Message message)
inline

◆ SwapRepeatedsViaReflection() [1/2]

void google::protobuf::TestUtil::ReflectionTester::SwapRepeatedsViaReflection ( Message message)
inline

◆ SwapRepeatedsViaReflection() [2/2]

void google::protobuf::TestUtil::ReflectionTester::SwapRepeatedsViaReflection ( Message message)

Member Data Documentation

◆ base_descriptor_

const Descriptor * google::protobuf::TestUtil::ReflectionTester::base_descriptor_
private

◆ foreign_bar_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::foreign_bar_
private

◆ foreign_baz_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::foreign_baz_
private

◆ foreign_c_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::foreign_c_
private

◆ foreign_foo_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::foreign_foo_
private

◆ group_a_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::group_a_
private

◆ import_bar_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::import_bar_
private

◆ import_baz_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::import_baz_
private

◆ import_d_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::import_d_
private

◆ import_e_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::import_e_
private

◆ import_foo_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::import_foo_
private

◆ nested_b_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::nested_b_
private

◆ nested_bar_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::nested_bar_
private

◆ nested_baz_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::nested_baz_
private

◆ nested_foo_

const EnumValueDescriptor * google::protobuf::TestUtil::ReflectionTester::nested_foo_
private

◆ repeated_group_a_

const FieldDescriptor * google::protobuf::TestUtil::ReflectionTester::repeated_group_a_
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:28