module Google::Protobuf
Constants
- Any
- Api
- BoolValue
- BytesValue
- DoubleValue
- Duration
- Empty
- Enum
- EnumValue
- Field
- FieldMask
- FloatValue
- Int32Value
- Int64Value
- ListValue
- Method
- Mixin
- NullValue
- Option
- SourceContext
- StringValue
- Struct
- Syntax
- Timestamp
- Type
- UInt32Value
- UInt64Value
- Value
Public Class Methods
decode(klass, proto)
click to toggle source
# File lib/google/protobuf.rb, line 67 def self.decode(klass, proto) klass.decode(proto) end
decode_json(klass, json)
click to toggle source
# File lib/google/protobuf.rb, line 71 def self.decode_json(klass, json) klass.decode_json(json) end
encode(msg)
click to toggle source
# File lib/google/protobuf.rb, line 59 def self.encode(msg) msg.to_proto end
encode_json(msg)
click to toggle source
# File lib/google/protobuf.rb, line 63 def self.encode_json(msg) msg.to_json end