コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (profile_ != null)
            {
                hash ^= Profile.GetHashCode();
            }
            if (RawText.Length != 0)
            {
                hash ^= RawText.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ExternalId.Length != 0)
            {
                hash ^= ExternalId.GetHashCode();
            }
            if (Profile.Length != 0)
            {
                hash ^= Profile.GetHashCode();
            }
            if (Job.Length != 0)
            {
                hash ^= Job.GetHashCode();
            }
            if (Company.Length != 0)
            {
                hash ^= Company.GetHashCode();
            }
            if (applicationDate_ != null)
            {
                hash ^= ApplicationDate.GetHashCode();
            }
            if (Stage != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage.Unspecified)
            {
                hash ^= Stage.GetHashCode();
            }
            if (State != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            hash ^= interviews_.GetHashCode();
            if (referral_ != null)
            {
                hash ^= Referral.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (OutcomeNotes.Length != 0)
            {
                hash ^= OutcomeNotes.GetHashCode();
            }
            if (Outcome != global::Google.Cloud.Talent.V4Beta1.Outcome.Unspecified)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (isMatch_ != null)
            {
                hash ^= IsMatch.GetHashCode();
            }
            if (JobTitleSnippet.Length != 0)
            {
                hash ^= JobTitleSnippet.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }