Class Feed.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Feed.Builder clearSystemFeedGenerationData()
      • getResourceName

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

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

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

        public Feed.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Immutable. The resource name of the feed.
         Feed resource names have the form:
         `customers/{customer_id}/feeds/{feed_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 the feed.
         This field is read-only.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasId in interface FeedOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
         Output only. The ID of the feed.
         This field is read-only.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface FeedOrBuilder
        Returns:
        The id.
      • setId

        public Feed.Builder setId​(long value)
         Output only. The ID of the feed.
         This field is read-only.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Feed.Builder clearId()
         Output only. The ID of the feed.
         This field is read-only.
         
        optional int64 id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        hasName in interface FeedOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getName in interface FeedOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getNameBytes in interface FeedOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Feed.Builder setName​(java.lang.String value)
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Feed.Builder clearName()
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Feed.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Immutable. Name of the feed. Required.
         
        optional string name = 12 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getAttributesList

        public java.util.List<FeedAttribute> getAttributesList()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
        Specified by:
        getAttributesList in interface FeedOrBuilder
      • getAttributesCount

        public int getAttributesCount()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
        Specified by:
        getAttributesCount in interface FeedOrBuilder
      • getAttributes

        public FeedAttribute getAttributes​(int index)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
        Specified by:
        getAttributes in interface FeedOrBuilder
      • setAttributes

        public Feed.Builder setAttributes​(int index,
                                          FeedAttribute value)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • setAttributes

        public Feed.Builder setAttributes​(int index,
                                          FeedAttribute.Builder builderForValue)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAttributes

        public Feed.Builder addAttributes​(FeedAttribute value)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAttributes

        public Feed.Builder addAttributes​(int index,
                                          FeedAttribute value)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAttributes

        public Feed.Builder addAttributes​(FeedAttribute.Builder builderForValue)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAttributes

        public Feed.Builder addAttributes​(int index,
                                          FeedAttribute.Builder builderForValue)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAllAttributes

        public Feed.Builder addAllAttributes​(java.lang.Iterable<? extends FeedAttribute> values)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • clearAttributes

        public Feed.Builder clearAttributes()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • removeAttributes

        public Feed.Builder removeAttributes​(int index)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • getAttributesBuilder

        public FeedAttribute.Builder getAttributesBuilder​(int index)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • getAttributesOrBuilder

        public FeedAttributeOrBuilder getAttributesOrBuilder​(int index)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
        Specified by:
        getAttributesOrBuilder in interface FeedOrBuilder
      • getAttributesOrBuilderList

        public java.util.List<? extends FeedAttributeOrBuilder> getAttributesOrBuilderList()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
        Specified by:
        getAttributesOrBuilderList in interface FeedOrBuilder
      • addAttributesBuilder

        public FeedAttribute.Builder addAttributesBuilder()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • addAttributesBuilder

        public FeedAttribute.Builder addAttributesBuilder​(int index)
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • getAttributesBuilderList

        public java.util.List<FeedAttribute.Builder> getAttributesBuilderList()
         The Feed's attributes. Required on CREATE, unless
         system_feed_generation_data is provided, in which case Google Ads will
         update the feed with the correct attributes.
         Disallowed on UPDATE. Use attribute_operations to add new attributes.
         
        repeated .google.ads.googleads.v10.resources.FeedAttribute attributes = 4;
      • getAttributeOperationsList

        public java.util.List<FeedAttributeOperation> getAttributeOperationsList()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
        Specified by:
        getAttributeOperationsList in interface FeedOrBuilder
      • getAttributeOperationsCount

        public int getAttributeOperationsCount()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
        Specified by:
        getAttributeOperationsCount in interface FeedOrBuilder
      • getAttributeOperations

        public FeedAttributeOperation getAttributeOperations​(int index)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
        Specified by:
        getAttributeOperations in interface FeedOrBuilder
      • setAttributeOperations

        public Feed.Builder setAttributeOperations​(int index,
                                                   FeedAttributeOperation value)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • setAttributeOperations

        public Feed.Builder setAttributeOperations​(int index,
                                                   FeedAttributeOperation.Builder builderForValue)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAttributeOperations

        public Feed.Builder addAttributeOperations​(FeedAttributeOperation value)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAttributeOperations

        public Feed.Builder addAttributeOperations​(int index,
                                                   FeedAttributeOperation value)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAttributeOperations

        public Feed.Builder addAttributeOperations​(FeedAttributeOperation.Builder builderForValue)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAttributeOperations

        public Feed.Builder addAttributeOperations​(int index,
                                                   FeedAttributeOperation.Builder builderForValue)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAllAttributeOperations

        public Feed.Builder addAllAttributeOperations​(java.lang.Iterable<? extends FeedAttributeOperation> values)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • clearAttributeOperations

        public Feed.Builder clearAttributeOperations()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • removeAttributeOperations

        public Feed.Builder removeAttributeOperations​(int index)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • getAttributeOperationsBuilder

        public FeedAttributeOperation.Builder getAttributeOperationsBuilder​(int index)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • getAttributeOperationsOrBuilder

        public FeedAttributeOperationOrBuilder getAttributeOperationsOrBuilder​(int index)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
        Specified by:
        getAttributeOperationsOrBuilder in interface FeedOrBuilder
      • getAttributeOperationsOrBuilderList

        public java.util.List<? extends FeedAttributeOperationOrBuilder> getAttributeOperationsOrBuilderList()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
        Specified by:
        getAttributeOperationsOrBuilderList in interface FeedOrBuilder
      • addAttributeOperationsBuilder

        public FeedAttributeOperation.Builder addAttributeOperationsBuilder()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • addAttributeOperationsBuilder

        public FeedAttributeOperation.Builder addAttributeOperationsBuilder​(int index)
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • getAttributeOperationsBuilderList

        public java.util.List<FeedAttributeOperation.Builder> getAttributeOperationsBuilderList()
         The list of operations changing the feed attributes. Attributes can only
         be added, not removed.
         
        repeated .google.ads.googleads.v10.resources.FeedAttributeOperation attribute_operations = 9;
      • getOriginValue

        public int getOriginValue()
         Immutable. Specifies who manages the FeedAttributes for the Feed.
         
        .google.ads.googleads.v10.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getOriginValue in interface FeedOrBuilder
        Returns:
        The enum numeric value on the wire for origin.
      • setOriginValue

        public Feed.Builder setOriginValue​(int value)
         Immutable. Specifies who manages the FeedAttributes for the Feed.
         
        .google.ads.googleads.v10.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The enum numeric value on the wire for origin to set.
        Returns:
        This builder for chaining.
      • getOrigin

        public FeedOriginEnum.FeedOrigin getOrigin()
         Immutable. Specifies who manages the FeedAttributes for the Feed.
         
        .google.ads.googleads.v10.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Specified by:
        getOrigin in interface FeedOrBuilder
        Returns:
        The origin.
      • setOrigin

        public Feed.Builder setOrigin​(FeedOriginEnum.FeedOrigin value)
         Immutable. Specifies who manages the FeedAttributes for the Feed.
         
        .google.ads.googleads.v10.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Parameters:
        value - The origin to set.
        Returns:
        This builder for chaining.
      • clearOrigin

        public Feed.Builder clearOrigin()
         Immutable. Specifies who manages the FeedAttributes for the Feed.
         
        .google.ads.googleads.v10.enums.FeedOriginEnum.FeedOrigin origin = 5 [(.google.api.field_behavior) = IMMUTABLE];
        Returns:
        This builder for chaining.
      • getStatusValue

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

        public Feed.Builder setStatusValue​(int value)
         Output only. Status of the feed.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedStatusEnum.FeedStatus status = 8 [(.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 FeedStatusEnum.FeedStatus getStatus()
         Output only. Status of the feed.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStatus in interface FeedOrBuilder
        Returns:
        The status.
      • setStatus

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

        public Feed.Builder clearStatus()
         Output only. Status of the feed.
         This field is read-only.
         
        .google.ads.googleads.v10.enums.FeedStatusEnum.FeedStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasPlacesLocationFeedData

        public boolean hasPlacesLocationFeedData()
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
        Specified by:
        hasPlacesLocationFeedData in interface FeedOrBuilder
        Returns:
        Whether the placesLocationFeedData field is set.
      • getPlacesLocationFeedData

        public Feed.PlacesLocationFeedData getPlacesLocationFeedData()
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
        Specified by:
        getPlacesLocationFeedData in interface FeedOrBuilder
        Returns:
        The placesLocationFeedData.
      • setPlacesLocationFeedData

        public Feed.Builder setPlacesLocationFeedData​(Feed.PlacesLocationFeedData value)
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      • setPlacesLocationFeedData

        public Feed.Builder setPlacesLocationFeedData​(Feed.PlacesLocationFeedData.Builder builderForValue)
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      • mergePlacesLocationFeedData

        public Feed.Builder mergePlacesLocationFeedData​(Feed.PlacesLocationFeedData value)
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      • clearPlacesLocationFeedData

        public Feed.Builder clearPlacesLocationFeedData()
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      • getPlacesLocationFeedDataBuilder

        public Feed.PlacesLocationFeedData.Builder getPlacesLocationFeedDataBuilder()
         Data used to configure a location feed populated from Business Profile.
         
        .google.ads.googleads.v10.resources.Feed.PlacesLocationFeedData places_location_feed_data = 6;
      • hasAffiliateLocationFeedData

        public boolean hasAffiliateLocationFeedData()
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
        Specified by:
        hasAffiliateLocationFeedData in interface FeedOrBuilder
        Returns:
        Whether the affiliateLocationFeedData field is set.
      • getAffiliateLocationFeedData

        public Feed.AffiliateLocationFeedData getAffiliateLocationFeedData()
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
        Specified by:
        getAffiliateLocationFeedData in interface FeedOrBuilder
        Returns:
        The affiliateLocationFeedData.
      • setAffiliateLocationFeedData

        public Feed.Builder setAffiliateLocationFeedData​(Feed.AffiliateLocationFeedData value)
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      • setAffiliateLocationFeedData

        public Feed.Builder setAffiliateLocationFeedData​(Feed.AffiliateLocationFeedData.Builder builderForValue)
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      • mergeAffiliateLocationFeedData

        public Feed.Builder mergeAffiliateLocationFeedData​(Feed.AffiliateLocationFeedData value)
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      • clearAffiliateLocationFeedData

        public Feed.Builder clearAffiliateLocationFeedData()
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      • getAffiliateLocationFeedDataBuilder

        public Feed.AffiliateLocationFeedData.Builder getAffiliateLocationFeedDataBuilder()
         Data used to configure an affiliate location feed populated with
         the specified chains.
         
        .google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData affiliate_location_feed_data = 7;
      • setUnknownFields

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

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