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 Summary
Modifier and TypeMethodDescriptionOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
StreamAssistRequest.ToolsSpec.VertexAiSearchSpec 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
StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilder 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
StreamAssistRequest.ToolsSpec.WebGroundingSpec 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
StreamAssistRequest.ToolsSpec.WebGroundingSpecOrBuilder 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
StreamAssistRequest.ToolsSpec.ImageGenerationSpec 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
StreamAssistRequest.ToolsSpec.ImageGenerationSpecOrBuilder 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
StreamAssistRequest.ToolsSpec.VideoGenerationSpec 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
StreamAssistRequest.ToolsSpec.VideoGenerationSpecOrBuilder getVideoGenerationSpecOrBuilder()Optional. Specification of the video generation tool.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec.VideoGenerationSpec video_generation_spec = 4 [(.google.api.field_behavior) = OPTIONAL];
-