Class ExtensionFeedItem

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.ExtensionFeedItem
All Implemented Interfaces:
ExtensionFeedItemOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ExtensionFeedItem extends com.google.protobuf.GeneratedMessageV3 implements ExtensionFeedItemOrBuilder
 An extension feed item.
 
Protobuf type google.ads.googleads.v18.resources.ExtensionFeedItem
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • EXTENSION_TYPE_FIELD_NUMBER

      public static final int EXTENSION_TYPE_FIELD_NUMBER
      See Also:
    • START_DATE_TIME_FIELD_NUMBER

      public static final int START_DATE_TIME_FIELD_NUMBER
      See Also:
    • END_DATE_TIME_FIELD_NUMBER

      public static final int END_DATE_TIME_FIELD_NUMBER
      See Also:
    • AD_SCHEDULES_FIELD_NUMBER

      public static final int AD_SCHEDULES_FIELD_NUMBER
      See Also:
    • DEVICE_FIELD_NUMBER

      public static final int DEVICE_FIELD_NUMBER
      See Also:
    • TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER

      public static final int TARGETED_GEO_TARGET_CONSTANT_FIELD_NUMBER
      See Also:
    • TARGETED_KEYWORD_FIELD_NUMBER

      public static final int TARGETED_KEYWORD_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER

      public static final int STRUCTURED_SNIPPET_FEED_ITEM_FIELD_NUMBER
      See Also:
    • APP_FEED_ITEM_FIELD_NUMBER

      public static final int APP_FEED_ITEM_FIELD_NUMBER
      See Also:
    • CALL_FEED_ITEM_FIELD_NUMBER

      public static final int CALL_FEED_ITEM_FIELD_NUMBER
      See Also:
    • CALLOUT_FEED_ITEM_FIELD_NUMBER

      public static final int CALLOUT_FEED_ITEM_FIELD_NUMBER
      See Also:
    • TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER

      public static final int TEXT_MESSAGE_FEED_ITEM_FIELD_NUMBER
      See Also:
    • PRICE_FEED_ITEM_FIELD_NUMBER

      public static final int PRICE_FEED_ITEM_FIELD_NUMBER
      See Also:
    • PROMOTION_FEED_ITEM_FIELD_NUMBER

      public static final int PROMOTION_FEED_ITEM_FIELD_NUMBER
      See Also:
    • LOCATION_FEED_ITEM_FIELD_NUMBER

      public static final int LOCATION_FEED_ITEM_FIELD_NUMBER
      See Also:
    • AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER

      public static final int AFFILIATE_LOCATION_FEED_ITEM_FIELD_NUMBER
      See Also:
    • HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER

      public static final int HOTEL_CALLOUT_FEED_ITEM_FIELD_NUMBER
      See Also:
    • IMAGE_FEED_ITEM_FIELD_NUMBER

      public static final int IMAGE_FEED_ITEM_FIELD_NUMBER
      See Also:
    • TARGETED_CAMPAIGN_FIELD_NUMBER

      public static final int TARGETED_CAMPAIGN_FIELD_NUMBER
      See Also:
    • TARGETED_AD_GROUP_FIELD_NUMBER

      public static final int TARGETED_AD_GROUP_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getExtensionCase

      public ExtensionFeedItem.ExtensionCase getExtensionCase()
      Specified by:
      getExtensionCase in interface ExtensionFeedItemOrBuilder
    • getServingResourceTargetingCase

      public ExtensionFeedItem.ServingResourceTargetingCase getServingResourceTargetingCase()
      Specified by:
      getServingResourceTargetingCase in interface ExtensionFeedItemOrBuilder
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the extension feed item.
       Extension feed item resource names have the form:
      
       `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface ExtensionFeedItemOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the extension feed item.
       Extension feed item resource names have the form:
      
       `customers/{customer_id}/extensionFeedItems/{feed_item_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for resourceName.
    • hasId

      public boolean hasId()
       Output only. The ID of this feed item. Read-only.
       
      optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasId in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. The ID of this feed item. Read-only.
       
      optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getId in interface ExtensionFeedItemOrBuilder
      Returns:
      The id.
    • getExtensionTypeValue

      public int getExtensionTypeValue()
       Output only. The extension type of the extension feed item.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionTypeValue in interface ExtensionFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for extensionType.
    • getExtensionType

      public ExtensionTypeEnum.ExtensionType getExtensionType()
       Output only. The extension type of the extension feed item.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getExtensionType in interface ExtensionFeedItemOrBuilder
      Returns:
      The extensionType.
    • hasStartDateTime

      public boolean hasStartDateTime()
       Start time in which this feed item is effective and can begin serving. The
       time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string start_date_time = 26;
      Specified by:
      hasStartDateTime in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the startDateTime field is set.
    • getStartDateTime

      public String getStartDateTime()
       Start time in which this feed item is effective and can begin serving. The
       time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string start_date_time = 26;
      Specified by:
      getStartDateTime in interface ExtensionFeedItemOrBuilder
      Returns:
      The startDateTime.
    • getStartDateTimeBytes

      public com.google.protobuf.ByteString getStartDateTimeBytes()
       Start time in which this feed item is effective and can begin serving. The
       time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string start_date_time = 26;
      Specified by:
      getStartDateTimeBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for startDateTime.
    • hasEndDateTime

      public boolean hasEndDateTime()
       End time in which this feed item is no longer effective and will stop
       serving. The time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string end_date_time = 27;
      Specified by:
      hasEndDateTime in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the endDateTime field is set.
    • getEndDateTime

      public String getEndDateTime()
       End time in which this feed item is no longer effective and will stop
       serving. The time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string end_date_time = 27;
      Specified by:
      getEndDateTime in interface ExtensionFeedItemOrBuilder
      Returns:
      The endDateTime.
    • getEndDateTimeBytes

      public com.google.protobuf.ByteString getEndDateTimeBytes()
       End time in which this feed item is no longer effective and will stop
       serving. The time is in the customer's time zone.
       The format is "YYYY-MM-DD HH:MM:SS".
       Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30"
       
      optional string end_date_time = 27;
      Specified by:
      getEndDateTimeBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for endDateTime.
    • getAdSchedulesList

      public List<AdScheduleInfo> getAdSchedulesList()
       List of non-overlapping schedules specifying all time intervals
       for which the feed item may serve. There can be a maximum of 6 schedules
       per day.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 16;
      Specified by:
      getAdSchedulesList in interface ExtensionFeedItemOrBuilder
    • getAdSchedulesOrBuilderList

      public List<? extends AdScheduleInfoOrBuilder> getAdSchedulesOrBuilderList()
       List of non-overlapping schedules specifying all time intervals
       for which the feed item may serve. There can be a maximum of 6 schedules
       per day.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 16;
      Specified by:
      getAdSchedulesOrBuilderList in interface ExtensionFeedItemOrBuilder
    • getAdSchedulesCount

      public int getAdSchedulesCount()
       List of non-overlapping schedules specifying all time intervals
       for which the feed item may serve. There can be a maximum of 6 schedules
       per day.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 16;
      Specified by:
      getAdSchedulesCount in interface ExtensionFeedItemOrBuilder
    • getAdSchedules

      public AdScheduleInfo getAdSchedules(int index)
       List of non-overlapping schedules specifying all time intervals
       for which the feed item may serve. There can be a maximum of 6 schedules
       per day.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 16;
      Specified by:
      getAdSchedules in interface ExtensionFeedItemOrBuilder
    • getAdSchedulesOrBuilder

      public AdScheduleInfoOrBuilder getAdSchedulesOrBuilder(int index)
       List of non-overlapping schedules specifying all time intervals
       for which the feed item may serve. There can be a maximum of 6 schedules
       per day.
       
      repeated .google.ads.googleads.v18.common.AdScheduleInfo ad_schedules = 16;
      Specified by:
      getAdSchedulesOrBuilder in interface ExtensionFeedItemOrBuilder
    • getDeviceValue

      public int getDeviceValue()
       The targeted device.
       
      .google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;
      Specified by:
      getDeviceValue in interface ExtensionFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for device.
    • getDevice

       The targeted device.
       
      .google.ads.googleads.v18.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;
      Specified by:
      getDevice in interface ExtensionFeedItemOrBuilder
      Returns:
      The device.
    • hasTargetedGeoTargetConstant

      public boolean hasTargetedGeoTargetConstant()
       The targeted geo target constant.
       
      optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasTargetedGeoTargetConstant in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the targetedGeoTargetConstant field is set.
    • getTargetedGeoTargetConstant

      public String getTargetedGeoTargetConstant()
       The targeted geo target constant.
       
      optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedGeoTargetConstant in interface ExtensionFeedItemOrBuilder
      Returns:
      The targetedGeoTargetConstant.
    • getTargetedGeoTargetConstantBytes

      public com.google.protobuf.ByteString getTargetedGeoTargetConstantBytes()
       The targeted geo target constant.
       
      optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedGeoTargetConstantBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for targetedGeoTargetConstant.
    • hasTargetedKeyword

      public boolean hasTargetedKeyword()
       The targeted keyword.
       
      .google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22;
      Specified by:
      hasTargetedKeyword in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the targetedKeyword field is set.
    • getTargetedKeyword

      public KeywordInfo getTargetedKeyword()
       The targeted keyword.
       
      .google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22;
      Specified by:
      getTargetedKeyword in interface ExtensionFeedItemOrBuilder
      Returns:
      The targetedKeyword.
    • getTargetedKeywordOrBuilder

      public KeywordInfoOrBuilder getTargetedKeywordOrBuilder()
       The targeted keyword.
       
      .google.ads.googleads.v18.common.KeywordInfo targeted_keyword = 22;
      Specified by:
      getTargetedKeywordOrBuilder in interface ExtensionFeedItemOrBuilder
    • getStatusValue

      public int getStatusValue()
       Output only. Status of the feed item.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatusValue in interface ExtensionFeedItemOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

       Output only. Status of the feed item.
       This field is read-only.
       
      .google.ads.googleads.v18.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStatus in interface ExtensionFeedItemOrBuilder
      Returns:
      The status.
    • hasSitelinkFeedItem

      public boolean hasSitelinkFeedItem()
       Sitelink.
       
      .google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;
      Specified by:
      hasSitelinkFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the sitelinkFeedItem field is set.
    • getSitelinkFeedItem

      public SitelinkFeedItem getSitelinkFeedItem()
       Sitelink.
       
      .google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;
      Specified by:
      getSitelinkFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The sitelinkFeedItem.
    • getSitelinkFeedItemOrBuilder

      public SitelinkFeedItemOrBuilder getSitelinkFeedItemOrBuilder()
       Sitelink.
       
      .google.ads.googleads.v18.common.SitelinkFeedItem sitelink_feed_item = 2;
      Specified by:
      getSitelinkFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasStructuredSnippetFeedItem

      public boolean hasStructuredSnippetFeedItem()
       Structured snippet extension.
       
      .google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      Specified by:
      hasStructuredSnippetFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the structuredSnippetFeedItem field is set.
    • getStructuredSnippetFeedItem

      public StructuredSnippetFeedItem getStructuredSnippetFeedItem()
       Structured snippet extension.
       
      .google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      Specified by:
      getStructuredSnippetFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The structuredSnippetFeedItem.
    • getStructuredSnippetFeedItemOrBuilder

      public StructuredSnippetFeedItemOrBuilder getStructuredSnippetFeedItemOrBuilder()
       Structured snippet extension.
       
      .google.ads.googleads.v18.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      Specified by:
      getStructuredSnippetFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasAppFeedItem

      public boolean hasAppFeedItem()
       App extension.
       
      .google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;
      Specified by:
      hasAppFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the appFeedItem field is set.
    • getAppFeedItem

      public AppFeedItem getAppFeedItem()
       App extension.
       
      .google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;
      Specified by:
      getAppFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The appFeedItem.
    • getAppFeedItemOrBuilder

      public AppFeedItemOrBuilder getAppFeedItemOrBuilder()
       App extension.
       
      .google.ads.googleads.v18.common.AppFeedItem app_feed_item = 7;
      Specified by:
      getAppFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasCallFeedItem

      public boolean hasCallFeedItem()
       Call extension.
       
      .google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;
      Specified by:
      hasCallFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the callFeedItem field is set.
    • getCallFeedItem

      public CallFeedItem getCallFeedItem()
       Call extension.
       
      .google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;
      Specified by:
      getCallFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The callFeedItem.
    • getCallFeedItemOrBuilder

      public CallFeedItemOrBuilder getCallFeedItemOrBuilder()
       Call extension.
       
      .google.ads.googleads.v18.common.CallFeedItem call_feed_item = 8;
      Specified by:
      getCallFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasCalloutFeedItem

      public boolean hasCalloutFeedItem()
       Callout extension.
       
      .google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;
      Specified by:
      hasCalloutFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the calloutFeedItem field is set.
    • getCalloutFeedItem

      public CalloutFeedItem getCalloutFeedItem()
       Callout extension.
       
      .google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;
      Specified by:
      getCalloutFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The calloutFeedItem.
    • getCalloutFeedItemOrBuilder

      public CalloutFeedItemOrBuilder getCalloutFeedItemOrBuilder()
       Callout extension.
       
      .google.ads.googleads.v18.common.CalloutFeedItem callout_feed_item = 9;
      Specified by:
      getCalloutFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasTextMessageFeedItem

      public boolean hasTextMessageFeedItem()
       Text message extension.
       
      .google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;
      Specified by:
      hasTextMessageFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the textMessageFeedItem field is set.
    • getTextMessageFeedItem

      public TextMessageFeedItem getTextMessageFeedItem()
       Text message extension.
       
      .google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;
      Specified by:
      getTextMessageFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The textMessageFeedItem.
    • getTextMessageFeedItemOrBuilder

      public TextMessageFeedItemOrBuilder getTextMessageFeedItemOrBuilder()
       Text message extension.
       
      .google.ads.googleads.v18.common.TextMessageFeedItem text_message_feed_item = 10;
      Specified by:
      getTextMessageFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasPriceFeedItem

      public boolean hasPriceFeedItem()
       Price extension.
       
      .google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;
      Specified by:
      hasPriceFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the priceFeedItem field is set.
    • getPriceFeedItem

      public PriceFeedItem getPriceFeedItem()
       Price extension.
       
      .google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;
      Specified by:
      getPriceFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The priceFeedItem.
    • getPriceFeedItemOrBuilder

      public PriceFeedItemOrBuilder getPriceFeedItemOrBuilder()
       Price extension.
       
      .google.ads.googleads.v18.common.PriceFeedItem price_feed_item = 11;
      Specified by:
      getPriceFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasPromotionFeedItem

      public boolean hasPromotionFeedItem()
       Promotion extension.
       
      .google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;
      Specified by:
      hasPromotionFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the promotionFeedItem field is set.
    • getPromotionFeedItem

      public PromotionFeedItem getPromotionFeedItem()
       Promotion extension.
       
      .google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;
      Specified by:
      getPromotionFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The promotionFeedItem.
    • getPromotionFeedItemOrBuilder

      public PromotionFeedItemOrBuilder getPromotionFeedItemOrBuilder()
       Promotion extension.
       
      .google.ads.googleads.v18.common.PromotionFeedItem promotion_feed_item = 12;
      Specified by:
      getPromotionFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasLocationFeedItem

      public boolean hasLocationFeedItem()
       Output only. Location extension. Locations are synced from a Business
       Profile into a feed. This field is read-only.
       
      .google.ads.googleads.v18.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasLocationFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the locationFeedItem field is set.
    • getLocationFeedItem

      public LocationFeedItem getLocationFeedItem()
       Output only. Location extension. Locations are synced from a Business
       Profile into a feed. This field is read-only.
       
      .google.ads.googleads.v18.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The locationFeedItem.
    • getLocationFeedItemOrBuilder

      public LocationFeedItemOrBuilder getLocationFeedItemOrBuilder()
       Output only. Location extension. Locations are synced from a Business
       Profile into a feed. This field is read-only.
       
      .google.ads.googleads.v18.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLocationFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasAffiliateLocationFeedItem

      public boolean hasAffiliateLocationFeedItem()
       Output only. Affiliate location extension. Feed locations are populated
       by Google Ads based on a chain ID. This field is read-only.
       
      .google.ads.googleads.v18.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAffiliateLocationFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the affiliateLocationFeedItem field is set.
    • getAffiliateLocationFeedItem

      public AffiliateLocationFeedItem getAffiliateLocationFeedItem()
       Output only. Affiliate location extension. Feed locations are populated
       by Google Ads based on a chain ID. This field is read-only.
       
      .google.ads.googleads.v18.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffiliateLocationFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The affiliateLocationFeedItem.
    • getAffiliateLocationFeedItemOrBuilder

      public AffiliateLocationFeedItemOrBuilder getAffiliateLocationFeedItemOrBuilder()
       Output only. Affiliate location extension. Feed locations are populated
       by Google Ads based on a chain ID. This field is read-only.
       
      .google.ads.googleads.v18.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAffiliateLocationFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasHotelCalloutFeedItem

      public boolean hasHotelCalloutFeedItem()
       Hotel Callout extension.
       
      .google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      Specified by:
      hasHotelCalloutFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the hotelCalloutFeedItem field is set.
    • getHotelCalloutFeedItem

      public HotelCalloutFeedItem getHotelCalloutFeedItem()
       Hotel Callout extension.
       
      .google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      Specified by:
      getHotelCalloutFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The hotelCalloutFeedItem.
    • getHotelCalloutFeedItemOrBuilder

      public HotelCalloutFeedItemOrBuilder getHotelCalloutFeedItemOrBuilder()
       Hotel Callout extension.
       
      .google.ads.googleads.v18.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      Specified by:
      getHotelCalloutFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasImageFeedItem

      public boolean hasImageFeedItem()
       Immutable. Advertiser provided image extension.
       
      .google.ads.googleads.v18.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasImageFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the imageFeedItem field is set.
    • getImageFeedItem

      public ImageFeedItem getImageFeedItem()
       Immutable. Advertiser provided image extension.
       
      .google.ads.googleads.v18.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getImageFeedItem in interface ExtensionFeedItemOrBuilder
      Returns:
      The imageFeedItem.
    • getImageFeedItemOrBuilder

      public ImageFeedItemOrBuilder getImageFeedItemOrBuilder()
       Immutable. Advertiser provided image extension.
       
      .google.ads.googleads.v18.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getImageFeedItemOrBuilder in interface ExtensionFeedItemOrBuilder
    • hasTargetedCampaign

      public boolean hasTargetedCampaign()
       The targeted campaign.
       
      string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasTargetedCampaign in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the targetedCampaign field is set.
    • getTargetedCampaign

      public String getTargetedCampaign()
       The targeted campaign.
       
      string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedCampaign in interface ExtensionFeedItemOrBuilder
      Returns:
      The targetedCampaign.
    • getTargetedCampaignBytes

      public com.google.protobuf.ByteString getTargetedCampaignBytes()
       The targeted campaign.
       
      string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedCampaignBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for targetedCampaign.
    • hasTargetedAdGroup

      public boolean hasTargetedAdGroup()
       The targeted ad group.
       
      string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
      Specified by:
      hasTargetedAdGroup in interface ExtensionFeedItemOrBuilder
      Returns:
      Whether the targetedAdGroup field is set.
    • getTargetedAdGroup

      public String getTargetedAdGroup()
       The targeted ad group.
       
      string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedAdGroup in interface ExtensionFeedItemOrBuilder
      Returns:
      The targetedAdGroup.
    • getTargetedAdGroupBytes

      public com.google.protobuf.ByteString getTargetedAdGroupBytes()
       The targeted ad group.
       
      string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTargetedAdGroupBytes in interface ExtensionFeedItemOrBuilder
      Returns:
      The bytes for targetedAdGroup.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 ExtensionFeedItem parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ExtensionFeedItem.Builder newBuilder()
    • newBuilder

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

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

      protected ExtensionFeedItem.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ExtensionFeedItem getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ExtensionFeedItem> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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