Class Feed.AffiliateLocationFeedData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
- com.google.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData.Builder
-
- All Implemented Interfaces:
Feed.AffiliateLocationFeedDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Feed.AffiliateLocationFeedData
public static final class Feed.AffiliateLocationFeedData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder> implements Feed.AffiliateLocationFeedDataOrBuilder
Data used to configure an affiliate location feed populated with the specified chains.
Protobuf typegoogle.ads.googleads.v10.resources.Feed.AffiliateLocationFeedData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Feed.AffiliateLocationFeedData.BuilderaddAllChainIds(java.lang.Iterable<? extends java.lang.Long> values)The list of chains that the affiliate location feed will sync the locations from.Feed.AffiliateLocationFeedData.BuilderaddChainIds(long value)The list of chains that the affiliate location feed will sync the locations from.Feed.AffiliateLocationFeedData.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feed.AffiliateLocationFeedDatabuild()Feed.AffiliateLocationFeedDatabuildPartial()Feed.AffiliateLocationFeedData.Builderclear()Feed.AffiliateLocationFeedData.BuilderclearChainIds()The list of chains that the affiliate location feed will sync the locations from.Feed.AffiliateLocationFeedData.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Feed.AffiliateLocationFeedData.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Feed.AffiliateLocationFeedData.BuilderclearRelationshipType()The relationship the chains have with the advertiser.Feed.AffiliateLocationFeedData.Builderclone()longgetChainIds(int index)The list of chains that the affiliate location feed will sync the locations from.intgetChainIdsCount()The list of chains that the affiliate location feed will sync the locations from.java.util.List<java.lang.Long>getChainIdsList()The list of chains that the affiliate location feed will sync the locations from.Feed.AffiliateLocationFeedDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipTypegetRelationshipType()The relationship the chains have with the advertiser.intgetRelationshipTypeValue()The relationship the chains have with the advertiser.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Feed.AffiliateLocationFeedData.BuildermergeFrom(Feed.AffiliateLocationFeedData other)Feed.AffiliateLocationFeedData.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Feed.AffiliateLocationFeedData.BuildermergeFrom(com.google.protobuf.Message other)Feed.AffiliateLocationFeedData.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Feed.AffiliateLocationFeedData.BuildersetChainIds(int index, long value)The list of chains that the affiliate location feed will sync the locations from.Feed.AffiliateLocationFeedData.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Feed.AffiliateLocationFeedData.BuildersetRelationshipType(AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType value)The relationship the chains have with the advertiser.Feed.AffiliateLocationFeedData.BuildersetRelationshipTypeValue(int value)The relationship the chains have with the advertiser.Feed.AffiliateLocationFeedData.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
clear
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
getDefaultInstanceForType
public Feed.AffiliateLocationFeedData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Feed.AffiliateLocationFeedData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Feed.AffiliateLocationFeedData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
setField
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
clearField
public Feed.AffiliateLocationFeedData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
clearOneof
public Feed.AffiliateLocationFeedData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
setRepeatedField
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
addRepeatedField
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>
-
mergeFrom
public Feed.AffiliateLocationFeedData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Feed.AffiliateLocationFeedData.Builder>
-
mergeFrom
public Feed.AffiliateLocationFeedData.Builder mergeFrom(Feed.AffiliateLocationFeedData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
mergeFrom
public Feed.AffiliateLocationFeedData.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.AffiliateLocationFeedData.Builder>- Throws:
java.io.IOException
-
getChainIdsList
public java.util.List<java.lang.Long> getChainIdsList()
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Specified by:
getChainIdsListin interfaceFeed.AffiliateLocationFeedDataOrBuilder- Returns:
- A list containing the chainIds.
-
getChainIdsCount
public int getChainIdsCount()
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Specified by:
getChainIdsCountin interfaceFeed.AffiliateLocationFeedDataOrBuilder- Returns:
- The count of chainIds.
-
getChainIds
public long getChainIds(int index)
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Specified by:
getChainIdsin interfaceFeed.AffiliateLocationFeedDataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The chainIds at the given index.
-
setChainIds
public Feed.AffiliateLocationFeedData.Builder setChainIds(int index, long value)
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Parameters:
index- The index to set the value at.value- The chainIds to set.- Returns:
- This builder for chaining.
-
addChainIds
public Feed.AffiliateLocationFeedData.Builder addChainIds(long value)
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Parameters:
value- The chainIds to add.- Returns:
- This builder for chaining.
-
addAllChainIds
public Feed.AffiliateLocationFeedData.Builder addAllChainIds(java.lang.Iterable<? extends java.lang.Long> values)
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Parameters:
values- The chainIds to add.- Returns:
- This builder for chaining.
-
clearChainIds
public Feed.AffiliateLocationFeedData.Builder clearChainIds()
The list of chains that the affiliate location feed will sync the locations from.
repeated int64 chain_ids = 3;- Returns:
- This builder for chaining.
-
getRelationshipTypeValue
public int getRelationshipTypeValue()
The relationship the chains have with the advertiser.
.google.ads.googleads.v10.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;- Specified by:
getRelationshipTypeValuein interfaceFeed.AffiliateLocationFeedDataOrBuilder- Returns:
- The enum numeric value on the wire for relationshipType.
-
setRelationshipTypeValue
public Feed.AffiliateLocationFeedData.Builder setRelationshipTypeValue(int value)
The relationship the chains have with the advertiser.
.google.ads.googleads.v10.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;- Parameters:
value- The enum numeric value on the wire for relationshipType to set.- Returns:
- This builder for chaining.
-
getRelationshipType
public AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType getRelationshipType()
The relationship the chains have with the advertiser.
.google.ads.googleads.v10.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;- Specified by:
getRelationshipTypein interfaceFeed.AffiliateLocationFeedDataOrBuilder- Returns:
- The relationshipType.
-
setRelationshipType
public Feed.AffiliateLocationFeedData.Builder setRelationshipType(AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType value)
The relationship the chains have with the advertiser.
.google.ads.googleads.v10.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;- Parameters:
value- The relationshipType to set.- Returns:
- This builder for chaining.
-
clearRelationshipType
public Feed.AffiliateLocationFeedData.Builder clearRelationshipType()
The relationship the chains have with the advertiser.
.google.ads.googleads.v10.enums.AffiliateLocationFeedRelationshipTypeEnum.AffiliateLocationFeedRelationshipType relationship_type = 2;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Feed.AffiliateLocationFeedData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
mergeUnknownFields
public final Feed.AffiliateLocationFeedData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Feed.AffiliateLocationFeedData.Builder>
-
-