Class SentimentConfig (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.17.0 (latest)
1.16.0
1.15.0
1.14.0
1.13.2
1.12.0
1.11.1
1.10.5
1.9.0
1.8.3
1.7.0
1.6.3
1.5.2
1.4.0
1.3.0
1.2.4
1.1.0
1.0.0
0.4.2
0.3.0
0.2.1
SentimentConfig ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Config for setting up sentiments.
Attribute
Name
Description
enable_label_sentiment_selection
bool
If set to true, contributors will have the
option to select sentiment of the label they
selected, to mark it as negative or positive
label. Default is false.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]