Interface ProductLinkOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ProductLink, ProductLink.Builder

public interface ProductLinkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      String getResourceName()
       Immutable. Resource name of the product link.
       ProductLink resource names have the form:
      
       `customers/{customer_id}/productLinks/{product_link_id} `
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. Resource name of the product link.
       ProductLink resource names have the form:
      
       `customers/{customer_id}/productLinks/{product_link_id} `
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • hasProductLinkId

      boolean hasProductLinkId()
       Output only. The ID of the link.
       This field is read only.
       
      optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the productLinkId field is set.
    • getProductLinkId

      long getProductLinkId()
       Output only. The ID of the link.
       This field is read only.
       
      optional int64 product_link_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The productLinkId.
    • getTypeValue

      int getTypeValue()
       Output only. The type of the linked product.
       
      .google.ads.googleads.v18.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The type of the linked product.
       
      .google.ads.googleads.v18.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The type.
    • hasDataPartner

      boolean hasDataPartner()
       Immutable. Data partner link.
       
      .google.ads.googleads.v18.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the dataPartner field is set.
    • getDataPartner

      DataPartnerIdentifier getDataPartner()
       Immutable. Data partner link.
       
      .google.ads.googleads.v18.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The dataPartner.
    • getDataPartnerOrBuilder

      DataPartnerIdentifierOrBuilder getDataPartnerOrBuilder()
       Immutable. Data partner link.
       
      .google.ads.googleads.v18.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE];
    • hasGoogleAds

      boolean hasGoogleAds()
       Immutable. Google Ads link.
       
      .google.ads.googleads.v18.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the googleAds field is set.
    • getGoogleAds

      GoogleAdsIdentifier getGoogleAds()
       Immutable. Google Ads link.
       
      .google.ads.googleads.v18.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The googleAds.
    • getGoogleAdsOrBuilder

      GoogleAdsIdentifierOrBuilder getGoogleAdsOrBuilder()
       Immutable. Google Ads link.
       
      .google.ads.googleads.v18.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE];
    • hasMerchantCenter

      boolean hasMerchantCenter()
       Immutable. Google Merchant Center link.
       
      .google.ads.googleads.v18.resources.MerchantCenterIdentifier merchant_center = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the merchantCenter field is set.
    • getMerchantCenter

      MerchantCenterIdentifier getMerchantCenter()
       Immutable. Google Merchant Center link.
       
      .google.ads.googleads.v18.resources.MerchantCenterIdentifier merchant_center = 12 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The merchantCenter.
    • getMerchantCenterOrBuilder

      MerchantCenterIdentifierOrBuilder getMerchantCenterOrBuilder()
       Immutable. Google Merchant Center link.
       
      .google.ads.googleads.v18.resources.MerchantCenterIdentifier merchant_center = 12 [(.google.api.field_behavior) = IMMUTABLE];
    • hasAdvertisingPartner

      boolean hasAdvertisingPartner()
       Output only. Advertising Partner link.
       
      .google.ads.googleads.v18.resources.AdvertisingPartnerIdentifier advertising_partner = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the advertisingPartner field is set.
    • getAdvertisingPartner

      AdvertisingPartnerIdentifier getAdvertisingPartner()
       Output only. Advertising Partner link.
       
      .google.ads.googleads.v18.resources.AdvertisingPartnerIdentifier advertising_partner = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The advertisingPartner.
    • getAdvertisingPartnerOrBuilder

      AdvertisingPartnerIdentifierOrBuilder getAdvertisingPartnerOrBuilder()
       Output only. Advertising Partner link.
       
      .google.ads.googleads.v18.resources.AdvertisingPartnerIdentifier advertising_partner = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getLinkedProductCase

      ProductLink.LinkedProductCase getLinkedProductCase()