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.RubyDescriptor Class Reference
Inheritance diagram for com.google.protobuf.jruby.RubyDescriptor:
Inheritance graph
[legend]

Public Member Functions

IRubyObject addField (ThreadContext context, IRubyObject obj)
 
IRubyObject addOneof (ThreadContext context, IRubyObject obj)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject eachOneof (ThreadContext context, Block block)
 
IRubyObject eachOneof (ThreadContext context, Block block)
 
DescriptorProtos.DescriptorProto.Builder getBuilder ()
 
Descriptors.Descriptor getDescriptor ()
 
IRubyObject getFileDescriptor (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject initialize (ThreadContext context)
 
IRubyObject lookup (ThreadContext context, IRubyObject fieldName)
 
IRubyObject lookup (ThreadContext context, IRubyObject fieldName)
 
IRubyObject lookupOneof (ThreadContext context, IRubyObject name)
 
IRubyObject lookupOneof (ThreadContext context, IRubyObject name)
 
IRubyObject msgclass (ThreadContext context)
 
IRubyObject msgclass (ThreadContext context)
 
 RubyDescriptor (Ruby runtime, RubyClass klazz)
 
 RubyDescriptor (Ruby runtime, RubyClass klazz)
 
void setDescriptor (Descriptors.Descriptor descriptor)
 
void setMapEntry (boolean isMapEntry)
 
IRubyObject setName (ThreadContext context, IRubyObject name)
 

Static Public Member Functions

static void createRubyDescriptor (Ruby runtime)
 
static void createRubyDescriptor (Ruby runtime)
 

Protected Member Functions

FieldDescriptor getField (String name)
 
RubyFieldDescriptor lookup (String fieldName)
 
void setDescriptor (ThreadContext context, Descriptor descriptor, RubyDescriptorPool pool)
 
void setName (IRubyObject name)
 

Private Member Functions

RubyClass buildClassFromDescriptor (ThreadContext context)
 
RubyModule buildClassFromDescriptor (ThreadContext context)
 

Private Attributes

DescriptorProtos.DescriptorProto.Builder builder
 
Descriptor descriptor
 
Descriptors.Descriptor descriptor
 
Map< String, RubyFieldDescriptorfieldDefMap
 
Map< IRubyObject, RubyFieldDescriptorfieldDescriptors
 
RubyClass klazz
 
RubyModule klazz
 
IRubyObject name
 
Map< IRubyObject, RubyOneofDescriptoroneofDefs
 
Map< IRubyObject, RubyOneofDescriptoroneofDescriptors
 

Static Private Attributes

static RubyClass cFieldDescriptor
 
static RubyClass cOneofDescriptor
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RubyDescriptor() [1/2]

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

◆ RubyDescriptor() [2/2]

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

Member Function Documentation

◆ addField()

IRubyObject com.google.protobuf.jruby.RubyDescriptor.addField ( ThreadContext  context,
IRubyObject  obj 
)
inline

◆ addOneof()

IRubyObject com.google.protobuf.jruby.RubyDescriptor.addOneof ( ThreadContext  context,
IRubyObject  obj 
)
inline

◆ buildClassFromDescriptor() [1/2]

RubyClass com.google.protobuf.jruby.RubyDescriptor.buildClassFromDescriptor ( ThreadContext  context)
inlineprivate

◆ buildClassFromDescriptor() [2/2]

RubyModule com.google.protobuf.jruby.RubyDescriptor.buildClassFromDescriptor ( ThreadContext  context)
inlineprivate

◆ createRubyDescriptor() [1/2]

static void com.google.protobuf.jruby.RubyDescriptor.createRubyDescriptor ( Ruby  runtime)
inlinestatic

◆ createRubyDescriptor() [2/2]

static void com.google.protobuf.jruby.RubyDescriptor.createRubyDescriptor ( Ruby  runtime)
inlinestatic

◆ each() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.each ( ThreadContext  context,
Block  block 
)
inline

◆ each() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.each ( ThreadContext  context,
Block  block 
)
inline

◆ eachOneof() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.eachOneof ( ThreadContext  context,
Block  block 
)
inline

◆ eachOneof() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.eachOneof ( ThreadContext  context,
Block  block 
)
inline

◆ getBuilder()

DescriptorProtos.DescriptorProto.Builder com.google.protobuf.jruby.RubyDescriptor.getBuilder ( )
inline

◆ getDescriptor()

Descriptors.Descriptor com.google.protobuf.jruby.RubyDescriptor.getDescriptor ( )
inline

◆ getField()

FieldDescriptor com.google.protobuf.jruby.RubyDescriptor.getField ( String  name)
inlineprotected

◆ getFileDescriptor()

IRubyObject com.google.protobuf.jruby.RubyDescriptor.getFileDescriptor ( ThreadContext  context)
inline

◆ getName() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.getName ( ThreadContext  context)
inline

◆ getName() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.getName ( ThreadContext  context)
inline

◆ initialize()

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

◆ lookup() [1/3]

RubyFieldDescriptor com.google.protobuf.jruby.RubyDescriptor.lookup ( String  fieldName)
inlineprotected

◆ lookup() [2/3]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.lookup ( ThreadContext  context,
IRubyObject  fieldName 
)
inline

◆ lookup() [3/3]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.lookup ( ThreadContext  context,
IRubyObject  fieldName 
)
inline

◆ lookupOneof() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.lookupOneof ( ThreadContext  context,
IRubyObject  name 
)
inline

◆ lookupOneof() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.lookupOneof ( ThreadContext  context,
IRubyObject  name 
)
inline

◆ msgclass() [1/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.msgclass ( ThreadContext  context)
inline

◆ msgclass() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.msgclass ( ThreadContext  context)
inline

◆ setDescriptor() [1/2]

void com.google.protobuf.jruby.RubyDescriptor.setDescriptor ( Descriptors.Descriptor  descriptor)
inline

◆ setDescriptor() [2/2]

void com.google.protobuf.jruby.RubyDescriptor.setDescriptor ( ThreadContext  context,
Descriptor  descriptor,
RubyDescriptorPool  pool 
)
inlineprotected

◆ setMapEntry()

void com.google.protobuf.jruby.RubyDescriptor.setMapEntry ( boolean  isMapEntry)
inline

◆ setName() [1/2]

void com.google.protobuf.jruby.RubyDescriptor.setName ( IRubyObject  name)
inlineprotected

◆ setName() [2/2]

IRubyObject com.google.protobuf.jruby.RubyDescriptor.setName ( ThreadContext  context,
IRubyObject  name 
)
inline

Member Data Documentation

◆ builder

DescriptorProtos.DescriptorProto.Builder com.google.protobuf.jruby.RubyDescriptor.builder
private

◆ cFieldDescriptor

RubyClass com.google.protobuf.jruby.RubyDescriptor.cFieldDescriptor
staticprivate

◆ cOneofDescriptor

RubyClass com.google.protobuf.jruby.RubyDescriptor.cOneofDescriptor
staticprivate

◆ descriptor [1/2]

Descriptor com.google.protobuf.jruby.RubyDescriptor.descriptor
private

◆ descriptor [2/2]

Descriptors.Descriptor com.google.protobuf.jruby.RubyDescriptor.descriptor
private

◆ fieldDefMap

Map<String, RubyFieldDescriptor> com.google.protobuf.jruby.RubyDescriptor.fieldDefMap
private

◆ fieldDescriptors

Map<IRubyObject, RubyFieldDescriptor> com.google.protobuf.jruby.RubyDescriptor.fieldDescriptors
private

◆ klazz [1/2]

RubyClass com.google.protobuf.jruby.RubyDescriptor.klazz
private

◆ klazz [2/2]

RubyModule com.google.protobuf.jruby.RubyDescriptor.klazz
private

◆ name

IRubyObject com.google.protobuf.jruby.RubyDescriptor.name
private

◆ oneofDefs

Map<IRubyObject, RubyOneofDescriptor> com.google.protobuf.jruby.RubyDescriptor.oneofDefs
private

◆ oneofDescriptors

Map<IRubyObject, RubyOneofDescriptor> com.google.protobuf.jruby.RubyDescriptor.oneofDescriptors
private

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


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