Class InsightsAudienceDescription

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.InsightsAudienceDescription
All Implemented Interfaces:
InsightsAudienceDescriptionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class InsightsAudienceDescription extends com.google.protobuf.GeneratedMessageV3 implements InsightsAudienceDescriptionOrBuilder
 A text description of the audience of interest for which insights are being
 requested in AudienceInsightsService.
 
Protobuf type google.ads.googleads.v18.services.InsightsAudienceDescription
See Also:
  • Field Details

    • COUNTRY_LOCATIONS_FIELD_NUMBER

      public static final int COUNTRY_LOCATIONS_FIELD_NUMBER
      See Also:
    • AUDIENCE_DESCRIPTION_FIELD_NUMBER

      public static final int AUDIENCE_DESCRIPTION_FIELD_NUMBER
      See Also:
    • MARKETING_OBJECTIVE_FIELD_NUMBER

      public static final int MARKETING_OBJECTIVE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getCountryLocationsList

      public List<LocationInfo> getCountryLocationsList()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsList in interface InsightsAudienceDescriptionOrBuilder
    • getCountryLocationsOrBuilderList

      public List<? extends LocationInfoOrBuilder> getCountryLocationsOrBuilderList()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsOrBuilderList in interface InsightsAudienceDescriptionOrBuilder
    • getCountryLocationsCount

      public int getCountryLocationsCount()
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsCount in interface InsightsAudienceDescriptionOrBuilder
    • getCountryLocations

      public LocationInfo getCountryLocations(int index)
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocations in interface InsightsAudienceDescriptionOrBuilder
    • getCountryLocationsOrBuilder

      public LocationInfoOrBuilder getCountryLocationsOrBuilder(int index)
       Required. The countries for the audience.
       
      repeated .google.ads.googleads.v18.common.LocationInfo country_locations = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCountryLocationsOrBuilder in interface InsightsAudienceDescriptionOrBuilder
    • getAudienceDescription

      public String getAudienceDescription()
       Required. An English language text description of an audience to get
       suggestions for. Maximum length is 2000 characters. For example, "Women in
       their 30s who love to travel".
       
      string audience_description = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceDescription in interface InsightsAudienceDescriptionOrBuilder
      Returns:
      The audienceDescription.
    • getAudienceDescriptionBytes

      public com.google.protobuf.ByteString getAudienceDescriptionBytes()
       Required. An English language text description of an audience to get
       suggestions for. Maximum length is 2000 characters. For example, "Women in
       their 30s who love to travel".
       
      string audience_description = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAudienceDescriptionBytes in interface InsightsAudienceDescriptionOrBuilder
      Returns:
      The bytes for audienceDescription.
    • getMarketingObjectiveValue

      public int getMarketingObjectiveValue()
       Optional. An optional marketing objective which will influence the type of
       suggestions produced. AWARENESS will provide affinity audience segments,
       while CONSIDERATION will provide in-market audience segments. Leaving it
       unset will provide both.
       
      .google.ads.googleads.v18.enums.AudienceInsightsMarketingObjectiveEnum.AudienceInsightsMarketingObjective marketing_objective = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMarketingObjectiveValue in interface InsightsAudienceDescriptionOrBuilder
      Returns:
      The enum numeric value on the wire for marketingObjective.
    • getMarketingObjective

       Optional. An optional marketing objective which will influence the type of
       suggestions produced. AWARENESS will provide affinity audience segments,
       while CONSIDERATION will provide in-market audience segments. Leaving it
       unset will provide both.
       
      .google.ads.googleads.v18.enums.AudienceInsightsMarketingObjectiveEnum.AudienceInsightsMarketingObjective marketing_objective = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMarketingObjective in interface InsightsAudienceDescriptionOrBuilder
      Returns:
      The marketingObjective.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InsightsAudienceDescription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InsightsAudienceDescription parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InsightsAudienceDescription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InsightsAudienceDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public InsightsAudienceDescription.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InsightsAudienceDescription.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InsightsAudienceDescription.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static InsightsAudienceDescription getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InsightsAudienceDescription> parser()
    • getParserForType

      public com.google.protobuf.Parser<InsightsAudienceDescription> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public InsightsAudienceDescription getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder