UfsFileWriteRequest(alluxio.grpc.WriteRequest request) { super(request); mUfsPath = request.getCommand().getCreateUfsFileOptions().getUfsPath(); mCreateUfsFileOptions = request.getCommand().getCreateUfsFileOptions(); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeInt64(2, id_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeInt64(3, offset_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeInt32(4, tier_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeBool(5, flush_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, getCreateUfsFileOptions()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getCreateUfsBlockOptions()); } unknownFields.writeTo(output); }
.computeMessageSize(6, getCreateUfsFileOptions());
hash = (53 * hash) + getCreateUfsFileOptions().hashCode();
result = result && getCreateUfsFileOptions() .equals(other.getCreateUfsFileOptions());
public Builder mergeFrom(alluxio.grpc.WriteRequestCommand other) { if (other == alluxio.grpc.WriteRequestCommand.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasId()) { setId(other.getId()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasTier()) { setTier(other.getTier()); } if (other.hasFlush()) { setFlush(other.getFlush()); } if (other.hasCreateUfsFileOptions()) { mergeCreateUfsFileOptions(other.getCreateUfsFileOptions()); } if (other.hasCreateUfsBlockOptions()) { mergeCreateUfsBlockOptions(other.getCreateUfsBlockOptions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }