public override int GetHashCode() { int hash = 1; if (requestTypeCase_ == RequestTypeOneofCase.SendRequest) { hash ^= SendRequest.GetHashCode(); } if (requestTypeCase_ == RequestTypeOneofCase.ListRequest) { hash ^= ListRequest.GetHashCode(); } hash ^= (int)requestTypeCase_; return(hash); }