Interface GeneratorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Generator, Generator.Builder

@Generated public interface GeneratorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       The unique identifier of the generator.
       Must be set for the
       [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator]
       method. [Generators.CreateGenerate][] populates the name automatically.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The unique identifier of the generator.
       Must be set for the
       [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGenerator]
       method. [Generators.CreateGenerate][] populates the name automatically.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/generators/<GeneratorID>`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Required. The human-readable name of the generator, unique within the
       agent. The prompt contains pre-defined parameters such as $conversation,
       $last-user-utterance, etc. populated by Dialogflow. It can also contain
       custom placeholders which will be resolved during fulfillment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The human-readable name of the generator, unique within the
       agent. The prompt contains pre-defined parameters such as $conversation,
       $last-user-utterance, etc. populated by Dialogflow. It can also contain
       custom placeholders which will be resolved during fulfillment.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for displayName.
    • hasPromptText

      boolean hasPromptText()
       Required. Prompt for the LLM model.
       
      .google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the promptText field is set.
    • getPromptText

      Phrase getPromptText()
       Required. Prompt for the LLM model.
       
      .google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The promptText.
    • getPromptTextOrBuilder

      PhraseOrBuilder getPromptTextOrBuilder()
       Required. Prompt for the LLM model.
       
      .google.cloud.dialogflow.cx.v3beta1.Phrase prompt_text = 3 [(.google.api.field_behavior) = REQUIRED];
    • getPlaceholdersList

      List<Generator.Placeholder> getPlaceholdersList()
       Optional. List of custom placeholders in the prompt text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPlaceholders

      Generator.Placeholder getPlaceholders(int index)
       Optional. List of custom placeholders in the prompt text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPlaceholdersCount

      int getPlaceholdersCount()
       Optional. List of custom placeholders in the prompt text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPlaceholdersOrBuilderList

      List<? extends Generator.PlaceholderOrBuilder> getPlaceholdersOrBuilderList()
       Optional. List of custom placeholders in the prompt text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getPlaceholdersOrBuilder

      Generator.PlaceholderOrBuilder getPlaceholdersOrBuilder(int index)
       Optional. List of custom placeholders in the prompt text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.Generator.Placeholder placeholders = 5 [(.google.api.field_behavior) = OPTIONAL];
    • hasLlmModelSettings

      boolean hasLlmModelSettings()
       The LLM model settings.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9;
      Returns:
      Whether the llmModelSettings field is set.
    • getLlmModelSettings

      LlmModelSettings getLlmModelSettings()
       The LLM model settings.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9;
      Returns:
      The llmModelSettings.
    • getLlmModelSettingsOrBuilder

      LlmModelSettingsOrBuilder getLlmModelSettingsOrBuilder()
       The LLM model settings.
       
      .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings llm_model_settings = 9;
    • hasModelParameter

      boolean hasModelParameter()
       Parameters passed to the LLM to configure its behavior.
       
      .google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;
      Returns:
      Whether the modelParameter field is set.
    • getModelParameter

      Generator.ModelParameter getModelParameter()
       Parameters passed to the LLM to configure its behavior.
       
      .google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;
      Returns:
      The modelParameter.
    • getModelParameterOrBuilder

      Generator.ModelParameterOrBuilder getModelParameterOrBuilder()
       Parameters passed to the LLM to configure its behavior.
       
      .google.cloud.dialogflow.cx.v3beta1.Generator.ModelParameter model_parameter = 8;