Class LocationGroupInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
com.google.ads.googleads.v18.common.LocationGroupInfo.Builder
- All Implemented Interfaces:
LocationGroupInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LocationGroupInfo
public static final class LocationGroupInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
implements LocationGroupInfoOrBuilder
A radius around a list of locations specified through a feed or assetSet.Protobuf type
google.ads.googleads.v18.common.LocationGroupInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeedItemSets(Iterable<String> values) FeedItemSets whose FeedItems are targeted.addAllGeoTargetConstants(Iterable<String> values) Geo target constant(s) restricting the scope of the geographic area within the feed.addAllLocationGroupAssetSets(Iterable<String> values) AssetSets whose Assets are targeted.addFeedItemSets(String value) FeedItemSets whose FeedItems are targeted.addFeedItemSetsBytes(com.google.protobuf.ByteString value) FeedItemSets whose FeedItems are targeted.addGeoTargetConstants(String value) Geo target constant(s) restricting the scope of the geographic area within the feed.addGeoTargetConstantsBytes(com.google.protobuf.ByteString value) Geo target constant(s) restricting the scope of the geographic area within the feed.addLocationGroupAssetSets(String value) AssetSets whose Assets are targeted.addLocationGroupAssetSetsBytes(com.google.protobuf.ByteString value) AssetSets whose Assets are targeted.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Denotes that the latest customer level asset set is used for targeting.Feed specifying locations for targeting.FeedItemSets whose FeedItems are targeted.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Geo target constant(s) restricting the scope of the geographic area within the feed.AssetSets whose Assets are targeted.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Distance in units specifying the radius around targeted locations.Unit of the radius.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanDenotes that the latest customer level asset set is used for targeting.getFeed()Feed specifying locations for targeting.com.google.protobuf.ByteStringFeed specifying locations for targeting.getFeedItemSets(int index) FeedItemSets whose FeedItems are targeted.com.google.protobuf.ByteStringgetFeedItemSetsBytes(int index) FeedItemSets whose FeedItems are targeted.intFeedItemSets whose FeedItems are targeted.com.google.protobuf.ProtocolStringListFeedItemSets whose FeedItems are targeted.getGeoTargetConstants(int index) Geo target constant(s) restricting the scope of the geographic area within the feed.com.google.protobuf.ByteStringgetGeoTargetConstantsBytes(int index) Geo target constant(s) restricting the scope of the geographic area within the feed.intGeo target constant(s) restricting the scope of the geographic area within the feed.com.google.protobuf.ProtocolStringListGeo target constant(s) restricting the scope of the geographic area within the feed.getLocationGroupAssetSets(int index) AssetSets whose Assets are targeted.com.google.protobuf.ByteStringgetLocationGroupAssetSetsBytes(int index) AssetSets whose Assets are targeted.intAssetSets whose Assets are targeted.com.google.protobuf.ProtocolStringListAssetSets whose Assets are targeted.longDistance in units specifying the radius around targeted locations.Unit of the radius.intUnit of the radius.booleanDenotes that the latest customer level asset set is used for targeting.booleanhasFeed()Feed specifying locations for targeting.booleanDistance in units specifying the radius around targeted locations.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(LocationGroupInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEnableCustomerLevelLocationAssetSet(boolean value) Denotes that the latest customer level asset set is used for targeting.Feed specifying locations for targeting.setFeedBytes(com.google.protobuf.ByteString value) Feed specifying locations for targeting.setFeedItemSets(int index, String value) FeedItemSets whose FeedItems are targeted.setGeoTargetConstants(int index, String value) Geo target constant(s) restricting the scope of the geographic area within the feed.setLocationGroupAssetSets(int index, String value) AssetSets whose Assets are targeted.setRadius(long value) Distance in units specifying the radius around targeted locations.Unit of the radius.setRadiusUnitsValue(int value) Unit of the radius.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<LocationGroupInfo.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<LocationGroupInfo.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<LocationGroupInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<LocationGroupInfo.Builder>
-
setField
public LocationGroupInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
setRepeatedField
public LocationGroupInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
addRepeatedField
public LocationGroupInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocationGroupInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
mergeFrom
public LocationGroupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LocationGroupInfo.Builder>- Throws:
IOException
-
hasFeed
public boolean hasFeed()Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Specified by:
hasFeedin interfaceLocationGroupInfoOrBuilder- Returns:
- Whether the feed field is set.
-
getFeed
Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Specified by:
getFeedin interfaceLocationGroupInfoOrBuilder- Returns:
- The feed.
-
getFeedBytes
public com.google.protobuf.ByteString getFeedBytes()Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Specified by:
getFeedBytesin interfaceLocationGroupInfoOrBuilder- Returns:
- The bytes for feed.
-
setFeed
Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Parameters:
value- The feed to set.- Returns:
- This builder for chaining.
-
clearFeed
Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Returns:
- This builder for chaining.
-
setFeedBytes
Feed specifying locations for targeting. Cannot be set with AssetSet fields. This is required and must be set in CREATE operations.
optional string feed = 5;- Parameters:
value- The bytes for feed to set.- Returns:
- This builder for chaining.
-
getGeoTargetConstantsList
public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsListin interfaceLocationGroupInfoOrBuilder- Returns:
- A list containing the geoTargetConstants.
-
getGeoTargetConstantsCount
public int getGeoTargetConstantsCount()Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsCountin interfaceLocationGroupInfoOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The geoTargetConstants at the given index.
-
getGeoTargetConstantsBytes
public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index) Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsBytesin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the geoTargetConstants at the given index.
-
setGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Parameters:
index- The index to set the value at.value- The geoTargetConstants to set.- Returns:
- This builder for chaining.
-
addGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Parameters:
value- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
addAllGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Parameters:
values- The geoTargetConstants to add.- Returns:
- This builder for chaining.
-
clearGeoTargetConstants
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Returns:
- This builder for chaining.
-
addGeoTargetConstantsBytes
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed. Cannot be set with AssetSet fields.
repeated string geo_target_constants = 6;- Parameters:
value- The bytes of the geoTargetConstants to add.- Returns:
- This builder for chaining.
-
hasRadius
public boolean hasRadius()Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.
optional int64 radius = 7;- Specified by:
hasRadiusin interfaceLocationGroupInfoOrBuilder- Returns:
- Whether the radius field is set.
-
getRadius
public long getRadius()Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.
optional int64 radius = 7;- Specified by:
getRadiusin interfaceLocationGroupInfoOrBuilder- Returns:
- The radius.
-
setRadius
Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.
optional int64 radius = 7;- Parameters:
value- The radius to set.- Returns:
- This builder for chaining.
-
clearRadius
Distance in units specifying the radius around targeted locations. This is required and must be set in CREATE operations.
optional int64 radius = 7;- Returns:
- This builder for chaining.
-
getRadiusUnitsValue
public int getRadiusUnitsValue()Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Specified by:
getRadiusUnitsValuein interfaceLocationGroupInfoOrBuilder- Returns:
- The enum numeric value on the wire for radiusUnits.
-
setRadiusUnitsValue
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Parameters:
value- The enum numeric value on the wire for radiusUnits to set.- Returns:
- This builder for chaining.
-
getRadiusUnits
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Specified by:
getRadiusUnitsin interfaceLocationGroupInfoOrBuilder- Returns:
- The radiusUnits.
-
setRadiusUnits
public LocationGroupInfo.Builder setRadiusUnits(LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits value) Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Parameters:
value- The radiusUnits to set.- Returns:
- This builder for chaining.
-
clearRadiusUnits
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets and asset sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Returns:
- This builder for chaining.
-
getFeedItemSetsList
public com.google.protobuf.ProtocolStringList getFeedItemSetsList()FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Specified by:
getFeedItemSetsListin interfaceLocationGroupInfoOrBuilder- Returns:
- A list containing the feedItemSets.
-
getFeedItemSetsCount
public int getFeedItemSetsCount()FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Specified by:
getFeedItemSetsCountin interfaceLocationGroupInfoOrBuilder- Returns:
- The count of feedItemSets.
-
getFeedItemSets
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Specified by:
getFeedItemSetsin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The feedItemSets at the given index.
-
getFeedItemSetsBytes
public com.google.protobuf.ByteString getFeedItemSetsBytes(int index) FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Specified by:
getFeedItemSetsBytesin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the feedItemSets at the given index.
-
setFeedItemSets
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Parameters:
index- The index to set the value at.value- The feedItemSets to set.- Returns:
- This builder for chaining.
-
addFeedItemSets
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Parameters:
value- The feedItemSets to add.- Returns:
- This builder for chaining.
-
addAllFeedItemSets
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Parameters:
values- The feedItemSets to add.- Returns:
- This builder for chaining.
-
clearFeedItemSets
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Returns:
- This builder for chaining.
-
addFeedItemSetsBytes
FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with geo_target_constants. This is optional and can only be set in CREATE operations. Cannot be set with AssetSet fields.
repeated string feed_item_sets = 8;- Parameters:
value- The bytes of the feedItemSets to add.- Returns:
- This builder for chaining.
-
hasEnableCustomerLevelLocationAssetSet
public boolean hasEnableCustomerLevelLocationAssetSet()Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Specified by:
hasEnableCustomerLevelLocationAssetSetin interfaceLocationGroupInfoOrBuilder- Returns:
- Whether the enableCustomerLevelLocationAssetSet field is set.
-
getEnableCustomerLevelLocationAssetSet
public boolean getEnableCustomerLevelLocationAssetSet()Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Specified by:
getEnableCustomerLevelLocationAssetSetin interfaceLocationGroupInfoOrBuilder- Returns:
- The enableCustomerLevelLocationAssetSet.
-
setEnableCustomerLevelLocationAssetSet
Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Parameters:
value- The enableCustomerLevelLocationAssetSet to set.- Returns:
- This builder for chaining.
-
clearEnableCustomerLevelLocationAssetSet
Denotes that the latest customer level asset set is used for targeting. Used with radius and radius_units. Cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or location_group_asset_sets should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
optional bool enable_customer_level_location_asset_set = 9;- Returns:
- This builder for chaining.
-
getLocationGroupAssetSetsList
public com.google.protobuf.ProtocolStringList getLocationGroupAssetSetsList()AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Specified by:
getLocationGroupAssetSetsListin interfaceLocationGroupInfoOrBuilder- Returns:
- A list containing the locationGroupAssetSets.
-
getLocationGroupAssetSetsCount
public int getLocationGroupAssetSetsCount()AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Specified by:
getLocationGroupAssetSetsCountin interfaceLocationGroupInfoOrBuilder- Returns:
- The count of locationGroupAssetSets.
-
getLocationGroupAssetSets
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Specified by:
getLocationGroupAssetSetsin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The locationGroupAssetSets at the given index.
-
getLocationGroupAssetSetsBytes
public com.google.protobuf.ByteString getLocationGroupAssetSetsBytes(int index) AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Specified by:
getLocationGroupAssetSetsBytesin interfaceLocationGroupInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locationGroupAssetSets at the given index.
-
setLocationGroupAssetSets
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
index- The index to set the value at.value- The locationGroupAssetSets to set.- Returns:
- This builder for chaining.
-
addLocationGroupAssetSets
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
value- The locationGroupAssetSets to add.- Returns:
- This builder for chaining.
-
addAllLocationGroupAssetSets
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
values- The locationGroupAssetSets to add.- Returns:
- This builder for chaining.
-
clearLocationGroupAssetSets
AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Returns:
- This builder for chaining.
-
addLocationGroupAssetSetsBytes
public LocationGroupInfo.Builder addLocationGroupAssetSetsBytes(com.google.protobuf.ByteString value) AssetSets whose Assets are targeted. If multiple IDs are specified, then all items that appear in at least one set are targeted. This field cannot be used with feed, geo target constants or feed item sets. When using asset sets, either this field or enable_customer_level_location_asset_set should be specified. Both cannot be used at the same time. This can only be set in CREATE operations.
repeated string location_group_asset_sets = 10;- Parameters:
value- The bytes of the locationGroupAssetSets to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LocationGroupInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-
mergeUnknownFields
public final LocationGroupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
-