Class MapsLocationSet.Builder

  • All Implemented Interfaces:
    MapsLocationSetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.lang.Cloneable
    Enclosing class:
    MapsLocationSet

    public static final class MapsLocationSet.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
    implements MapsLocationSetOrBuilder
     Wrapper for multiple maps location sync data
     
    Protobuf type google.ads.googleads.v14.common.MapsLocationSet
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • clear

        public MapsLocationSet.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • getDefaultInstanceForType

        public MapsLocationSet getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MapsLocationSet build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MapsLocationSet buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public MapsLocationSet.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • setField

        public MapsLocationSet.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • clearField

        public MapsLocationSet.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • clearOneof

        public MapsLocationSet.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • setRepeatedField

        public MapsLocationSet.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        int index,
                                                        java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • addRepeatedField

        public MapsLocationSet.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • mergeFrom

        public MapsLocationSet.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MapsLocationSet.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • mergeFrom

        public MapsLocationSet.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MapsLocationSet.Builder>
        Throws:
        java.io.IOException
      • getMapsLocationsList

        public java.util.List<MapsLocationInfo> getMapsLocationsList()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMapsLocationsList in interface MapsLocationSetOrBuilder
      • getMapsLocationsCount

        public int getMapsLocationsCount()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMapsLocationsCount in interface MapsLocationSetOrBuilder
      • getMapsLocations

        public MapsLocationInfo getMapsLocations​(int index)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMapsLocations in interface MapsLocationSetOrBuilder
      • setMapsLocations

        public MapsLocationSet.Builder setMapsLocations​(int index,
                                                        MapsLocationInfo value)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • setMapsLocations

        public MapsLocationSet.Builder setMapsLocations​(int index,
                                                        MapsLocationInfo.Builder builderForValue)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMapsLocations

        public MapsLocationSet.Builder addMapsLocations​(MapsLocationInfo value)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMapsLocations

        public MapsLocationSet.Builder addMapsLocations​(int index,
                                                        MapsLocationInfo value)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMapsLocations

        public MapsLocationSet.Builder addMapsLocations​(MapsLocationInfo.Builder builderForValue)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMapsLocations

        public MapsLocationSet.Builder addMapsLocations​(int index,
                                                        MapsLocationInfo.Builder builderForValue)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addAllMapsLocations

        public MapsLocationSet.Builder addAllMapsLocations​(java.lang.Iterable<? extends MapsLocationInfo> values)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • clearMapsLocations

        public MapsLocationSet.Builder clearMapsLocations()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • removeMapsLocations

        public MapsLocationSet.Builder removeMapsLocations​(int index)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMapsLocationsBuilder

        public MapsLocationInfo.Builder getMapsLocationsBuilder​(int index)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMapsLocationsOrBuilder

        public MapsLocationInfoOrBuilder getMapsLocationsOrBuilder​(int index)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMapsLocationsOrBuilder in interface MapsLocationSetOrBuilder
      • getMapsLocationsOrBuilderList

        public java.util.List<? extends MapsLocationInfoOrBuilder> getMapsLocationsOrBuilderList()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMapsLocationsOrBuilderList in interface MapsLocationSetOrBuilder
      • addMapsLocationsBuilder

        public MapsLocationInfo.Builder addMapsLocationsBuilder()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • addMapsLocationsBuilder

        public MapsLocationInfo.Builder addMapsLocationsBuilder​(int index)
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • getMapsLocationsBuilderList

        public java.util.List<MapsLocationInfo.Builder> getMapsLocationsBuilderList()
         Required. A list of maps location info that user manually synced in.
         
        repeated .google.ads.googleads.v14.common.MapsLocationInfo maps_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final MapsLocationSet.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>
      • mergeUnknownFields

        public final MapsLocationSet.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MapsLocationSet.Builder>