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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBrand sentiment for a specific month.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic BrandSentimentInsightstatic final com.google.protobuf.Descriptors.DescriptorbooleanWhen true, there is insufficient data to calculate the brand sentiment.getMonth()The month that the brand sentiment represents in the string format "YYYY-MM".com.google.protobuf.ByteStringThe month that the brand sentiment represents in the string format "YYYY-MM".com.google.protobuf.Parser<BrandSentimentInsight>getSentimentDistributions(int index) Distribution of sentiment between positive, negative, and neutral.intDistribution of sentiment between positive, negative, and neutral.Distribution of sentiment between positive, negative, and neutral.getSentimentDistributionsOrBuilder(int index) Distribution of sentiment between positive, negative, and neutral.List<? extends SentimentInsightDistributionOrBuilder>Distribution of sentiment between positive, negative, and neutral.getSentimentSummaries(int index) A summary of what was positive and negative about content related to the brand.intA summary of what was positive and negative about content related to the brand.A summary of what was positive and negative about content related to the brand.getSentimentSummariesOrBuilder(int index) A summary of what was positive and negative about content related to the brand.List<? extends SentimentInsightSummaryOrBuilder>A summary of what was positive and negative about content related to the brand.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(BrandSentimentInsight prototype) protected BrandSentimentInsight.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static BrandSentimentInsightparseDelimitedFrom(InputStream input) static BrandSentimentInsightparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrandSentimentInsightparseFrom(byte[] data) static BrandSentimentInsightparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrandSentimentInsightparseFrom(com.google.protobuf.ByteString data) static BrandSentimentInsightparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrandSentimentInsightparseFrom(com.google.protobuf.CodedInputStream input) static BrandSentimentInsightparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrandSentimentInsightparseFrom(InputStream input) static BrandSentimentInsightparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static BrandSentimentInsightparseFrom(ByteBuffer data) static BrandSentimentInsightparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<BrandSentimentInsight>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMonth
The month that the brand sentiment represents in the string format "YYYY-MM".
string month = 1;- Specified by:
getMonthin interfaceBrandSentimentInsightOrBuilder- 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:
getMonthBytesin interfaceBrandSentimentInsightOrBuilder- 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:
getHasInsufficientDatain interfaceBrandSentimentInsightOrBuilder- Returns:
- The hasInsufficientData.
-
getSentimentDistributionsList
Distribution of sentiment between positive, negative, and neutral.
repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;- Specified by:
getSentimentDistributionsListin interfaceBrandSentimentInsightOrBuilder
-
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:
getSentimentDistributionsOrBuilderListin interfaceBrandSentimentInsightOrBuilder
-
getSentimentDistributionsCount
public int getSentimentDistributionsCount()Distribution of sentiment between positive, negative, and neutral.
repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;- Specified by:
getSentimentDistributionsCountin interfaceBrandSentimentInsightOrBuilder
-
getSentimentDistributions
Distribution of sentiment between positive, negative, and neutral.
repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;- Specified by:
getSentimentDistributionsin interfaceBrandSentimentInsightOrBuilder
-
getSentimentDistributionsOrBuilder
Distribution of sentiment between positive, negative, and neutral.
repeated .google.ads.googleads.v25.services.SentimentInsightDistribution sentiment_distributions = 3;- Specified by:
getSentimentDistributionsOrBuilderin interfaceBrandSentimentInsightOrBuilder
-
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:
getSentimentSummariesListin interfaceBrandSentimentInsightOrBuilder
-
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:
getSentimentSummariesOrBuilderListin interfaceBrandSentimentInsightOrBuilder
-
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:
getSentimentSummariesCountin interfaceBrandSentimentInsightOrBuilder
-
getSentimentSummaries
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:
getSentimentSummariesin interfaceBrandSentimentInsightOrBuilder
-
getSentimentSummariesOrBuilder
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:
getSentimentSummariesOrBuilderin interfaceBrandSentimentInsightOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static BrandSentimentInsight parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BrandSentimentInsight.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-