public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg) 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.BlockLocationInfoMsg parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg) { return mergeFrom((org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(blockLocationInfoMsg_); blockLocationInfoMsg_ = subBuilder.buildPartial();
subBuilder.mergeFrom(blockLocationInfoMsg_); blockLocationInfoMsg_ = subBuilder.buildPartial();
/** * <code>optional .protobuf.BlockLocationInfoMsg blockLocationInfoMsg = 9;</code> */ public Builder mergeBlockLocationInfoMsg(org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg value) { if (blockLocationInfoMsgBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && blockLocationInfoMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.getDefaultInstance()) { blockLocationInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.newBuilder(blockLocationInfoMsg_).mergeFrom(value).buildPartial(); } else { blockLocationInfoMsg_ = value; } onChanged(); } else { blockLocationInfoMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /**
/** * <code>optional .protobuf.BlockLocationInfoMsg blockLocationInfoMsg = 9;</code> */ public Builder mergeBlockLocationInfoMsg(org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg value) { if (blockLocationInfoMsgBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && blockLocationInfoMsg_ != org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.getDefaultInstance()) { blockLocationInfoMsg_ = org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg.newBuilder(blockLocationInfoMsg_).mergeFrom(value).buildPartial(); } else { blockLocationInfoMsg_ = value; } onChanged(); } else { blockLocationInfoMsgBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public static Builder newBuilder(org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg) { return mergeFrom((org.apache.nemo.runtime.common.comm.ControlMessage.BlockLocationInfoMsg)other); } else { super.mergeFrom(other); return this; } }