Class MatchedLocationInterestView.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MatchedLocationInterestView.Builder>
com.google.ads.googleads.v23.resources.MatchedLocationInterestView.Builder
All Implemented Interfaces:
MatchedLocationInterestViewOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MatchedLocationInterestView

public static final class MatchedLocationInterestView.Builder extends com.google.protobuf.GeneratedMessage.Builder<MatchedLocationInterestView.Builder> implements MatchedLocationInterestViewOrBuilder
 A view that reports metrics for locations where users showed interest, and
 which matched the advertiser's location interest targeting (defined as geo
 targets at the AdGroup level). The data is aggregated at the country level by
 default. This view is currently only available for AI Max campaigns.
 
Protobuf type google.ads.googleads.v23.resources.MatchedLocationInterestView
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MatchedLocationInterestView.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.GeneratedMessage.Builder<MatchedLocationInterestView.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.GeneratedMessage.Builder<MatchedLocationInterestView.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public MatchedLocationInterestView.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<MatchedLocationInterestView.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the matched location interest view.
       Matched location interest view resource names have the form:
      
       `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface MatchedLocationInterestViewOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the matched location interest view.
       Matched location interest view resource names have the form:
      
       `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface MatchedLocationInterestViewOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public MatchedLocationInterestView.Builder setResourceName(String value)
       Output only. The resource name of the matched location interest view.
       Matched location interest view resource names have the form:
      
       `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public MatchedLocationInterestView.Builder clearResourceName()
       Output only. The resource name of the matched location interest view.
       Matched location interest view resource names have the form:
      
       `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public MatchedLocationInterestView.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Output only. The resource name of the matched location interest view.
       Matched location interest view resource names have the form:
      
       `customers/{customer_id}/matchedLocationInterestViews/{country_criterion_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.