Esempio n. 1
0
 @Override
 public boolean equals(Object other) {
   if (other == this) return true;
   if (!(other instanceof SendDataResponse)) return false;
   SendDataResponse o = (SendDataResponse) other;
   return equals(unknownFields(), o.unknownFields()) && equals(data, o.data);
 }
Esempio n. 2
0
 @Override
 public void encode(ProtoWriter writer, SendDataResponse value) throws IOException {
   if (value.data != null) ProtoAdapter.BYTES.encodeWithTag(writer, 1, value.data);
   writer.writeBytes(value.unknownFields());
 }
Esempio n. 3
0
 @Override
 public SendDataResponse redact(SendDataResponse value) {
   Builder builder = value.newBuilder();
   builder.clearUnknownFields();
   return builder.build();
 }
Esempio n. 4
0
 @Override
 public int encodedSize(SendDataResponse value) {
   return (value.data != null ? ProtoAdapter.BYTES.encodedSizeWithTag(1, value.data) : 0)
       + value.unknownFields().size();
 }