Class SearchAds360Link

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.SearchAds360Link
All Implemented Interfaces:
SearchAds360LinkOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SearchAds360Link extends com.google.protobuf.GeneratedMessage implements SearchAds360LinkOrBuilder
 A link between a Google Analytics property and a Search Ads 360 entity.
 
Protobuf type google.analytics.admin.v1alpha.SearchAds360Link
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • ADVERTISER_ID_FIELD_NUMBER

      public static final int ADVERTISER_ID_FIELD_NUMBER
      See Also:
    • CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER

      public static final int CAMPAIGN_DATA_SHARING_ENABLED_FIELD_NUMBER
      See Also:
    • COST_DATA_SHARING_ENABLED_FIELD_NUMBER

      public static final int COST_DATA_SHARING_ENABLED_FIELD_NUMBER
      See Also:
    • ADVERTISER_DISPLAY_NAME_FIELD_NUMBER

      public static final int ADVERTISER_DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER

      public static final int ADS_PERSONALIZATION_ENABLED_FIELD_NUMBER
      See Also:
    • SITE_STATS_SHARING_ENABLED_FIELD_NUMBER

      public static final int SITE_STATS_SHARING_ENABLED_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. The resource name for this SearchAds360Link resource.
       Format: properties/{propertyId}/searchAds360Links/{linkId}
      
       Note: linkId is not the Search Ads 360 advertiser ID
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface SearchAds360LinkOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name for this SearchAds360Link resource.
       Format: properties/{propertyId}/searchAds360Links/{linkId}
      
       Note: linkId is not the Search Ads 360 advertiser ID
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface SearchAds360LinkOrBuilder
      Returns:
      The bytes for name.
    • getAdvertiserId

      public String getAdvertiserId()
       Immutable. This field represents the Advertiser ID of the Search Ads 360
       Advertiser. that has been linked.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertiserId in interface SearchAds360LinkOrBuilder
      Returns:
      The advertiserId.
    • getAdvertiserIdBytes

      public com.google.protobuf.ByteString getAdvertiserIdBytes()
       Immutable. This field represents the Advertiser ID of the Search Ads 360
       Advertiser. that has been linked.
       
      string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getAdvertiserIdBytes in interface SearchAds360LinkOrBuilder
      Returns:
      The bytes for advertiserId.
    • hasCampaignDataSharingEnabled

      public boolean hasCampaignDataSharingEnabled()
       Immutable. Enables the import of campaign data from Search Ads 360 into the
       Google Analytics property. After link creation, this can only be updated
       from the Search Ads 360 product. If this field is not set on create, it
       will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasCampaignDataSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      Whether the campaignDataSharingEnabled field is set.
    • getCampaignDataSharingEnabled

      public com.google.protobuf.BoolValue getCampaignDataSharingEnabled()
       Immutable. Enables the import of campaign data from Search Ads 360 into the
       Google Analytics property. After link creation, this can only be updated
       from the Search Ads 360 product. If this field is not set on create, it
       will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCampaignDataSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      The campaignDataSharingEnabled.
    • getCampaignDataSharingEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getCampaignDataSharingEnabledOrBuilder()
       Immutable. Enables the import of campaign data from Search Ads 360 into the
       Google Analytics property. After link creation, this can only be updated
       from the Search Ads 360 product. If this field is not set on create, it
       will be defaulted to true.
       
      .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCampaignDataSharingEnabledOrBuilder in interface SearchAds360LinkOrBuilder
    • hasCostDataSharingEnabled

      public boolean hasCostDataSharingEnabled()
       Immutable. Enables the import of cost data from Search Ads 360 to the
       Google Analytics property. This can only be enabled if
       campaign_data_sharing_enabled is enabled. After link creation, this can
       only be updated from the Search Ads 360 product. If this field is not set
       on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasCostDataSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      Whether the costDataSharingEnabled field is set.
    • getCostDataSharingEnabled

      public com.google.protobuf.BoolValue getCostDataSharingEnabled()
       Immutable. Enables the import of cost data from Search Ads 360 to the
       Google Analytics property. This can only be enabled if
       campaign_data_sharing_enabled is enabled. After link creation, this can
       only be updated from the Search Ads 360 product. If this field is not set
       on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCostDataSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      The costDataSharingEnabled.
    • getCostDataSharingEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getCostDataSharingEnabledOrBuilder()
       Immutable. Enables the import of cost data from Search Ads 360 to the
       Google Analytics property. This can only be enabled if
       campaign_data_sharing_enabled is enabled. After link creation, this can
       only be updated from the Search Ads 360 product. If this field is not set
       on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getCostDataSharingEnabledOrBuilder in interface SearchAds360LinkOrBuilder
    • getAdvertiserDisplayName

      public String getAdvertiserDisplayName()
       Output only. The display name of the Search Ads 360 Advertiser.
       Allows users to easily identify the linked resource.
       
      string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvertiserDisplayName in interface SearchAds360LinkOrBuilder
      Returns:
      The advertiserDisplayName.
    • getAdvertiserDisplayNameBytes

      public com.google.protobuf.ByteString getAdvertiserDisplayNameBytes()
       Output only. The display name of the Search Ads 360 Advertiser.
       Allows users to easily identify the linked resource.
       
      string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAdvertiserDisplayNameBytes in interface SearchAds360LinkOrBuilder
      Returns:
      The bytes for advertiserDisplayName.
    • hasAdsPersonalizationEnabled

      public boolean hasAdsPersonalizationEnabled()
       Enables personalized advertising features with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 6;
      Specified by:
      hasAdsPersonalizationEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      Whether the adsPersonalizationEnabled field is set.
    • getAdsPersonalizationEnabled

      public com.google.protobuf.BoolValue getAdsPersonalizationEnabled()
       Enables personalized advertising features with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 6;
      Specified by:
      getAdsPersonalizationEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      The adsPersonalizationEnabled.
    • getAdsPersonalizationEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getAdsPersonalizationEnabledOrBuilder()
       Enables personalized advertising features with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue ads_personalization_enabled = 6;
      Specified by:
      getAdsPersonalizationEnabledOrBuilder in interface SearchAds360LinkOrBuilder
    • hasSiteStatsSharingEnabled

      public boolean hasSiteStatsSharingEnabled()
       Enables export of site stats with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
      Specified by:
      hasSiteStatsSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      Whether the siteStatsSharingEnabled field is set.
    • getSiteStatsSharingEnabled

      public com.google.protobuf.BoolValue getSiteStatsSharingEnabled()
       Enables export of site stats with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
      Specified by:
      getSiteStatsSharingEnabled in interface SearchAds360LinkOrBuilder
      Returns:
      The siteStatsSharingEnabled.
    • getSiteStatsSharingEnabledOrBuilder

      public com.google.protobuf.BoolValueOrBuilder getSiteStatsSharingEnabledOrBuilder()
       Enables export of site stats with this integration.
       If this field is not set on create, it will be defaulted to true.
       
      .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
      Specified by:
      getSiteStatsSharingEnabledOrBuilder in interface SearchAds360LinkOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SearchAds360Link parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SearchAds360Link parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchAds360Link parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchAds360Link parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SearchAds360Link parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchAds360Link parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SearchAds360Link parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SearchAds360Link.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SearchAds360Link.Builder newBuilder()
    • newBuilder

      public static SearchAds360Link.Builder newBuilder(SearchAds360Link prototype)
    • toBuilder

      public SearchAds360Link.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SearchAds360Link.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SearchAds360Link getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SearchAds360Link> parser()
    • getParserForType

      public com.google.protobuf.Parser<SearchAds360Link> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SearchAds360Link getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder