/** * <code>optional .alluxio.grpc.job.GetJobStatusPOptions options = 2;</code> */ public Builder setOptions(alluxio.grpc.GetJobStatusPOptions value) { if (optionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } options_ = value; onChanged(); } else { optionsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.job.GetJobStatusPOptions options = 2;</code> */ public alluxio.grpc.GetJobStatusPOptions.Builder getOptionsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getOptionsFieldBuilder().getBuilder(); } /**
/** * <code>optional .alluxio.grpc.job.GetJobStatusPOptions options = 2;</code> */ public Builder setOptions( alluxio.grpc.GetJobStatusPOptions.Builder builderForValue) { if (optionsBuilder_ == null) { options_ = builderForValue.build(); onChanged(); } else { optionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.job.GetJobStatusPOptions options = 2;</code> */ public Builder mergeOptions(alluxio.grpc.GetJobStatusPOptions value) { if (optionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && options_ != null && options_ != alluxio.grpc.GetJobStatusPOptions.getDefaultInstance()) { options_ = alluxio.grpc.GetJobStatusPOptions.newBuilder(options_).mergeFrom(value).buildPartial(); } else { options_ = value; } onChanged(); } else { optionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.job.GetJobStatusPOptions options = 2;</code> */ public Builder clearOptions() { if (optionsBuilder_ == null) { options_ = null; onChanged(); } else { optionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional int64 jobId = 1;</code> */ public Builder setJobId(long value) { bitField0_ |= 0x00000001; jobId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 jobId = 1;</code> */ public Builder clearJobId() { bitField0_ = (bitField0_ & ~0x00000001); jobId_ = 0L; onChanged(); return this; }
public Builder mergeFrom(alluxio.grpc.GetJobStatusPRequest other) { if (other == alluxio.grpc.GetJobStatusPRequest.getDefaultInstance()) return this; if (other.hasJobId()) { setJobId(other.getJobId()); } if (other.hasOptions()) { mergeOptions(other.getOptions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }