Esempio n. 1
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (Suggestion.Length != 0)
                    {
                        hash ^= Suggestion.GetHashCode();
                    }
                    if (Type != global::Google.Cloud.Talent.V4Beta1.CompleteQueryRequest.Types.CompletionType.Unspecified)
                    {
                        hash ^= Type.GetHashCode();
                    }
                    if (ImageUri.Length != 0)
                    {
                        hash ^= ImageUri.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }
Esempio n. 2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (Suggestion.Length != 0)
                    {
                        hash ^= Suggestion.GetHashCode();
                    }
                    if (Type != 0)
                    {
                        hash ^= Type.GetHashCode();
                    }
                    if (ImageUri.Length != 0)
                    {
                        hash ^= ImageUri.GetHashCode();
                    }
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }