public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasTaskId()) { bitField0_ |= 0x00000002; taskId_ = other.taskId_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasVertexPutOnHoldId()) { bitField0_ |= 0x00000008; vertexPutOnHoldId_ = other.vertexPutOnHoldId_; onChanged(); } if (other.hasFailureCause()) { setFailureCause(other.getFailureCause()); } if (other.hasAttemptIdx()) { setAttemptIdx(other.getAttemptIdx()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.TaskStateChangedMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasTaskId()) { bitField0_ |= 0x00000002; taskId_ = other.taskId_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasVertexPutOnHoldId()) { bitField0_ |= 0x00000008; vertexPutOnHoldId_ = other.vertexPutOnHoldId_; onChanged(); } if (other.hasFailureCause()) { setFailureCause(other.getFailureCause()); } if (other.hasAttemptIdx()) { setAttemptIdx(other.getAttemptIdx()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasExecutorId()) { memoizedIsInitialized = 0; return false; } if (!hasTaskId()) { memoizedIsInitialized = 0; return false; } if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!hasAttemptIdx()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasExecutorId()) { memoizedIsInitialized = 0; return false; } if (!hasTaskId()) { memoizedIsInitialized = 0; return false; } if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!hasAttemptIdx()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }