webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
com.google.protobuf.jruby.RubyDescriptor Class Reference
Inheritance diagram for com.google.protobuf.jruby.RubyDescriptor:

Public Member Functions

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

Static Public Member Functions

static void createRubyDescriptor (Ruby runtime)
 

Protected Member Functions

RubyFieldDescriptor lookup (String fieldName)
 

Constructor & Destructor Documentation

◆ RubyDescriptor()

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

◆ createRubyDescriptor()

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

◆ each()

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

◆ eachOneof()

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

◆ getName()

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

◆ initialize()

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

◆ lookup() [1/2]

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

◆ lookup() [2/2]

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

◆ lookupOneof()

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

◆ msgclass()

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

◆ setDescriptor()

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

◆ setMapEntry()

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

◆ setName()

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

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