Class SuggestGeoTargetConstantsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
- com.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.Builder
-
- All Implemented Interfaces:
SuggestGeoTargetConstantsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- SuggestGeoTargetConstantsRequest
public static final class SuggestGeoTargetConstantsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder> implements SuggestGeoTargetConstantsRequestOrBuilder
Request message for [GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v10.services.GeoTargetConstantService.SuggestGeoTargetConstants].
Protobuf typegoogle.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SuggestGeoTargetConstantsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SuggestGeoTargetConstantsRequestbuild()SuggestGeoTargetConstantsRequestbuildPartial()SuggestGeoTargetConstantsRequest.Builderclear()SuggestGeoTargetConstantsRequest.BuilderclearCountryCode()Returned geo targets are restricted to this country code.SuggestGeoTargetConstantsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)SuggestGeoTargetConstantsRequest.BuilderclearGeoTargets()The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.BuilderclearLocale()If possible, returned geo targets are translated using this locale.SuggestGeoTargetConstantsRequest.BuilderclearLocationNames()The location names to search by.SuggestGeoTargetConstantsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)SuggestGeoTargetConstantsRequest.BuilderclearQuery()SuggestGeoTargetConstantsRequest.Builderclone()java.lang.StringgetCountryCode()Returned geo targets are restricted to this country code.com.google.protobuf.ByteStringgetCountryCodeBytes()Returned geo targets are restricted to this country code.SuggestGeoTargetConstantsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()SuggestGeoTargetConstantsRequest.GeoTargetsgetGeoTargets()The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.GeoTargets.BuildergetGeoTargetsBuilder()The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.GeoTargetsOrBuildergetGeoTargetsOrBuilder()The geo target constant resource names to filter by.java.lang.StringgetLocale()If possible, returned geo targets are translated using this locale.com.google.protobuf.ByteStringgetLocaleBytes()If possible, returned geo targets are translated using this locale.SuggestGeoTargetConstantsRequest.LocationNamesgetLocationNames()The location names to search by.SuggestGeoTargetConstantsRequest.LocationNames.BuildergetLocationNamesBuilder()The location names to search by.SuggestGeoTargetConstantsRequest.LocationNamesOrBuildergetLocationNamesOrBuilder()The location names to search by.SuggestGeoTargetConstantsRequest.QueryCasegetQueryCase()booleanhasCountryCode()Returned geo targets are restricted to this country code.booleanhasGeoTargets()The geo target constant resource names to filter by.booleanhasLocale()If possible, returned geo targets are translated using this locale.booleanhasLocationNames()The location names to search by.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()SuggestGeoTargetConstantsRequest.BuildermergeFrom(SuggestGeoTargetConstantsRequest other)SuggestGeoTargetConstantsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)SuggestGeoTargetConstantsRequest.BuildermergeFrom(com.google.protobuf.Message other)SuggestGeoTargetConstantsRequest.BuildermergeGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets value)The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.BuildermergeLocationNames(SuggestGeoTargetConstantsRequest.LocationNames value)The location names to search by.SuggestGeoTargetConstantsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)SuggestGeoTargetConstantsRequest.BuildersetCountryCode(java.lang.String value)Returned geo targets are restricted to this country code.SuggestGeoTargetConstantsRequest.BuildersetCountryCodeBytes(com.google.protobuf.ByteString value)Returned geo targets are restricted to this country code.SuggestGeoTargetConstantsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)SuggestGeoTargetConstantsRequest.BuildersetGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets value)The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.BuildersetGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets.Builder builderForValue)The geo target constant resource names to filter by.SuggestGeoTargetConstantsRequest.BuildersetLocale(java.lang.String value)If possible, returned geo targets are translated using this locale.SuggestGeoTargetConstantsRequest.BuildersetLocaleBytes(com.google.protobuf.ByteString value)If possible, returned geo targets are translated using this locale.SuggestGeoTargetConstantsRequest.BuildersetLocationNames(SuggestGeoTargetConstantsRequest.LocationNames value)The location names to search by.SuggestGeoTargetConstantsRequest.BuildersetLocationNames(SuggestGeoTargetConstantsRequest.LocationNames.Builder builderForValue)The location names to search by.SuggestGeoTargetConstantsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)SuggestGeoTargetConstantsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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<SuggestGeoTargetConstantsRequest.Builder>
-
clear
public SuggestGeoTargetConstantsRequest.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<SuggestGeoTargetConstantsRequest.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<SuggestGeoTargetConstantsRequest.Builder>
-
getDefaultInstanceForType
public SuggestGeoTargetConstantsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SuggestGeoTargetConstantsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SuggestGeoTargetConstantsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SuggestGeoTargetConstantsRequest.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<SuggestGeoTargetConstantsRequest.Builder>
-
setField
public SuggestGeoTargetConstantsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
clearField
public SuggestGeoTargetConstantsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
clearOneof
public SuggestGeoTargetConstantsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
setRepeatedField
public SuggestGeoTargetConstantsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
addRepeatedField
public SuggestGeoTargetConstantsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
mergeFrom
public SuggestGeoTargetConstantsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
mergeFrom
public SuggestGeoTargetConstantsRequest.Builder mergeFrom(SuggestGeoTargetConstantsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
mergeFrom
public SuggestGeoTargetConstantsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SuggestGeoTargetConstantsRequest.Builder>- Throws:
java.io.IOException
-
getQueryCase
public SuggestGeoTargetConstantsRequest.QueryCase getQueryCase()
- Specified by:
getQueryCasein interfaceSuggestGeoTargetConstantsRequestOrBuilder
-
clearQuery
public SuggestGeoTargetConstantsRequest.Builder clearQuery()
-
hasLocale
public boolean hasLocale()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Specified by:
hasLocalein interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- Whether the locale field is set.
-
getLocale
public java.lang.String getLocale()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Specified by:
getLocalein interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The locale.
-
getLocaleBytes
public com.google.protobuf.ByteString getLocaleBytes()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Specified by:
getLocaleBytesin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The bytes for locale.
-
setLocale
public SuggestGeoTargetConstantsRequest.Builder setLocale(java.lang.String value)
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Parameters:
value- The locale to set.- Returns:
- This builder for chaining.
-
clearLocale
public SuggestGeoTargetConstantsRequest.Builder clearLocale()
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Returns:
- This builder for chaining.
-
setLocaleBytes
public SuggestGeoTargetConstantsRequest.Builder setLocaleBytes(com.google.protobuf.ByteString value)
If possible, returned geo targets are translated using this locale. If not, en is used by default. This is also used as a hint for returned geo targets.
optional string locale = 6;- Parameters:
value- The bytes for locale to set.- Returns:
- This builder for chaining.
-
hasCountryCode
public boolean hasCountryCode()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Specified by:
hasCountryCodein interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- Whether the countryCode field is set.
-
getCountryCode
public java.lang.String getCountryCode()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Specified by:
getCountryCodein interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The countryCode.
-
getCountryCodeBytes
public com.google.protobuf.ByteString getCountryCodeBytes()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Specified by:
getCountryCodeBytesin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The bytes for countryCode.
-
setCountryCode
public SuggestGeoTargetConstantsRequest.Builder setCountryCode(java.lang.String value)
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Parameters:
value- The countryCode to set.- Returns:
- This builder for chaining.
-
clearCountryCode
public SuggestGeoTargetConstantsRequest.Builder clearCountryCode()
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Returns:
- This builder for chaining.
-
setCountryCodeBytes
public SuggestGeoTargetConstantsRequest.Builder setCountryCodeBytes(com.google.protobuf.ByteString value)
Returned geo targets are restricted to this country code.
optional string country_code = 7;- Parameters:
value- The bytes for countryCode to set.- Returns:
- This builder for chaining.
-
hasLocationNames
public boolean hasLocationNames()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;- Specified by:
hasLocationNamesin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- Whether the locationNames field is set.
-
getLocationNames
public SuggestGeoTargetConstantsRequest.LocationNames getLocationNames()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;- Specified by:
getLocationNamesin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The locationNames.
-
setLocationNames
public SuggestGeoTargetConstantsRequest.Builder setLocationNames(SuggestGeoTargetConstantsRequest.LocationNames value)
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
setLocationNames
public SuggestGeoTargetConstantsRequest.Builder setLocationNames(SuggestGeoTargetConstantsRequest.LocationNames.Builder builderForValue)
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
mergeLocationNames
public SuggestGeoTargetConstantsRequest.Builder mergeLocationNames(SuggestGeoTargetConstantsRequest.LocationNames value)
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
clearLocationNames
public SuggestGeoTargetConstantsRequest.Builder clearLocationNames()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
getLocationNamesBuilder
public SuggestGeoTargetConstantsRequest.LocationNames.Builder getLocationNamesBuilder()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;
-
getLocationNamesOrBuilder
public SuggestGeoTargetConstantsRequest.LocationNamesOrBuilder getLocationNamesOrBuilder()
The location names to search by. At most 25 names can be set.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.LocationNames location_names = 1;- Specified by:
getLocationNamesOrBuilderin interfaceSuggestGeoTargetConstantsRequestOrBuilder
-
hasGeoTargets
public boolean hasGeoTargets()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;- Specified by:
hasGeoTargetsin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- Whether the geoTargets field is set.
-
getGeoTargets
public SuggestGeoTargetConstantsRequest.GeoTargets getGeoTargets()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;- Specified by:
getGeoTargetsin interfaceSuggestGeoTargetConstantsRequestOrBuilder- Returns:
- The geoTargets.
-
setGeoTargets
public SuggestGeoTargetConstantsRequest.Builder setGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets value)
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
setGeoTargets
public SuggestGeoTargetConstantsRequest.Builder setGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets.Builder builderForValue)
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
mergeGeoTargets
public SuggestGeoTargetConstantsRequest.Builder mergeGeoTargets(SuggestGeoTargetConstantsRequest.GeoTargets value)
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
clearGeoTargets
public SuggestGeoTargetConstantsRequest.Builder clearGeoTargets()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
getGeoTargetsBuilder
public SuggestGeoTargetConstantsRequest.GeoTargets.Builder getGeoTargetsBuilder()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;
-
getGeoTargetsOrBuilder
public SuggestGeoTargetConstantsRequest.GeoTargetsOrBuilder getGeoTargetsOrBuilder()
The geo target constant resource names to filter by.
.google.ads.googleads.v10.services.SuggestGeoTargetConstantsRequest.GeoTargets geo_targets = 2;- Specified by:
getGeoTargetsOrBuilderin interfaceSuggestGeoTargetConstantsRequestOrBuilder
-
setUnknownFields
public final SuggestGeoTargetConstantsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
mergeUnknownFields
public final SuggestGeoTargetConstantsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SuggestGeoTargetConstantsRequest.Builder>
-
-