this.contextManager.handleContextControlProtocol(message.getContextControl()); if (this.contextManager.contextStackIsEmpty() && this.state == ReefServiceProtos.State.RUNNING) { this.state = ReefServiceProtos.State.DONE;
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + hashLong(getTimestamp()); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasContextControl()) { hash = (37 * hash) + CONTEXT_CONTROL_FIELD_NUMBER; hash = (53 * hash) + getContextControl().hashCode(); } if (hasKillEvaluator()) { hash = (37 * hash) + KILL_EVALUATOR_FIELD_NUMBER; hash = (53 * hash) + getKillEvaluator().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
result = result && getContextControl() .equals(other.getContextControl());
public Builder mergeFrom(com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorControlProto other) { if (other == com.microsoft.reef.proto.EvaluatorRuntimeProtocol.EvaluatorControlProto.getDefaultInstance()) return this; if (other.hasTimestamp()) { setTimestamp(other.getTimestamp()); } if (other.hasIdentifier()) { bitField0_ |= 0x00000002; identifier_ = other.identifier_; onChanged(); } if (other.hasContextControl()) { mergeContextControl(other.getContextControl()); } if (other.hasKillEvaluator()) { mergeKillEvaluator(other.getKillEvaluator()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasTimestamp()) { memoizedIsInitialized = 0; return false; } if (!hasIdentifier()) { memoizedIsInitialized = 0; return false; } if (hasContextControl()) { if (!getContextControl().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }