public override int GetHashCode() { int hash = 1; if (typeCase_ == TypeOneofCase.TopicDataRecord) { hash ^= TopicDataRecord.GetHashCode(); } if (typeCase_ == TypeOneofCase.TopicDataRecordList) { hash ^= TopicDataRecordList.GetHashCode(); } if (typeCase_ == TypeOneofCase.Error) { hash ^= Error.GetHashCode(); } hash ^= (int)typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (DeviceIdentifier.Length != 0) { hash ^= DeviceIdentifier.GetHashCode(); } if (typeCase_ == TypeOneofCase.TopicDataRecord) { hash ^= TopicDataRecord.GetHashCode(); } if (typeCase_ == TypeOneofCase.Error) { hash ^= Error.GetHashCode(); } hash ^= (int)typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }