- 0.66.0 (latest)
- 0.64.0
- 0.63.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public interface StreamAssistRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getGenerationSpec()
public abstract StreamAssistRequest.GenerationSpec getGenerationSpec()
Optional. Specification of the generation configuration for the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec generation_spec = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamAssistRequest.GenerationSpec |
The generationSpec. |
getGenerationSpecOrBuilder()
public abstract StreamAssistRequest.GenerationSpecOrBuilder getGenerationSpecOrBuilder()
Optional. Specification of the generation configuration for the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec generation_spec = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamAssistRequest.GenerationSpecOrBuilder |
getName()
public abstract String getName()
Required. The resource name of the
Assistant. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. The resource name of the
Assistant. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getQuery()
public abstract Query getQuery()
Optional. Current user query.
Empty query is only supported if file_ids
are provided. In this case, the
answer will be generated based on those context files.
.google.cloud.discoveryengine.v1.Query query = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Query |
The query. |
getQueryOrBuilder()
public abstract QueryOrBuilder getQueryOrBuilder()
Optional. Current user query.
Empty query is only supported if file_ids
are provided. In this case, the
answer will be generated based on those context files.
.google.cloud.discoveryengine.v1.Query query = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
QueryOrBuilder |
getSession()
public abstract String getSession()
Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there.
If -
is specified as the session ID, or it is left empty, then a new
session is created with an automatically generated ID.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}
string session = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The session. |
getSessionBytes()
public abstract ByteString getSessionBytes()
Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there.
If -
is specified as the session ID, or it is left empty, then a new
session is created with an automatically generated ID.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}
string session = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for session. |
getToolsSpec()
public abstract StreamAssistRequest.ToolsSpec getToolsSpec()
Optional. Specification of tools that are used to serve the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec tools_spec = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamAssistRequest.ToolsSpec |
The toolsSpec. |
getToolsSpecOrBuilder()
public abstract StreamAssistRequest.ToolsSpecOrBuilder getToolsSpecOrBuilder()
Optional. Specification of tools that are used to serve the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec tools_spec = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
StreamAssistRequest.ToolsSpecOrBuilder |
getUserMetadata()
public abstract AssistUserMetadata getUserMetadata()
Optional. Information about the user initiating the query.
.google.cloud.discoveryengine.v1.AssistUserMetadata user_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AssistUserMetadata |
The userMetadata. |
getUserMetadataOrBuilder()
public abstract AssistUserMetadataOrBuilder getUserMetadataOrBuilder()
Optional. Information about the user initiating the query.
.google.cloud.discoveryengine.v1.AssistUserMetadata user_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AssistUserMetadataOrBuilder |
hasGenerationSpec()
public abstract boolean hasGenerationSpec()
Optional. Specification of the generation configuration for the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.GenerationSpec generation_spec = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the generationSpec field is set. |
hasQuery()
public abstract boolean hasQuery()
Optional. Current user query.
Empty query is only supported if file_ids
are provided. In this case, the
answer will be generated based on those context files.
.google.cloud.discoveryengine.v1.Query query = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the query field is set. |
hasToolsSpec()
public abstract boolean hasToolsSpec()
Optional. Specification of tools that are used to serve the request.
.google.cloud.discoveryengine.v1.StreamAssistRequest.ToolsSpec tools_spec = 18 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the toolsSpec field is set. |
hasUserMetadata()
public abstract boolean hasUserMetadata()
Optional. Information about the user initiating the query.
.google.cloud.discoveryengine.v1.AssistUserMetadata user_metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the userMetadata field is set. |