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

Public Member Functions

IRubyObject addField (ThreadContext context, IRubyObject obj)
 
DescriptorProtos.OneofDescriptorProto build (int index)
 
IRubyObject each (ThreadContext context, Block block)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject initialize (ThreadContext context)
 
 RubyOneofDescriptor (Ruby ruby, RubyClass rubyClass)
 
IRubyObject setName (ThreadContext context, IRubyObject name)
 

Static Public Member Functions

static void createRubyOneofDescriptor (Ruby runtime)
 

Protected Member Functions

Collection< RubyFieldDescriptorgetFields ()
 
Descriptors.OneofDescriptor getOneofDescriptor ()
 

Private Attributes

DescriptorProtos.OneofDescriptorProto.Builder builder
 
List< RubyFieldDescriptorfields
 
IRubyObject name
 

Detailed Description

Definition at line 19 of file RubyOneofDescriptor.java.

Constructor & Destructor Documentation

◆ RubyOneofDescriptor()

com.google.protobuf.jruby.RubyOneofDescriptor.RubyOneofDescriptor ( Ruby  ruby,
RubyClass  rubyClass 
)
inline

Definition at line 33 of file RubyOneofDescriptor.java.

Member Function Documentation

◆ addField()

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

Definition at line 84 of file RubyOneofDescriptor.java.

◆ build()

DescriptorProtos.OneofDescriptorProto com.google.protobuf.jruby.RubyOneofDescriptor.build ( int  index)
inline

Definition at line 105 of file RubyOneofDescriptor.java.

◆ createRubyOneofDescriptor()

static void com.google.protobuf.jruby.RubyOneofDescriptor.createRubyOneofDescriptor ( Ruby  runtime)
inlinestatic

Definition at line 21 of file RubyOneofDescriptor.java.

◆ each()

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

Definition at line 98 of file RubyOneofDescriptor.java.

◆ getFields()

Collection<RubyFieldDescriptor> com.google.protobuf.jruby.RubyOneofDescriptor.getFields ( )
inlineprotected

Definition at line 112 of file RubyOneofDescriptor.java.

◆ getName()

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

Definition at line 51 of file RubyOneofDescriptor.java.

◆ getOneofDescriptor()

Descriptors.OneofDescriptor com.google.protobuf.jruby.RubyOneofDescriptor.getOneofDescriptor ( )
inlineprotected

Definition at line 116 of file RubyOneofDescriptor.java.

◆ initialize()

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

Definition at line 38 of file RubyOneofDescriptor.java.

◆ setName()

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

Definition at line 63 of file RubyOneofDescriptor.java.

Member Data Documentation

◆ builder

DescriptorProtos.OneofDescriptorProto.Builder com.google.protobuf.jruby.RubyOneofDescriptor.builder
private

Definition at line 122 of file RubyOneofDescriptor.java.

◆ fields

List<RubyFieldDescriptor> com.google.protobuf.jruby.RubyOneofDescriptor.fields
private

Definition at line 123 of file RubyOneofDescriptor.java.

◆ name

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

Definition at line 121 of file RubyOneofDescriptor.java.


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


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