class Protobuf::Message

def self.encode(values = {})

Create a new object with the given values and return the encoded bytes.
def self.encode(values = {})
  self.new(values).encode
end