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

Public Member Functions

IRubyObject dup (ThreadContext context)
 
IRubyObject dup (ThreadContext context)
 
IRubyObject eq (ThreadContext context, IRubyObject other)
 
IRubyObject eq (ThreadContext context, IRubyObject other)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject hash (ThreadContext context)
 
IRubyObject index (ThreadContext context, IRubyObject fieldName)
 
IRubyObject index (ThreadContext context, IRubyObject fieldName)
 
IRubyObject indexSet (ThreadContext context, IRubyObject fieldName, IRubyObject value)
 
IRubyObject indexSet (ThreadContext context, IRubyObject fieldName, IRubyObject value)
 
IRubyObject initialize (final ThreadContext context, IRubyObject[] args)
 
IRubyObject initialize (final ThreadContext context, IRubyObject[] args)
 
IRubyObject inspect ()
 
IRubyObject inspect ()
 
IRubyObject methodMissing (ThreadContext context, IRubyObject[] args)
 
IRubyObject methodMissing (ThreadContext context, IRubyObject[] args)
 
 RubyMessage (Ruby ruby, RubyClass klazz, Descriptors.Descriptor descriptor)
 
 RubyMessage (Ruby runtime, RubyClass klazz, Descriptor descriptor)
 
IRubyObject toHash (ThreadContext context)
 
IRubyObject toHash (ThreadContext context)
 

Static Public Member Functions

static IRubyObject decode (ThreadContext context, IRubyObject recv, IRubyObject data)
 
static IRubyObject decode (ThreadContext context, IRubyObject recv, IRubyObject data)
 
static IRubyObject decodeJson (ThreadContext context, IRubyObject recv, IRubyObject json)
 
static IRubyObject decodeJson (ThreadContext context, IRubyObject recv, IRubyObject[] args)
 
static IRubyObject encode (ThreadContext context, IRubyObject recv, IRubyObject value)
 
static IRubyObject encode (ThreadContext context, IRubyObject recv, IRubyObject value)
 
static IRubyObject encodeJson (ThreadContext context, IRubyObject recv, IRubyObject msgRb)
 
static IRubyObject encodeJson (ThreadContext context, IRubyObject recv, IRubyObject[] args)
 
static IRubyObject getDescriptor (ThreadContext context, IRubyObject recv)
 
static IRubyObject getDescriptor (ThreadContext context, IRubyObject recv)
 

Protected Member Functions

DynamicMessage build (ThreadContext context)
 
DynamicMessage build (ThreadContext context)
 
DynamicMessage build (ThreadContext context, int depth)
 
DynamicMessage build (ThreadContext context, int depth)
 
IRubyObject clearField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
IRubyObject deepCopy (ThreadContext context)
 
IRubyObject deepCopy (ThreadContext context)
 
void discardUnknownFields (ThreadContext context)
 
Descriptors.Descriptor getDescriptor ()
 
IRubyObject getField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)
 
IRubyObject getField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
IRubyObject hasField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
IRubyObject setField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, IRubyObject value)
 
IRubyObject setField (ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value)
 

Private Member Functions

void addRepeatedField (Descriptors.FieldDescriptor fieldDescriptor, RubyRepeatedField repeatedField)
 
IRubyObject buildFrom (ThreadContext context, DynamicMessage dynamicMessage)
 
IRubyObject buildFrom (ThreadContext context, DynamicMessage dynamicMessage)
 
void checkRepeatedFieldType (ThreadContext context, IRubyObject value, Descriptors.FieldDescriptor fieldDescriptor)
 
IRubyObject clearFieldInternal (ThreadContext context, FieldDescriptor fieldDescriptor)
 
Object convert (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, IRubyObject value, int depth)
 
Object convert (ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value, int depth, boolean isDefaultStringForBytes)
 
void discardUnknownFields (ThreadContext context, Message.Builder messageBuilder)
 
IRubyObject enumToSymbol (ThreadContext context, EnumDescriptor enumDescriptor, IRubyObject value)
 
Descriptors.FieldDescriptor findField (ThreadContext context, IRubyObject fieldName)
 
FieldDescriptor findField (ThreadContext context, IRubyObject fieldName)
 
FieldDescriptor findField (ThreadContext context, IRubyObject fieldName, boolean ignoreUnknownField)
 
IRubyObject getDescriptorForField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)
 
IRubyObject getDescriptorForField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
IRubyObject getFieldInternal (ThreadContext context, FieldDescriptor fieldDescriptor)
 
IRubyObject getFieldInternal (ThreadContext context, FieldDescriptor fieldDescriptor, boolean returnDefaults)
 
Descriptors.FieldDescriptor getOneofCase (Descriptors.OneofDescriptor oneof)
 
RubyRepeatedField getRepeatedField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)
 
RubyRepeatedField getRepeatedField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
boolean hasField (IRubyObject fieldName)
 
boolean isWrappable (FieldDescriptor fieldDescriptor)
 
String layoutInspect ()
 
RubyMap newMapForField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)
 
RubyMap newMapForField (ThreadContext context, FieldDescriptor fieldDescriptor)
 
RubyRepeatedField repeatedFieldForFieldDescriptor (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)
 
RubyRepeatedField repeatedFieldForFieldDescriptor (ThreadContext context, FieldDescriptor fieldDescriptor)
 
RubyRepeatedField rubyToRepeatedField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, IRubyObject value)
 
RubyRepeatedField rubyToRepeatedField (ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value)
 
IRubyObject setFieldInternal (ThreadContext context, FieldDescriptor fieldDescriptor, IRubyObject value)
 
void validateMessageType (ThreadContext context, FieldDescriptor fieldDescriptor, String methodName)
 
IRubyObject wrapField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, Object value)
 
IRubyObject wrapField (ThreadContext context, FieldDescriptor fieldDescriptor, Object value)
 
IRubyObject wrapField (ThreadContext context, FieldDescriptor fieldDescriptor, Object value, boolean encodeBytes)
 

Static Private Member Functions

static RaiseException createParseError (ThreadContext context, String message)
 
static boolean isWrapper (Descriptor messageDescriptor)
 

Private Attributes

DynamicMessage.Builder builder
 
RubyClass cMap
 
RubyClass cRepeatedField
 
Descriptors.Descriptor descriptor
 
Descriptor descriptor
 
Map< Descriptors.FieldDescriptor, IRubyObject > fields
 
Map< FieldDescriptor, IRubyObject > fields
 
boolean ignoreUnknownFieldsOnInit = false
 
Map< Descriptors.FieldDescriptor, RubyMapmaps
 
Map< Descriptors.OneofDescriptor, Descriptors.FieldDescriptoroneofCases
 
Map< OneofDescriptor, FieldDescriptoroneofCases
 
boolean proto3
 
Map< Descriptors.FieldDescriptor, RubyRepeatedFieldrepeatedFields
 

Static Private Attributes

static final String AS_VALUE_SUFFIX = "_as_value"
 
static final String CLEAR_PREFIX = "clear_"
 
static final String CONST_SUFFIX = "_const"
 
static final String HAS_PREFIX = "has_"
 
static RubyClass parseErrorClass
 
static final String QUESTION_MARK = "?"
 
static final int SINK_MAXIMUM_NESTING = 64
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RubyMessage() [1/2]

com.google.protobuf.jruby.RubyMessage.RubyMessage ( Ruby  ruby,
RubyClass  klazz,
Descriptors.Descriptor  descriptor 
)
inline

◆ RubyMessage() [2/2]

com.google.protobuf.jruby.RubyMessage.RubyMessage ( Ruby  runtime,
RubyClass  klazz,
Descriptor  descriptor 
)
inline

Member Function Documentation

◆ addRepeatedField()

void com.google.protobuf.jruby.RubyMessage.addRepeatedField ( Descriptors.FieldDescriptor  fieldDescriptor,
RubyRepeatedField  repeatedField 
)
inlineprivate

◆ build() [1/4]

DynamicMessage com.google.protobuf.jruby.RubyMessage.build ( ThreadContext  context)
inlineprotected

◆ build() [2/4]

DynamicMessage com.google.protobuf.jruby.RubyMessage.build ( ThreadContext  context)
inlineprotected

◆ build() [3/4]

DynamicMessage com.google.protobuf.jruby.RubyMessage.build ( ThreadContext  context,
int  depth 
)
inlineprotected

◆ build() [4/4]

DynamicMessage com.google.protobuf.jruby.RubyMessage.build ( ThreadContext  context,
int  depth 
)
inlineprotected

Detect the special case where default_value strings are provided for byte fields. If so, disable normal string encoding behavior within convert. For a more detailed explanation of other possible workarounds, see the comments above

com.google.protobuf.Internal#stringDefaultValue()
stringDefaultValue

.

Definition at line 642 of file protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java.

◆ buildFrom() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.buildFrom ( ThreadContext  context,
DynamicMessage  dynamicMessage 
)
inlineprivate

◆ buildFrom() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.buildFrom ( ThreadContext  context,
DynamicMessage  dynamicMessage 
)
inlineprivate

◆ checkRepeatedFieldType()

void com.google.protobuf.jruby.RubyMessage.checkRepeatedFieldType ( ThreadContext  context,
IRubyObject  value,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ clearField()

IRubyObject com.google.protobuf.jruby.RubyMessage.clearField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprotected

◆ clearFieldInternal()

IRubyObject com.google.protobuf.jruby.RubyMessage.clearFieldInternal ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ convert() [1/2]

Object com.google.protobuf.jruby.RubyMessage.convert ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor,
IRubyObject  value,
int  depth 
)
inlineprivate

◆ convert() [2/2]

Object com.google.protobuf.jruby.RubyMessage.convert ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
IRubyObject  value,
int  depth,
boolean  isDefaultStringForBytes 
)
inlineprivate

◆ createParseError()

static RaiseException com.google.protobuf.jruby.RubyMessage.createParseError ( ThreadContext  context,
String  message 
)
inlinestaticprivate

◆ decode() [1/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.decode ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  data 
)
inlinestatic

◆ decode() [2/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.decode ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  data 
)
inlinestatic

◆ decodeJson() [1/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.decodeJson ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  json 
)
inlinestatic

◆ decodeJson() [2/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.decodeJson ( ThreadContext  context,
IRubyObject  recv,
IRubyObject[]  args 
)
inlinestatic

◆ deepCopy() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.deepCopy ( ThreadContext  context)
inlineprotected

◆ deepCopy() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.deepCopy ( ThreadContext  context)
inlineprotected

◆ discardUnknownFields() [1/2]

void com.google.protobuf.jruby.RubyMessage.discardUnknownFields ( ThreadContext  context)
inlineprotected

◆ discardUnknownFields() [2/2]

void com.google.protobuf.jruby.RubyMessage.discardUnknownFields ( ThreadContext  context,
Message.Builder  messageBuilder 
)
inlineprivate

◆ dup() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.dup ( ThreadContext  context)
inline

call-seq: Message.dup => new_message Performs a shallow copy of this message and returns the new copy.

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

◆ dup() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.dup ( ThreadContext  context)
inline

call-seq: Message.dup => new_message Performs a shallow copy of this message and returns the new copy.

Definition at line 436 of file protobuf/ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java.

◆ encode() [1/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.encode ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  value 
)
inlinestatic

◆ encode() [2/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.encode ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  value 
)
inlinestatic

◆ encodeJson() [1/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.encodeJson ( ThreadContext  context,
IRubyObject  recv,
IRubyObject  msgRb 
)
inlinestatic

◆ encodeJson() [2/2]

static IRubyObject com.google.protobuf.jruby.RubyMessage.encodeJson ( ThreadContext  context,
IRubyObject  recv,
IRubyObject[]  args 
)
inlinestatic

◆ enumToSymbol()

IRubyObject com.google.protobuf.jruby.RubyMessage.enumToSymbol ( ThreadContext  context,
EnumDescriptor  enumDescriptor,
IRubyObject  value 
)
inlineprivate

◆ eq() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.eq ( ThreadContext  context,
IRubyObject  other 
)
inline

◆ eq() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.eq ( ThreadContext  context,
IRubyObject  other 
)
inline

◆ findField() [1/3]

Descriptors.FieldDescriptor com.google.protobuf.jruby.RubyMessage.findField ( ThreadContext  context,
IRubyObject  fieldName 
)
inlineprivate

◆ findField() [2/3]

FieldDescriptor com.google.protobuf.jruby.RubyMessage.findField ( ThreadContext  context,
IRubyObject  fieldName 
)
inlineprivate

◆ findField() [3/3]

FieldDescriptor com.google.protobuf.jruby.RubyMessage.findField ( ThreadContext  context,
IRubyObject  fieldName,
boolean  ignoreUnknownField 
)
inlineprivate

◆ getDescriptor() [1/3]

Descriptors.Descriptor com.google.protobuf.jruby.RubyMessage.getDescriptor ( )
inlineprotected

◆ getDescriptor() [2/3]

static IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptor ( ThreadContext  context,
IRubyObject  recv 
)
inlinestatic

◆ getDescriptor() [3/3]

static IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptor ( ThreadContext  context,
IRubyObject  recv 
)
inlinestatic

◆ getDescriptorForField() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptorForField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ getDescriptorForField() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptorForField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ getField() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprotected

◆ getField() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprotected

◆ getFieldInternal() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getFieldInternal ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ getFieldInternal() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.getFieldInternal ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
boolean  returnDefaults 
)
inlineprivate

◆ getOneofCase()

Descriptors.FieldDescriptor com.google.protobuf.jruby.RubyMessage.getOneofCase ( Descriptors.OneofDescriptor  oneof)
inlineprivate

◆ getRepeatedField() [1/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.getRepeatedField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ getRepeatedField() [2/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.getRepeatedField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ hasField() [1/2]

boolean com.google.protobuf.jruby.RubyMessage.hasField ( IRubyObject  fieldName)
inlineprivate

◆ hasField() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.hasField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprotected

◆ hash() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.hash ( ThreadContext  context)
inline

◆ hash() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.hash ( ThreadContext  context)
inline

◆ index() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.index ( ThreadContext  context,
IRubyObject  fieldName 
)
inline

◆ index() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.index ( ThreadContext  context,
IRubyObject  fieldName 
)
inline

◆ indexSet() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.indexSet ( ThreadContext  context,
IRubyObject  fieldName,
IRubyObject  value 
)
inline

◆ indexSet() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.indexSet ( ThreadContext  context,
IRubyObject  fieldName,
IRubyObject  value 
)
inline

◆ initialize() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.initialize ( final ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ initialize() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.initialize ( final ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ inspect() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.inspect ( )
inline

◆ inspect() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.inspect ( )
inline

◆ isWrappable()

boolean com.google.protobuf.jruby.RubyMessage.isWrappable ( FieldDescriptor  fieldDescriptor)
inlineprivate

◆ isWrapper()

static boolean com.google.protobuf.jruby.RubyMessage.isWrapper ( Descriptor  messageDescriptor)
inlinestaticprivate

◆ layoutInspect()

String com.google.protobuf.jruby.RubyMessage.layoutInspect ( )
inlineprivate

◆ methodMissing() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.methodMissing ( ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ methodMissing() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.methodMissing ( ThreadContext  context,
IRubyObject[]  args 
)
inline

◆ newMapForField() [1/2]

RubyMap com.google.protobuf.jruby.RubyMessage.newMapForField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ newMapForField() [2/2]

RubyMap com.google.protobuf.jruby.RubyMessage.newMapForField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ repeatedFieldForFieldDescriptor() [1/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.repeatedFieldForFieldDescriptor ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ repeatedFieldForFieldDescriptor() [2/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.repeatedFieldForFieldDescriptor ( ThreadContext  context,
FieldDescriptor  fieldDescriptor 
)
inlineprivate

◆ rubyToRepeatedField() [1/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.rubyToRepeatedField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor,
IRubyObject  value 
)
inlineprivate

◆ rubyToRepeatedField() [2/2]

RubyRepeatedField com.google.protobuf.jruby.RubyMessage.rubyToRepeatedField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
IRubyObject  value 
)
inlineprivate

◆ setField() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.setField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor,
IRubyObject  value 
)
inlineprotected

◆ setField() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.setField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
IRubyObject  value 
)
inlineprotected

◆ setFieldInternal()

IRubyObject com.google.protobuf.jruby.RubyMessage.setFieldInternal ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
IRubyObject  value 
)
inlineprivate

◆ toHash() [1/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.toHash ( ThreadContext  context)
inline

◆ toHash() [2/2]

IRubyObject com.google.protobuf.jruby.RubyMessage.toHash ( ThreadContext  context)
inline

◆ validateMessageType()

void com.google.protobuf.jruby.RubyMessage.validateMessageType ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
String  methodName 
)
inlineprivate

◆ wrapField() [1/3]

IRubyObject com.google.protobuf.jruby.RubyMessage.wrapField ( ThreadContext  context,
Descriptors.FieldDescriptor  fieldDescriptor,
Object  value 
)
inlineprivate

◆ wrapField() [2/3]

IRubyObject com.google.protobuf.jruby.RubyMessage.wrapField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
Object  value 
)
inlineprivate

◆ wrapField() [3/3]

IRubyObject com.google.protobuf.jruby.RubyMessage.wrapField ( ThreadContext  context,
FieldDescriptor  fieldDescriptor,
Object  value,
boolean  encodeBytes 
)
inlineprivate

Member Data Documentation

◆ AS_VALUE_SUFFIX

final String com.google.protobuf.jruby.RubyMessage.AS_VALUE_SUFFIX = "_as_value"
staticprivate

◆ builder

DynamicMessage Builder com.google.protobuf.jruby.RubyMessage.builder
private

◆ CLEAR_PREFIX

final String com.google.protobuf.jruby.RubyMessage.CLEAR_PREFIX = "clear_"
staticprivate

◆ cMap

RubyClass com.google.protobuf.jruby.RubyMessage.cMap
private

◆ CONST_SUFFIX

final String com.google.protobuf.jruby.RubyMessage.CONST_SUFFIX = "_const"
staticprivate

◆ cRepeatedField

RubyClass com.google.protobuf.jruby.RubyMessage.cRepeatedField
private

◆ descriptor [1/2]

Descriptors.Descriptor com.google.protobuf.jruby.RubyMessage.descriptor
private

◆ descriptor [2/2]

Descriptor com.google.protobuf.jruby.RubyMessage.descriptor
private

◆ fields [1/2]

Map<Descriptors.FieldDescriptor, IRubyObject> com.google.protobuf.jruby.RubyMessage.fields
private

◆ fields [2/2]

Map<FieldDescriptor, IRubyObject> com.google.protobuf.jruby.RubyMessage.fields
private

◆ HAS_PREFIX

final String com.google.protobuf.jruby.RubyMessage.HAS_PREFIX = "has_"
staticprivate

◆ ignoreUnknownFieldsOnInit

boolean com.google.protobuf.jruby.RubyMessage.ignoreUnknownFieldsOnInit = false
private

◆ maps

Map<Descriptors.FieldDescriptor, RubyMap> com.google.protobuf.jruby.RubyMessage.maps
private

◆ oneofCases [1/2]

Map<Descriptors.OneofDescriptor, Descriptors.FieldDescriptor> com.google.protobuf.jruby.RubyMessage.oneofCases
private

◆ oneofCases [2/2]

Map<OneofDescriptor, FieldDescriptor> com.google.protobuf.jruby.RubyMessage.oneofCases
private

◆ parseErrorClass

RubyClass com.google.protobuf.jruby.RubyMessage.parseErrorClass
staticprivate

◆ proto3

boolean com.google.protobuf.jruby.RubyMessage.proto3
private

◆ QUESTION_MARK

final String com.google.protobuf.jruby.RubyMessage.QUESTION_MARK = "?"
staticprivate

◆ repeatedFields

Map<Descriptors.FieldDescriptor, RubyRepeatedField> com.google.protobuf.jruby.RubyMessage.repeatedFields
private

◆ SINK_MAXIMUM_NESTING

static final int com.google.protobuf.jruby.RubyMessage.SINK_MAXIMUM_NESTING = 64
staticprivate

The documentation for this class was generated from the following file:
com.google.protobuf
Definition: bloaty/third_party/protobuf/benchmarks/java/src/main/java/com/google/protobuf/ProtoCaliperBenchmark.java:2
com.google
com
com.google.protobuf.Internal
Definition: bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/Internal.java:54


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