public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (placement_ != null)
            {
                hash ^= Placement.GetHashCode();
            }
            if (displayName_ != null)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (groupPlacementTargetUrl_ != null)
            {
                hash ^= GroupPlacementTargetUrl.GetHashCode();
            }
            if (targetUrl_ != null)
            {
                hash ^= TargetUrl.GetHashCode();
            }
            if (PlacementType != global::Google.Ads.GoogleAds.V4.Enums.PlacementTypeEnum.Types.PlacementType.Unspecified)
            {
                hash ^= PlacementType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ResourceName.Length != 0)
            {
                hash ^= ResourceName.GetHashCode();
            }
            if (placement_ != null)
            {
                hash ^= Placement.GetHashCode();
            }
            if (displayName_ != null)
            {
                hash ^= DisplayName.GetHashCode();
            }
            if (groupPlacementTargetUrl_ != null)
            {
                hash ^= GroupPlacementTargetUrl.GetHashCode();
            }
            if (targetUrl_ != null)
            {
                hash ^= TargetUrl.GetHashCode();
            }
            if (PlacementType != 0)
            {
                hash ^= PlacementType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }