public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (MetricsSchemaUri.Length != 0)
            {
                hash ^= MetricsSchemaUri.GetHashCode();
            }
            if (metrics_ != null)
            {
                hash ^= Metrics.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            hash ^= sliceDimensions_.GetHashCode();
            if (modelExplanation_ != null)
            {
                hash ^= ModelExplanation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (slice_ != null)
            {
                hash ^= Slice.GetHashCode();
            }
            if (MetricsSchemaUri.Length != 0)
            {
                hash ^= MetricsSchemaUri.GetHashCode();
            }
            if (metrics_ != null)
            {
                hash ^= Metrics.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }