Exemplo n.º 1
0
 @Override
 public void encode(ProtoWriter writer, A value) throws IOException {
   if (value.c != null) B.ADAPTER.encodeWithTag(writer, 1, value.c);
   if (value.d != null) D.ADAPTER.encodeWithTag(writer, 2, value.d);
   writer.writeBytes(value.unknownFields());
 }