Class ConversationTurn.UserInput (0.87.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.87.0keyboard_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
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   ENABLE_SENTIMENT_ANALYSIS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   INJECTED_PARAMETERS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   INPUT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   IS_WEBHOOK_ENABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ConversationTurn . UserInput   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ConversationTurn . UserInput . Builder   newBuilder ()  
  
  
    
public   static   ConversationTurn . UserInput . Builder   newBuilder ( ConversationTurn . UserInput   prototype )  
  
  
  
    
public   static   ConversationTurn . UserInput   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ConversationTurn . UserInput   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ConversationTurn . UserInput >  parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ConversationTurn . UserInput   getDefaultInstanceForType ()  
  
  
    
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;
    
public   QueryInput   getInput ()  
   Supports text
 input , event
 input , dtmf
 input  in the test
 case.
 .google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
    
public   QueryInputOrBuilder   getInputOrBuilder ()  
   Supports text
 input , event
 input , dtmf
 input  in the test
 case.
 .google.cloud.dialogflow.cx.v3beta1.QueryInput input = 5;
    
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 ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  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  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ConversationTurn . UserInput . Builder   newBuilderForType ()  
  
  
    
protected   ConversationTurn . UserInput . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ConversationTurn . UserInput . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]