Send feedback
Class ConversationTurn.UserInput (0.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.0 keyboard_arrow_down
public static final class ConversationTurn . UserInput extends GeneratedMessageV3 implements ConversationTurn . UserInputOrBuilder
The input from the human user.
Protobuf type google.cloud.dialogflow.cx.v3beta1.ConversationTurn.UserInput
Static Fields
public static final int ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER
Field Value
public static final int INJECTED_PARAMETERS_FIELD_NUMBER
Field Value
public static final int INPUT_FIELD_NUMBER
Field Value
public static final int IS_WEBHOOK_ENABLED_FIELD_NUMBER
Field Value
Static Methods
public static ConversationTurn . UserInput getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static ConversationTurn . UserInput . Builder newBuilder ()
Returns
public static ConversationTurn . UserInput . Builder newBuilder ( ConversationTurn . UserInput prototype )
Parameter
Returns
public static ConversationTurn . UserInput parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ConversationTurn . UserInput parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static ConversationTurn . UserInput parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<ConversationTurn . UserInput > parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public ConversationTurn . UserInput getDefaultInstanceForType ()
Returns
public boolean getEnableSentimentAnalysis ()
Whether sentiment analysis is enabled.
bool enable_sentiment_analysis = 7;
Returns
Type Description boolean The enableSentimentAnalysis.
public Struct getInjectedParameters ()
Parameters that need to be injected into the conversation during intent
detection.
.google.protobuf.Struct injected_parameters = 2;
Returns
Type Description Struct The injectedParameters.
public StructOrBuilder getInjectedParametersOrBuilder ()
Parameters that need to be injected into the conversation during intent
detection.
.google.protobuf.Struct injected_parameters = 2;
Returns
public QueryInput getInput ()
Supports text input , event input ,
dtmf input in the test case.
.google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
Returns
public QueryInputOrBuilder getInputOrBuilder ()
Supports text input , event input ,
dtmf input in the test case.
.google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
Returns
public boolean getIsWebhookEnabled ()
If webhooks should be allowed to trigger in response to the user
utterance. Often if parameters are injected, webhooks should not be
enabled.
bool is_webhook_enabled = 3;
Returns
Type Description boolean The isWebhookEnabled.
public Parser<ConversationTurn . UserInput > getParserForType ()
Returns
Overrides
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasInjectedParameters ()
Parameters that need to be injected into the conversation during intent
detection.
.google.protobuf.Struct injected_parameters = 2;
Returns
Type Description boolean Whether the injectedParameters field is set.
public boolean hasInput ()
Supports text input , event input ,
dtmf input in the test case.
.google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
Returns
Type Description boolean Whether the input field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ConversationTurn . UserInput . Builder newBuilderForType ()
Returns
protected ConversationTurn . UserInput . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public ConversationTurn . UserInput . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
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 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]