@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); }
@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()); }
@Override public int encodedSize(SendDataResponse value) { return (value.data != null ? ProtoAdapter.BYTES.encodedSizeWithTag(1, value.data) : 0) + value.unknownFields().size(); }