Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::OneofDescriptor Class Reference

#include <descriptor.h>

Public Types

typedef OneofDescriptorProto Proto
 
typedef OneofDescriptorProto Proto
 

Public Member Functions

const Descriptorcontaining_type () const
 
const Descriptorcontaining_type () const
 
void CopyTo (OneofDescriptorProto *proto) const
 
void CopyTo (OneofDescriptorProto *proto) const
 
std::string DebugString () const
 
std::string DebugString () const
 
std::string DebugStringWithOptions (const DebugStringOptions &options) const
 
std::string DebugStringWithOptions (const DebugStringOptions &options) const
 
const FieldDescriptorfield (int index) const
 
const FieldDescriptorfield (int index) const
 
int field_count () const
 
int field_count () const
 
const FileDescriptorfile () const
 
const FileDescriptorfile () const
 
const std::string & full_name () const
 
const std::string & full_name () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
int index () const
 
int index () const
 
bool is_synthetic () const
 
const std::string & name () const
 
const std::string & name () const
 
const OneofOptionsoptions () const
 
const OneofOptionsoptions () const
 

Private Types

typedef OneofOptions OptionsType
 
typedef OneofOptions OptionsType
 

Private Member Functions

void DebugString (int depth, std::string *contents, const DebugStringOptions &options) const
 
void DebugString (int depth, std::string *contents, const DebugStringOptions &options) const
 
void GetLocationPath (std::vector< int > *output) const
 
void GetLocationPath (std::vector< int > *output) const
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OneofDescriptor)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (OneofDescriptor)
 
 OneofDescriptor ()
 
 OneofDescriptor ()
 

Private Attributes

const std::string * all_names_
 
const Descriptorcontaining_type_
 
int field_count_
 
const FieldDescriptor ** fields_
 
const FieldDescriptorfields_
 
const std::string * full_name_
 
const std::string * name_
 
const OneofOptionsoptions_
 

Friends

class compiler::cpp::Formatter
 
class Descriptor
 
class DescriptorBuilder
 
class io::Printer
 
class Symbol
 

Detailed Description

Definition at line 843 of file bloaty/third_party/protobuf/src/google/protobuf/descriptor.h.

Member Typedef Documentation

◆ OptionsType [1/2]

typedef OneofOptions google::protobuf::OneofDescriptor::OptionsType
private

◆ OptionsType [2/2]

typedef OneofOptions google::protobuf::OneofDescriptor::OptionsType
private

Definition at line 1024 of file protobuf/src/google/protobuf/descriptor.h.

◆ Proto [1/2]

typedef OneofDescriptorProto google::protobuf::OneofDescriptor::Proto

◆ Proto [2/2]

typedef OneofDescriptorProto google::protobuf::OneofDescriptor::Proto

Definition at line 981 of file protobuf/src/google/protobuf/descriptor.h.

Constructor & Destructor Documentation

◆ OneofDescriptor() [1/2]

google::protobuf::OneofDescriptor::OneofDescriptor ( )
inlineprivate

◆ OneofDescriptor() [2/2]

google::protobuf::OneofDescriptor::OneofDescriptor ( )
inlineprivate

Definition at line 1051 of file protobuf/src/google/protobuf/descriptor.h.

Member Function Documentation

◆ containing_type() [1/2]

const Descriptor* google::protobuf::OneofDescriptor::containing_type ( ) const

◆ containing_type() [2/2]

const Descriptor* google::protobuf::OneofDescriptor::containing_type ( ) const

◆ CopyTo() [1/2]

void OneofDescriptor::CopyTo ( OneofDescriptorProto proto) const

◆ CopyTo() [2/2]

void google::protobuf::OneofDescriptor::CopyTo ( OneofDescriptorProto proto) const

◆ DebugString() [1/4]

std::string OneofDescriptor::DebugString ( ) const

◆ DebugString() [2/4]

std::string google::protobuf::OneofDescriptor::DebugString ( ) const

◆ DebugString() [3/4]

void OneofDescriptor::DebugString ( int  depth,
std::string *  contents,
const DebugStringOptions options 
) const
private

◆ DebugString() [4/4]

void google::protobuf::OneofDescriptor::DebugString ( int  depth,
std::string *  contents,
const DebugStringOptions options 
) const
private

◆ DebugStringWithOptions() [1/2]

std::string OneofDescriptor::DebugStringWithOptions ( const DebugStringOptions options) const

◆ DebugStringWithOptions() [2/2]

std::string google::protobuf::OneofDescriptor::DebugStringWithOptions ( const DebugStringOptions options) const

◆ field() [1/2]

const FieldDescriptor * OneofDescriptor::field ( int  index) const
inline

◆ field() [2/2]

const FieldDescriptor* google::protobuf::OneofDescriptor::field ( int  index) const

◆ field_count() [1/2]

int google::protobuf::OneofDescriptor::field_count ( ) const

◆ field_count() [2/2]

int google::protobuf::OneofDescriptor::field_count ( ) const

◆ file() [1/2]

const FileDescriptor * OneofDescriptor::file ( ) const
inline

◆ file() [2/2]

const FileDescriptor* google::protobuf::OneofDescriptor::file ( ) const

◆ full_name() [1/2]

const std::string& google::protobuf::OneofDescriptor::full_name ( ) const

◆ full_name() [2/2]

const std::string& google::protobuf::OneofDescriptor::full_name ( ) const

◆ GetLocationPath() [1/2]

void OneofDescriptor::GetLocationPath ( std::vector< int > *  output) const
private

◆ GetLocationPath() [2/2]

void google::protobuf::OneofDescriptor::GetLocationPath ( std::vector< int > *  output) const
private

◆ GetSourceLocation() [1/2]

bool OneofDescriptor::GetSourceLocation ( SourceLocation out_location) const

◆ GetSourceLocation() [2/2]

bool google::protobuf::OneofDescriptor::GetSourceLocation ( SourceLocation out_location) const

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::OneofDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OneofDescriptor  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::OneofDescriptor::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( OneofDescriptor  )
private

◆ index() [1/2]

int OneofDescriptor::index ( ) const
inline

◆ index() [2/2]

int google::protobuf::OneofDescriptor::index ( ) const

◆ is_synthetic()

bool google::protobuf::OneofDescriptor::is_synthetic ( ) const

◆ name() [1/2]

const std::string& google::protobuf::OneofDescriptor::name ( ) const

◆ name() [2/2]

const std::string& google::protobuf::OneofDescriptor::name ( ) const

◆ options() [1/2]

const OneofOptions& google::protobuf::OneofDescriptor::options ( ) const

◆ options() [2/2]

const OneofOptions& google::protobuf::OneofDescriptor::options ( ) const

Friends And Related Function Documentation

◆ compiler::cpp::Formatter

◆ Descriptor

Descriptor
friend

◆ DescriptorBuilder

◆ io::Printer

io::Printer
friend

◆ Symbol

friend class Symbol
friend

Definition at line 1023 of file protobuf/src/google/protobuf/descriptor.h.

Member Data Documentation

◆ all_names_

const std::string* google::protobuf::OneofDescriptor::all_names_
private

Definition at line 1041 of file protobuf/src/google/protobuf/descriptor.h.

◆ containing_type_

const Descriptor * OneofDescriptor::containing_type_
private

◆ field_count_

int OneofDescriptor::field_count_
private

◆ fields_ [1/2]

const FieldDescriptor** google::protobuf::OneofDescriptor::fields_
private

◆ fields_ [2/2]

const FieldDescriptor* google::protobuf::OneofDescriptor::fields_
private

Definition at line 1044 of file protobuf/src/google/protobuf/descriptor.h.

◆ full_name_

const std::string* google::protobuf::OneofDescriptor::full_name_
private

◆ name_

const std::string* google::protobuf::OneofDescriptor::name_
private

◆ options_

const OneofOptions * OneofDescriptor::options_
private

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


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