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 build (ThreadContext context, Block block)
 
IRubyObject initialize (ThreadContext context)
 
IRubyObject lookup (ThreadContext context, IRubyObject name)
 
 RubyDescriptorPool (Ruby ruby, RubyClass klazz)
 

Static Public Member Functions

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

Protected Member Functions

void addToSymtab (ThreadContext context, RubyDescriptor def)
 
void addToSymtab (ThreadContext context, RubyEnumDescriptor def)
 

Private Member Functions

void buildFileDescriptor (ThreadContext context)
 

Private Attributes

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

Static Private Attributes

static RubyDescriptorPool descriptorPool
 

Detailed Description

Definition at line 47 of file RubyDescriptorPool.java.

Constructor & Destructor Documentation

◆ RubyDescriptorPool()

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

Definition at line 61 of file RubyDescriptorPool.java.

Member Function Documentation

◆ addToSymtab() [1/2]

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

Definition at line 111 of file RubyDescriptorPool.java.

◆ addToSymtab() [2/2]

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

Definition at line 116 of file RubyDescriptorPool.java.

◆ build()

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

Definition at line 74 of file RubyDescriptorPool.java.

◆ buildFileDescriptor()

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

Definition at line 121 of file RubyDescriptorPool.java.

◆ createRubyDescriptorPool()

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

Definition at line 48 of file RubyDescriptorPool.java.

◆ generatedPool()

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

Definition at line 107 of file RubyDescriptorPool.java.

◆ initialize()

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

Definition at line 66 of file RubyDescriptorPool.java.

◆ lookup()

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

Definition at line 89 of file RubyDescriptorPool.java.

Member Data Documentation

◆ builder

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

Definition at line 168 of file RubyDescriptorPool.java.

◆ cBuilder

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

Definition at line 166 of file RubyDescriptorPool.java.

◆ descriptorPool

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

Definition at line 164 of file RubyDescriptorPool.java.

◆ symtab

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

Definition at line 167 of file RubyDescriptorPool.java.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08