/** * <code>optional string error_message = 4;</code> */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; errorMessage_ = value; onChanged(); return this; }
/** * <code>optional bytes result = 5;</code> */ public Builder setResult(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; result_ = value; onChanged(); return this; } /**
/** * <code>optional string error_message = 4;</code> */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; errorMessage_ = value; onChanged(); return this; } /**
public Builder mergeFrom(alluxio.proto.journal.Job.TaskInfo other) { if (other == alluxio.proto.journal.Job.TaskInfo.getDefaultInstance()) return this; if (other.hasJobId()) { setJobId(other.getJobId()); } if (other.hasTaskId()) { setTaskId(other.getTaskId()); } if (other.hasStatus()) { setStatus(other.getStatus()); } if (other.hasErrorMessage()) { bitField0_ |= 0x00000008; errorMessage_ = other.errorMessage_; onChanged(); } if (other.hasResult()) { setResult(other.getResult()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>optional .alluxio.proto.journal.Status status = 3;</code> */ public Builder setStatus(alluxio.proto.journal.Job.Status value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; status_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional int32 task_id = 2;</code> */ public Builder setTaskId(int value) { bitField0_ |= 0x00000002; taskId_ = value; onChanged(); return this; } /**
/** * <code>optional bytes result = 5;</code> */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000010); result_ = getDefaultInstance().getResult(); onChanged(); return this; } public final Builder setUnknownFields(
/** * <code>optional string error_message = 4;</code> */ public Builder clearErrorMessage() { bitField0_ = (bitField0_ & ~0x00000008); errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /**
/** * <code>optional int64 job_id = 1;</code> */ public Builder setJobId(long value) { bitField0_ |= 0x00000001; jobId_ = value; onChanged(); return this; } /**
/** * <code>optional .alluxio.proto.journal.Status status = 3;</code> */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000004); status_ = 1; onChanged(); return this; }
/** * <code>optional int32 task_id = 2;</code> */ public Builder clearTaskId() { bitField0_ = (bitField0_ & ~0x00000002); taskId_ = 0; onChanged(); return this; }
/** * <code>optional int64 job_id = 1;</code> */ public Builder clearJobId() { bitField0_ = (bitField0_ & ~0x00000001); jobId_ = 0L; onChanged(); return this; }