Package 

Interface PromptRequestOrBuilder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLiteOrBuilder

    
    public interface PromptRequestOrBuilder
     implements MessageLiteOrBuilder
                        
    • Method Summary

      Modifier and Type Method Description
      abstract int getTemplateVariablesCount()
      The User prompt variables
      This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
      
      map<string, string> template_variables = 1;
      abstract boolean containsTemplateVariables(String key)
      The User prompt variables
      This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
      
      map<string, string> template_variables = 1;
      abstract Map<String, String> getTemplateVariables() Use getTemplateVariablesMap instead.
      abstract Map<String, String> getTemplateVariablesMap()
      The User prompt variables
      This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
      
      map<string, string> template_variables = 1;
      abstract String getTemplateVariablesOrDefault(String key, String defaultValue)
      The User prompt variables
      This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
      
      map<string, string> template_variables = 1;
      abstract String getTemplateVariablesOrThrow(String key)
      The User prompt variables
      This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
      
      map<string, string> template_variables = 1;
      abstract boolean hasPromptConfigId()
      Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
      
      optional string prompt_config_id = 2;
      abstract String getPromptConfigId()
      Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
      
      optional string prompt_config_id = 2;
      abstract ByteString getPromptConfigIdBytes()
      Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
      
      optional string prompt_config_id = 2;
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTemplateVariablesCount

         abstract int getTemplateVariablesCount()
        The User prompt variables
        This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
        
        map<string, string> template_variables = 1;
      • containsTemplateVariables

         abstract boolean containsTemplateVariables(String key)
        The User prompt variables
        This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
        
        map<string, string> template_variables = 1;
      • getTemplateVariablesMap

         abstract Map<String, String> getTemplateVariablesMap()
        The User prompt variables
        This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
        
        map<string, string> template_variables = 1;
      • getTemplateVariablesOrDefault

         abstract String getTemplateVariablesOrDefault(String key, String defaultValue)
        The User prompt variables
        This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
        
        map<string, string> template_variables = 1;
      • getTemplateVariablesOrThrow

         abstract String getTemplateVariablesOrThrow(String key)
        The User prompt variables
        This is a hash-map of variables that should have the same keys as those contained by the PromptConfigResponse
        
        map<string, string> template_variables = 1;
      • hasPromptConfigId

         abstract boolean hasPromptConfigId()
        Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
        
        optional string prompt_config_id = 2;
      • getPromptConfigId

         abstract String getPromptConfigId()
        Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
        
        optional string prompt_config_id = 2;
      • getPromptConfigIdBytes

         abstract ByteString getPromptConfigIdBytes()
        Optional Identifier designating the prompt config ID to use. If not set, the default prompt config will be used.
        
        optional string prompt_config_id = 2;