.setRequestBlockLocationMsg( ControlMessage.RequestBlockLocationMsg.newBuilder() .setExecutorId(executorId) .setBlockIdWildcard(blockIdWildcard) .build()) .build()); return responseFromMasterFuture;
subBuilder.mergeFrom(requestBlockLocationMsg_); requestBlockLocationMsg_ = subBuilder.buildPartial();
subBuilder.mergeFrom(requestBlockLocationMsg_); requestBlockLocationMsg_ = subBuilder.buildPartial();
.setRequestBlockLocationMsg( ControlMessage.RequestBlockLocationMsg.newBuilder() .setExecutorId(executorId) .setBlockIdWildcard(blockIdWildcard) .build()) .build()); return responseFromMasterFuture;
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder mergeRequestBlockLocationMsg(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg value) { if (requestBlockLocationMsgBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && requestBlockLocationMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) { requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.newBuilder(requestBlockLocationMsg_).mergeFrom(value).buildPartial(); } else { requestBlockLocationMsg_ = value; } onChanged(); } else { requestBlockLocationMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder mergeRequestBlockLocationMsg(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg value) { if (requestBlockLocationMsgBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && requestBlockLocationMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) { requestBlockLocationMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.newBuilder(requestBlockLocationMsg_).mergeFrom(value).buildPartial(); } else { requestBlockLocationMsg_ = value; } onChanged(); } else { requestBlockLocationMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder setRequestBlockLocationMsg( org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.Builder builderForValue) { if (requestBlockLocationMsgBuilder_ == null) { requestBlockLocationMsg_ = builderForValue.build(); onChanged(); } else { requestBlockLocationMsgBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /**
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockIdWildcard()) { bitField0_ |= 0x00000002; blockIdWildcard_ = other.blockIdWildcard_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockIdWildcard()) { bitField0_ |= 0x00000002; blockIdWildcard_ = other.blockIdWildcard_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private static Builder create() { return new Builder(); }
/** * <code>optional .protobuf.RequestBlockLocationMsg requestBlockLocationMsg = 8;</code> */ public Builder setRequestBlockLocationMsg( org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg.Builder builderForValue) { if (requestBlockLocationMsgBuilder_ == null) { requestBlockLocationMsg_ = builderForValue.build(); onChanged(); } else { requestBlockLocationMsgBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
private static Builder create() { return new Builder(); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(org.apache.nemo.runtime.common.comm.ControlMessage.RequestBlockLocationMsg prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**