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 Detail

      • getResourceName

        java.lang.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.v14.enums.LinkedProductTypeEnum.LinkedProductType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for type.
      • getType

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

        boolean hasDataPartner()
         Immutable. Data partner link.
         
        .google.ads.googleads.v14.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.v14.resources.DataPartnerIdentifier data_partner = 4 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The dataPartner.
      • getDataPartnerOrBuilder

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

        boolean hasGoogleAds()
         Immutable. Google Ads link.
         
        .google.ads.googleads.v14.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.v14.resources.GoogleAdsIdentifier google_ads = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        The googleAds.
      • getGoogleAdsOrBuilder

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