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

            if (InteractionId.Length != 0)
            {
                hash ^= InteractionId.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.InteractionInput)
            {
                hash ^= InteractionInput.GetHashCode();
            }
            if (typeCase_ == TypeOneofCase.InteractionOutput)
            {
                hash ^= InteractionOutput.GetHashCode();
            }
            if (Topic.Length != 0)
            {
                hash ^= Topic.GetHashCode();
            }
            hash ^= (int)typeCase_;
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (InteractionId.Length != 0)
            {
                hash ^= InteractionId.GetHashCode();
            }
            hash ^= inputMappings_.GetHashCode();
            hash ^= outputMappings_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }