Class GeoTargetConstantSuggestion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
com.google.ads.googleads.v18.services.GeoTargetConstantSuggestion.Builder
- All Implemented Interfaces:
GeoTargetConstantSuggestionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GeoTargetConstantSuggestion
public static final class GeoTargetConstantSuggestion.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
implements GeoTargetConstantSuggestionOrBuilder
A geo target constant suggestion.Protobuf type
google.ads.googleads.v18.services.GeoTargetConstantSuggestion-
Method Summary
Modifier and TypeMethodDescriptionaddAllGeoTargetConstantParents(Iterable<? extends GeoTargetConstant> values) The list of parents of the geo target constant.addGeoTargetConstantParents(int index, GeoTargetConstant value) The list of parents of the geo target constant.addGeoTargetConstantParents(int index, GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.The list of parents of the geo target constant.addGeoTargetConstantParents(GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.The list of parents of the geo target constant.addGeoTargetConstantParentsBuilder(int index) The list of parents of the geo target constant.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The GeoTargetConstant result.The list of parents of the geo target constant.The language this GeoTargetConstantSuggestion is currently translated to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe GeoTargetConstant result.The GeoTargetConstant result.The GeoTargetConstant result.getGeoTargetConstantParents(int index) The list of parents of the geo target constant.getGeoTargetConstantParentsBuilder(int index) The list of parents of the geo target constant.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.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.booleanThe GeoTargetConstant result.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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The GeoTargetConstant result.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeGeoTargetConstantParents(int index) The list of parents of the geo target constant.The GeoTargetConstant result.setGeoTargetConstant(GeoTargetConstant.Builder builderForValue) The GeoTargetConstant result.setGeoTargetConstantParents(int index, GeoTargetConstant value) The list of parents of the geo target constant.setGeoTargetConstantParents(int index, GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.The language this GeoTargetConstantSuggestion is currently translated to.setLocaleBytes(com.google.protobuf.ByteString value) The language this GeoTargetConstantSuggestion is currently translated to.setReach(long value) Approximate user population that will be targeted, rounded to the nearest 100.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSearchTerm(String value) If the request searched by location name, this is the location name that matched the geo target.setSearchTermBytes(com.google.protobuf.ByteString value) If the request searched by location name, this is the location name that matched the geo target.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<GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.Builder>
-
setField
public GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.Builder>
-
clearField
public GeoTargetConstantSuggestion.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
-
clearOneof
public GeoTargetConstantSuggestion.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
-
setRepeatedField
public GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.Builder>
-
addRepeatedField
public GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GeoTargetConstantSuggestion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
-
mergeFrom
public GeoTargetConstantSuggestion.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<GeoTargetConstantSuggestion.Builder>- Throws:
IOException
-
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.
-
setLocale
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;- Parameters:
value- The locale to set.- Returns:
- This builder for chaining.
-
clearLocale
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;- Returns:
- This builder for chaining.
-
setLocaleBytes
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;- Parameters:
value- The bytes for locale to set.- Returns:
- This builder for chaining.
-
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.
-
setReach
Approximate user population that will be targeted, rounded to the nearest 100.
optional int64 reach = 7;- Parameters:
value- The reach to set.- Returns:
- This builder for chaining.
-
clearReach
Approximate user population that will be targeted, rounded to the nearest 100.
optional int64 reach = 7;- Returns:
- This builder for chaining.
-
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.
-
setSearchTerm
If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Parameters:
value- The searchTerm to set.- Returns:
- This builder for chaining.
-
clearSearchTerm
If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Returns:
- This builder for chaining.
-
setSearchTermBytes
If the request searched by location name, this is the location name that matched the geo target.
optional string search_term = 8;- Parameters:
value- The bytes for searchTerm to set.- Returns:
- This builder for chaining.
-
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.
-
setGeoTargetConstant
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4; -
setGeoTargetConstant
public GeoTargetConstantSuggestion.Builder setGeoTargetConstant(GeoTargetConstant.Builder builderForValue) The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4; -
mergeGeoTargetConstant
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4; -
clearGeoTargetConstant
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4; -
getGeoTargetConstantBuilder
The GeoTargetConstant result.
.google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant = 4; -
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
-
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
-
setGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder setGeoTargetConstantParents(int index, GeoTargetConstant value) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
setGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder setGeoTargetConstantParents(int index, GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addGeoTargetConstantParents
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder addGeoTargetConstantParents(int index, GeoTargetConstant value) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder addGeoTargetConstantParents(GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder addGeoTargetConstantParents(int index, GeoTargetConstant.Builder builderForValue) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addAllGeoTargetConstantParents
public GeoTargetConstantSuggestion.Builder addAllGeoTargetConstantParents(Iterable<? extends GeoTargetConstant> values) The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
clearGeoTargetConstantParents
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
removeGeoTargetConstantParents
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
getGeoTargetConstantParentsBuilder
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
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
-
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
-
addGeoTargetConstantParentsBuilder
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
addGeoTargetConstantParentsBuilder
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
getGeoTargetConstantParentsBuilderList
The list of parents of the geo target constant.
repeated .google.ads.googleads.v18.resources.GeoTargetConstant geo_target_constant_parents = 5; -
setUnknownFields
public final GeoTargetConstantSuggestion.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
-
mergeUnknownFields
public final GeoTargetConstantSuggestion.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GeoTargetConstantSuggestion.Builder>
-