Class GeoTargetConstantSuggestion
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.GeoTargetConstantSuggestion
- All Implemented Interfaces:
GeoTargetConstantSuggestionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class GeoTargetConstantSuggestion
extends com.google.protobuf.GeneratedMessageV3
implements GeoTargetConstantSuggestionOrBuilder
A geo target constant suggestion.Protobuf type
google.ads.googleads.v18.services.GeoTargetConstantSuggestion- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA geo target constant suggestion.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 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 GeoTargetConstantSuggestionstatic final com.google.protobuf.Descriptors.DescriptorThe GeoTargetConstant result.The GeoTargetConstant result.getGeoTargetConstantParents(int index) The list of parents of the geo target constant.intThe list of parents of the geo target constant.The list of parents of the geo target constant.getGeoTargetConstantParentsOrBuilder(int index) The list of parents of the geo target constant.List<? extends GeoTargetConstantOrBuilder>The list of parents of the geo target constant.The language this GeoTargetConstantSuggestion is currently translated to.com.google.protobuf.ByteStringThe language this GeoTargetConstantSuggestion is currently translated to.com.google.protobuf.Parser<GeoTargetConstantSuggestion>longgetReach()Approximate user population that will be targeted, rounded to the nearest 100.If the request searched by location name, this is the location name that matched the geo target.com.google.protobuf.ByteStringIf the request searched by location name, this is the location name that matched the geo target.intbooleanThe GeoTargetConstant result.inthashCode()booleanThe language this GeoTargetConstantSuggestion is currently translated to.booleanhasReach()Approximate user population that will be targeted, rounded to the nearest 100.booleanIf the request searched by location name, this is the location name that matched the geo target.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(GeoTargetConstantSuggestion prototype) protected GeoTargetConstantSuggestion.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GeoTargetConstantSuggestionparseDelimitedFrom(InputStream input) static GeoTargetConstantSuggestionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GeoTargetConstantSuggestionparseFrom(byte[] data) static GeoTargetConstantSuggestionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GeoTargetConstantSuggestionparseFrom(com.google.protobuf.ByteString data) static GeoTargetConstantSuggestionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GeoTargetConstantSuggestionparseFrom(com.google.protobuf.CodedInputStream input) static GeoTargetConstantSuggestionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GeoTargetConstantSuggestionparseFrom(InputStream input) static GeoTargetConstantSuggestionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GeoTargetConstantSuggestionparseFrom(ByteBuffer data) static GeoTargetConstantSuggestionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GeoTargetConstantSuggestion>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
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER- See Also:
-
REACH_FIELD_NUMBER
public static final int REACH_FIELD_NUMBER- See Also:
-
SEARCH_TERM_FIELD_NUMBER
public static final int SEARCH_TERM_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANT_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANT_FIELD_NUMBER- See Also:
-
GEO_TARGET_CONSTANT_PARENTS_FIELD_NUMBER
public static final int GEO_TARGET_CONSTANT_PARENTS_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
-
hasLocale
public boolean hasLocale()The language this GeoTargetConstantSuggestion is currently translated to. It affects the name of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then name=España. The default locale will be returned if no translation exists for the locale in the request.
optional string locale = 6;- Specified by:
hasLocalein interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- Whether the locale field is set.
-
getLocale
The language this GeoTargetConstantSuggestion is currently translated to. It affects the name of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then name=España. The default locale will be returned if no translation exists for the locale in the request.
optional string locale = 6;- Specified by:
getLocalein interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()The language this GeoTargetConstantSuggestion is currently translated to. It affects the name of geo target fields. For example, if locale=en, then name=Spain. If locale=es, then name=España. The default locale will be returned if no translation exists for the locale in the request.
optional string locale = 6;- Specified by:
getLocaleBytesin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The bytes for locale.
-
hasReach
public boolean hasReach()Approximate user population that will be targeted, rounded to the nearest 100.
optional int64 reach = 7;- Specified by:
hasReachin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- Whether the reach field is set.
-
getReach
public long getReach()Approximate user population that will be targeted, rounded to the nearest 100.
optional int64 reach = 7;- Specified by:
getReachin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The reach.
-
hasSearchTerm
public boolean hasSearchTerm()If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Specified by:
hasSearchTermin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- Whether the searchTerm field is set.
-
getSearchTerm
If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Specified by:
getSearchTermin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The searchTerm.
-
getSearchTermBytes
public com.google.protobuf.ByteString getSearchTermBytes()If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Specified by:
getSearchTermBytesin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The bytes for searchTerm.
-
hasGeoTargetConstant
public boolean hasGeoTargetConstant()The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4;- Specified by:
hasGeoTargetConstantin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- Whether the geoTargetConstant field is set.
-
getGeoTargetConstant
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4;- Specified by:
getGeoTargetConstantin interfaceGeoTargetConstantSuggestionOrBuilder- Returns:
- The geoTargetConstant.
-
getGeoTargetConstantOrBuilder
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4;- Specified by:
getGeoTargetConstantOrBuilderin interfaceGeoTargetConstantSuggestionOrBuilder
-
getGeoTargetConstantParentsList
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5;- Specified by:
getGeoTargetConstantParentsListin interfaceGeoTargetConstantSuggestionOrBuilder
-
getGeoTargetConstantParentsOrBuilderList
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5;- Specified by:
getGeoTargetConstantParentsOrBuilderListin interfaceGeoTargetConstantSuggestionOrBuilder
-
getGeoTargetConstantParentsCount
public int getGeoTargetConstantParentsCount()The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5;- Specified by:
getGeoTargetConstantParentsCountin interfaceGeoTargetConstantSuggestionOrBuilder
-
getGeoTargetConstantParents
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5;- Specified by:
getGeoTargetConstantParentsin interfaceGeoTargetConstantSuggestionOrBuilder
-
getGeoTargetConstantParentsOrBuilder
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5;- Specified by:
getGeoTargetConstantParentsOrBuilderin interfaceGeoTargetConstantSuggestionOrBuilder
-
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 GeoTargetConstantSuggestion parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GeoTargetConstantSuggestion parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GeoTargetConstantSuggestion parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GeoTargetConstantSuggestion 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 GeoTargetConstantSuggestion.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
-