public static final class StreamAssistResponse.SessionInfo.Builder extends GeneratedMessage.Builder<StreamAssistResponse.SessionInfo.Builder> implements StreamAssistResponse.SessionInfoOrBuilderInformation about the session.
Protobuf type google.cloud.discoveryengine.v1.StreamAssistResponse.SessionInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StreamAssistResponse.SessionInfo.BuilderImplements
StreamAssistResponse.SessionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StreamAssistResponse.SessionInfo build()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo |
|
buildPartial()
public StreamAssistResponse.SessionInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo |
|
clear()
public StreamAssistResponse.SessionInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
|
clearSession()
public StreamAssistResponse.SessionInfo.Builder clearSession()Name of the newly generated or continued session.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}.
string session = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public StreamAssistResponse.SessionInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSession()
public String getSession()Name of the newly generated or continued session.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}.
string session = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The session. |
getSessionBytes()
public ByteString getSessionBytes()Name of the newly generated or continued session.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}.
string session = 1 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for session. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StreamAssistResponse.SessionInfo other)
public StreamAssistResponse.SessionInfo.Builder mergeFrom(StreamAssistResponse.SessionInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamAssistResponse.SessionInfo |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamAssistResponse.SessionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StreamAssistResponse.SessionInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
|
setSession(String value)
public StreamAssistResponse.SessionInfo.Builder setSession(String value)Name of the newly generated or continued session.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}.
string session = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe session to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
This builder for chaining. |
setSessionBytes(ByteString value)
public StreamAssistResponse.SessionInfo.Builder setSessionBytes(ByteString value)Name of the newly generated or continued session.
Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}.
string session = 1 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for session to set. |
| Returns | |
|---|---|
| Type | Description |
StreamAssistResponse.SessionInfo.Builder |
This builder for chaining. |