webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
com.google.protobuf.jruby.RubyMessage Class Reference
Inheritance diagram for com.google.protobuf.jruby.RubyMessage:

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

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

Constructor & Destructor Documentation

◆ RubyMessage()

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

Member Function Documentation

◆ 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

◆ 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.

◆ 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

◆ getDescriptor() [1/2]

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

◆ getDescriptor() [2/2]

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

◆ getField()

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

◆ 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

◆ methodMissing()

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

◆ 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

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