public static final class StreamAssistResponse.Builder extends GeneratedMessage.Builder<StreamAssistResponse.Builder> implements StreamAssistResponseOrBuilderResponse for the AssistantService.StreamAssist method.
Protobuf type google.cloud.discoveryengine.v1beta.StreamAssistResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamAssistResponse.BuilderImplements
StreamAssistResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInvocationTools(Iterable<String> values)
public StreamAssistResponse.Builder addAllInvocationTools(Iterable<String> values)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The invocationTools to add. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
addAllInvokedSkills(Iterable<? extends StreamAssistResponse.InvokedSkill> values)
public StreamAssistResponse.Builder addAllInvokedSkills(Iterable<? extends StreamAssistResponse.InvokedSkill> values)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill> |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
addInvocationTools(String value)
public StreamAssistResponse.Builder addInvocationTools(String value)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe invocationTools to add. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
addInvocationToolsBytes(ByteString value)
public StreamAssistResponse.Builder addInvocationToolsBytes(ByteString value)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the invocationTools to add. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
addInvokedSkills(StreamAssistResponse.InvokedSkill value)
public StreamAssistResponse.Builder addInvokedSkills(StreamAssistResponse.InvokedSkill value)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamAssistResponse.InvokedSkill |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
addInvokedSkills(StreamAssistResponse.InvokedSkill.Builder builderForValue)
public StreamAssistResponse.Builder addInvokedSkills(StreamAssistResponse.InvokedSkill.Builder builderForValue)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StreamAssistResponse.InvokedSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
addInvokedSkills(int index, StreamAssistResponse.InvokedSkill value)
public StreamAssistResponse.Builder addInvokedSkills(int index, StreamAssistResponse.InvokedSkill value)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StreamAssistResponse.InvokedSkill |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
addInvokedSkills(int index, StreamAssistResponse.InvokedSkill.Builder builderForValue)
public StreamAssistResponse.Builder addInvokedSkills(int index, StreamAssistResponse.InvokedSkill.Builder builderForValue)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StreamAssistResponse.InvokedSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
addInvokedSkillsBuilder()
public StreamAssistResponse.InvokedSkill.Builder addInvokedSkillsBuilder()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
addInvokedSkillsBuilder(int index)
public StreamAssistResponse.InvokedSkill.Builder addInvokedSkillsBuilder(int index)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
build()
public StreamAssistResponse build()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse |
|
buildPartial()
public StreamAssistResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse |
|
clear()
public StreamAssistResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
clearAnswer()
public StreamAssistResponse.Builder clearAnswer()Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
clearAssistToken()
public StreamAssistResponse.Builder clearAssistToken()A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
string assist_token = 4;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
clearInvocationTools()
public StreamAssistResponse.Builder clearInvocationTools()The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
clearInvokedSkills()
public StreamAssistResponse.Builder clearInvokedSkills()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
clearSessionInfo()
public StreamAssistResponse.Builder clearSessionInfo()Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
getAnswer()
public AssistAnswer getAnswer()Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Returns | |
|---|---|
| Type | Description |
AssistAnswer |
The answer. |
getAnswerBuilder()
public AssistAnswer.Builder getAnswerBuilder()Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Returns | |
|---|---|
| Type | Description |
AssistAnswer.Builder |
|
getAnswerOrBuilder()
public AssistAnswerOrBuilder getAnswerOrBuilder()Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Returns | |
|---|---|
| Type | Description |
AssistAnswerOrBuilder |
|
getAssistToken()
public String getAssistToken()A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
string assist_token = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The assistToken. |
getAssistTokenBytes()
public ByteString getAssistTokenBytes()A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
string assist_token = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for assistToken. |
getDefaultInstanceForType()
public StreamAssistResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInvocationTools(int index)
public String getInvocationTools(int index)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The invocationTools at the given index. |
getInvocationToolsBytes(int index)
public ByteString getInvocationToolsBytes(int index)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the invocationTools at the given index. |
getInvocationToolsCount()
public int getInvocationToolsCount()The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The count of invocationTools. |
getInvocationToolsList()
public ProtocolStringList getInvocationToolsList()The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the invocationTools. |
getInvokedSkills(int index)
public StreamAssistResponse.InvokedSkill getInvokedSkills(int index)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill |
|
getInvokedSkillsBuilder(int index)
public StreamAssistResponse.InvokedSkill.Builder getInvokedSkillsBuilder(int index)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkill.Builder |
|
getInvokedSkillsBuilderList()
public List<StreamAssistResponse.InvokedSkill.Builder> getInvokedSkillsBuilderList()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInvokedSkillsCount()
public int getInvokedSkillsCount()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInvokedSkillsList()
public List<StreamAssistResponse.InvokedSkill> getInvokedSkillsList()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
List<InvokedSkill> |
|
getInvokedSkillsOrBuilder(int index)
public StreamAssistResponse.InvokedSkillOrBuilder getInvokedSkillsOrBuilder(int index)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.InvokedSkillOrBuilder |
|
getInvokedSkillsOrBuilderList()
public List<? extends StreamAssistResponse.InvokedSkillOrBuilder> getInvokedSkillsOrBuilderList()The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkillOrBuilder> |
|
getSessionInfo()
public StreamAssistResponse.SessionInfo getSessionInfo()Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo |
The sessionInfo. |
getSessionInfoBuilder()
public StreamAssistResponse.SessionInfo.Builder getSessionInfoBuilder()Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
|
getSessionInfoOrBuilder()
public StreamAssistResponse.SessionInfoOrBuilder getSessionInfoOrBuilder()Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfoOrBuilder |
|
hasAnswer()
public boolean hasAnswer()Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the answer field is set. |
hasSessionInfo()
public boolean hasSessionInfo()Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sessionInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAnswer(AssistAnswer value)
public StreamAssistResponse.Builder mergeAnswer(AssistAnswer value)Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AssistAnswer |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
mergeFrom(StreamAssistResponse other)
public StreamAssistResponse.Builder mergeFrom(StreamAssistResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamAssistResponse |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamAssistResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamAssistResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
mergeSessionInfo(StreamAssistResponse.SessionInfo value)
public StreamAssistResponse.Builder mergeSessionInfo(StreamAssistResponse.SessionInfo value)Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamAssistResponse.SessionInfo |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
removeInvokedSkills(int index)
public StreamAssistResponse.Builder removeInvokedSkills(int index)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setAnswer(AssistAnswer value)
public StreamAssistResponse.Builder setAnswer(AssistAnswer value)Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
AssistAnswer |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setAnswer(AssistAnswer.Builder builderForValue)
public StreamAssistResponse.Builder setAnswer(AssistAnswer.Builder builderForValue)Assist answer resource object containing parts of the assistant's final answer for the user's query.
Not present if the current response doesn't add anything to previously sent AssistAnswer.replies.
Observe
AssistAnswer.state
to see if more parts are to be expected. While the state is IN_PROGRESS,
the
AssistAnswer.replies
field in each response will contain replies (reply fragments) to be
appended to the ones received in previous responses.
AssistAnswer.name
won't be filled.
If the state is SUCCEEDED, FAILED or SKIPPED, the response
is the last response and
AssistAnswer.name
will have a value.
.google.cloud.discoveryengine.v1beta.AssistAnswer answer = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AssistAnswer.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setAssistToken(String value)
public StreamAssistResponse.Builder setAssistToken(String value)A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
string assist_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe assistToken to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
setAssistTokenBytes(ByteString value)
public StreamAssistResponse.Builder setAssistTokenBytes(ByteString value)A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
string assist_token = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for assistToken to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
setInvocationTools(int index, String value)
public StreamAssistResponse.Builder setInvocationTools(int index, String value)The tool names of the tools that were invoked.
repeated string invocation_tools = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe invocationTools to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
This builder for chaining. |
setInvokedSkills(int index, StreamAssistResponse.InvokedSkill value)
public StreamAssistResponse.Builder setInvokedSkills(int index, StreamAssistResponse.InvokedSkill value)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
StreamAssistResponse.InvokedSkill |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setInvokedSkills(int index, StreamAssistResponse.InvokedSkill.Builder builderForValue)
public StreamAssistResponse.Builder setInvokedSkills(int index, StreamAssistResponse.InvokedSkill.Builder builderForValue)The skills executed during the turn.
repeated .google.cloud.discoveryengine.v1beta.StreamAssistResponse.InvokedSkill invoked_skills = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
StreamAssistResponse.InvokedSkill.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setSessionInfo(StreamAssistResponse.SessionInfo value)
public StreamAssistResponse.Builder setSessionInfo(StreamAssistResponse.SessionInfo value)Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamAssistResponse.SessionInfo |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|
setSessionInfo(StreamAssistResponse.SessionInfo.Builder builderForValue)
public StreamAssistResponse.Builder setSessionInfo(StreamAssistResponse.SessionInfo.Builder builderForValue)Session information. Only included in the final StreamAssistResponse of the response stream.
.google.cloud.discoveryengine.v1beta.StreamAssistResponse.SessionInfo session_info = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StreamAssistResponse.SessionInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.Builder |
|