Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (reportTime_ != null)
            {
                hash ^= ReportTime.GetHashCode();
            }
            if (Type != global::Google.Cloud.Notebooks.V1.Event.Types.EventType.Unspecified)
            {
                hash ^= Type.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Temperature != 0)
            {
                hash ^= Temperature.GetHashCode();
            }
            if (ReportTime != 0L)
            {
                hash ^= ReportTime.GetHashCode();
            }
            if (Weather != 0)
            {
                hash ^= Weather.GetHashCode();
            }
            if (ZipCode.Length != 0)
            {
                hash ^= ZipCode.GetHashCode();
            }
            return(hash);
        }