public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockId()) { bitField0_ |= 0x00000002; blockId_ = other.blockId_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasLocation()) { bitField0_ |= 0x00000008; location_ = other.location_; onChanged(); } 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 (!hasBlockId()) { memoizedIsInitialized = 0; return false; } if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!hasLocation()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg other) { if (other == org.apache.nemo.runtime.common.comm.ControlMessage.BlockStateChangedMsg.getDefaultInstance()) return this; if (other.hasExecutorId()) { bitField0_ |= 0x00000001; executorId_ = other.executorId_; onChanged(); } if (other.hasBlockId()) { bitField0_ |= 0x00000002; blockId_ = other.blockId_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasLocation()) { bitField0_ |= 0x00000008; location_ = other.location_; onChanged(); } 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 (!hasBlockId()) { memoizedIsInitialized = 0; return false; } if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!hasLocation()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }