Class LocationGroupInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder>
com.google.ads.googleads.v18.common.LocationGroupInfo.Builder
All Implemented Interfaces:
LocationGroupInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
LocationGroupInfo

public static final class LocationGroupInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LocationGroupInfo.Builder> implements LocationGroupInfoOrBuilder
 A radius around a list of locations specified through a feed or assetSet.
 
Protobuf type google.ads.googleads.v18.common.LocationGroupInfo
  • Method Details

    • 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<LocationGroupInfo.Builder>
    • clear

      public LocationGroupInfo.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<LocationGroupInfo.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<LocationGroupInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public LocationGroupInfo.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<LocationGroupInfo.Builder>
    • setField

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

      public LocationGroupInfo.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<LocationGroupInfo.Builder>
    • clearOneof

      public LocationGroupInfo.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<LocationGroupInfo.Builder>
    • setRepeatedField

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

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

      public LocationGroupInfo.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<LocationGroupInfo.Builder>
    • mergeFrom

      public LocationGroupInfo.Builder mergeFrom(LocationGroupInfo other)
    • isInitialized

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

      public LocationGroupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<LocationGroupInfo.Builder>
      Throws:
      IOException
    • hasFeed

      public boolean hasFeed()
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Specified by:
      hasFeed in interface LocationGroupInfoOrBuilder
      Returns:
      Whether the feed field is set.
    • getFeed

      public String getFeed()
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Specified by:
      getFeed in interface LocationGroupInfoOrBuilder
      Returns:
      The feed.
    • getFeedBytes

      public com.google.protobuf.ByteString getFeedBytes()
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Specified by:
      getFeedBytes in interface LocationGroupInfoOrBuilder
      Returns:
      The bytes for feed.
    • setFeed

      public LocationGroupInfo.Builder setFeed(String value)
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Parameters:
      value - The feed to set.
      Returns:
      This builder for chaining.
    • clearFeed

      public LocationGroupInfo.Builder clearFeed()
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Returns:
      This builder for chaining.
    • setFeedBytes

      public LocationGroupInfo.Builder setFeedBytes(com.google.protobuf.ByteString value)
       Feed specifying locations for targeting. Cannot be set with AssetSet
       fields. This is required and must be set in CREATE operations.
       
      optional string feed = 5;
      Parameters:
      value - The bytes for feed to set.
      Returns:
      This builder for chaining.
    • getGeoTargetConstantsList

      public com.google.protobuf.ProtocolStringList getGeoTargetConstantsList()
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Specified by:
      getGeoTargetConstantsList in interface LocationGroupInfoOrBuilder
      Returns:
      A list containing the geoTargetConstants.
    • getGeoTargetConstantsCount

      public int getGeoTargetConstantsCount()
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Specified by:
      getGeoTargetConstantsCount in interface LocationGroupInfoOrBuilder
      Returns:
      The count of geoTargetConstants.
    • getGeoTargetConstants

      public String getGeoTargetConstants(int index)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Specified by:
      getGeoTargetConstants in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The geoTargetConstants at the given index.
    • getGeoTargetConstantsBytes

      public com.google.protobuf.ByteString getGeoTargetConstantsBytes(int index)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Specified by:
      getGeoTargetConstantsBytes in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the geoTargetConstants at the given index.
    • setGeoTargetConstants

      public LocationGroupInfo.Builder setGeoTargetConstants(int index, String value)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Parameters:
      index - The index to set the value at.
      value - The geoTargetConstants to set.
      Returns:
      This builder for chaining.
    • addGeoTargetConstants

      public LocationGroupInfo.Builder addGeoTargetConstants(String value)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Parameters:
      value - The geoTargetConstants to add.
      Returns:
      This builder for chaining.
    • addAllGeoTargetConstants

      public LocationGroupInfo.Builder addAllGeoTargetConstants(Iterable<String> values)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Parameters:
      values - The geoTargetConstants to add.
      Returns:
      This builder for chaining.
    • clearGeoTargetConstants

      public LocationGroupInfo.Builder clearGeoTargetConstants()
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Returns:
      This builder for chaining.
    • addGeoTargetConstantsBytes

      public LocationGroupInfo.Builder addGeoTargetConstantsBytes(com.google.protobuf.ByteString value)
       Geo target constant(s) restricting the scope of the geographic area within
       the feed. Currently only one geo target constant is allowed. Cannot be set
       with AssetSet fields.
       
      repeated string geo_target_constants = 6;
      Parameters:
      value - The bytes of the geoTargetConstants to add.
      Returns:
      This builder for chaining.
    • hasRadius

      public boolean hasRadius()
       Distance in units specifying the radius around targeted locations.
       This is required and must be set in CREATE operations.
       
      optional int64 radius = 7;
      Specified by:
      hasRadius in interface LocationGroupInfoOrBuilder
      Returns:
      Whether the radius field is set.
    • getRadius

      public long getRadius()
       Distance in units specifying the radius around targeted locations.
       This is required and must be set in CREATE operations.
       
      optional int64 radius = 7;
      Specified by:
      getRadius in interface LocationGroupInfoOrBuilder
      Returns:
      The radius.
    • setRadius

      public LocationGroupInfo.Builder setRadius(long value)
       Distance in units specifying the radius around targeted locations.
       This is required and must be set in CREATE operations.
       
      optional int64 radius = 7;
      Parameters:
      value - The radius to set.
      Returns:
      This builder for chaining.
    • clearRadius

      public LocationGroupInfo.Builder clearRadius()
       Distance in units specifying the radius around targeted locations.
       This is required and must be set in CREATE operations.
       
      optional int64 radius = 7;
      Returns:
      This builder for chaining.
    • getRadiusUnitsValue

      public int getRadiusUnitsValue()
       Unit of the radius. Miles and meters are supported for geo target
       constants. Milli miles and meters are supported for feed item sets and
       asset sets. This is required and must be set in CREATE operations.
       
      .google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
      Specified by:
      getRadiusUnitsValue in interface LocationGroupInfoOrBuilder
      Returns:
      The enum numeric value on the wire for radiusUnits.
    • setRadiusUnitsValue

      public LocationGroupInfo.Builder setRadiusUnitsValue(int value)
       Unit of the radius. Miles and meters are supported for geo target
       constants. Milli miles and meters are supported for feed item sets and
       asset sets. This is required and must be set in CREATE operations.
       
      .google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
      Parameters:
      value - The enum numeric value on the wire for radiusUnits to set.
      Returns:
      This builder for chaining.
    • getRadiusUnits

       Unit of the radius. Miles and meters are supported for geo target
       constants. Milli miles and meters are supported for feed item sets and
       asset sets. This is required and must be set in CREATE operations.
       
      .google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
      Specified by:
      getRadiusUnits in interface LocationGroupInfoOrBuilder
      Returns:
      The radiusUnits.
    • setRadiusUnits

       Unit of the radius. Miles and meters are supported for geo target
       constants. Milli miles and meters are supported for feed item sets and
       asset sets. This is required and must be set in CREATE operations.
       
      .google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
      Parameters:
      value - The radiusUnits to set.
      Returns:
      This builder for chaining.
    • clearRadiusUnits

      public LocationGroupInfo.Builder clearRadiusUnits()
       Unit of the radius. Miles and meters are supported for geo target
       constants. Milli miles and meters are supported for feed item sets and
       asset sets. This is required and must be set in CREATE operations.
       
      .google.ads.googleads.v18.enums.LocationGroupRadiusUnitsEnum.LocationGroupRadiusUnits radius_units = 4;
      Returns:
      This builder for chaining.
    • getFeedItemSetsList

      public com.google.protobuf.ProtocolStringList getFeedItemSetsList()
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Specified by:
      getFeedItemSetsList in interface LocationGroupInfoOrBuilder
      Returns:
      A list containing the feedItemSets.
    • getFeedItemSetsCount

      public int getFeedItemSetsCount()
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Specified by:
      getFeedItemSetsCount in interface LocationGroupInfoOrBuilder
      Returns:
      The count of feedItemSets.
    • getFeedItemSets

      public String getFeedItemSets(int index)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Specified by:
      getFeedItemSets in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The feedItemSets at the given index.
    • getFeedItemSetsBytes

      public com.google.protobuf.ByteString getFeedItemSetsBytes(int index)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Specified by:
      getFeedItemSetsBytes in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the feedItemSets at the given index.
    • setFeedItemSets

      public LocationGroupInfo.Builder setFeedItemSets(int index, String value)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Parameters:
      index - The index to set the value at.
      value - The feedItemSets to set.
      Returns:
      This builder for chaining.
    • addFeedItemSets

      public LocationGroupInfo.Builder addFeedItemSets(String value)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Parameters:
      value - The feedItemSets to add.
      Returns:
      This builder for chaining.
    • addAllFeedItemSets

      public LocationGroupInfo.Builder addAllFeedItemSets(Iterable<String> values)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Parameters:
      values - The feedItemSets to add.
      Returns:
      This builder for chaining.
    • clearFeedItemSets

      public LocationGroupInfo.Builder clearFeedItemSets()
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Returns:
      This builder for chaining.
    • addFeedItemSetsBytes

      public LocationGroupInfo.Builder addFeedItemSetsBytes(com.google.protobuf.ByteString value)
       FeedItemSets whose FeedItems are targeted. If multiple IDs are specified,
       then all items that appear in at least one set are targeted. This field
       cannot be used with geo_target_constants. This is optional and can only be
       set in CREATE operations. Cannot be set with AssetSet fields.
       
      repeated string feed_item_sets = 8;
      Parameters:
      value - The bytes of the feedItemSets to add.
      Returns:
      This builder for chaining.
    • hasEnableCustomerLevelLocationAssetSet

      public boolean hasEnableCustomerLevelLocationAssetSet()
       Denotes that the latest customer level asset set is used for targeting.
       Used with radius and radius_units. Cannot be used with
       feed, geo target constants or feed item sets. When using asset sets, either
       this field or location_group_asset_sets should be specified. Both cannot be
       used at the same time. This can only be set in CREATE operations.
       
      optional bool enable_customer_level_location_asset_set = 9;
      Specified by:
      hasEnableCustomerLevelLocationAssetSet in interface LocationGroupInfoOrBuilder
      Returns:
      Whether the enableCustomerLevelLocationAssetSet field is set.
    • getEnableCustomerLevelLocationAssetSet

      public boolean getEnableCustomerLevelLocationAssetSet()
       Denotes that the latest customer level asset set is used for targeting.
       Used with radius and radius_units. Cannot be used with
       feed, geo target constants or feed item sets. When using asset sets, either
       this field or location_group_asset_sets should be specified. Both cannot be
       used at the same time. This can only be set in CREATE operations.
       
      optional bool enable_customer_level_location_asset_set = 9;
      Specified by:
      getEnableCustomerLevelLocationAssetSet in interface LocationGroupInfoOrBuilder
      Returns:
      The enableCustomerLevelLocationAssetSet.
    • setEnableCustomerLevelLocationAssetSet

      public LocationGroupInfo.Builder setEnableCustomerLevelLocationAssetSet(boolean value)
       Denotes that the latest customer level asset set is used for targeting.
       Used with radius and radius_units. Cannot be used with
       feed, geo target constants or feed item sets. When using asset sets, either
       this field or location_group_asset_sets should be specified. Both cannot be
       used at the same time. This can only be set in CREATE operations.
       
      optional bool enable_customer_level_location_asset_set = 9;
      Parameters:
      value - The enableCustomerLevelLocationAssetSet to set.
      Returns:
      This builder for chaining.
    • clearEnableCustomerLevelLocationAssetSet

      public LocationGroupInfo.Builder clearEnableCustomerLevelLocationAssetSet()
       Denotes that the latest customer level asset set is used for targeting.
       Used with radius and radius_units. Cannot be used with
       feed, geo target constants or feed item sets. When using asset sets, either
       this field or location_group_asset_sets should be specified. Both cannot be
       used at the same time. This can only be set in CREATE operations.
       
      optional bool enable_customer_level_location_asset_set = 9;
      Returns:
      This builder for chaining.
    • getLocationGroupAssetSetsList

      public com.google.protobuf.ProtocolStringList getLocationGroupAssetSetsList()
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Specified by:
      getLocationGroupAssetSetsList in interface LocationGroupInfoOrBuilder
      Returns:
      A list containing the locationGroupAssetSets.
    • getLocationGroupAssetSetsCount

      public int getLocationGroupAssetSetsCount()
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Specified by:
      getLocationGroupAssetSetsCount in interface LocationGroupInfoOrBuilder
      Returns:
      The count of locationGroupAssetSets.
    • getLocationGroupAssetSets

      public String getLocationGroupAssetSets(int index)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Specified by:
      getLocationGroupAssetSets in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The locationGroupAssetSets at the given index.
    • getLocationGroupAssetSetsBytes

      public com.google.protobuf.ByteString getLocationGroupAssetSetsBytes(int index)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Specified by:
      getLocationGroupAssetSetsBytes in interface LocationGroupInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locationGroupAssetSets at the given index.
    • setLocationGroupAssetSets

      public LocationGroupInfo.Builder setLocationGroupAssetSets(int index, String value)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Parameters:
      index - The index to set the value at.
      value - The locationGroupAssetSets to set.
      Returns:
      This builder for chaining.
    • addLocationGroupAssetSets

      public LocationGroupInfo.Builder addLocationGroupAssetSets(String value)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Parameters:
      value - The locationGroupAssetSets to add.
      Returns:
      This builder for chaining.
    • addAllLocationGroupAssetSets

      public LocationGroupInfo.Builder addAllLocationGroupAssetSets(Iterable<String> values)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Parameters:
      values - The locationGroupAssetSets to add.
      Returns:
      This builder for chaining.
    • clearLocationGroupAssetSets

      public LocationGroupInfo.Builder clearLocationGroupAssetSets()
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Returns:
      This builder for chaining.
    • addLocationGroupAssetSetsBytes

      public LocationGroupInfo.Builder addLocationGroupAssetSetsBytes(com.google.protobuf.ByteString value)
       AssetSets whose Assets are targeted. If multiple IDs are specified, then
       all items that appear in at least one set are targeted. This field cannot
       be used with feed, geo target constants or feed item sets. When using asset
       sets, either this field or enable_customer_level_location_asset_set should
       be specified. Both cannot be used at the same time. This can only be set
       in CREATE operations.
       
      repeated string location_group_asset_sets = 10;
      Parameters:
      value - The bytes of the locationGroupAssetSets to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final LocationGroupInfo.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<LocationGroupInfo.Builder>
    • mergeUnknownFields

      public final LocationGroupInfo.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<LocationGroupInfo.Builder>