Class SentimentInsightSummary

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

@Generated public final class SentimentInsightSummary extends com.google.protobuf.GeneratedMessage implements SentimentInsightSummaryOrBuilder
 A summary of the sentiment for content related to a brand. Summaries are only
 generated for positive and negative sentiment, not neutral. The summary is
 generated by AI models.
 
Protobuf type google.ads.googleads.v25.services.SentimentInsightSummary
See Also:
  • Field Details

    • SENTIMENT_FIELD_NUMBER

      public static final int SENTIMENT_FIELD_NUMBER
      See Also:
    • SUMMARY_FIELD_NUMBER

      public static final int SUMMARY_FIELD_NUMBER
      See Also:
    • SAMPLE_VIDEOS_FIELD_NUMBER

      public static final int SAMPLE_VIDEOS_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
    • getSentimentValue

      public int getSentimentValue()
       The sentiment for this summary.
       
      .google.ads.googleads.v25.enums.SentimentEnum.Sentiment sentiment = 1;
      Specified by:
      getSentimentValue in interface SentimentInsightSummaryOrBuilder
      Returns:
      The enum numeric value on the wire for sentiment.
    • getSentiment

      public SentimentEnum.Sentiment getSentiment()
       The sentiment for this summary.
       
      .google.ads.googleads.v25.enums.SentimentEnum.Sentiment sentiment = 1;
      Specified by:
      getSentiment in interface SentimentInsightSummaryOrBuilder
      Returns:
      The sentiment.
    • getSummary

      public String getSummary()
       A summary of what was positive or negative about content related to the
       brand.
       
      string summary = 2;
      Specified by:
      getSummary in interface SentimentInsightSummaryOrBuilder
      Returns:
      The summary.
    • getSummaryBytes

      public com.google.protobuf.ByteString getSummaryBytes()
       A summary of what was positive or negative about content related to the
       brand.
       
      string summary = 2;
      Specified by:
      getSummaryBytes in interface SentimentInsightSummaryOrBuilder
      Returns:
      The bytes for summary.
    • getSampleVideosList

      public List<AudienceInsightsAttributeMetadata> getSampleVideosList()
       Sample videos that correspond to the sentiment.
       
      repeated .google.ads.googleads.v25.common.AudienceInsightsAttributeMetadata sample_videos = 3;
      Specified by:
      getSampleVideosList in interface SentimentInsightSummaryOrBuilder
    • getSampleVideosOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getSampleVideosOrBuilderList()
       Sample videos that correspond to the sentiment.
       
      repeated .google.ads.googleads.v25.common.AudienceInsightsAttributeMetadata sample_videos = 3;
      Specified by:
      getSampleVideosOrBuilderList in interface SentimentInsightSummaryOrBuilder
    • getSampleVideosCount

      public int getSampleVideosCount()
       Sample videos that correspond to the sentiment.
       
      repeated .google.ads.googleads.v25.common.AudienceInsightsAttributeMetadata sample_videos = 3;
      Specified by:
      getSampleVideosCount in interface SentimentInsightSummaryOrBuilder
    • getSampleVideos

      public AudienceInsightsAttributeMetadata getSampleVideos(int index)
       Sample videos that correspond to the sentiment.
       
      repeated .google.ads.googleads.v25.common.AudienceInsightsAttributeMetadata sample_videos = 3;
      Specified by:
      getSampleVideos in interface SentimentInsightSummaryOrBuilder
    • getSampleVideosOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getSampleVideosOrBuilder(int index)
       Sample videos that correspond to the sentiment.
       
      repeated .google.ads.googleads.v25.common.AudienceInsightsAttributeMetadata sample_videos = 3;
      Specified by:
      getSampleVideosOrBuilder in interface SentimentInsightSummaryOrBuilder
    • 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 SentimentInsightSummary parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SentimentInsightSummary.Builder newBuilder()
    • newBuilder

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

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

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

      public static SentimentInsightSummary getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SentimentInsightSummary> 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 SentimentInsightSummary getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder