Class GenerateStatelessSuggestionRequest (4.65.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.65.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GenerateStatelessSuggestionRequest   extends   GeneratedMessageV3   implements   GenerateStatelessSuggestionRequestOrBuilder  
   The request message for
 Conversations.GenerateStatelessSuggestion .
 Protobuf type google.cloud.dialogflow.v2beta1.GenerateStatelessSuggestionRequest
    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
   
  CONVERSATION_CONTEXT_FIELD_NUMBER 
  
    
public   static   final   int   CONVERSATION_CONTEXT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GENERATOR_FIELD_NUMBER 
  
    
public   static   final   int   GENERATOR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  GENERATOR_NAME_FIELD_NUMBER 
  
    
public   static   final   int   GENERATOR_NAME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PARENT_FIELD_NUMBER 
  
    
public   static   final   int   PARENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TRIGGER_EVENTS_FIELD_NUMBER 
  
    
public   static   final   int   TRIGGER_EVENTS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   GenerateStatelessSuggestionRequest   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   GenerateStatelessSuggestionRequest . Builder   newBuilder ()  
  
  newBuilder(GenerateStatelessSuggestionRequest prototype) 
  
    
public   static   GenerateStatelessSuggestionRequest . Builder   newBuilder ( GenerateStatelessSuggestionRequest   prototype )  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateStatelessSuggestionRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<GenerateStatelessSuggestionRequest>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getConversationContext() 
  
    
public   ConversationContext   getConversationContext ()  
   Optional. Context of the conversation, including transcripts.
 
 .google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
 
getConversationContextOrBuilder() 
  
    
public   ConversationContextOrBuilder   getConversationContextOrBuilder ()  
   Optional. Context of the conversation, including transcripts.
 
 .google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
 
getDefaultInstanceForType() 
  
    
public   GenerateStatelessSuggestionRequest   getDefaultInstanceForType ()  
  
  getGenerator() 
  
    
public   Generator   getGenerator ()  
   Uncreated generator. It should be a complete generator that includes all
 information about the generator.
 .google.cloud.dialogflow.v2beta1.Generator generator = 2;
    
      
        Returns  
      
        Type Description  
      
        Generator The generator.
 
     
  
  getGeneratorName() 
  
    
public   String   getGeneratorName ()  
   The resource name of the existing created generator. Format:
 projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
 string generator_name = 3;
    
      
        Returns  
      
        Type Description  
      
        String The generatorName.
 
     
  
  getGeneratorNameBytes() 
  
    
public   ByteString   getGeneratorNameBytes ()  
   The resource name of the existing created generator. Format:
 projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
 string generator_name = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for generatorName.
 
     
  
  getGeneratorOrBuilder() 
  
    
public   GeneratorOrBuilder   getGeneratorOrBuilder ()  
   Uncreated generator. It should be a complete generator that includes all
 information about the generator.
 .google.cloud.dialogflow.v2beta1.Generator generator = 2;
getGeneratorResourceCase() 
  
    
public   GenerateStatelessSuggestionRequest . GeneratorResourceCase   getGeneratorResourceCase ()  
  
  getParent() 
  
    
public   String   getParent ()  
   Required. The parent resource to charge for the Suggestion's generation.
 Format: projects/<Project ID>/locations/<Location ID>.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The parent.
 
     
  
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   Required. The parent resource to charge for the Suggestion's generation.
 Format: projects/<Project ID>/locations/<Location ID>.
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for parent.
 
     
  
  getParserForType() 
  
    
public   Parser<GenerateStatelessSuggestionRequest>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTriggerEvents(int index) 
  
    
public   TriggerEvent   getTriggerEvents ( int   index )  
   Optional. A list of trigger events. Generator will be triggered only if
 it's trigger event is included here.
 
 repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        TriggerEvent The triggerEvents at the given index.
 
     
  
  getTriggerEventsCount() 
  
    
public   int   getTriggerEventsCount ()  
   Optional. A list of trigger events. Generator will be triggered only if
 it's trigger event is included here.
 
 repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of triggerEvents.
 
     
  
  getTriggerEventsList() 
  
    
public   List<TriggerEvent>   getTriggerEventsList ()  
   Optional. A list of trigger events. Generator will be triggered only if
 it's trigger event is included here.
 
 repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        List <TriggerEvent >A list containing the triggerEvents.
 
     
  
  getTriggerEventsValue(int index) 
  
    
public   int   getTriggerEventsValue ( int   index )  
   Optional. A list of trigger events. Generator will be triggered only if
 it's trigger event is included here.
 
 repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire of triggerEvents at the given index.
 
     
  
  getTriggerEventsValueList() 
  
    
public   List<Integer>   getTriggerEventsValueList ()  
   Optional. A list of trigger events. Generator will be triggered only if
 it's trigger event is included here.
 
 repeated .google.cloud.dialogflow.v2beta1.TriggerEvent trigger_events = 6 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        List <Integer >A list containing the enum numeric values on the wire for triggerEvents.
 
     
  
  hasConversationContext() 
  
    
public   boolean   hasConversationContext ()  
   Optional. Context of the conversation, including transcripts.
 
 .google.cloud.dialogflow.v2beta1.ConversationContext conversation_context = 5 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the conversationContext field is set.
 
     
  
  hasGenerator() 
  
    
public   boolean   hasGenerator ()  
   Uncreated generator. It should be a complete generator that includes all
 information about the generator.
 .google.cloud.dialogflow.v2beta1.Generator generator = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the generator field is set.
 
     
  
  hasGeneratorName() 
  
    
public   boolean   hasGeneratorName ()  
   The resource name of the existing created generator. Format:
 projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
 string generator_name = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the generatorName field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   GenerateStatelessSuggestionRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GenerateStatelessSuggestionRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   GenerateStatelessSuggestionRequest . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
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."],[],[]]