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 each (ThreadContext context, Block block)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject initialize (ThreadContext context)
 
 RubyOneofDescriptor (Ruby ruby, RubyClass rubyClass)
 
 RubyOneofDescriptor (Ruby ruby, RubyClass rubyClass)
 
IRubyObject setName (ThreadContext context, IRubyObject name)
 

Static Public Member Functions

static void createRubyOneofDescriptor (Ruby runtime)
 
static void createRubyOneofDescriptor (Ruby runtime)
 

Protected Member Functions

OneofDescriptor getDescriptor ()
 
Collection< RubyFieldDescriptorgetFields ()
 
Collection< RubyFieldDescriptorgetFields ()
 
Descriptors.OneofDescriptor getOneofDescriptor ()
 
void setDescriptor (ThreadContext context, OneofDescriptor descriptor, Map< FieldDescriptor, RubyFieldDescriptor > fieldCache)
 

Private Attributes

DescriptorProtos.OneofDescriptorProto.Builder builder
 
OneofDescriptor descriptor
 
List< RubyFieldDescriptorfields
 
IRubyObject name
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RubyOneofDescriptor() [1/2]

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

◆ RubyOneofDescriptor() [2/2]

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

Member Function Documentation

◆ addField()

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

◆ build()

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

◆ createRubyOneofDescriptor() [1/2]

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

◆ createRubyOneofDescriptor() [2/2]

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

◆ each() [1/2]

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

◆ each() [2/2]

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

◆ getDescriptor()

OneofDescriptor com.google.protobuf.jruby.RubyOneofDescriptor.getDescriptor ( )
inlineprotected

◆ getFields() [1/2]

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

◆ getFields() [2/2]

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

◆ getName() [1/2]

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

◆ getName() [2/2]

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

◆ getOneofDescriptor()

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

◆ initialize()

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

◆ setDescriptor()

void com.google.protobuf.jruby.RubyOneofDescriptor.setDescriptor ( ThreadContext  context,
OneofDescriptor  descriptor,
Map< FieldDescriptor, RubyFieldDescriptor fieldCache 
)
inlineprotected

◆ setName()

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

Member Data Documentation

◆ builder

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

◆ descriptor

OneofDescriptor com.google.protobuf.jruby.RubyOneofDescriptor.descriptor
private

◆ fields

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

◆ name

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

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


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