Class BrandSentimentInsight

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.ads.googleads.v25.services.BrandSentimentInsight
All Implemented Interfaces:
BrandSentimentInsightOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BrandSentimentInsight extends com.google.protobuf.GeneratedMessage implements BrandSentimentInsightOrBuilder
 Brand sentiment for a specific month. Measuring brand sentiment involves
 using AI models to analyze YouTube video content related to the brand,
 categorizing the sentiment as positive, negative, or neutral.
 Only the video content itself is analyzed; user comments are not included.
 The AI models are powered by Gemini and can make mistakes.
 
Protobuf type google.ads.googleads.v25.services.BrandSentimentInsight
See Also:
  • Field Details

    • MONTH_FIELD_NUMBER

      public static final int MONTH_FIELD_NUMBER
      See Also:
    • HAS_INSUFFICIENT_DATA_FIELD_NUMBER

      public static final int HAS_INSUFFICIENT_DATA_FIELD_NUMBER
      See Also:
    • SENTIMENT_DISTRIBUTIONS_FIELD_NUMBER

      public static final int SENTIMENT_DISTRIBUTIONS_FIELD_NUMBER
      See Also:
    • SENTIMENT_SUMMARIES_FIELD_NUMBER

      public static final int SENTIMENT_SUMMARIES_FIELD_NUMBER
      See Also:
  • 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
    • getMonth

      public String getMonth()
       The month that the brand sentiment represents in the string format
       "YYYY-MM".
       
      string month = 1;
      Specified by:
      getMonth in interface BrandSentimentInsightOrBuilder
      Returns:
      The month.
    • getMonthBytes

      public com.google.protobuf.ByteString getMonthBytes()
       The month that the brand sentiment represents in the string format
       "YYYY-MM".
       
      string month = 1;
      Specified by:
      getMonthBytes in interface BrandSentimentInsightOrBuilder
      Returns:
      The bytes for month.
    • getHasInsufficientData

      public boolean getHasInsufficientData()
       When true, there is insufficient data to calculate the brand sentiment.
       
      bool has_insufficient_data = 2;
      Specified by:
      getHasInsufficientData in interface BrandSentimentInsightOrBuilder
      Returns:
      The hasInsufficientData.
    • getSentimentDistributionsList

      public List<SentimentInsightDistribution> getSentimentDistributionsList()
       Distribution of sentiment between positive, negative, and neutral.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;
      Specified by:
      getSentimentDistributionsList in interface BrandSentimentInsightOrBuilder
    • getSentimentDistributionsOrBuilderList

      public List<? extends SentimentInsightDistributionOrBuilder> getSentimentDistributionsOrBuilderList()
       Distribution of sentiment between positive, negative, and neutral.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;
      Specified by:
      getSentimentDistributionsOrBuilderList in interface BrandSentimentInsightOrBuilder
    • getSentimentDistributionsCount

      public int getSentimentDistributionsCount()
       Distribution of sentiment between positive, negative, and neutral.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;
      Specified by:
      getSentimentDistributionsCount in interface BrandSentimentInsightOrBuilder
    • getSentimentDistributions

      public SentimentInsightDistribution getSentimentDistributions(int index)
       Distribution of sentiment between positive, negative, and neutral.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;
      Specified by:
      getSentimentDistributions in interface BrandSentimentInsightOrBuilder
    • getSentimentDistributionsOrBuilder

      public SentimentInsightDistributionOrBuilder getSentimentDistributionsOrBuilder(int index)
       Distribution of sentiment between positive, negative, and neutral.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;
      Specified by:
      getSentimentDistributionsOrBuilder in interface BrandSentimentInsightOrBuilder
    • getSentimentSummariesList

      public List<SentimentInsightSummary> getSentimentSummariesList()
       A summary of what was positive and negative about content related to the
       brand. No summaries are generated for neutral sentiment. The summary is
       generated by AI models.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightSummary sentiment_summaries = 4;
      Specified by:
      getSentimentSummariesList in interface BrandSentimentInsightOrBuilder
    • getSentimentSummariesOrBuilderList

      public List<? extends SentimentInsightSummaryOrBuilder> getSentimentSummariesOrBuilderList()
       A summary of what was positive and negative about content related to the
       brand. No summaries are generated for neutral sentiment. The summary is
       generated by AI models.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightSummary sentiment_summaries = 4;
      Specified by:
      getSentimentSummariesOrBuilderList in interface BrandSentimentInsightOrBuilder
    • getSentimentSummariesCount

      public int getSentimentSummariesCount()
       A summary of what was positive and negative about content related to the
       brand. No summaries are generated for neutral sentiment. The summary is
       generated by AI models.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightSummary sentiment_summaries = 4;
      Specified by:
      getSentimentSummariesCount in interface BrandSentimentInsightOrBuilder
    • getSentimentSummaries

      public SentimentInsightSummary getSentimentSummaries(int index)
       A summary of what was positive and negative about content related to the
       brand. No summaries are generated for neutral sentiment. The summary is
       generated by AI models.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightSummary sentiment_summaries = 4;
      Specified by:
      getSentimentSummaries in interface BrandSentimentInsightOrBuilder
    • getSentimentSummariesOrBuilder

      public SentimentInsightSummaryOrBuilder getSentimentSummariesOrBuilder(int index)
       A summary of what was positive and negative about content related to the
       brand. No summaries are generated for neutral sentiment. The summary is
       generated by AI models.
       
      repeated .google.ads.googleads.v25.services.SentimentInsightSummary sentiment_summaries = 4;
      Specified by:
      getSentimentSummariesOrBuilder in interface BrandSentimentInsightOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 BrandSentimentInsight parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static BrandSentimentInsight.Builder newBuilder()
    • newBuilder

      public static BrandSentimentInsight.Builder newBuilder(BrandSentimentInsight prototype)
    • toBuilder

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

      protected BrandSentimentInsight.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BrandSentimentInsight getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<BrandSentimentInsight> 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.GeneratedMessage
    • getDefaultInstanceForType

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