this.addContext(controlMessage.getAddContext()); if (controlMessage.hasStartTask()) {
hash = (53 * hash) + getAddContext().hashCode();
result = result && getAddContext() .equals(other.getAddContext());
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; }