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

Public Member Functions

IRubyObject getLabel (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject getnumber (ThreadContext context)
 
IRubyObject getSubType (ThreadContext context)
 
IRubyObject getType (ThreadContext context)
 
IRubyObject getValue (ThreadContext context, IRubyObject msgRb)
 
IRubyObject initialize (ThreadContext context)
 
 RubyFieldDescriptor (Ruby runtime, RubyClass klazz)
 
IRubyObject setLabel (ThreadContext context, IRubyObject value)
 
IRubyObject setName (ThreadContext context, IRubyObject value)
 
IRubyObject setNumber (ThreadContext context, IRubyObject value)
 
IRubyObject setSubmsgName (ThreadContext context, IRubyObject name)
 
IRubyObject setType (ThreadContext context, IRubyObject value)
 
IRubyObject setValue (ThreadContext context, IRubyObject msgRb, IRubyObject value)
 

Static Public Member Functions

static void createRubyFileDescriptor (Ruby runtime)
 

Protected Member Functions

DescriptorProtos.FieldDescriptorProto build ()
 
Descriptors.FieldDescriptor getFieldDef ()
 
IRubyObject getOneofName ()
 
void setFieldDef (Descriptors.FieldDescriptor fieldDescriptor)
 
void setOneofIndex (int index)
 
void setOneofName (IRubyObject name)
 
void setSubType (IRubyObject rubyDescriptor)
 

Private Attributes

DescriptorProtos.FieldDescriptorProto.Builder builder
 
Descriptors.FieldDescriptor fieldDef
 
boolean hasOneofIndex = false
 
IRubyObject label
 
IRubyObject name
 
IRubyObject number
 
int oneofIndex
 
IRubyObject oneofName
 
IRubyObject subType
 

Detailed Description

Definition at line 45 of file RubyFieldDescriptor.java.

Constructor & Destructor Documentation

◆ RubyFieldDescriptor()

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

Definition at line 57 of file RubyFieldDescriptor.java.

Member Function Documentation

◆ build()

DescriptorProtos.FieldDescriptorProto com.google.protobuf.jruby.RubyFieldDescriptor.build ( )
inlineprotected

Definition at line 262 of file RubyFieldDescriptor.java.

◆ createRubyFileDescriptor()

static void com.google.protobuf.jruby.RubyFieldDescriptor.createRubyFileDescriptor ( Ruby  runtime)
inlinestatic

Definition at line 46 of file RubyFieldDescriptor.java.

◆ getFieldDef()

Descriptors.FieldDescriptor com.google.protobuf.jruby.RubyFieldDescriptor.getFieldDef ( )
inlineprotected

Definition at line 258 of file RubyFieldDescriptor.java.

◆ getLabel()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getLabel ( ThreadContext  context)
inline

Definition at line 81 of file RubyFieldDescriptor.java.

◆ getName()

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

Definition at line 108 of file RubyFieldDescriptor.java.

◆ getnumber()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getnumber ( ThreadContext  context)
inline

Definition at line 169 of file RubyFieldDescriptor.java.

◆ getOneofName()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getOneofName ( )
inlineprotected

Definition at line 254 of file RubyFieldDescriptor.java.

◆ getSubType()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getSubType ( ThreadContext  context)
inline

Definition at line 129 of file RubyFieldDescriptor.java.

◆ getType()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getType ( ThreadContext  context)
inline

Definition at line 144 of file RubyFieldDescriptor.java.

◆ getValue()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.getValue ( ThreadContext  context,
IRubyObject  msgRb 
)
inline

Definition at line 211 of file RubyFieldDescriptor.java.

◆ initialize()

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

Definition at line 69 of file RubyFieldDescriptor.java.

◆ setFieldDef()

void com.google.protobuf.jruby.RubyFieldDescriptor.setFieldDef ( Descriptors.FieldDescriptor  fieldDescriptor)
inlineprotected

Definition at line 241 of file RubyFieldDescriptor.java.

◆ setLabel()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setLabel ( ThreadContext  context,
IRubyObject  value 
)
inline

Definition at line 93 of file RubyFieldDescriptor.java.

◆ setName()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setName ( ThreadContext  context,
IRubyObject  value 
)
inline

Definition at line 120 of file RubyFieldDescriptor.java.

◆ setNumber()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setNumber ( ThreadContext  context,
IRubyObject  value 
)
inline

Definition at line 181 of file RubyFieldDescriptor.java.

◆ setOneofIndex()

void com.google.protobuf.jruby.RubyFieldDescriptor.setOneofIndex ( int  index)
inlineprotected

Definition at line 249 of file RubyFieldDescriptor.java.

◆ setOneofName()

void com.google.protobuf.jruby.RubyFieldDescriptor.setOneofName ( IRubyObject  name)
inlineprotected

Definition at line 245 of file RubyFieldDescriptor.java.

◆ setSubmsgName()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setSubmsgName ( ThreadContext  context,
IRubyObject  name 
)
inline

Definition at line 198 of file RubyFieldDescriptor.java.

◆ setSubType()

void com.google.protobuf.jruby.RubyFieldDescriptor.setSubType ( IRubyObject  rubyDescriptor)
inlineprotected

Definition at line 237 of file RubyFieldDescriptor.java.

◆ setType()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setType ( ThreadContext  context,
IRubyObject  value 
)
inline

Definition at line 156 of file RubyFieldDescriptor.java.

◆ setValue()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.setValue ( ThreadContext  context,
IRubyObject  msgRb,
IRubyObject  value 
)
inline

Definition at line 228 of file RubyFieldDescriptor.java.

Member Data Documentation

◆ builder

DescriptorProtos.FieldDescriptorProto.Builder com.google.protobuf.jruby.RubyFieldDescriptor.builder
private

Definition at line 268 of file RubyFieldDescriptor.java.

◆ fieldDef

Descriptors.FieldDescriptor com.google.protobuf.jruby.RubyFieldDescriptor.fieldDef
private

Definition at line 274 of file RubyFieldDescriptor.java.

◆ hasOneofIndex

boolean com.google.protobuf.jruby.RubyFieldDescriptor.hasOneofIndex = false
private

Definition at line 276 of file RubyFieldDescriptor.java.

◆ label

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.label
private

Definition at line 270 of file RubyFieldDescriptor.java.

◆ name

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

Definition at line 269 of file RubyFieldDescriptor.java.

◆ number

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.number
private

Definition at line 271 of file RubyFieldDescriptor.java.

◆ oneofIndex

int com.google.protobuf.jruby.RubyFieldDescriptor.oneofIndex
private

Definition at line 275 of file RubyFieldDescriptor.java.

◆ oneofName

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.oneofName
private

Definition at line 273 of file RubyFieldDescriptor.java.

◆ subType

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.subType
private

Definition at line 272 of file RubyFieldDescriptor.java.


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


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