Interface StreamAssistRequest.ToolsSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
StreamAssistRequest.ToolsSpec, StreamAssistRequest.ToolsSpec.Builder
Enclosing class:
StreamAssistRequest

public static interface StreamAssistRequest.ToolsSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasVertexAiSearchSpec

      boolean hasVertexAiSearchSpec()
       Optional. Specification of the Vertex AI Search tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the vertexAiSearchSpec field is set.
    • getVertexAiSearchSpec

       Optional. Specification of the Vertex AI Search tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The vertexAiSearchSpec.
    • getVertexAiSearchSpecOrBuilder

       Optional. Specification of the Vertex AI Search tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VertexAiSearchSpec vertex_ai_search_spec = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasWebGroundingSpec

      boolean hasWebGroundingSpec()
       Optional. Specification of the web grounding tool.
       If field is present, enables grounding with web search. Works only if
       [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type]
       is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or
       [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the webGroundingSpec field is set.
    • getWebGroundingSpec

       Optional. Specification of the web grounding tool.
       If field is present, enables grounding with web search. Works only if
       [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type]
       is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or
       [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The webGroundingSpec.
    • getWebGroundingSpecOrBuilder

       Optional. Specification of the web grounding tool.
       If field is present, enables grounding with web search. Works only if
       [Assistant.web_grounding_type][google.cloud.discoveryengine.v1.Assistant.web_grounding_type]
       is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or
       [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.WebGroundingSpec web_grounding_spec = 2 [(.google.api.field_behavior) = OPTIONAL];
    • hasImageGenerationSpec

      boolean hasImageGenerationSpec()
       Optional. Specification of the image generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the imageGenerationSpec field is set.
    • getImageGenerationSpec

       Optional. Specification of the image generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The imageGenerationSpec.
    • getImageGenerationSpecOrBuilder

       Optional. Specification of the image generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.ImageGenerationSpec image_generation_spec = 3 [(.google.api.field_behavior) = OPTIONAL];
    • hasVideoGenerationSpec

      boolean hasVideoGenerationSpec()
       Optional. Specification of the video generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the videoGenerationSpec field is set.
    • getVideoGenerationSpec

       Optional. Specification of the video generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The videoGenerationSpec.
    • getVideoGenerationSpecOrBuilder

       Optional. Specification of the video generation tool.
       
      .google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];