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

Public Member Functions

IRubyObject clearValue (ThreadContext context, IRubyObject message)
 
IRubyObject getLabel (ThreadContext context)
 
IRubyObject getLabel (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject getName (ThreadContext context)
 
IRubyObject getNumber (ThreadContext context)
 
IRubyObject getnumber (ThreadContext context)
 
IRubyObject getSubtype (ThreadContext context)
 
IRubyObject getSubType (ThreadContext context)
 
IRubyObject getType (ThreadContext context)
 
IRubyObject getType (ThreadContext context)
 
IRubyObject getValue (ThreadContext context, IRubyObject message)
 
IRubyObject getValue (ThreadContext context, IRubyObject msgRb)
 
IRubyObject has (ThreadContext context, IRubyObject message)
 
IRubyObject initialize (ThreadContext context)
 
 RubyFieldDescriptor (Ruby runtime, RubyClass klazz)
 
 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 message, IRubyObject value)
 
IRubyObject setValue (ThreadContext context, IRubyObject msgRb, IRubyObject value)
 

Static Public Member Functions

static void createRubyFieldDescriptor (Ruby runtime)
 
static void createRubyFileDescriptor (Ruby runtime)
 

Protected Member Functions

DescriptorProtos.FieldDescriptorProto build ()
 
Descriptors.FieldDescriptor getFieldDef ()
 
IRubyObject getOneofName ()
 
void setDescriptor (ThreadContext context, FieldDescriptor descriptor, RubyDescriptorPool pool)
 
void setFieldDef (Descriptors.FieldDescriptor fieldDescriptor)
 
void setOneofIndex (int index)
 
void setOneofName (IRubyObject name)
 
void setSubType (IRubyObject rubyDescriptor)
 

Private Member Functions

void calculateLabel (ThreadContext context)
 
void calculateSubtype (ThreadContext context)
 

Private Attributes

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

Static Private Attributes

static final String DOT = "."
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RubyFieldDescriptor() [1/2]

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

◆ RubyFieldDescriptor() [2/2]

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

Member Function Documentation

◆ build()

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

◆ calculateLabel()

void com.google.protobuf.jruby.RubyFieldDescriptor.calculateLabel ( ThreadContext  context)
inlineprivate

◆ calculateSubtype()

void com.google.protobuf.jruby.RubyFieldDescriptor.calculateSubtype ( ThreadContext  context)
inlineprivate

◆ clearValue()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.clearValue ( ThreadContext  context,
IRubyObject  message 
)
inline

◆ createRubyFieldDescriptor()

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

◆ createRubyFileDescriptor()

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

◆ getFieldDef()

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

◆ getLabel() [1/2]

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

◆ getLabel() [2/2]

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

◆ getName() [1/2]

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

◆ getName() [2/2]

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

◆ getNumber()

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

◆ getnumber()

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

◆ getOneofName()

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

◆ getSubtype()

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

◆ getSubType()

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

◆ getType() [1/2]

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

◆ getType() [2/2]

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

◆ getValue() [1/2]

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

◆ getValue() [2/2]

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

◆ has()

IRubyObject com.google.protobuf.jruby.RubyFieldDescriptor.has ( ThreadContext  context,
IRubyObject  message 
)
inline

◆ initialize()

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

◆ setDescriptor()

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

◆ setFieldDef()

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

◆ setLabel()

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

◆ setName()

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

◆ setNumber()

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

◆ setOneofIndex()

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

◆ setOneofName()

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

◆ setSubmsgName()

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

◆ setSubType()

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

◆ setType()

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

◆ setValue() [1/2]

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

◆ setValue() [2/2]

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

Member Data Documentation

◆ builder

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

◆ descriptor

FieldDescriptor com.google.protobuf.jruby.RubyFieldDescriptor.descriptor
private

◆ DOT

final String com.google.protobuf.jruby.RubyFieldDescriptor.DOT = "."
staticprivate

◆ fieldDef

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

◆ hasOneofIndex

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

◆ label

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

◆ name

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

◆ number

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

◆ oneofIndex

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

◆ oneofName

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

◆ pool

RubyDescriptorPool com.google.protobuf.jruby.RubyFieldDescriptor.pool
private

◆ subtype

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

◆ subType

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

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


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