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

Classes

struct  Package
 
struct  QueryKey
 

Public Types

enum  Type {
  NULL_SYMBOL, MESSAGE, FIELD, ONEOF,
  ENUM, ENUM_VALUE, SERVICE, METHOD,
  PACKAGE, NULL_SYMBOL, MESSAGE, FIELD,
  ONEOF, ENUM, ENUM_VALUE, ENUM_VALUE_OTHER_PARENT,
  SERVICE, METHOD, PACKAGE, QUERY_KEY
}
 
enum  Type {
  NULL_SYMBOL, MESSAGE, FIELD, ONEOF,
  ENUM, ENUM_VALUE, SERVICE, METHOD,
  PACKAGE, NULL_SYMBOL, MESSAGE, FIELD,
  ONEOF, ENUM, ENUM_VALUE, ENUM_VALUE_OTHER_PARENT,
  SERVICE, METHOD, PACKAGE, QUERY_KEY
}
 

Public Member Functions

 DEFINE_MEMBERS (QueryKey, QUERY_KEY, query_key)
 
const EnumValueDescriptorenum_value_descriptor () const
 
StringPiece full_name () const
 
const FileDescriptorGetFile () const
 
const FileDescriptorGetFile () const
 
bool IsAggregate () const
 
bool IsAggregate () const
 
bool IsNull () const
 
bool IsNull () const
 
bool IsType () const
 
bool IsType () const
 
std::pair< const void *, StringPieceparent_name_key () const
 
std::pair< const void *, intparent_number_key () const
 
 Symbol ()
 
 Symbol ()
 
Type type () const
 

Static Public Member Functions

static Symbol EnumValue (EnumValueDescriptor *value, int n)
 

Public Attributes

union {
   const Descriptor *   descriptor
 
   const EnumDescriptor *   enum_descriptor
 
   const EnumValueDescriptor *   enum_value_descriptor
 
   const FieldDescriptor *   field_descriptor
 
   const MethodDescriptor *   method_descriptor
 
   const OneofDescriptor *   oneof_descriptor
 
   const FileDescriptor *   package_file_descriptor
 
   const ServiceDescriptor *   service_descriptor
 
}; 
 
Type type
 

Private Attributes

const internal::SymbolBaseptr_
 

Detailed Description

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

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
NULL_SYMBOL 
MESSAGE 
FIELD 
ONEOF 
ENUM 
ENUM_VALUE 
SERVICE 
METHOD 
PACKAGE 
NULL_SYMBOL 
MESSAGE 
FIELD 
ONEOF 
ENUM 
ENUM_VALUE 
ENUM_VALUE_OTHER_PARENT 
SERVICE 
METHOD 
PACKAGE 
QUERY_KEY 

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

◆ Type [2/2]

Enumerator
NULL_SYMBOL 
MESSAGE 
FIELD 
ONEOF 
ENUM 
ENUM_VALUE 
SERVICE 
METHOD 
PACKAGE 
NULL_SYMBOL 
MESSAGE 
FIELD 
ONEOF 
ENUM 
ENUM_VALUE 
ENUM_VALUE_OTHER_PARENT 
SERVICE 
METHOD 
PACKAGE 
QUERY_KEY 

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

Constructor & Destructor Documentation

◆ Symbol() [1/2]

google::protobuf::Symbol::Symbol ( )
inline

◆ Symbol() [2/2]

google::protobuf::Symbol::Symbol ( )
inline

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

Member Function Documentation

◆ DEFINE_MEMBERS()

google::protobuf::Symbol::DEFINE_MEMBERS ( QueryKey  ,
QUERY_KEY  ,
query_key   
)

◆ enum_value_descriptor()

const EnumValueDescriptor* google::protobuf::Symbol::enum_value_descriptor ( ) const
inline

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

◆ EnumValue()

static Symbol google::protobuf::Symbol::EnumValue ( EnumValueDescriptor value,
int  n 
)
inlinestatic

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

◆ full_name()

StringPiece google::protobuf::Symbol::full_name ( ) const
inline

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

◆ GetFile() [1/2]

const FileDescriptor* google::protobuf::Symbol::GetFile ( ) const
inline

◆ GetFile() [2/2]

const FileDescriptor* google::protobuf::Symbol::GetFile ( ) const
inline

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

◆ IsAggregate() [1/2]

bool google::protobuf::Symbol::IsAggregate ( ) const
inline

◆ IsAggregate() [2/2]

bool google::protobuf::Symbol::IsAggregate ( ) const
inline

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

◆ IsNull() [1/2]

bool google::protobuf::Symbol::IsNull ( ) const
inline

◆ IsNull() [2/2]

bool google::protobuf::Symbol::IsNull ( ) const
inline

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

◆ IsType() [1/2]

bool google::protobuf::Symbol::IsType ( ) const
inline

◆ IsType() [2/2]

bool google::protobuf::Symbol::IsType ( ) const
inline

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

◆ parent_name_key()

std::pair<const void*, StringPiece> google::protobuf::Symbol::parent_name_key ( ) const
inline

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

◆ parent_number_key()

std::pair<const void*, int> google::protobuf::Symbol::parent_number_key ( ) const
inline

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

◆ type()

Type google::protobuf::Symbol::type ( ) const
inline

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

Member Data Documentation

◆ @225

union { ... }

◆ descriptor

const Descriptor* google::protobuf::Symbol::descriptor

◆ enum_descriptor

const EnumDescriptor* google::protobuf::Symbol::enum_descriptor

◆ enum_value_descriptor

const EnumValueDescriptor* google::protobuf::Symbol::enum_value_descriptor

◆ field_descriptor

const FieldDescriptor* google::protobuf::Symbol::field_descriptor

◆ method_descriptor

const MethodDescriptor* google::protobuf::Symbol::method_descriptor

◆ oneof_descriptor

const OneofDescriptor* google::protobuf::Symbol::oneof_descriptor

◆ package_file_descriptor

const FileDescriptor* google::protobuf::Symbol::package_file_descriptor

◆ ptr_

const internal::SymbolBase* google::protobuf::Symbol::ptr_
private

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

◆ service_descriptor

const ServiceDescriptor* google::protobuf::Symbol::service_descriptor

◆ type

Type google::protobuf::Symbol::type

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


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