this.contextStack.peek().deliverTaskMessage(message); } else if (controlMessage.hasContextMessage()) { final EvaluatorRuntimeProtocol.ContextMessageProto contextMessageProto = controlMessage.getContextMessage(); boolean deliveredMessage = false; for (final ContextRuntime context : this.contextStack) {
hash = (53 * hash) + getContextMessage().hashCode();
result = result && getContextMessage() .equals(other.getContextMessage());
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (hasContextMessage()) { if (!getContextMessage().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasAddContext()) { if (!getAddContext().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasRemoveContext()) { if (!getRemoveContext().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasStartTask()) { if (!getStartTask().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }
public Builder mergeFrom(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.ContextControlProto other) { if (other == com.microsoft.reef.proto.EvaluatorRuntimeProtocol.ContextControlProto.getDefaultInstance()) return this; if (other.hasTaskMessage()) { setTaskMessage(other.getTaskMessage()); } if (other.hasContextMessage()) { mergeContextMessage(other.getContextMessage()); } if (other.hasAddContext()) { mergeAddContext(other.getAddContext()); } if (other.hasRemoveContext()) { mergeRemoveContext(other.getRemoveContext()); } if (other.hasStartTask()) { mergeStartTask(other.getStartTask()); } if (other.hasStopTask()) { mergeStopTask(other.getStopTask()); } if (other.hasSuspendTask()) { mergeSuspendTask(other.getSuspendTask()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }