Class SmartCampaignSuggestionInfo.LocationList.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
- com.google.ads.googleads.v10.services.SmartCampaignSuggestionInfo.LocationList.Builder
-
- All Implemented Interfaces:
SmartCampaignSuggestionInfo.LocationListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- SmartCampaignSuggestionInfo.LocationList
public static final class SmartCampaignSuggestionInfo.LocationList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder> implements SmartCampaignSuggestionInfo.LocationListOrBuilder
A list of locations.
Protobuf typegoogle.ads.googleads.v10.services.SmartCampaignSuggestionInfo.LocationList
-
-
Method Summary
-
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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
clear
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
getDefaultInstanceForType
public SmartCampaignSuggestionInfo.LocationList getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public SmartCampaignSuggestionInfo.LocationList build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SmartCampaignSuggestionInfo.LocationList buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
setField
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
clearField
public SmartCampaignSuggestionInfo.LocationList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
clearOneof
public SmartCampaignSuggestionInfo.LocationList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
setRepeatedField
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
addRepeatedField
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.LocationList.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.LocationList.Builder mergeFrom(SmartCampaignSuggestionInfo.LocationList other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
mergeFrom
public SmartCampaignSuggestionInfo.LocationList.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<SmartCampaignSuggestionInfo.LocationList.Builder>- Throws:
java.io.IOException
-
getLocationsList
public java.util.List<LocationInfo> getLocationsList()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocationsListin interfaceSmartCampaignSuggestionInfo.LocationListOrBuilder
-
getLocationsCount
public int getLocationsCount()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocationsCountin interfaceSmartCampaignSuggestionInfo.LocationListOrBuilder
-
getLocations
public LocationInfo getLocations(int index)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocationsin interfaceSmartCampaignSuggestionInfo.LocationListOrBuilder
-
setLocations
public SmartCampaignSuggestionInfo.LocationList.Builder setLocations(int index, LocationInfo value)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
setLocations
public SmartCampaignSuggestionInfo.LocationList.Builder setLocations(int index, LocationInfo.Builder builderForValue)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addLocations
public SmartCampaignSuggestionInfo.LocationList.Builder addLocations(LocationInfo value)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addLocations
public SmartCampaignSuggestionInfo.LocationList.Builder addLocations(int index, LocationInfo value)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addLocations
public SmartCampaignSuggestionInfo.LocationList.Builder addLocations(LocationInfo.Builder builderForValue)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addLocations
public SmartCampaignSuggestionInfo.LocationList.Builder addLocations(int index, LocationInfo.Builder builderForValue)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addAllLocations
public SmartCampaignSuggestionInfo.LocationList.Builder addAllLocations(java.lang.Iterable<? extends LocationInfo> values)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
clearLocations
public SmartCampaignSuggestionInfo.LocationList.Builder clearLocations()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
removeLocations
public SmartCampaignSuggestionInfo.LocationList.Builder removeLocations(int index)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
getLocationsBuilder
public LocationInfo.Builder getLocationsBuilder(int index)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
getLocationsOrBuilder
public LocationInfoOrBuilder getLocationsOrBuilder(int index)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocationsOrBuilderin interfaceSmartCampaignSuggestionInfo.LocationListOrBuilder
-
getLocationsOrBuilderList
public java.util.List<? extends LocationInfoOrBuilder> getLocationsOrBuilderList()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getLocationsOrBuilderListin interfaceSmartCampaignSuggestionInfo.LocationListOrBuilder
-
addLocationsBuilder
public LocationInfo.Builder addLocationsBuilder()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
addLocationsBuilder
public LocationInfo.Builder addLocationsBuilder(int index)
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
getLocationsBuilderList
public java.util.List<LocationInfo.Builder> getLocationsBuilderList()
Required. Locations.
repeated .google.ads.googleads.v10.common.LocationInfo locations = 1 [(.google.api.field_behavior) = REQUIRED];
-
setUnknownFields
public final SmartCampaignSuggestionInfo.LocationList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
mergeUnknownFields
public final SmartCampaignSuggestionInfo.LocationList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SmartCampaignSuggestionInfo.LocationList.Builder>
-
-