public override int GetHashCode() { int hash = 1; if (requestCase_ == RequestOneofCase.Status) { hash ^= Status.GetHashCode(); } if (requestCase_ == RequestOneofCase.Req) { hash ^= Req.GetHashCode(); } if (requestCase_ == RequestOneofCase.Ack) { hash ^= Ack.GetHashCode(); } hash ^= (int)requestCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }