public final class SentimentAnalysisRequestConfig extends GeneratedMessageV3 implements SentimentAnalysisRequestConfigOrBuilder
Configures the types of sentiment analysis to perform.
Protobuf type google.cloud.dialogflow.v2.SentimentAnalysisRequestConfig
Fields
ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER
public static final int ANALYZE_QUERY_TEXT_SENTIMENT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAnalyzeQueryTextSentiment()
public boolean getAnalyzeQueryTextSentiment()
Instructs the service to perform sentiment analysis on
query_text
. If not provided, sentiment analysis is not performed on
query_text
.
bool analyze_query_text_sentiment = 1;
Returns
Type | Description |
boolean | The analyzeQueryTextSentiment.
|
getDefaultInstance()
public static SentimentAnalysisRequestConfig getDefaultInstance()
Returns
getDefaultInstanceForType()
public SentimentAnalysisRequestConfig getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<SentimentAnalysisRequestConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static SentimentAnalysisRequestConfig.Builder newBuilder()
Returns
newBuilder(SentimentAnalysisRequestConfig prototype)
public static SentimentAnalysisRequestConfig.Builder newBuilder(SentimentAnalysisRequestConfig prototype)
Parameter
Returns
newBuilderForType()
public SentimentAnalysisRequestConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SentimentAnalysisRequestConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static SentimentAnalysisRequestConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SentimentAnalysisRequestConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SentimentAnalysisRequestConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SentimentAnalysisRequestConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SentimentAnalysisRequestConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SentimentAnalysisRequestConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SentimentAnalysisRequestConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SentimentAnalysisRequestConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SentimentAnalysisRequestConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SentimentAnalysisRequestConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SentimentAnalysisRequestConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SentimentAnalysisRequestConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SentimentAnalysisRequestConfig> parser()
Returns
toBuilder()
public SentimentAnalysisRequestConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions