Interface StreamAssistRequest.ToolsSpecOrBuilder (0.66.0)

public static interface StreamAssistRequest.ToolsSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageGenerationSpec()

public abstract 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
Type Description
StreamAssistRequest.ToolsSpec.ImageGenerationSpec

The imageGenerationSpec.

getImageGenerationSpecOrBuilder()

public abstract 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];

Returns
Type Description
StreamAssistRequest.ToolsSpec.ImageGenerationSpecOrBuilder

getVertexAiSearchSpec()

public abstract 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
Type Description
StreamAssistRequest.ToolsSpec.VertexAiSearchSpec

The vertexAiSearchSpec.

getVertexAiSearchSpecOrBuilder()

public abstract 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];

Returns
Type Description
StreamAssistRequest.ToolsSpec.VertexAiSearchSpecOrBuilder

getVideoGenerationSpec()

public abstract 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
Type Description
StreamAssistRequest.ToolsSpec.VideoGenerationSpec

The videoGenerationSpec.

getVideoGenerationSpecOrBuilder()

public abstract 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];

Returns
Type Description
StreamAssistRequest.ToolsSpec.VideoGenerationSpecOrBuilder

getWebGroundingSpec()

public abstract 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 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
Type Description
StreamAssistRequest.ToolsSpec.WebGroundingSpec

The webGroundingSpec.

getWebGroundingSpecOrBuilder()

public abstract 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 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
Type Description
StreamAssistRequest.ToolsSpec.WebGroundingSpecOrBuilder

hasImageGenerationSpec()

public abstract 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
Type Description
boolean

Whether the imageGenerationSpec field is set.

hasVertexAiSearchSpec()

public abstract 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
Type Description
boolean

Whether the vertexAiSearchSpec field is set.

hasVideoGenerationSpec()

public abstract 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
Type Description
boolean

Whether the videoGenerationSpec field is set.

hasWebGroundingSpec()

public abstract 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 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
Type Description
boolean

Whether the webGroundingSpec field is set.