Class ProtoBuilder


  • public class ProtoBuilder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtoBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bytes​(int field, byte[] bytes)  
      void string​(int field, java.lang.String string)  
      byte[] toBytes()  
      java.lang.String toUrlencodedBase64()  
      void varint​(int field, long val)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtoBuilder

        public ProtoBuilder()
    • Method Detail

      • toBytes

        public byte[] toBytes()
      • toUrlencodedBase64

        public java.lang.String toUrlencodedBase64()
      • varint

        public void varint​(int field,
                           long val)
      • string

        public void string​(int field,
                           java.lang.String string)
      • bytes

        public void bytes​(int field,
                          byte[] bytes)