Class ExtensionFeedItem.Builder

  • All Implemented Interfaces:
    ExtensionFeedItemOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    ExtensionFeedItem

    public static final class ExtensionFeedItem.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
    implements ExtensionFeedItemOrBuilder
     An extension feed item.
     
    Protobuf type google.ads.googleads.v10.resources.ExtensionFeedItem
    • Method Detail

      • 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.Builder<ExtensionFeedItem.Builder>
      • clear

        public ExtensionFeedItem.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • getDefaultInstanceForType

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

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

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

        public ExtensionFeedItem.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • setField

        public ExtensionFeedItem.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • clearField

        public ExtensionFeedItem.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • clearOneof

        public ExtensionFeedItem.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • setRepeatedField

        public ExtensionFeedItem.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • addRepeatedField

        public ExtensionFeedItem.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • mergeFrom

        public ExtensionFeedItem.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExtensionFeedItem.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • mergeFrom

        public ExtensionFeedItem.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExtensionFeedItem.Builder>
        Throws:
        java.io.IOException
      • getResourceName

        public java.lang.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.
      • setResourceName

        public ExtensionFeedItem.Builder setResourceName​(java.lang.String value)
         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) = { ... }
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public ExtensionFeedItem.Builder clearResourceName()
         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) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public ExtensionFeedItem.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         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) = { ... }
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • 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.
      • setId

        public ExtensionFeedItem.Builder setId​(long value)
         Output only. The ID of this feed item. Read-only.
         
        optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ExtensionFeedItem.Builder clearId()
         Output only. The ID of this feed item. Read-only.
         
        optional int64 id = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getExtensionTypeValue

        public int getExtensionTypeValue()
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.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.
      • setExtensionTypeValue

        public ExtensionFeedItem.Builder setExtensionTypeValue​(int value)
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for extensionType to set.
        Returns:
        This builder for chaining.
      • getExtensionType

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

        public ExtensionFeedItem.Builder setExtensionType​(ExtensionTypeEnum.ExtensionType value)
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The extensionType to set.
        Returns:
        This builder for chaining.
      • clearExtensionType

        public ExtensionFeedItem.Builder clearExtensionType()
         Output only. The extension type of the extension feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.ExtensionTypeEnum.ExtensionType extension_type = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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 java.lang.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.
      • setStartDateTime

        public ExtensionFeedItem.Builder setStartDateTime​(java.lang.String value)
         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;
        Parameters:
        value - The startDateTime to set.
        Returns:
        This builder for chaining.
      • clearStartDateTime

        public ExtensionFeedItem.Builder clearStartDateTime()
         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;
        Returns:
        This builder for chaining.
      • setStartDateTimeBytes

        public ExtensionFeedItem.Builder setStartDateTimeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for startDateTime to set.
        Returns:
        This builder for chaining.
      • 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 java.lang.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.
      • setEndDateTime

        public ExtensionFeedItem.Builder setEndDateTime​(java.lang.String value)
         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;
        Parameters:
        value - The endDateTime to set.
        Returns:
        This builder for chaining.
      • clearEndDateTime

        public ExtensionFeedItem.Builder clearEndDateTime()
         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;
        Returns:
        This builder for chaining.
      • setEndDateTimeBytes

        public ExtensionFeedItem.Builder setEndDateTimeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for endDateTime to set.
        Returns:
        This builder for chaining.
      • getAdSchedulesList

        public java.util.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.v10.common.AdScheduleInfo ad_schedules = 16;
        Specified by:
        getAdSchedulesList 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.v10.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.v10.common.AdScheduleInfo ad_schedules = 16;
        Specified by:
        getAdSchedules in interface ExtensionFeedItemOrBuilder
      • setAdSchedules

        public ExtensionFeedItem.Builder setAdSchedules​(int index,
                                                        AdScheduleInfo value)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • setAdSchedules

        public ExtensionFeedItem.Builder setAdSchedules​(int index,
                                                        AdScheduleInfo.Builder builderForValue)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAdSchedules

        public ExtensionFeedItem.Builder addAdSchedules​(AdScheduleInfo value)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAdSchedules

        public ExtensionFeedItem.Builder addAdSchedules​(int index,
                                                        AdScheduleInfo value)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAdSchedules

        public ExtensionFeedItem.Builder addAdSchedules​(AdScheduleInfo.Builder builderForValue)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAdSchedules

        public ExtensionFeedItem.Builder addAdSchedules​(int index,
                                                        AdScheduleInfo.Builder builderForValue)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAllAdSchedules

        public ExtensionFeedItem.Builder addAllAdSchedules​(java.lang.Iterable<? extends AdScheduleInfo> values)
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • clearAdSchedules

        public ExtensionFeedItem.Builder clearAdSchedules()
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • removeAdSchedules

        public ExtensionFeedItem.Builder removeAdSchedules​(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.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedulesBuilder

        public AdScheduleInfo.Builder getAdSchedulesBuilder​(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.v10.common.AdScheduleInfo ad_schedules = 16;
      • 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.v10.common.AdScheduleInfo ad_schedules = 16;
        Specified by:
        getAdSchedulesOrBuilder in interface ExtensionFeedItemOrBuilder
      • getAdSchedulesOrBuilderList

        public java.util.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.v10.common.AdScheduleInfo ad_schedules = 16;
        Specified by:
        getAdSchedulesOrBuilderList in interface ExtensionFeedItemOrBuilder
      • addAdSchedulesBuilder

        public AdScheduleInfo.Builder addAdSchedulesBuilder()
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • addAdSchedulesBuilder

        public AdScheduleInfo.Builder addAdSchedulesBuilder​(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.v10.common.AdScheduleInfo ad_schedules = 16;
      • getAdSchedulesBuilderList

        public java.util.List<AdScheduleInfo.Builder> getAdSchedulesBuilderList()
         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.v10.common.AdScheduleInfo ad_schedules = 16;
      • getDeviceValue

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

        public ExtensionFeedItem.Builder setDeviceValue​(int value)
         The targeted device.
         
        .google.ads.googleads.v10.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;
        Parameters:
        value - The enum numeric value on the wire for device to set.
        Returns:
        This builder for chaining.
      • clearDevice

        public ExtensionFeedItem.Builder clearDevice()
         The targeted device.
         
        .google.ads.googleads.v10.enums.FeedItemTargetDeviceEnum.FeedItemTargetDevice device = 17;
        Returns:
        This builder for chaining.
      • 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 java.lang.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.
      • setTargetedGeoTargetConstant

        public ExtensionFeedItem.Builder setTargetedGeoTargetConstant​(java.lang.String value)
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The targetedGeoTargetConstant to set.
        Returns:
        This builder for chaining.
      • clearTargetedGeoTargetConstant

        public ExtensionFeedItem.Builder clearTargetedGeoTargetConstant()
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setTargetedGeoTargetConstantBytes

        public ExtensionFeedItem.Builder setTargetedGeoTargetConstantBytes​(com.google.protobuf.ByteString value)
         The targeted geo target constant.
         
        optional string targeted_geo_target_constant = 30 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for targetedGeoTargetConstant to set.
        Returns:
        This builder for chaining.
      • hasTargetedKeyword

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

        public ExtensionFeedItem.Builder setTargetedKeyword​(KeywordInfo value)
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
      • mergeTargetedKeyword

        public ExtensionFeedItem.Builder mergeTargetedKeyword​(KeywordInfo value)
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
      • clearTargetedKeyword

        public ExtensionFeedItem.Builder clearTargetedKeyword()
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
      • getTargetedKeywordBuilder

        public KeywordInfo.Builder getTargetedKeywordBuilder()
         The targeted keyword.
         
        .google.ads.googleads.v10.common.KeywordInfo targeted_keyword = 22;
      • getStatusValue

        public int getStatusValue()
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.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.
      • setStatusValue

        public ExtensionFeedItem.Builder setStatusValue​(int value)
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • setStatus

        public ExtensionFeedItem.Builder setStatus​(FeedItemStatusEnum.FeedItemStatus value)
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public ExtensionFeedItem.Builder clearStatus()
         Output only. Status of the feed item.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedItemStatusEnum.FeedItemStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasSitelinkFeedItem

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

        public ExtensionFeedItem.Builder clearSitelinkFeedItem()
         Sitelink extension.
         
        .google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;
      • getSitelinkFeedItemBuilder

        public SitelinkFeedItem.Builder getSitelinkFeedItemBuilder()
         Sitelink extension.
         
        .google.ads.googleads.v10.common.SitelinkFeedItem sitelink_feed_item = 2;
      • hasStructuredSnippetFeedItem

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

        public ExtensionFeedItem.Builder setStructuredSnippetFeedItem​(StructuredSnippetFeedItem value)
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      • mergeStructuredSnippetFeedItem

        public ExtensionFeedItem.Builder mergeStructuredSnippetFeedItem​(StructuredSnippetFeedItem value)
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      • clearStructuredSnippetFeedItem

        public ExtensionFeedItem.Builder clearStructuredSnippetFeedItem()
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      • getStructuredSnippetFeedItemBuilder

        public StructuredSnippetFeedItem.Builder getStructuredSnippetFeedItemBuilder()
         Structured snippet extension.
         
        .google.ads.googleads.v10.common.StructuredSnippetFeedItem structured_snippet_feed_item = 3;
      • hasAppFeedItem

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

        public ExtensionFeedItem.Builder clearAppFeedItem()
         App extension.
         
        .google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;
      • getAppFeedItemBuilder

        public AppFeedItem.Builder getAppFeedItemBuilder()
         App extension.
         
        .google.ads.googleads.v10.common.AppFeedItem app_feed_item = 7;
      • hasCallFeedItem

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

        public ExtensionFeedItem.Builder clearCallFeedItem()
         Call extension.
         
        .google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;
      • getCallFeedItemBuilder

        public CallFeedItem.Builder getCallFeedItemBuilder()
         Call extension.
         
        .google.ads.googleads.v10.common.CallFeedItem call_feed_item = 8;
      • hasCalloutFeedItem

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

        public ExtensionFeedItem.Builder clearCalloutFeedItem()
         Callout extension.
         
        .google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;
      • getCalloutFeedItemBuilder

        public CalloutFeedItem.Builder getCalloutFeedItemBuilder()
         Callout extension.
         
        .google.ads.googleads.v10.common.CalloutFeedItem callout_feed_item = 9;
      • hasTextMessageFeedItem

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

        public ExtensionFeedItem.Builder mergeTextMessageFeedItem​(TextMessageFeedItem value)
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
      • clearTextMessageFeedItem

        public ExtensionFeedItem.Builder clearTextMessageFeedItem()
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
      • getTextMessageFeedItemBuilder

        public TextMessageFeedItem.Builder getTextMessageFeedItemBuilder()
         Text message extension.
         
        .google.ads.googleads.v10.common.TextMessageFeedItem text_message_feed_item = 10;
      • hasPriceFeedItem

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

        public ExtensionFeedItem.Builder clearPriceFeedItem()
         Price extension.
         
        .google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;
      • getPriceFeedItemBuilder

        public PriceFeedItem.Builder getPriceFeedItemBuilder()
         Price extension.
         
        .google.ads.googleads.v10.common.PriceFeedItem price_feed_item = 11;
      • hasPromotionFeedItem

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

        public ExtensionFeedItem.Builder clearPromotionFeedItem()
         Promotion extension.
         
        .google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;
      • getPromotionFeedItemBuilder

        public PromotionFeedItem.Builder getPromotionFeedItemBuilder()
         Promotion extension.
         
        .google.ads.googleads.v10.common.PromotionFeedItem promotion_feed_item = 12;
      • 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.v10.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.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getLocationFeedItem in interface ExtensionFeedItemOrBuilder
        Returns:
        The locationFeedItem.
      • setLocationFeedItem

        public ExtensionFeedItem.Builder setLocationFeedItem​(LocationFeedItem value)
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setLocationFeedItem

        public ExtensionFeedItem.Builder setLocationFeedItem​(LocationFeedItem.Builder builderForValue)
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeLocationFeedItem

        public ExtensionFeedItem.Builder mergeLocationFeedItem​(LocationFeedItem value)
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearLocationFeedItem

        public ExtensionFeedItem.Builder clearLocationFeedItem()
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getLocationFeedItemBuilder

        public LocationFeedItem.Builder getLocationFeedItemBuilder()
         Output only. Location extension. Locations are synced from a Business Profile into a
         feed. This field is read-only.
         
        .google.ads.googleads.v10.common.LocationFeedItem location_feed_item = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.v10.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.v10.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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getAffiliateLocationFeedItem in interface ExtensionFeedItemOrBuilder
        Returns:
        The affiliateLocationFeedItem.
      • setAffiliateLocationFeedItem

        public ExtensionFeedItem.Builder setAffiliateLocationFeedItem​(AffiliateLocationFeedItem value)
         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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setAffiliateLocationFeedItem

        public ExtensionFeedItem.Builder setAffiliateLocationFeedItem​(AffiliateLocationFeedItem.Builder builderForValue)
         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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeAffiliateLocationFeedItem

        public ExtensionFeedItem.Builder mergeAffiliateLocationFeedItem​(AffiliateLocationFeedItem value)
         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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearAffiliateLocationFeedItem

        public ExtensionFeedItem.Builder clearAffiliateLocationFeedItem()
         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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getAffiliateLocationFeedItemBuilder

        public AffiliateLocationFeedItem.Builder getAffiliateLocationFeedItemBuilder()
         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.v10.common.AffiliateLocationFeedItem affiliate_location_feed_item = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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.v10.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.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
        Specified by:
        hasHotelCalloutFeedItem in interface ExtensionFeedItemOrBuilder
        Returns:
        Whether the hotelCalloutFeedItem field is set.
      • setHotelCalloutFeedItem

        public ExtensionFeedItem.Builder setHotelCalloutFeedItem​(HotelCalloutFeedItem value)
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      • mergeHotelCalloutFeedItem

        public ExtensionFeedItem.Builder mergeHotelCalloutFeedItem​(HotelCalloutFeedItem value)
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      • clearHotelCalloutFeedItem

        public ExtensionFeedItem.Builder clearHotelCalloutFeedItem()
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      • getHotelCalloutFeedItemBuilder

        public HotelCalloutFeedItem.Builder getHotelCalloutFeedItemBuilder()
         Hotel Callout extension.
         
        .google.ads.googleads.v10.common.HotelCalloutFeedItem hotel_callout_feed_item = 23;
      • hasImageFeedItem

        public boolean hasImageFeedItem()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.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.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getImageFeedItem in interface ExtensionFeedItemOrBuilder
        Returns:
        The imageFeedItem.
      • setImageFeedItem

        public ExtensionFeedItem.Builder setImageFeedItem​(ImageFeedItem value)
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • setImageFeedItem

        public ExtensionFeedItem.Builder setImageFeedItem​(ImageFeedItem.Builder builderForValue)
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • mergeImageFeedItem

        public ExtensionFeedItem.Builder mergeImageFeedItem​(ImageFeedItem value)
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • clearImageFeedItem

        public ExtensionFeedItem.Builder clearImageFeedItem()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • getImageFeedItemBuilder

        public ImageFeedItem.Builder getImageFeedItemBuilder()
         Immutable. Advertiser provided image extension.
         
        .google.ads.googleads.v10.common.ImageFeedItem image_feed_item = 31 [(.google.api.field_behavior) = IMMUTABLE];
      • 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 java.lang.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.
      • setTargetedCampaign

        public ExtensionFeedItem.Builder setTargetedCampaign​(java.lang.String value)
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The targetedCampaign to set.
        Returns:
        This builder for chaining.
      • clearTargetedCampaign

        public ExtensionFeedItem.Builder clearTargetedCampaign()
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setTargetedCampaignBytes

        public ExtensionFeedItem.Builder setTargetedCampaignBytes​(com.google.protobuf.ByteString value)
         The targeted campaign.
         
        string targeted_campaign = 28 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for targetedCampaign to set.
        Returns:
        This builder for chaining.
      • 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 java.lang.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.
      • setTargetedAdGroup

        public ExtensionFeedItem.Builder setTargetedAdGroup​(java.lang.String value)
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The targetedAdGroup to set.
        Returns:
        This builder for chaining.
      • clearTargetedAdGroup

        public ExtensionFeedItem.Builder clearTargetedAdGroup()
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setTargetedAdGroupBytes

        public ExtensionFeedItem.Builder setTargetedAdGroupBytes​(com.google.protobuf.ByteString value)
         The targeted ad group.
         
        string targeted_ad_group = 29 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for targetedAdGroup to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ExtensionFeedItem.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>
      • mergeUnknownFields

        public final ExtensionFeedItem.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExtensionFeedItem.Builder>