webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
google::protobuf::FileDescriptor Class Reference

#include <descriptor.h>

Public Types

enum  Syntax { SYNTAX_UNKNOWN = 0, SYNTAX_PROTO2 = 2, SYNTAX_PROTO3 = 3 }
 

Public Member Functions

const stringname () const
 
const stringpackage () const
 
const DescriptorPoolpool () const
 
int dependency_count () const
 
const FileDescriptordependency (int index) const
 
int public_dependency_count () const
 
const FileDescriptorpublic_dependency (int index) const
 
int weak_dependency_count () const
 
const FileDescriptorweak_dependency (int index) const
 
int message_type_count () const
 
const Descriptormessage_type (int index) const
 
int enum_type_count () const
 
const EnumDescriptorenum_type (int index) const
 
int service_count () const
 
const ServiceDescriptorservice (int index) const
 
int extension_count () const
 
const FieldDescriptorextension (int index) const
 
const FileOptionsoptions () const
 
Syntax syntax () const
 
const DescriptorFindMessageTypeByName (const string &name) const
 
const EnumDescriptorFindEnumTypeByName (const string &name) const
 
const EnumValueDescriptorFindEnumValueByName (const string &name) const
 
const ServiceDescriptorFindServiceByName (const string &name) const
 
const FieldDescriptorFindExtensionByName (const string &name) const
 
const FieldDescriptorFindExtensionByLowercaseName (const string &name) const
 
const FieldDescriptorFindExtensionByCamelcaseName (const string &name) const
 
void CopyTo (FileDescriptorProto *proto) const
 
void CopySourceCodeInfoTo (FileDescriptorProto *proto) const
 
void CopyJsonNameTo (FileDescriptorProto *proto) const
 
string DebugString () const
 
string DebugStringWithOptions (const DebugStringOptions &options) const
 
bool is_placeholder () const
 
bool GetSourceLocation (SourceLocation *out_location) const
 
bool GetSourceLocation (const std::vector< int > &path, SourceLocation *out_location) const
 

Static Public Member Functions

static const char * SyntaxName (Syntax syntax)
 

Friends

class DescriptorBuilder
 
class Descriptor
 
class FieldDescriptor
 
class OneofDescriptor
 
class EnumDescriptor
 
class EnumValueDescriptor
 
class MethodDescriptor
 
class ServiceDescriptor
 

Member Enumeration Documentation

◆ Syntax

Enumerator
SYNTAX_UNKNOWN 
SYNTAX_PROTO2 
SYNTAX_PROTO3 

Member Function Documentation

◆ CopyJsonNameTo()

void google::protobuf::FileDescriptor::CopyJsonNameTo ( FileDescriptorProto proto) const

◆ CopySourceCodeInfoTo()

void google::protobuf::FileDescriptor::CopySourceCodeInfoTo ( FileDescriptorProto proto) const

◆ CopyTo()

void google::protobuf::FileDescriptor::CopyTo ( FileDescriptorProto proto) const

◆ DebugString()

string google::protobuf::FileDescriptor::DebugString ( ) const

◆ DebugStringWithOptions()

string google::protobuf::FileDescriptor::DebugStringWithOptions ( const DebugStringOptions options) const

◆ dependency()

const FileDescriptor * google::protobuf::FileDescriptor::dependency ( int  index) const
inline

◆ dependency_count()

int google::protobuf::FileDescriptor::dependency_count ( ) const

◆ enum_type()

const EnumDescriptor* google::protobuf::FileDescriptor::enum_type ( int  index) const

◆ enum_type_count()

int google::protobuf::FileDescriptor::enum_type_count ( ) const

◆ extension()

const FieldDescriptor* google::protobuf::FileDescriptor::extension ( int  index) const

◆ extension_count()

int google::protobuf::FileDescriptor::extension_count ( ) const

◆ FindEnumTypeByName()

const EnumDescriptor * google::protobuf::FileDescriptor::FindEnumTypeByName ( const string name) const

◆ FindEnumValueByName()

const EnumValueDescriptor * google::protobuf::FileDescriptor::FindEnumValueByName ( const string name) const

◆ FindExtensionByCamelcaseName()

const FieldDescriptor * google::protobuf::FileDescriptor::FindExtensionByCamelcaseName ( const string name) const

◆ FindExtensionByLowercaseName()

const FieldDescriptor * google::protobuf::FileDescriptor::FindExtensionByLowercaseName ( const string name) const

◆ FindExtensionByName()

const FieldDescriptor * google::protobuf::FileDescriptor::FindExtensionByName ( const string name) const

◆ FindMessageTypeByName()

const Descriptor * google::protobuf::FileDescriptor::FindMessageTypeByName ( const string name) const

◆ FindServiceByName()

const ServiceDescriptor * google::protobuf::FileDescriptor::FindServiceByName ( const string name) const

◆ GetSourceLocation() [1/2]

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

◆ GetSourceLocation() [2/2]

bool google::protobuf::FileDescriptor::GetSourceLocation ( const std::vector< int > &  path,
SourceLocation out_location 
) const

◆ is_placeholder()

bool google::protobuf::FileDescriptor::is_placeholder ( ) const

◆ message_type()

const Descriptor* google::protobuf::FileDescriptor::message_type ( int  index) const

◆ message_type_count()

int google::protobuf::FileDescriptor::message_type_count ( ) const

◆ name()

const string& google::protobuf::FileDescriptor::name ( ) const

◆ options()

const FileOptions& google::protobuf::FileDescriptor::options ( ) const

◆ package()

const string& google::protobuf::FileDescriptor::package ( ) const

◆ pool()

const DescriptorPool* google::protobuf::FileDescriptor::pool ( ) const

◆ public_dependency()

const FileDescriptor * google::protobuf::FileDescriptor::public_dependency ( int  index) const
inline

◆ public_dependency_count()

int google::protobuf::FileDescriptor::public_dependency_count ( ) const

◆ service()

const ServiceDescriptor* google::protobuf::FileDescriptor::service ( int  index) const

◆ service_count()

int google::protobuf::FileDescriptor::service_count ( ) const

◆ syntax()

FileDescriptor::Syntax google::protobuf::FileDescriptor::syntax ( ) const
inline

◆ SyntaxName()

const char * google::protobuf::FileDescriptor::SyntaxName ( FileDescriptor::Syntax  syntax)
static

◆ weak_dependency()

const FileDescriptor * google::protobuf::FileDescriptor::weak_dependency ( int  index) const
inline

◆ weak_dependency_count()

int google::protobuf::FileDescriptor::weak_dependency_count ( ) const

Friends And Related Function Documentation

◆ Descriptor

friend class Descriptor
friend

◆ DescriptorBuilder

friend class DescriptorBuilder
friend

◆ EnumDescriptor

friend class EnumDescriptor
friend

◆ EnumValueDescriptor

friend class EnumValueDescriptor
friend

◆ FieldDescriptor

friend class FieldDescriptor
friend

◆ MethodDescriptor

friend class MethodDescriptor
friend

◆ OneofDescriptor

friend class OneofDescriptor
friend

◆ ServiceDescriptor

friend class ServiceDescriptor
friend

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