Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
google::protobuf::util::converter::ProtoWriter Class Reference

#include <proto_writer.h>

Inheritance diagram for google::protobuf::util::converter::ProtoWriter:
Inheritance graph
[legend]

Classes

class  ProtoElement
 
struct  SizeInfo
 

Public Member Functions

void DecrementInvalidDepth ()
 
void DecrementInvalidDepth ()
 
bool done () override
 
bool done () override
 
ProtoWriterEndList () override
 
ProtoWriterEndList () override
 
ProtoWriterEndObject () override
 
ProtoWriterEndObject () override
 
bool ignore_unknown_fields ()
 
bool ignore_unknown_fields ()
 
void IncrementInvalidDepth ()
 
void IncrementInvalidDepth ()
 
int invalid_depth ()
 
int invalid_depth ()
 
ErrorListenerlistener ()
 
ErrorListenerlistener ()
 
const LocationTrackerInterfacelocation ()
 
const LocationTrackerInterfacelocation ()
 
 ProtoWriter (TypeResolver *type_resolver, const google::protobuf::Type &type, strings::ByteSink *output, ErrorListener *listener)
 
 ProtoWriter (TypeResolver *type_resolver, const google::protobuf::Type &type, strings::ByteSink *output, ErrorListener *listener)
 
ProtoWriterRenderBool (StringPiece name, bool value) override
 
ProtoWriterRenderBool (StringPiece name, bool value) override
 
ProtoWriterRenderBytes (StringPiece name, StringPiece value) override
 
ProtoWriterRenderBytes (StringPiece name, StringPiece value) override
 
virtual ProtoWriterRenderDataPiece (StringPiece name, const DataPiece &data)
 
virtual ProtoWriterRenderDataPiece (StringPiece name, const DataPiece &value)
 
ProtoWriterRenderDouble (StringPiece name, double value) override
 
ProtoWriterRenderDouble (StringPiece name, double value) override
 
ProtoWriterRenderFloat (StringPiece name, float value) override
 
ProtoWriterRenderFloat (StringPiece name, float value) override
 
ProtoWriterRenderInt32 (StringPiece name, int32 value) override
 
ProtoWriterRenderInt32 (StringPiece name, int32_t value) override
 
ProtoWriterRenderInt64 (StringPiece name, int64 value) override
 
ProtoWriterRenderInt64 (StringPiece name, int64_t value) override
 
ProtoWriterRenderNull (StringPiece name) override
 
ProtoWriterRenderNull (StringPiece name) override
 
ProtoWriterRenderString (StringPiece name, StringPiece value) override
 
ProtoWriterRenderString (StringPiece name, StringPiece value) override
 
ProtoWriterRenderUint32 (StringPiece name, uint32 value) override
 
ProtoWriterRenderUint32 (StringPiece name, uint32_t value) override
 
ProtoWriterRenderUint64 (StringPiece name, uint64 value) override
 
ProtoWriterRenderUint64 (StringPiece name, uint64_t value) override
 
void set_case_insensitive_enum_parsing (bool case_insensitive_enum_parsing)
 
void set_case_insensitive_enum_parsing (bool case_insensitive_enum_parsing)
 
void set_ignore_unknown_enum_values (bool ignore_unknown_enum_values)
 
void set_ignore_unknown_enum_values (bool ignore_unknown_enum_values)
 
void set_ignore_unknown_fields (bool ignore_unknown_fields)
 
void set_ignore_unknown_fields (bool ignore_unknown_fields)
 
void set_use_json_name_in_missing_fields (bool use_json_name_in_missing_fields)
 
void set_use_lower_camel_for_enums (bool use_lower_camel_for_enums)
 
void set_use_lower_camel_for_enums (bool use_lower_camel_for_enums)
 
ProtoWriterStartList (StringPiece name) override
 
ProtoWriterStartList (StringPiece name) override
 
ProtoWriterStartObject (StringPiece name) override
 
ProtoWriterStartObject (StringPiece name) override
 
io::CodedOutputStreamstream ()
 
io::CodedOutputStreamstream ()
 
const TypeInfotypeinfo ()
 
const TypeInfotypeinfo ()
 
 ~ProtoWriter () override
 
 ~ProtoWriter () override
 
- Public Member Functions inherited from google::protobuf::util::converter::StructuredObjectWriter
virtual ~StructuredObjectWriter ()
 
virtual ~StructuredObjectWriter ()
 
- Public Member Functions inherited from google::protobuf::util::converter::ObjectWriter
void set_use_strict_base64_decoding (bool value)
 
void set_use_strict_base64_decoding (bool value)
 
bool use_strict_base64_decoding () const
 
bool use_strict_base64_decoding () const
 
virtual ~ObjectWriter ()
 
virtual ~ObjectWriter ()
 

Protected Member Functions

const google::protobuf::FieldBeginNamed (StringPiece name, bool is_list)
 
const google::protobuf::FieldBeginNamed (StringPiece name, bool is_list)
 
ProtoElementelement () override
 
ProtoElementelement () override
 
void InvalidName (StringPiece unknown_name, StringPiece message)
 
void InvalidName (StringPiece unknown_name, StringPiece message)
 
void InvalidValue (StringPiece type_name, StringPiece value)
 
void InvalidValue (StringPiece type_name, StringPiece value)
 
bool IsRepeated (const google::protobuf::Field &field)
 
bool IsRepeated (const google::protobuf::Field &field)
 
const google::protobuf::FieldLookup (StringPiece name)
 
const google::protobuf::FieldLookup (StringPiece name)
 
const google::protobuf::TypeLookupType (const google::protobuf::Field *field)
 
const google::protobuf::TypeLookupType (const google::protobuf::Field *field)
 
void MissingField (StringPiece missing_name)
 
void MissingField (StringPiece missing_name)
 
 ProtoWriter (const TypeInfo *typeinfo, const google::protobuf::Type &type, strings::ByteSink *output, ErrorListener *listener)
 
 ProtoWriter (const TypeInfo *typeinfo, const google::protobuf::Type &type, strings::ByteSink *output, ErrorListener *listener)
 
ProtoWriterRenderPrimitiveField (const google::protobuf::Field &field, const google::protobuf::Type &type, const DataPiece &data)
 
ProtoWriterRenderPrimitiveField (const google::protobuf::Field &field, const google::protobuf::Type &type, const DataPiece &value)
 
ProtoWriterStartListField (const google::protobuf::Field &field, const google::protobuf::Type &type)
 
ProtoWriterStartListField (const google::protobuf::Field &field, const google::protobuf::Type &type)
 
ProtoWriterStartObjectField (const google::protobuf::Field &field, const google::protobuf::Type &type)
 
ProtoWriterStartObjectField (const google::protobuf::Field &field, const google::protobuf::Type &type)
 
bool ValidOneof (const google::protobuf::Field &field, StringPiece unnormalized_name)
 
bool ValidOneof (const google::protobuf::Field &field, StringPiece unnormalized_name)
 
void WriteRootMessage ()
 
void WriteRootMessage ()
 
void WriteTag (const google::protobuf::Field &field)
 
void WriteTag (const google::protobuf::Field &field)
 
- Protected Member Functions inherited from google::protobuf::util::converter::StructuredObjectWriter
 StructuredObjectWriter ()
 
 StructuredObjectWriter ()
 
- Protected Member Functions inherited from google::protobuf::util::converter::ObjectWriter
 ObjectWriter ()
 
 ObjectWriter ()
 

Private Member Functions

 GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS (ProtoWriter)
 
 GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS (ProtoWriter)
 

Static Private Member Functions

static util::Status WriteEnum (int field_number, const DataPiece &data, const google::protobuf::Enum *enum_type, io::CodedOutputStream *stream, bool use_lower_camel_for_enums, bool case_insensitive_enum_parsing, bool ignore_unknown_values)
 
static util::Status WriteEnum (int field_number, const DataPiece &data, const google::protobuf::Enum *enum_type, io::CodedOutputStream *stream, bool use_lower_camel_for_enums, bool case_insensitive_enum_parsing, bool ignore_unknown_values)
 

Private Attributes

io::StringOutputStream adapter_
 
std::string buffer_
 
bool case_insensitive_enum_parsing_
 
bool done_
 
std::unique_ptr< ProtoElementelement_
 
bool ignore_unknown_enum_values_
 
bool ignore_unknown_fields_
 
int invalid_depth_
 
ErrorListenerlistener_
 
const google::protobuf::Typemaster_type_
 
strings::ByteSinkoutput_
 
bool own_typeinfo_
 
std::deque< SizeInfosize_insert_
 
std::unique_ptr< io::CodedOutputStreamstream_
 
std::unique_ptr< LocationTrackerInterfacetracker_
 
const TypeInfotypeinfo_
 
bool use_json_name_in_missing_fields_
 
bool use_lower_camel_for_enums_
 

Additional Inherited Members

- Static Public Member Functions inherited from google::protobuf::util::converter::ObjectWriter
static void RenderDataPieceTo (const DataPiece &data, StringPiece name, ObjectWriter *ow)
 
static void RenderDataPieceTo (const DataPiece &data, StringPiece name, ObjectWriter *ow)
 

Detailed Description

Definition at line 67 of file bloaty/third_party/protobuf/src/google/protobuf/util/internal/proto_writer.h.

Constructor & Destructor Documentation

◆ ProtoWriter() [1/4]

google::protobuf::util::converter::ProtoWriter::ProtoWriter ( TypeResolver type_resolver,
const google::protobuf::Type type,
strings::ByteSink output,
ErrorListener listener 
)

◆ ~ProtoWriter() [1/2]

google::protobuf::util::converter::ProtoWriter::~ProtoWriter ( )
override

◆ ProtoWriter() [2/4]

google::protobuf::util::converter::ProtoWriter::ProtoWriter ( const TypeInfo typeinfo,
const google::protobuf::Type type,
strings::ByteSink output,
ErrorListener listener 
)
protected

◆ ProtoWriter() [3/4]

google::protobuf::util::converter::ProtoWriter::ProtoWriter ( TypeResolver type_resolver,
const google::protobuf::Type type,
strings::ByteSink output,
ErrorListener listener 
)

◆ ~ProtoWriter() [2/2]

google::protobuf::util::converter::ProtoWriter::~ProtoWriter ( )
override

◆ ProtoWriter() [4/4]

google::protobuf::util::converter::ProtoWriter::ProtoWriter ( const TypeInfo typeinfo,
const google::protobuf::Type type,
strings::ByteSink output,
ErrorListener listener 
)
protected

Member Function Documentation

◆ BeginNamed() [1/2]

const google::protobuf::Field * google::protobuf::util::converter::ProtoWriter::BeginNamed ( StringPiece  name,
bool  is_list 
)
protected

◆ BeginNamed() [2/2]

const google::protobuf::Field* google::protobuf::util::converter::ProtoWriter::BeginNamed ( StringPiece  name,
bool  is_list 
)
protected

◆ DecrementInvalidDepth() [1/2]

void google::protobuf::util::converter::ProtoWriter::DecrementInvalidDepth ( )
inline

◆ DecrementInvalidDepth() [2/2]

void google::protobuf::util::converter::ProtoWriter::DecrementInvalidDepth ( )
inline

◆ done() [1/2]

bool google::protobuf::util::converter::ProtoWriter::done ( )
inlineoverridevirtual

◆ done() [2/2]

bool google::protobuf::util::converter::ProtoWriter::done ( )
inlineoverridevirtual

◆ element() [1/2]

ProtoElement* google::protobuf::util::converter::ProtoWriter::element ( )
inlineoverrideprotectedvirtual

◆ element() [2/2]

ProtoElement* google::protobuf::util::converter::ProtoWriter::element ( )
inlineoverrideprotectedvirtual

◆ EndList() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::EndList ( )
overridevirtual

◆ EndList() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::EndList ( )
overridevirtual

◆ EndObject() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::EndObject ( )
overridevirtual

◆ EndObject() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::EndObject ( )
overridevirtual

◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS() [1/2]

google::protobuf::util::converter::ProtoWriter::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS ( ProtoWriter  )
private

◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS() [2/2]

google::protobuf::util::converter::ProtoWriter::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS ( ProtoWriter  )
private

◆ ignore_unknown_fields() [1/2]

bool google::protobuf::util::converter::ProtoWriter::ignore_unknown_fields ( )
inline

◆ ignore_unknown_fields() [2/2]

bool google::protobuf::util::converter::ProtoWriter::ignore_unknown_fields ( )
inline

◆ IncrementInvalidDepth() [1/2]

void google::protobuf::util::converter::ProtoWriter::IncrementInvalidDepth ( )
inline

◆ IncrementInvalidDepth() [2/2]

void google::protobuf::util::converter::ProtoWriter::IncrementInvalidDepth ( )
inline

◆ invalid_depth() [1/2]

int google::protobuf::util::converter::ProtoWriter::invalid_depth ( )
inline

◆ invalid_depth() [2/2]

int google::protobuf::util::converter::ProtoWriter::invalid_depth ( )
inline

◆ InvalidName() [1/2]

void google::protobuf::util::converter::ProtoWriter::InvalidName ( StringPiece  unknown_name,
StringPiece  message 
)
protected

◆ InvalidName() [2/2]

void google::protobuf::util::converter::ProtoWriter::InvalidName ( StringPiece  unknown_name,
StringPiece  message 
)
protected

◆ InvalidValue() [1/2]

void google::protobuf::util::converter::ProtoWriter::InvalidValue ( StringPiece  type_name,
StringPiece  value 
)
protected

◆ InvalidValue() [2/2]

void google::protobuf::util::converter::ProtoWriter::InvalidValue ( StringPiece  type_name,
StringPiece  value 
)
protected

◆ IsRepeated() [1/2]

bool google::protobuf::util::converter::ProtoWriter::IsRepeated ( const google::protobuf::Field field)
protected

◆ IsRepeated() [2/2]

bool google::protobuf::util::converter::ProtoWriter::IsRepeated ( const google::protobuf::Field field)
protected

◆ listener() [1/2]

ErrorListener* google::protobuf::util::converter::ProtoWriter::listener ( )
inline

◆ listener() [2/2]

ErrorListener* google::protobuf::util::converter::ProtoWriter::listener ( )
inline

◆ location() [1/2]

const LocationTrackerInterface& google::protobuf::util::converter::ProtoWriter::location ( )
inline

◆ location() [2/2]

const LocationTrackerInterface& google::protobuf::util::converter::ProtoWriter::location ( )
inline

◆ Lookup() [1/2]

const google::protobuf::Field * google::protobuf::util::converter::ProtoWriter::Lookup ( StringPiece  name)
protected

◆ Lookup() [2/2]

const google::protobuf::Field* google::protobuf::util::converter::ProtoWriter::Lookup ( StringPiece  name)
protected

◆ LookupType() [1/2]

const google::protobuf::Type * google::protobuf::util::converter::ProtoWriter::LookupType ( const google::protobuf::Field field)
protected

◆ LookupType() [2/2]

const google::protobuf::Type* google::protobuf::util::converter::ProtoWriter::LookupType ( const google::protobuf::Field field)
protected

◆ MissingField() [1/2]

void google::protobuf::util::converter::ProtoWriter::MissingField ( StringPiece  missing_name)
protected

◆ MissingField() [2/2]

void google::protobuf::util::converter::ProtoWriter::MissingField ( StringPiece  missing_name)
protected

◆ RenderBool() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderBool ( StringPiece  name,
bool  value 
)
inlineoverridevirtual

◆ RenderBool() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderBool ( StringPiece  name,
bool  value 
)
inlineoverridevirtual

◆ RenderBytes() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderBytes ( StringPiece  name,
StringPiece  value 
)
inlineoverridevirtual

◆ RenderBytes() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderBytes ( StringPiece  name,
StringPiece  value 
)
inlineoverridevirtual

◆ RenderDataPiece() [1/2]

virtual ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderDataPiece ( StringPiece  name,
const DataPiece data 
)
virtual

◆ RenderDataPiece() [2/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::RenderDataPiece ( StringPiece  name,
const DataPiece value 
)
virtual

◆ RenderDouble() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderDouble ( StringPiece  name,
double  value 
)
inlineoverridevirtual

◆ RenderDouble() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderDouble ( StringPiece  name,
double  value 
)
inlineoverridevirtual

◆ RenderFloat() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderFloat ( StringPiece  name,
float  value 
)
inlineoverridevirtual

◆ RenderFloat() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderFloat ( StringPiece  name,
float  value 
)
inlineoverridevirtual

◆ RenderInt32() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderInt32 ( StringPiece  name,
int32  value 
)
inlineoverridevirtual

◆ RenderInt32() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderInt32 ( StringPiece  name,
int32_t  value 
)
inlineoverridevirtual

◆ RenderInt64() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderInt64 ( StringPiece  name,
int64  value 
)
inlineoverridevirtual

◆ RenderInt64() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderInt64 ( StringPiece  name,
int64_t  value 
)
inlineoverridevirtual

◆ RenderNull() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderNull ( StringPiece  name)
inlineoverridevirtual

◆ RenderNull() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderNull ( StringPiece  name)
inlineoverridevirtual

◆ RenderPrimitiveField() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderPrimitiveField ( const google::protobuf::Field field,
const google::protobuf::Type type,
const DataPiece data 
)
protected

◆ RenderPrimitiveField() [2/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::RenderPrimitiveField ( const google::protobuf::Field field,
const google::protobuf::Type type,
const DataPiece value 
)
protected

◆ RenderString() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderString ( StringPiece  name,
StringPiece  value 
)
inlineoverridevirtual

◆ RenderString() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderString ( StringPiece  name,
StringPiece  value 
)
inlineoverridevirtual

◆ RenderUint32() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderUint32 ( StringPiece  name,
uint32  value 
)
inlineoverridevirtual

◆ RenderUint32() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderUint32 ( StringPiece  name,
uint32_t  value 
)
inlineoverridevirtual

◆ RenderUint64() [1/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderUint64 ( StringPiece  name,
uint64  value 
)
inlineoverridevirtual

◆ RenderUint64() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::RenderUint64 ( StringPiece  name,
uint64_t  value 
)
inlineoverridevirtual

◆ set_case_insensitive_enum_parsing() [1/2]

void google::protobuf::util::converter::ProtoWriter::set_case_insensitive_enum_parsing ( bool  case_insensitive_enum_parsing)
inline

◆ set_case_insensitive_enum_parsing() [2/2]

void google::protobuf::util::converter::ProtoWriter::set_case_insensitive_enum_parsing ( bool  case_insensitive_enum_parsing)
inline

◆ set_ignore_unknown_enum_values() [1/2]

void google::protobuf::util::converter::ProtoWriter::set_ignore_unknown_enum_values ( bool  ignore_unknown_enum_values)
inline

◆ set_ignore_unknown_enum_values() [2/2]

void google::protobuf::util::converter::ProtoWriter::set_ignore_unknown_enum_values ( bool  ignore_unknown_enum_values)
inline

◆ set_ignore_unknown_fields() [1/2]

void google::protobuf::util::converter::ProtoWriter::set_ignore_unknown_fields ( bool  ignore_unknown_fields)
inline

◆ set_ignore_unknown_fields() [2/2]

void google::protobuf::util::converter::ProtoWriter::set_ignore_unknown_fields ( bool  ignore_unknown_fields)
inline

◆ set_use_json_name_in_missing_fields()

void google::protobuf::util::converter::ProtoWriter::set_use_json_name_in_missing_fields ( bool  use_json_name_in_missing_fields)
inline

◆ set_use_lower_camel_for_enums() [1/2]

void google::protobuf::util::converter::ProtoWriter::set_use_lower_camel_for_enums ( bool  use_lower_camel_for_enums)
inline

◆ set_use_lower_camel_for_enums() [2/2]

void google::protobuf::util::converter::ProtoWriter::set_use_lower_camel_for_enums ( bool  use_lower_camel_for_enums)
inline

◆ StartList() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::StartList ( StringPiece  name)
overridevirtual

◆ StartList() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::StartList ( StringPiece  name)
overridevirtual

◆ StartListField() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::StartListField ( const google::protobuf::Field field,
const google::protobuf::Type type 
)
protected

◆ StartListField() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::StartListField ( const google::protobuf::Field field,
const google::protobuf::Type type 
)
protected

◆ StartObject() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::StartObject ( StringPiece  name)
overridevirtual

◆ StartObject() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::StartObject ( StringPiece  name)
overridevirtual

◆ StartObjectField() [1/2]

ProtoWriter * google::protobuf::util::converter::ProtoWriter::StartObjectField ( const google::protobuf::Field field,
const google::protobuf::Type type 
)
protected

◆ StartObjectField() [2/2]

ProtoWriter* google::protobuf::util::converter::ProtoWriter::StartObjectField ( const google::protobuf::Field field,
const google::protobuf::Type type 
)
protected

◆ stream() [1/2]

io::CodedOutputStream* google::protobuf::util::converter::ProtoWriter::stream ( )
inline

◆ stream() [2/2]

io::CodedOutputStream* google::protobuf::util::converter::ProtoWriter::stream ( )
inline

◆ typeinfo() [1/2]

const TypeInfo* google::protobuf::util::converter::ProtoWriter::typeinfo ( )
inline

◆ typeinfo() [2/2]

const TypeInfo* google::protobuf::util::converter::ProtoWriter::typeinfo ( )
inline

◆ ValidOneof() [1/2]

bool google::protobuf::util::converter::ProtoWriter::ValidOneof ( const google::protobuf::Field field,
StringPiece  unnormalized_name 
)
protected

◆ ValidOneof() [2/2]

bool google::protobuf::util::converter::ProtoWriter::ValidOneof ( const google::protobuf::Field field,
StringPiece  unnormalized_name 
)
protected

◆ WriteEnum() [1/2]

util::Status google::protobuf::util::converter::ProtoWriter::WriteEnum ( int  field_number,
const DataPiece data,
const google::protobuf::Enum enum_type,
io::CodedOutputStream stream,
bool  use_lower_camel_for_enums,
bool  case_insensitive_enum_parsing,
bool  ignore_unknown_values 
)
staticprivate

◆ WriteEnum() [2/2]

static util::Status google::protobuf::util::converter::ProtoWriter::WriteEnum ( int  field_number,
const DataPiece data,
const google::protobuf::Enum enum_type,
io::CodedOutputStream stream,
bool  use_lower_camel_for_enums,
bool  case_insensitive_enum_parsing,
bool  ignore_unknown_values 
)
staticprivate

◆ WriteRootMessage() [1/2]

void google::protobuf::util::converter::ProtoWriter::WriteRootMessage ( )
protected

◆ WriteRootMessage() [2/2]

void google::protobuf::util::converter::ProtoWriter::WriteRootMessage ( )
protected

◆ WriteTag() [1/2]

void google::protobuf::util::converter::ProtoWriter::WriteTag ( const google::protobuf::Field field)
protected

◆ WriteTag() [2/2]

void google::protobuf::util::converter::ProtoWriter::WriteTag ( const google::protobuf::Field field)
protected

Member Data Documentation

◆ adapter_

io::StringOutputStream google::protobuf::util::converter::ProtoWriter::adapter_
private

◆ buffer_

std::string google::protobuf::util::converter::ProtoWriter::buffer_
private

◆ case_insensitive_enum_parsing_

bool google::protobuf::util::converter::ProtoWriter::case_insensitive_enum_parsing_
private

◆ done_

bool google::protobuf::util::converter::ProtoWriter::done_
private

◆ element_

std::unique_ptr< ProtoElement > google::protobuf::util::converter::ProtoWriter::element_
private

◆ ignore_unknown_enum_values_

bool google::protobuf::util::converter::ProtoWriter::ignore_unknown_enum_values_
private

◆ ignore_unknown_fields_

bool google::protobuf::util::converter::ProtoWriter::ignore_unknown_fields_
private

◆ invalid_depth_

int google::protobuf::util::converter::ProtoWriter::invalid_depth_
private

◆ listener_

ErrorListener * google::protobuf::util::converter::ProtoWriter::listener_
private

◆ master_type_

const google::protobuf::Type & google::protobuf::util::converter::ProtoWriter::master_type_
private

◆ output_

strings::ByteSink * google::protobuf::util::converter::ProtoWriter::output_
private

◆ own_typeinfo_

bool google::protobuf::util::converter::ProtoWriter::own_typeinfo_
private

◆ size_insert_

std::deque< SizeInfo > google::protobuf::util::converter::ProtoWriter::size_insert_
private

◆ stream_

std::unique_ptr< io::CodedOutputStream > google::protobuf::util::converter::ProtoWriter::stream_
private

◆ tracker_

std::unique_ptr< LocationTrackerInterface > google::protobuf::util::converter::ProtoWriter::tracker_
private

◆ typeinfo_

const TypeInfo * google::protobuf::util::converter::ProtoWriter::typeinfo_
private

◆ use_json_name_in_missing_fields_

bool google::protobuf::util::converter::ProtoWriter::use_json_name_in_missing_fields_
private

◆ use_lower_camel_for_enums_

bool google::protobuf::util::converter::ProtoWriter::use_lower_camel_for_enums_
private

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


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