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