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

            if (RecordId.Length != 0)
            {
                hash ^= RecordId.GetHashCode();
            }
            if (EncodedMessage.Length != 0)
            {
                hash ^= EncodedMessage.GetHashCode();
            }
            if (ClientTimestampMs != 0L)
            {
                hash ^= ClientTimestampMs.GetHashCode();
            }
            if (MetricId != 0L)
            {
                hash ^= MetricId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ClientTimestampMs != 0L)
            {
                hash ^= ClientTimestampMs.GetHashCode();
            }
            if (Sequence != 0L)
            {
                hash ^= Sequence.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }