Class FeedItem.Builder

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

    public static final class FeedItem.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<FeedItem.Builder>
    implements FeedItemOrBuilder
     A feed item.
     
    Protobuf type google.ads.googleads.v10.resources.FeedItem
    • 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<FeedItem.Builder>
      • clear

        public FeedItem.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<FeedItem.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<FeedItem.Builder>
      • getDefaultInstanceForType

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

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

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

        public FeedItem.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<FeedItem.Builder>
      • setField

        public FeedItem.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<FeedItem.Builder>
      • clearField

        public FeedItem.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<FeedItem.Builder>
      • clearOneof

        public FeedItem.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<FeedItem.Builder>
      • setRepeatedField

        public FeedItem.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<FeedItem.Builder>
      • addRepeatedField

        public FeedItem.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<FeedItem.Builder>
      • mergeFrom

        public FeedItem.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<FeedItem.Builder>
      • isInitialized

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

        public FeedItem.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<FeedItem.Builder>
        Throws:
        java.io.IOException
      • getResourceName

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

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

        public FeedItem.Builder setResourceName​(java.lang.String value)
         Immutable. The resource name of the feed item.
         Feed item resource names have the form:
         `customers/{customer_id}/feedItems/{feed_id}~{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 FeedItem.Builder clearResourceName()
         Immutable. The resource name of the feed item.
         Feed item resource names have the form:
         `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}`
         
        string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public FeedItem.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Immutable. The resource name of the feed item.
         Feed item resource names have the form:
         `customers/{customer_id}/feedItems/{feed_id}~{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.
      • hasFeed

        public boolean hasFeed()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        hasFeed in interface FeedItemOrBuilder
        Returns:
        Whether the feed field is set.
      • getFeed

        public java.lang.String getFeed()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getFeed in interface FeedItemOrBuilder
        Returns:
        The feed.
      • getFeedBytes

        public com.google.protobuf.ByteString getFeedBytes()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Specified by:
        getFeedBytes in interface FeedItemOrBuilder
        Returns:
        The bytes for feed.
      • setFeed

        public FeedItem.Builder setFeed​(java.lang.String value)
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The feed to set.
        Returns:
        This builder for chaining.
      • clearFeed

        public FeedItem.Builder clearFeed()
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setFeedBytes

        public FeedItem.Builder setFeedBytes​(com.google.protobuf.ByteString value)
         Immutable. The feed to which this feed item belongs.
         
        optional string feed = 11 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for feed to set.
        Returns:
        This builder for chaining.
      • hasId

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

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

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

        public FeedItem.Builder clearId()
         Output only. The ID of this feed item.
         
        optional int64 id = 12 [(.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 = 13;
        Specified by:
        hasStartDateTime in interface FeedItemOrBuilder
        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 = 13;
        Specified by:
        getStartDateTime in interface FeedItemOrBuilder
        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 = 13;
        Specified by:
        getStartDateTimeBytes in interface FeedItemOrBuilder
        Returns:
        The bytes for startDateTime.
      • setStartDateTime

        public FeedItem.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 = 13;
        Parameters:
        value - The startDateTime to set.
        Returns:
        This builder for chaining.
      • clearStartDateTime

        public FeedItem.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 = 13;
        Returns:
        This builder for chaining.
      • setStartDateTimeBytes

        public FeedItem.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 = 13;
        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 = 14;
        Specified by:
        hasEndDateTime in interface FeedItemOrBuilder
        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 = 14;
        Specified by:
        getEndDateTime in interface FeedItemOrBuilder
        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 = 14;
        Specified by:
        getEndDateTimeBytes in interface FeedItemOrBuilder
        Returns:
        The bytes for endDateTime.
      • setEndDateTime

        public FeedItem.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 = 14;
        Parameters:
        value - The endDateTime to set.
        Returns:
        This builder for chaining.
      • clearEndDateTime

        public FeedItem.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 = 14;
        Returns:
        This builder for chaining.
      • setEndDateTimeBytes

        public FeedItem.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 = 14;
        Parameters:
        value - The bytes for endDateTime to set.
        Returns:
        This builder for chaining.
      • getAttributeValuesCount

        public int getAttributeValuesCount()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
        Specified by:
        getAttributeValuesCount in interface FeedItemOrBuilder
      • setAttributeValues

        public FeedItem.Builder setAttributeValues​(int index,
                                                   FeedItemAttributeValue value)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • setAttributeValues

        public FeedItem.Builder setAttributeValues​(int index,
                                                   FeedItemAttributeValue.Builder builderForValue)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValues

        public FeedItem.Builder addAttributeValues​(FeedItemAttributeValue value)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValues

        public FeedItem.Builder addAttributeValues​(int index,
                                                   FeedItemAttributeValue value)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValues

        public FeedItem.Builder addAttributeValues​(FeedItemAttributeValue.Builder builderForValue)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValues

        public FeedItem.Builder addAttributeValues​(int index,
                                                   FeedItemAttributeValue.Builder builderForValue)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAllAttributeValues

        public FeedItem.Builder addAllAttributeValues​(java.lang.Iterable<? extends FeedItemAttributeValue> values)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • clearAttributeValues

        public FeedItem.Builder clearAttributeValues()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • removeAttributeValues

        public FeedItem.Builder removeAttributeValues​(int index)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValuesBuilder

        public FeedItemAttributeValue.Builder getAttributeValuesBuilder​(int index)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValuesBuilder

        public FeedItemAttributeValue.Builder addAttributeValuesBuilder()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • addAttributeValuesBuilder

        public FeedItemAttributeValue.Builder addAttributeValuesBuilder​(int index)
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • getAttributeValuesBuilderList

        public java.util.List<FeedItemAttributeValue.Builder> getAttributeValuesBuilderList()
         The feed item's attribute values.
         
        repeated .google.ads.googleads.v10.resources.FeedItemAttributeValue attribute_values = 6;
      • getGeoTargetingRestrictionValue

        public int getGeoTargetingRestrictionValue()
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v10.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Specified by:
        getGeoTargetingRestrictionValue in interface FeedItemOrBuilder
        Returns:
        The enum numeric value on the wire for geoTargetingRestriction.
      • setGeoTargetingRestrictionValue

        public FeedItem.Builder setGeoTargetingRestrictionValue​(int value)
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v10.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Parameters:
        value - The enum numeric value on the wire for geoTargetingRestriction to set.
        Returns:
        This builder for chaining.
      • setGeoTargetingRestriction

        public FeedItem.Builder setGeoTargetingRestriction​(GeoTargetingRestrictionEnum.GeoTargetingRestriction value)
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v10.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Parameters:
        value - The geoTargetingRestriction to set.
        Returns:
        This builder for chaining.
      • clearGeoTargetingRestriction

        public FeedItem.Builder clearGeoTargetingRestriction()
         Geo targeting restriction specifies the type of location that can be used
         for targeting.
         
        .google.ads.googleads.v10.enums.GeoTargetingRestrictionEnum.GeoTargetingRestriction geo_targeting_restriction = 7;
        Returns:
        This builder for chaining.
      • getUrlCustomParametersList

        public java.util.List<CustomParameter> getUrlCustomParametersList()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
        Specified by:
        getUrlCustomParametersList in interface FeedItemOrBuilder
      • getUrlCustomParametersCount

        public int getUrlCustomParametersCount()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
        Specified by:
        getUrlCustomParametersCount in interface FeedItemOrBuilder
      • getUrlCustomParameters

        public CustomParameter getUrlCustomParameters​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
        Specified by:
        getUrlCustomParameters in interface FeedItemOrBuilder
      • setUrlCustomParameters

        public FeedItem.Builder setUrlCustomParameters​(int index,
                                                       CustomParameter value)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • setUrlCustomParameters

        public FeedItem.Builder setUrlCustomParameters​(int index,
                                                       CustomParameter.Builder builderForValue)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addUrlCustomParameters

        public FeedItem.Builder addUrlCustomParameters​(CustomParameter value)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addUrlCustomParameters

        public FeedItem.Builder addUrlCustomParameters​(int index,
                                                       CustomParameter value)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addUrlCustomParameters

        public FeedItem.Builder addUrlCustomParameters​(CustomParameter.Builder builderForValue)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addUrlCustomParameters

        public FeedItem.Builder addUrlCustomParameters​(int index,
                                                       CustomParameter.Builder builderForValue)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addAllUrlCustomParameters

        public FeedItem.Builder addAllUrlCustomParameters​(java.lang.Iterable<? extends CustomParameter> values)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • clearUrlCustomParameters

        public FeedItem.Builder clearUrlCustomParameters()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • removeUrlCustomParameters

        public FeedItem.Builder removeUrlCustomParameters​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersBuilder

        public CustomParameter.Builder getUrlCustomParametersBuilder​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersOrBuilder

        public CustomParameterOrBuilder getUrlCustomParametersOrBuilder​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
        Specified by:
        getUrlCustomParametersOrBuilder in interface FeedItemOrBuilder
      • getUrlCustomParametersOrBuilderList

        public java.util.List<? extends CustomParameterOrBuilder> getUrlCustomParametersOrBuilderList()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
        Specified by:
        getUrlCustomParametersOrBuilderList in interface FeedItemOrBuilder
      • addUrlCustomParametersBuilder

        public CustomParameter.Builder addUrlCustomParametersBuilder()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • addUrlCustomParametersBuilder

        public CustomParameter.Builder addUrlCustomParametersBuilder​(int index)
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • getUrlCustomParametersBuilderList

        public java.util.List<CustomParameter.Builder> getUrlCustomParametersBuilderList()
         The list of mappings used to substitute custom parameter tags in a
         `tracking_url_template`, `final_urls`, or `mobile_final_urls`.
         
        repeated .google.ads.googleads.v10.common.CustomParameter url_custom_parameters = 8;
      • getStatusValue

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

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

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

        public FeedItem.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

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

        public java.util.List<FeedItemPlaceholderPolicyInfo> getPolicyInfosList()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPolicyInfosList in interface FeedItemOrBuilder
      • getPolicyInfosCount

        public int getPolicyInfosCount()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPolicyInfosCount in interface FeedItemOrBuilder
      • getPolicyInfos

        public FeedItemPlaceholderPolicyInfo getPolicyInfos​(int index)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPolicyInfos in interface FeedItemOrBuilder
      • setPolicyInfos

        public FeedItem.Builder setPolicyInfos​(int index,
                                               FeedItemPlaceholderPolicyInfo value)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setPolicyInfos

        public FeedItem.Builder setPolicyInfos​(int index,
                                               FeedItemPlaceholderPolicyInfo.Builder builderForValue)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPolicyInfos

        public FeedItem.Builder addPolicyInfos​(FeedItemPlaceholderPolicyInfo value)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPolicyInfos

        public FeedItem.Builder addPolicyInfos​(int index,
                                               FeedItemPlaceholderPolicyInfo value)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPolicyInfos

        public FeedItem.Builder addPolicyInfos​(FeedItemPlaceholderPolicyInfo.Builder builderForValue)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPolicyInfos

        public FeedItem.Builder addPolicyInfos​(int index,
                                               FeedItemPlaceholderPolicyInfo.Builder builderForValue)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addAllPolicyInfos

        public FeedItem.Builder addAllPolicyInfos​(java.lang.Iterable<? extends FeedItemPlaceholderPolicyInfo> values)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearPolicyInfos

        public FeedItem.Builder clearPolicyInfos()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • removePolicyInfos

        public FeedItem.Builder removePolicyInfos​(int index)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosBuilder

        public FeedItemPlaceholderPolicyInfo.Builder getPolicyInfosBuilder​(int index)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosOrBuilder

        public FeedItemPlaceholderPolicyInfoOrBuilder getPolicyInfosOrBuilder​(int index)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPolicyInfosOrBuilder in interface FeedItemOrBuilder
      • getPolicyInfosOrBuilderList

        public java.util.List<? extends FeedItemPlaceholderPolicyInfoOrBuilder> getPolicyInfosOrBuilderList()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPolicyInfosOrBuilderList in interface FeedItemOrBuilder
      • addPolicyInfosBuilder

        public FeedItemPlaceholderPolicyInfo.Builder addPolicyInfosBuilder()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • addPolicyInfosBuilder

        public FeedItemPlaceholderPolicyInfo.Builder addPolicyInfosBuilder​(int index)
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getPolicyInfosBuilderList

        public java.util.List<FeedItemPlaceholderPolicyInfo.Builder> getPolicyInfosBuilderList()
         Output only. List of info about a feed item's validation and approval state for active
         feed mappings. There will be an entry in the list for each type of feed
         mapping associated with the feed, e.g. a feed with a sitelink and a call
         feed mapping would cause every feed item associated with that feed to have
         an entry in this list for both sitelink and call.
         This field is read-only.
         
        repeated .google.ads.googleads.v10.resources.FeedItemPlaceholderPolicyInfo policy_infos = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUnknownFields

        public final FeedItem.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<FeedItem.Builder>
      • mergeUnknownFields

        public final FeedItem.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<FeedItem.Builder>