Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
com.google.protobuf.jruby.RubyDescriptorPool Class Reference
Inheritance diagram for com.google.protobuf.jruby.RubyDescriptorPool:
Inheritance graph
[legend]

Public Member Functions

IRubyObject add_serialized_file (ThreadContext context, IRubyObject data)
 
IRubyObject build (ThreadContext context, Block block)
 
IRubyObject build (ThreadContext context, Block block)
 
IRubyObject initialize (ThreadContext context)
 
IRubyObject lookup (ThreadContext context, IRubyObject name)
 
IRubyObject lookup (ThreadContext context, IRubyObject name)
 
 RubyDescriptorPool (Ruby ruby, RubyClass klazz)
 
 RubyDescriptorPool (Ruby runtime, RubyClass klazz)
 

Static Public Member Functions

static void createRubyDescriptorPool (Ruby runtime)
 
static void createRubyDescriptorPool (Ruby runtime)
 
static IRubyObject generatedPool (ThreadContext context, IRubyObject recv)
 
static IRubyObject generatedPool (ThreadContext context, IRubyObject recv)
 

Protected Member Functions

void addToSymtab (ThreadContext context, RubyDescriptor def)
 
void addToSymtab (ThreadContext context, RubyEnumDescriptor def)
 
void registerFileDescriptor (ThreadContext context, FileDescriptorProto.Builder builder)
 

Private Member Functions

void buildFileDescriptor (ThreadContext context)
 
FileDescriptor[] existingFileDescriptors ()
 
void registerDescriptor (ThreadContext context, Descriptor descriptor, String parentPath)
 
void registerEnumDescriptor (ThreadContext context, EnumDescriptor descriptor, String parentPath)
 

Private Attributes

DescriptorProtos.FileDescriptorProto.Builder builder
 
RubyClass cBuilder
 
List< FileDescriptorfileDescriptors
 
Map< IRubyObject, IRubyObject > symtab
 

Static Private Attributes

static RubyClass cDescriptor
 
static RubyClass cEnumDescriptor
 
static RubyDescriptorPool descriptorPool
 

Detailed Description

Definition at line 47 of file bloaty/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyDescriptorPool.java.

Constructor & Destructor Documentation

◆ RubyDescriptorPool() [1/2]

com.google.protobuf.jruby.RubyDescriptorPool.RubyDescriptorPool ( Ruby  ruby,
RubyClass  klazz 
)
inline

◆ RubyDescriptorPool() [2/2]

com.google.protobuf.jruby.RubyDescriptorPool.RubyDescriptorPool ( Ruby  runtime,
RubyClass  klazz 
)
inline

Member Function Documentation

◆ add_serialized_file()

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.add_serialized_file ( ThreadContext  context,
IRubyObject  data 
)
inline

◆ addToSymtab() [1/2]

void com.google.protobuf.jruby.RubyDescriptorPool.addToSymtab ( ThreadContext  context,
RubyDescriptor  def 
)
inlineprotected

◆ addToSymtab() [2/2]

void com.google.protobuf.jruby.RubyDescriptorPool.addToSymtab ( ThreadContext  context,
RubyEnumDescriptor  def 
)
inlineprotected

◆ build() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.build ( ThreadContext  context,
Block  block 
)
inline

◆ build() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.build ( ThreadContext  context,
Block  block 
)
inline

◆ buildFileDescriptor()

void com.google.protobuf.jruby.RubyDescriptorPool.buildFileDescriptor ( ThreadContext  context)
inlineprivate

◆ createRubyDescriptorPool() [1/2]

static void com.google.protobuf.jruby.RubyDescriptorPool.createRubyDescriptorPool ( Ruby  runtime)
inlinestatic

◆ createRubyDescriptorPool() [2/2]

static void com.google.protobuf.jruby.RubyDescriptorPool.createRubyDescriptorPool ( Ruby  runtime)
inlinestatic

◆ existingFileDescriptors()

FileDescriptor [] com.google.protobuf.jruby.RubyDescriptorPool.existingFileDescriptors ( )
inlineprivate

◆ generatedPool() [1/2]

static IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.generatedPool ( ThreadContext  context,
IRubyObject  recv 
)
inlinestatic

◆ generatedPool() [2/2]

static IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.generatedPool ( ThreadContext  context,
IRubyObject  recv 
)
inlinestatic

◆ initialize()

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.initialize ( ThreadContext  context)
inline

◆ lookup() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.lookup ( ThreadContext  context,
IRubyObject  name 
)
inline

◆ lookup() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptorPool.lookup ( ThreadContext  context,
IRubyObject  name 
)
inline

◆ registerDescriptor()

void com.google.protobuf.jruby.RubyDescriptorPool.registerDescriptor ( ThreadContext  context,
Descriptor  descriptor,
String  parentPath 
)
inlineprivate

◆ registerEnumDescriptor()

void com.google.protobuf.jruby.RubyDescriptorPool.registerEnumDescriptor ( ThreadContext  context,
EnumDescriptor  descriptor,
String  parentPath 
)
inlineprivate

◆ registerFileDescriptor()

void com.google.protobuf.jruby.RubyDescriptorPool.registerFileDescriptor ( ThreadContext  context,
FileDescriptorProto.Builder  builder 
)
inlineprotected

Member Data Documentation

◆ builder

DescriptorProtos.FileDescriptorProto.Builder com.google.protobuf.jruby.RubyDescriptorPool.builder
private

◆ cBuilder

RubyClass com.google.protobuf.jruby.RubyDescriptorPool.cBuilder
private

◆ cDescriptor

RubyClass com.google.protobuf.jruby.RubyDescriptorPool.cDescriptor
staticprivate

◆ cEnumDescriptor

RubyClass com.google.protobuf.jruby.RubyDescriptorPool.cEnumDescriptor
staticprivate

◆ descriptorPool

static RubyDescriptorPool com.google.protobuf.jruby.RubyDescriptorPool.descriptorPool
staticprivate

◆ fileDescriptors

List<FileDescriptor> com.google.protobuf.jruby.RubyDescriptorPool.fileDescriptors
private

◆ symtab

Map< IRubyObject, IRubyObject > com.google.protobuf.jruby.RubyDescriptorPool.symtab
private

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


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