final ByteTransferDataDirection dataDirection = message.getDataDirection(); final int transferIndex = message.getTransferIndex(); final boolean isPipe = message.getIsPipe(); final ContextId contextId = new ContextId(remoteExecutorId, localExecutorId, dataDirection, transferIndex, isPipe);
final ByteTransferDataDirection dataDirection = message.getDataDirection(); final int transferIndex = message.getTransferIndex(); final boolean isPipe = message.getIsPipe(); final ContextId contextId = new ContextId(remoteExecutorId, localExecutorId, dataDirection, transferIndex, isPipe);
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.ByteTransferContextSetupMessage other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.ByteTransferContextSetupMessage.getDefaultInstance()) return this; if (other.hasInitiatorExecutorId()) { bitField0_ |= 0x00000001; initiatorExecutorId_ = other.initiatorExecutorId_; onChanged(); } if (other.hasTransferIndex()) { setTransferIndex(other.getTransferIndex()); } if (other.hasDataDirection()) { setDataDirection(other.getDataDirection()); } if (other.hasContextDescriptor()) { setContextDescriptor(other.getContextDescriptor()); } if (other.hasIsPipe()) { setIsPipe(other.getIsPipe()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.ByteTransferContextSetupMessage other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.ByteTransferContextSetupMessage.getDefaultInstance()) return this; if (other.hasInitiatorExecutorId()) { bitField0_ |= 0x00000001; initiatorExecutorId_ = other.initiatorExecutorId_; onChanged(); } if (other.hasTransferIndex()) { setTransferIndex(other.getTransferIndex()); } if (other.hasDataDirection()) { setDataDirection(other.getDataDirection()); } if (other.hasContextDescriptor()) { setContextDescriptor(other.getContextDescriptor()); } if (other.hasIsPipe()) { setIsPipe(other.getIsPipe()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }