Class LocationGroupInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.common.LocationGroupInfo
-
- All Implemented Interfaces:
LocationGroupInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class LocationGroupInfo extends com.google.protobuf.GeneratedMessageV3 implements LocationGroupInfoOrBuilder
A radius around a list of locations specified via a feed.
Protobuf typegoogle.ads.googleads.v10.common.LocationGroupInfo- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationGroupInfo.BuilderA radius around a list of locations specified via a feed.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFEED_FIELD_NUMBERstatic intFEED_ITEM_SETS_FIELD_NUMBERstatic intGEO_TARGET_CONSTANTS_FIELD_NUMBERstatic intRADIUS_FIELD_NUMBERstatic intRADIUS_UNITS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static LocationGroupInfogetDefaultInstance()LocationGroupInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetFeed()Feed specifying locations for targeting.com.google.protobuf.ByteStringgetFeedBytes()Feed specifying locations for targeting.java.lang.StringgetFeedItemSets(int index)FeedItemSets whose FeedItems are targeted.com.google.protobuf.ByteStringgetFeedItemSetsBytes(int index)FeedItemSets whose FeedItems are targeted.intgetFeedItemSetsCount()FeedItemSets whose FeedItems are targeted.com.google.protobuf.ProtocolStringListgetFeedItemSetsList()FeedItemSets whose FeedItems are targeted.java.lang.StringgetGeoTargetConstants(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.intgetGeoTargetConstantsCount()Geo target constant(s) restricting the scope of the geographic area within the feed.com.google.protobuf.ProtocolStringListgetGeoTargetConstantsList()Geo target constant(s) restricting the scope of the geographic area within the feed.com.google.protobuf.Parser<LocationGroupInfo>getParserForType()longgetRadius()Distance in units specifying the radius around targeted locations.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnitsgetRadiusUnits()Unit of the radius.intgetRadiusUnitsValue()Unit of the radius.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasFeed()Feed specifying locations for targeting.inthashCode()booleanhasRadius()Distance in units specifying the radius around targeted locations.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static LocationGroupInfo.BuildernewBuilder()static LocationGroupInfo.BuildernewBuilder(LocationGroupInfo prototype)LocationGroupInfo.BuildernewBuilderForType()protected LocationGroupInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static LocationGroupInfoparseDelimitedFrom(java.io.InputStream input)static LocationGroupInfoparseDelimitedFrom(java.io.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(java.io.InputStream input)static LocationGroupInfoparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LocationGroupInfoparseFrom(java.nio.ByteBuffer data)static LocationGroupInfoparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<LocationGroupInfo>parser()LocationGroupInfo.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FEED_FIELD_NUMBER
public static final int FEED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEO_TARGET_CONSTANTS_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RADIUS_FIELD_NUMBER
public static final int RADIUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RADIUS_UNITS_FIELD_NUMBER
public static final int RADIUS_UNITS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FEED_ITEM_SETS_FIELD_NUMBER
public static final int FEED_ITEM_SETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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. 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
public java.lang.String getFeed()
Feed specifying locations for targeting. 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. 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.
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.
repeated string geo_target_constants = 6;- Specified by:
getGeoTargetConstantsCountin interfaceLocationGroupInfoOrBuilder- Returns:
- The count of geoTargetConstants.
-
getGeoTargetConstants
public java.lang.String getGeoTargetConstants(int index)
Geo target constant(s) restricting the scope of the geographic area within the feed. Currently only one geo target constant is allowed.
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.
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. This is required and must be set in CREATE operations.
.google.ads.googleads.v10.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;- Specified by:
getRadiusUnitsValuein interfaceLocationGroupInfoOrBuilder- Returns:
- The enum numeric value on the wire for radiusUnits.
-
getRadiusUnits
public LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits getRadiusUnits()
Unit of the radius. Miles and meters are supported for geo target constants. Milli miles and meters are supported for feed item sets. This is required and must be set in CREATE operations.
.google.ads.googleads.v10.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.
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.
repeated string feed_item_sets = 8;- Specified by:
getFeedItemSetsCountin interfaceLocationGroupInfoOrBuilder- Returns:
- The count of feedItemSets.
-
getFeedItemSets
public java.lang.String getFeedItemSets(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.
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.
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LocationGroupInfo parseFrom(java.nio.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
public static LocationGroupInfo parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocationGroupInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocationGroupInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static LocationGroupInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static LocationGroupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public LocationGroupInfo.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static LocationGroupInfo.Builder newBuilder()
-
newBuilder
public static LocationGroupInfo.Builder newBuilder(LocationGroupInfo prototype)
-
toBuilder
public LocationGroupInfo.Builder 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
public static LocationGroupInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<LocationGroupInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<LocationGroupInfo> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public LocationGroupInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-