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

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (nextAddSequenceToken_ != null)
            {
                hash ^= NextAddSequenceToken.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (Status != global::Google.Ads.GoogleAds.V3.Enums.MutateJobStatusEnum.Types.MutateJobStatus.Unspecified)
            {
                hash ^= Status.GetHashCode();
            }
            if (longRunningOperation_ != null)
            {
                hash ^= LongRunningOperation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (nextAddSequenceToken_ != null)
            {
                hash ^= NextAddSequenceToken.GetHashCode();
            }
            if (metadata_ != null)
            {
                hash ^= Metadata.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (longRunningOperation_ != null)
            {
                hash ^= LongRunningOperation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }