Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::DescriptorBuilder::OptionInterpreter Class Reference

Classes

class  AggregateOptionFinder
 

Public Member Functions

bool InterpretOptions (OptionsToInterpret *options_to_interpret)
 
bool InterpretOptions (OptionsToInterpret *options_to_interpret)
 
 OptionInterpreter (DescriptorBuilder *builder)
 
 OptionInterpreter (DescriptorBuilder *builder)
 
void UpdateSourceCodeInfo (SourceCodeInfo *info)
 
void UpdateSourceCodeInfo (SourceCodeInfo *info)
 
 ~OptionInterpreter ()
 
 ~OptionInterpreter ()
 

Private Member Functions

bool AddNameError (const std::string &msg)
 
bool AddNameError (const std::string &msg)
 
bool AddOptionError (DescriptorPool::ErrorCollector::ErrorLocation location, const std::string &msg)
 
bool AddOptionError (DescriptorPool::ErrorCollector::ErrorLocation location, const std::string &msg)
 
bool AddValueError (const std::string &msg)
 
bool AddValueError (const std::string &msg)
 
void AddWithoutInterpreting (const UninterpretedOption &uninterpreted_option, Message *options)
 
void AddWithoutInterpreting (const UninterpretedOption &uninterpreted_option, Message *options)
 
bool ExamineIfOptionIsSet (std::vector< const FieldDescriptor * >::const_iterator intermediate_fields_iter, std::vector< const FieldDescriptor * >::const_iterator intermediate_fields_end, const FieldDescriptor *innermost_field, const std::string &debug_msg_name, const UnknownFieldSet &unknown_fields)
 
bool ExamineIfOptionIsSet (std::vector< const FieldDescriptor * >::const_iterator intermediate_fields_iter, std::vector< const FieldDescriptor * >::const_iterator intermediate_fields_end, const FieldDescriptor *innermost_field, const std::string &debug_msg_name, const UnknownFieldSet &unknown_fields)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OptionInterpreter)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OptionInterpreter)
 
bool InterpretSingleOption (Message *options, const std::vector< int > &src_path, const std::vector< int > &options_path)
 
bool InterpretSingleOption (Message *options, const std::vector< int > &src_path, const std::vector< int > &options_path)
 
bool SetAggregateOption (const FieldDescriptor *option_field, UnknownFieldSet *unknown_fields)
 
bool SetAggregateOption (const FieldDescriptor *option_field, UnknownFieldSet *unknown_fields)
 
void SetInt32 (int number, int32 value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetInt32 (int number, int32_t value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetInt64 (int number, int64 value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetInt64 (int number, int64_t value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
bool SetOptionValue (const FieldDescriptor *option_field, UnknownFieldSet *unknown_fields)
 
bool SetOptionValue (const FieldDescriptor *option_field, UnknownFieldSet *unknown_fields)
 
void SetUInt32 (int number, uint32 value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetUInt32 (int number, uint32_t value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetUInt64 (int number, uint64 value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 
void SetUInt64 (int number, uint64_t value, FieldDescriptor::Type type, UnknownFieldSet *unknown_fields)
 

Private Attributes

DescriptorBuilderbuilder_
 
DynamicMessageFactory dynamic_factory_
 
std::map< std::vector< int >, std::vector< int > > interpreted_paths_
 
const OptionsToInterpret * options_to_interpret_
 
std::map< std::vector< int >, intrepeated_option_counts_
 
const UninterpretedOptionuninterpreted_option_
 

Detailed Description

Definition at line 3341 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.cc.

Constructor & Destructor Documentation

◆ OptionInterpreter() [1/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::OptionInterpreter ( DescriptorBuilder builder)
explicit

◆ ~OptionInterpreter() [1/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::~OptionInterpreter ( )

◆ OptionInterpreter() [2/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::OptionInterpreter ( DescriptorBuilder builder)
explicit

◆ ~OptionInterpreter() [2/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::~OptionInterpreter ( )

Member Function Documentation

◆ AddNameError() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddNameError ( const std::string &  msg)
inlineprivate

◆ AddNameError() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddNameError ( const std::string &  msg)
inlineprivate

Definition at line 4030 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AddOptionError() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddOptionError ( DescriptorPool::ErrorCollector::ErrorLocation  location,
const std::string &  msg 
)
inlineprivate

◆ AddOptionError() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddOptionError ( DescriptorPool::ErrorCollector::ErrorLocation  location,
const std::string &  msg 
)
inlineprivate

Definition at line 4021 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AddValueError() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddValueError ( const std::string &  msg)
inlineprivate

◆ AddValueError() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::AddValueError ( const std::string &  msg)
inlineprivate

Definition at line 4040 of file protobuf/src/google/protobuf/descriptor.cc.

◆ AddWithoutInterpreting() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::AddWithoutInterpreting ( const UninterpretedOption uninterpreted_option,
Message options 
)
private

◆ AddWithoutInterpreting() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::AddWithoutInterpreting ( const UninterpretedOption uninterpreted_option,
Message options 
)
private

◆ ExamineIfOptionIsSet() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::ExamineIfOptionIsSet ( std::vector< const FieldDescriptor * >::const_iterator  intermediate_fields_iter,
std::vector< const FieldDescriptor * >::const_iterator  intermediate_fields_end,
const FieldDescriptor innermost_field,
const std::string &  debug_msg_name,
const UnknownFieldSet unknown_fields 
)
private

◆ ExamineIfOptionIsSet() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::ExamineIfOptionIsSet ( std::vector< const FieldDescriptor * >::const_iterator  intermediate_fields_iter,
std::vector< const FieldDescriptor * >::const_iterator  intermediate_fields_end,
const FieldDescriptor innermost_field,
const std::string &  debug_msg_name,
const UnknownFieldSet unknown_fields 
)
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OptionInterpreter  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::DescriptorBuilder::OptionInterpreter::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OptionInterpreter  )
private

◆ InterpretOptions() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::InterpretOptions ( OptionsToInterpret *  options_to_interpret)

◆ InterpretOptions() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::InterpretOptions ( OptionsToInterpret *  options_to_interpret)

◆ InterpretSingleOption() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::InterpretSingleOption ( Message options,
const std::vector< int > &  src_path,
const std::vector< int > &  options_path 
)
private

◆ InterpretSingleOption() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::InterpretSingleOption ( Message options,
const std::vector< int > &  src_path,
const std::vector< int > &  options_path 
)
private

◆ SetAggregateOption() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::SetAggregateOption ( const FieldDescriptor option_field,
UnknownFieldSet unknown_fields 
)
private

◆ SetAggregateOption() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::SetAggregateOption ( const FieldDescriptor option_field,
UnknownFieldSet unknown_fields 
)
private

◆ SetInt32() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetInt32 ( int  number,
int32  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetInt32() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetInt32 ( int  number,
int32_t  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetInt64() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetInt64 ( int  number,
int64  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetInt64() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetInt64 ( int  number,
int64_t  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetOptionValue() [1/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::SetOptionValue ( const FieldDescriptor option_field,
UnknownFieldSet unknown_fields 
)
private

◆ SetOptionValue() [2/2]

bool google::protobuf::DescriptorBuilder::OptionInterpreter::SetOptionValue ( const FieldDescriptor option_field,
UnknownFieldSet unknown_fields 
)
private

◆ SetUInt32() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetUInt32 ( int  number,
uint32  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetUInt32() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetUInt32 ( int  number,
uint32_t  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetUInt64() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetUInt64 ( int  number,
uint64  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ SetUInt64() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::SetUInt64 ( int  number,
uint64_t  value,
FieldDescriptor::Type  type,
UnknownFieldSet unknown_fields 
)
private

◆ UpdateSourceCodeInfo() [1/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::UpdateSourceCodeInfo ( SourceCodeInfo info)

◆ UpdateSourceCodeInfo() [2/2]

void google::protobuf::DescriptorBuilder::OptionInterpreter::UpdateSourceCodeInfo ( SourceCodeInfo info)

Member Data Documentation

◆ builder_

DescriptorBuilder * google::protobuf::DescriptorBuilder::OptionInterpreter::builder_
private

◆ dynamic_factory_

DynamicMessageFactory google::protobuf::DescriptorBuilder::OptionInterpreter::dynamic_factory_
private

◆ interpreted_paths_

std::map< std::vector< int >, std::vector< int > > google::protobuf::DescriptorBuilder::OptionInterpreter::interpreted_paths_
private

◆ options_to_interpret_

const OptionsToInterpret * google::protobuf::DescriptorBuilder::OptionInterpreter::options_to_interpret_
private

◆ repeated_option_counts_

std::map< std::vector< int >, int > google::protobuf::DescriptorBuilder::OptionInterpreter::repeated_option_counts_
private

◆ uninterpreted_option_

const UninterpretedOption * google::protobuf::DescriptorBuilder::OptionInterpreter::uninterpreted_option_
private

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


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