ControlMessage.BlockTransferContextDescriptor.newBuilder() .setBlockId(blockId) .setBlockStore(convertBlockStore(blockStore)) .setRuntimeEdgeId(runtimeEdgeId) .setKeyRange(ByteString.copyFrom(SerializationUtils.serialize(keyRange)))
ControlMessage.BlockTransferContextDescriptor.newBuilder() .setBlockId(blockId) .setBlockStore(convertBlockStore(blockStore)) .setRuntimeEdgeId(runtimeEdgeId) .setKeyRange(ByteString.copyFrom(SerializationUtils.serialize(keyRange)))
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor.getDefaultInstance()) return this; if (other.hasBlockId()) { bitField0_ |= 0x00000001; blockId_ = other.blockId_; onChanged(); } if (other.hasBlockStore()) { setBlockStore(other.getBlockStore()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000004; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasKeyRange()) { setKeyRange(other.getKeyRange()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockTransferContextDescriptor.getDefaultInstance()) return this; if (other.hasBlockId()) { bitField0_ |= 0x00000001; blockId_ = other.blockId_; onChanged(); } if (other.hasBlockStore()) { setBlockStore(other.getBlockStore()); } if (other.hasRuntimeEdgeId()) { bitField0_ |= 0x00000004; runtimeEdgeId_ = other.runtimeEdgeId_; onChanged(); } if (other.hasKeyRange()) { setKeyRange(other.getKeyRange()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }