/** * <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; } /**
subBuilder.mergeFrom(options_); options_ = subBuilder.buildPartial();
/** * <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; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.grpc.GetJobStatusPOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.grpc.GetJobStatusPOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } public final Builder setUnknownFields(
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(alluxio.grpc.GetJobStatusPOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.grpc.GetJobStatusPOptions) { return mergeFrom((alluxio.grpc.GetJobStatusPOptions)other); } else { super.mergeFrom(other); return this; } }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public alluxio.grpc.GetJobStatusPOptions buildPartial() { alluxio.grpc.GetJobStatusPOptions result = new alluxio.grpc.GetJobStatusPOptions(this); onBuilt(); return result; }
public alluxio.grpc.GetJobStatusPOptions build() { alluxio.grpc.GetJobStatusPOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(alluxio.grpc.GetJobStatusPOptions other) { if (other == alluxio.grpc.GetJobStatusPOptions.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }