Class Feed.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
- com.google.ads.googleads.v10.resources.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 typegoogle.ads.googleads.v10.resources.Feed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feed.BuilderaddAllAttributeOperations(java.lang.Iterable<? extends FeedAttributeOperation> values)The list of operations changing the feed attributes.Feed.BuilderaddAllAttributes(java.lang.Iterable<? extends FeedAttribute> values)The Feed's attributes.Feed.BuilderaddAttributeOperations(int index, FeedAttributeOperation value)The list of operations changing the feed attributes.Feed.BuilderaddAttributeOperations(int index, FeedAttributeOperation.Builder builderForValue)The list of operations changing the feed attributes.Feed.BuilderaddAttributeOperations(FeedAttributeOperation value)The list of operations changing the feed attributes.Feed.BuilderaddAttributeOperations(FeedAttributeOperation.Builder builderForValue)The list of operations changing the feed attributes.FeedAttributeOperation.BuilderaddAttributeOperationsBuilder()The list of operations changing the feed attributes.FeedAttributeOperation.BuilderaddAttributeOperationsBuilder(int index)The list of operations changing the feed attributes.Feed.BuilderaddAttributes(int index, FeedAttribute value)The Feed's attributes.Feed.BuilderaddAttributes(int index, FeedAttribute.Builder builderForValue)The Feed's attributes.Feed.BuilderaddAttributes(FeedAttribute value)The Feed's attributes.Feed.BuilderaddAttributes(FeedAttribute.Builder builderForValue)The Feed's attributes.FeedAttribute.BuilderaddAttributesBuilder()The Feed's attributes.FeedAttribute.BuilderaddAttributesBuilder(int index)The Feed's attributes.Feed.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feedbuild()FeedbuildPartial()Feed.Builderclear()Feed.BuilderclearAffiliateLocationFeedData()Data used to configure an affiliate location feed populated with the specified chains.Feed.BuilderclearAttributeOperations()The list of operations changing the feed attributes.Feed.BuilderclearAttributes()The Feed's attributes.Feed.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Feed.BuilderclearId()Output only.Feed.BuilderclearName()Immutable.Feed.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Feed.BuilderclearOrigin()Immutable.Feed.BuilderclearPlacesLocationFeedData()Data used to configure a location feed populated from Business Profile.Feed.BuilderclearResourceName()Immutable.Feed.BuilderclearStatus()Output only.Feed.BuilderclearSystemFeedGenerationData()Feed.Builderclone()Feed.AffiliateLocationFeedDatagetAffiliateLocationFeedData()Data used to configure an affiliate location feed populated with the specified chains.Feed.AffiliateLocationFeedData.BuildergetAffiliateLocationFeedDataBuilder()Data used to configure an affiliate location feed populated with the specified chains.Feed.AffiliateLocationFeedDataOrBuildergetAffiliateLocationFeedDataOrBuilder()Data used to configure an affiliate location feed populated with the specified chains.FeedAttributeOperationgetAttributeOperations(int index)The list of operations changing the feed attributes.FeedAttributeOperation.BuildergetAttributeOperationsBuilder(int index)The list of operations changing the feed attributes.java.util.List<FeedAttributeOperation.Builder>getAttributeOperationsBuilderList()The list of operations changing the feed attributes.intgetAttributeOperationsCount()The list of operations changing the feed attributes.java.util.List<FeedAttributeOperation>getAttributeOperationsList()The list of operations changing the feed attributes.FeedAttributeOperationOrBuildergetAttributeOperationsOrBuilder(int index)The list of operations changing the feed attributes.java.util.List<? extends FeedAttributeOperationOrBuilder>getAttributeOperationsOrBuilderList()The list of operations changing the feed attributes.FeedAttributegetAttributes(int index)The Feed's attributes.FeedAttribute.BuildergetAttributesBuilder(int index)The Feed's attributes.java.util.List<FeedAttribute.Builder>getAttributesBuilderList()The Feed's attributes.intgetAttributesCount()The Feed's attributes.java.util.List<FeedAttribute>getAttributesList()The Feed's attributes.FeedAttributeOrBuildergetAttributesOrBuilder(int index)The Feed's attributes.java.util.List<? extends FeedAttributeOrBuilder>getAttributesOrBuilderList()The Feed's attributes.FeedgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetId()Output only.java.lang.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.FeedOriginEnum.FeedOrigingetOrigin()Immutable.intgetOriginValue()Immutable.Feed.PlacesLocationFeedDatagetPlacesLocationFeedData()Data used to configure a location feed populated from Business Profile.Feed.PlacesLocationFeedData.BuildergetPlacesLocationFeedDataBuilder()Data used to configure a location feed populated from Business Profile.Feed.PlacesLocationFeedDataOrBuildergetPlacesLocationFeedDataOrBuilder()Data used to configure a location feed populated from Business Profile.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.FeedStatusEnum.FeedStatusgetStatus()Output only.intgetStatusValue()Output only.Feed.SystemFeedGenerationDataCasegetSystemFeedGenerationDataCase()booleanhasAffiliateLocationFeedData()Data used to configure an affiliate location feed populated with the specified chains.booleanhasId()Output only.booleanhasName()Immutable.booleanhasPlacesLocationFeedData()Data used to configure a location feed populated from Business Profile.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Feed.BuildermergeAffiliateLocationFeedData(Feed.AffiliateLocationFeedData value)Data used to configure an affiliate location feed populated with the specified chains.Feed.BuildermergeFrom(Feed other)Feed.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Feed.BuildermergeFrom(com.google.protobuf.Message other)Feed.BuildermergePlacesLocationFeedData(Feed.PlacesLocationFeedData value)Data used to configure a location feed populated from Business Profile.Feed.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Feed.BuilderremoveAttributeOperations(int index)The list of operations changing the feed attributes.Feed.BuilderremoveAttributes(int index)The Feed's attributes.Feed.BuildersetAffiliateLocationFeedData(Feed.AffiliateLocationFeedData value)Data used to configure an affiliate location feed populated with the specified chains.Feed.BuildersetAffiliateLocationFeedData(Feed.AffiliateLocationFeedData.Builder builderForValue)Data used to configure an affiliate location feed populated with the specified chains.Feed.BuildersetAttributeOperations(int index, FeedAttributeOperation value)The list of operations changing the feed attributes.Feed.BuildersetAttributeOperations(int index, FeedAttributeOperation.Builder builderForValue)The list of operations changing the feed attributes.Feed.BuildersetAttributes(int index, FeedAttribute value)The Feed's attributes.Feed.BuildersetAttributes(int index, FeedAttribute.Builder builderForValue)The Feed's attributes.Feed.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feed.BuildersetId(long value)Output only.Feed.BuildersetName(java.lang.String value)Immutable.Feed.BuildersetNameBytes(com.google.protobuf.ByteString value)Immutable.Feed.BuildersetOrigin(FeedOriginEnum.FeedOrigin value)Immutable.Feed.BuildersetOriginValue(int value)Immutable.Feed.BuildersetPlacesLocationFeedData(Feed.PlacesLocationFeedData value)Data used to configure a location feed populated from Business Profile.Feed.BuildersetPlacesLocationFeedData(Feed.PlacesLocationFeedData.Builder builderForValue)Data used to configure a location feed populated from Business Profile.Feed.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Feed.BuildersetResourceName(java.lang.String value)Immutable.Feed.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.Feed.BuildersetStatus(FeedStatusEnum.FeedStatus value)Output only.Feed.BuildersetStatusValue(int value)Output only.Feed.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
clear
public Feed.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
getDefaultInstanceForType
public Feed getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Feed build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Feed buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Feed.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
setField
public Feed.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
clearField
public Feed.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
clearOneof
public Feed.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
addRepeatedField
public Feed.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
mergeFrom
public Feed.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Feed.Builder>
-
mergeFrom
public Feed.Builder mergeFrom(Feed other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Feed.Builder>- Throws:
java.io.IOException
-
getSystemFeedGenerationDataCase
public Feed.SystemFeedGenerationDataCase getSystemFeedGenerationDataCase()
- Specified by:
getSystemFeedGenerationDataCasein interfaceFeedOrBuilder
-
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:
getResourceNamein interfaceFeedOrBuilder- 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:
getResourceNameBytesin interfaceFeedOrBuilder- 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:
hasIdin interfaceFeedOrBuilder- 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:
getIdin interfaceFeedOrBuilder- 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:
hasNamein interfaceFeedOrBuilder- 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:
getNamein interfaceFeedOrBuilder- 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:
getNameBytesin interfaceFeedOrBuilder- 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:
getAttributesListin interfaceFeedOrBuilder
-
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:
getAttributesCountin interfaceFeedOrBuilder
-
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:
getAttributesin interfaceFeedOrBuilder
-
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:
getAttributesOrBuilderin interfaceFeedOrBuilder
-
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:
getAttributesOrBuilderListin interfaceFeedOrBuilder
-
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:
getAttributeOperationsListin interfaceFeedOrBuilder
-
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:
getAttributeOperationsCountin interfaceFeedOrBuilder
-
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:
getAttributeOperationsin interfaceFeedOrBuilder
-
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:
getAttributeOperationsOrBuilderin interfaceFeedOrBuilder
-
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:
getAttributeOperationsOrBuilderListin interfaceFeedOrBuilder
-
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:
getOriginValuein interfaceFeedOrBuilder- 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:
getOriginin interfaceFeedOrBuilder- 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:
getStatusValuein interfaceFeedOrBuilder- 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:
getStatusin interfaceFeedOrBuilder- 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:
hasPlacesLocationFeedDatain interfaceFeedOrBuilder- 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:
getPlacesLocationFeedDatain interfaceFeedOrBuilder- 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;
-
getPlacesLocationFeedDataOrBuilder
public Feed.PlacesLocationFeedDataOrBuilder getPlacesLocationFeedDataOrBuilder()
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:
getPlacesLocationFeedDataOrBuilderin interfaceFeedOrBuilder
-
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:
hasAffiliateLocationFeedDatain interfaceFeedOrBuilder- 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:
getAffiliateLocationFeedDatain interfaceFeedOrBuilder- 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;
-
getAffiliateLocationFeedDataOrBuilder
public Feed.AffiliateLocationFeedDataOrBuilder getAffiliateLocationFeedDataOrBuilder()
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:
getAffiliateLocationFeedDataOrBuilderin interfaceFeedOrBuilder
-
setUnknownFields
public final Feed.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
mergeUnknownFields
public final Feed.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.Builder>
-
-