|
IRubyObject | dup (ThreadContext context) |
|
IRubyObject | eq (ThreadContext context, IRubyObject other) |
|
IRubyObject | hash (ThreadContext context) |
|
IRubyObject | index (ThreadContext context, IRubyObject fieldName) |
|
IRubyObject | indexSet (ThreadContext context, IRubyObject fieldName, IRubyObject value) |
|
IRubyObject | initialize (final ThreadContext context, IRubyObject[] args) |
|
IRubyObject | inspect () |
|
IRubyObject | methodMissing (ThreadContext context, IRubyObject[] args) |
|
| RubyMessage (Ruby ruby, RubyClass klazz, Descriptors.Descriptor descriptor) |
|
IRubyObject | toHash (ThreadContext context) |
|
|
static IRubyObject | decode (ThreadContext context, IRubyObject recv, IRubyObject data) |
|
static IRubyObject | decodeJson (ThreadContext context, IRubyObject recv, IRubyObject json) |
|
static IRubyObject | encode (ThreadContext context, IRubyObject recv, IRubyObject value) |
|
static IRubyObject | encodeJson (ThreadContext context, IRubyObject recv, IRubyObject msgRb) |
|
static IRubyObject | getDescriptor (ThreadContext context, IRubyObject recv) |
|
|
void | addRepeatedField (Descriptors.FieldDescriptor fieldDescriptor, RubyRepeatedField repeatedField) |
|
IRubyObject | buildFrom (ThreadContext context, DynamicMessage dynamicMessage) |
|
void | checkRepeatedFieldType (ThreadContext context, IRubyObject value, Descriptors.FieldDescriptor fieldDescriptor) |
|
Object | convert (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, IRubyObject value, int depth) |
|
Descriptors.FieldDescriptor | findField (ThreadContext context, IRubyObject fieldName) |
|
IRubyObject | getDescriptorForField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor) |
|
Descriptors.FieldDescriptor | getOneofCase (Descriptors.OneofDescriptor oneof) |
|
RubyRepeatedField | getRepeatedField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor) |
|
boolean | hasField (IRubyObject fieldName) |
|
String | layoutInspect () |
|
RubyMap | newMapForField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor) |
|
RubyRepeatedField | repeatedFieldForFieldDescriptor (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor) |
|
RubyRepeatedField | rubyToRepeatedField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, IRubyObject value) |
|
IRubyObject | wrapField (ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor, Object value) |
|
Definition at line 49 of file RubyMessage.java.
◆ RubyMessage()
com.google.protobuf.jruby.RubyMessage.RubyMessage |
( |
Ruby |
ruby, |
|
|
RubyClass |
klazz, |
|
|
Descriptors.Descriptor |
descriptor |
|
) |
| |
|
inline |
◆ addRepeatedField()
◆ build() [1/2]
DynamicMessage com.google.protobuf.jruby.RubyMessage.build |
( |
ThreadContext |
context | ) |
|
|
inlineprotected |
◆ build() [2/2]
DynamicMessage com.google.protobuf.jruby.RubyMessage.build |
( |
ThreadContext |
context, |
|
|
int |
depth |
|
) |
| |
|
inlineprotected |
◆ buildFrom()
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 |
◆ convert()
Object com.google.protobuf.jruby.RubyMessage.convert |
( |
ThreadContext |
context, |
|
|
Descriptors.FieldDescriptor |
fieldDescriptor, |
|
|
IRubyObject |
value, |
|
|
int |
depth |
|
) |
| |
|
inlineprivate |
◆ decode()
static IRubyObject com.google.protobuf.jruby.RubyMessage.decode |
( |
ThreadContext |
context, |
|
|
IRubyObject |
recv, |
|
|
IRubyObject |
data |
|
) |
| |
|
inlinestatic |
◆ decodeJson()
static IRubyObject com.google.protobuf.jruby.RubyMessage.decodeJson |
( |
ThreadContext |
context, |
|
|
IRubyObject |
recv, |
|
|
IRubyObject |
json |
|
) |
| |
|
inlinestatic |
◆ deepCopy()
IRubyObject com.google.protobuf.jruby.RubyMessage.deepCopy |
( |
ThreadContext |
context | ) |
|
|
inlineprotected |
◆ dup()
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 RubyMessage.java.
◆ encode()
static IRubyObject com.google.protobuf.jruby.RubyMessage.encode |
( |
ThreadContext |
context, |
|
|
IRubyObject |
recv, |
|
|
IRubyObject |
value |
|
) |
| |
|
inlinestatic |
◆ encodeJson()
static IRubyObject com.google.protobuf.jruby.RubyMessage.encodeJson |
( |
ThreadContext |
context, |
|
|
IRubyObject |
recv, |
|
|
IRubyObject |
msgRb |
|
) |
| |
|
inlinestatic |
◆ eq()
IRubyObject com.google.protobuf.jruby.RubyMessage.eq |
( |
ThreadContext |
context, |
|
|
IRubyObject |
other |
|
) |
| |
|
inline |
◆ findField()
◆ getDescriptor() [1/2]
◆ getDescriptor() [2/2]
static IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptor |
( |
ThreadContext |
context, |
|
|
IRubyObject |
recv |
|
) |
| |
|
inlinestatic |
◆ getDescriptorForField()
IRubyObject com.google.protobuf.jruby.RubyMessage.getDescriptorForField |
( |
ThreadContext |
context, |
|
|
Descriptors.FieldDescriptor |
fieldDescriptor |
|
) |
| |
|
inlineprivate |
◆ getField()
◆ getOneofCase()
◆ getRepeatedField()
◆ hasField()
boolean com.google.protobuf.jruby.RubyMessage.hasField |
( |
IRubyObject |
fieldName | ) |
|
|
inlineprivate |
◆ hash()
IRubyObject com.google.protobuf.jruby.RubyMessage.hash |
( |
ThreadContext |
context | ) |
|
|
inline |
◆ index()
IRubyObject com.google.protobuf.jruby.RubyMessage.index |
( |
ThreadContext |
context, |
|
|
IRubyObject |
fieldName |
|
) |
| |
|
inline |
◆ indexSet()
IRubyObject com.google.protobuf.jruby.RubyMessage.indexSet |
( |
ThreadContext |
context, |
|
|
IRubyObject |
fieldName, |
|
|
IRubyObject |
value |
|
) |
| |
|
inline |
◆ initialize()
IRubyObject com.google.protobuf.jruby.RubyMessage.initialize |
( |
final ThreadContext |
context, |
|
|
IRubyObject[] |
args |
|
) |
| |
|
inline |
◆ inspect()
IRubyObject com.google.protobuf.jruby.RubyMessage.inspect |
( |
| ) |
|
|
inline |
◆ layoutInspect()
String com.google.protobuf.jruby.RubyMessage.layoutInspect |
( |
| ) |
|
|
inlineprivate |
◆ methodMissing()
IRubyObject com.google.protobuf.jruby.RubyMessage.methodMissing |
( |
ThreadContext |
context, |
|
|
IRubyObject[] |
args |
|
) |
| |
|
inline |
◆ newMapForField()
◆ repeatedFieldForFieldDescriptor()
◆ rubyToRepeatedField()
◆ setField()
IRubyObject com.google.protobuf.jruby.RubyMessage.setField |
( |
ThreadContext |
context, |
|
|
Descriptors.FieldDescriptor |
fieldDescriptor, |
|
|
IRubyObject |
value |
|
) |
| |
|
inlineprotected |
◆ toHash()
IRubyObject com.google.protobuf.jruby.RubyMessage.toHash |
( |
ThreadContext |
context | ) |
|
|
inline |
◆ wrapField()
IRubyObject com.google.protobuf.jruby.RubyMessage.wrapField |
( |
ThreadContext |
context, |
|
|
Descriptors.FieldDescriptor |
fieldDescriptor, |
|
|
Object |
value |
|
) |
| |
|
inlineprivate |
◆ builder
◆ cMap
RubyClass com.google.protobuf.jruby.RubyMessage.cMap |
|
private |
◆ cRepeatedField
RubyClass com.google.protobuf.jruby.RubyMessage.cRepeatedField |
|
private |
◆ descriptor
◆ fields
◆ maps
◆ oneofCases
◆ repeatedFields
◆ SINK_MAXIMUM_NESTING
final int com.google.protobuf.jruby.RubyMessage.SINK_MAXIMUM_NESTING = 64 |
|
staticprivate |
The documentation for this class was generated from the following file: