Class LocationGroupInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.LocationGroupInfo
- All Implemented Interfaces:
LocationGroupInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class LocationGroupInfo
extends com.google.protobuf.GeneratedMessageV3
implements LocationGroupInfoOrBuilder
A radius around a list of locations specified through a feed or assetSet.Protobuf type
google.ads.googleads.v18.common.LocationGroupInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA radius around a list of locations specified through a feed or assetSet.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LocationGroupInfostatic final com.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.com.google.protobuf.Parser<LocationGroupInfo>longDistance in units specifying the radius around targeted locations.Unit of the radius.intUnit of the radius.intbooleanDenotes that the latest customer level asset set is used for targeting.booleanhasFeed()Feed specifying locations for targeting.inthashCode()booleanDistance in units specifying the radius around targeted locations.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LocationGroupInfo.Builderstatic LocationGroupInfo.BuildernewBuilder(LocationGroupInfo prototype) protected LocationGroupInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LocationGroupInfoparseDelimitedFrom(InputStream input) static LocationGroupInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationGroupInfoparseFrom(byte[] data) static LocationGroupInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationGroupInfoparseFrom(com.google.protobuf.ByteString data) static LocationGroupInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationGroupInfoparseFrom(com.google.protobuf.CodedInputStream input) static LocationGroupInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationGroupInfoparseFrom(InputStream input) static LocationGroupInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LocationGroupInfoparseFrom(ByteBuffer data) static LocationGroupInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LocationGroupInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FEED_FIELD_NUMBER
public static final int FEED_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANTS_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANTS_FIELD_NUMBER- See Also:
-
RADIUS_FIELD_NUMBER
public static final int RADIUS_FIELD_NUMBER- See Also:
-
RADIUS_UNITS_FIELD_NUMBER
public static final int RADIUS_UNITS_FIELD_NUMBER- See Also:
-
FEED_ITEM_SETS_FIELD_NUMBER
public static final int FEED_ITEM_SETS_FIELD_NUMBER- See Also:
-
ENABLE_CUSTOMER_LEVEL_LOCATION_ASSET_SET_FIELD_NUMBER
public static final int ENABLE_CUSTOMER_LEVEL_LOCATION_ASSET_SET_FIELD_NUMBER- See Also:
-
LOCATION_GROUP_ASSET_SETS_FIELD_NUMBER
public static final int LOCATION_GROUP_ASSET_SETS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LocationGroupInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LocationGroupInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LocationGroupInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LocationGroupInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-