public interface CreateAssistantSessionRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAssistantSessionId()
public abstract String getAssistantSessionId()Optional. The ID to use for the assistant session, which will become the final component of the assistant session's resource name. If not provided, a unique ID will be automatically assigned for the assistant session.
string assistant_session_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The assistantSessionId. |
getAssistantSessionIdBytes()
public abstract ByteString getAssistantSessionIdBytes()Optional. The ID to use for the assistant session, which will become the final component of the assistant session's resource name. If not provided, a unique ID will be automatically assigned for the assistant session.
string assistant_session_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for assistantSessionId. |
getAssistantSessionMessages(int index)
public abstract AssistantMessage getAssistantSessionMessages(int index)Optional. The messages to seed the assistant session with.
repeated .google.cloud.ces.v1beta.AssistantMessage assistant_session_messages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AssistantMessage |
|
getAssistantSessionMessagesCount()
public abstract int getAssistantSessionMessagesCount()Optional. The messages to seed the assistant session with.
repeated .google.cloud.ces.v1beta.AssistantMessage assistant_session_messages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAssistantSessionMessagesList()
public abstract List<AssistantMessage> getAssistantSessionMessagesList()Optional. The messages to seed the assistant session with.
repeated .google.cloud.ces.v1beta.AssistantMessage assistant_session_messages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AssistantMessage> |
|
getAssistantSessionMessagesOrBuilder(int index)
public abstract AssistantMessageOrBuilder getAssistantSessionMessagesOrBuilder(int index)Optional. The messages to seed the assistant session with.
repeated .google.cloud.ces.v1beta.AssistantMessage assistant_session_messages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AssistantMessageOrBuilder |
|
getAssistantSessionMessagesOrBuilderList()
public abstract List<? extends AssistantMessageOrBuilder> getAssistantSessionMessagesOrBuilderList()Optional. The messages to seed the assistant session with.
repeated .google.cloud.ces.v1beta.AssistantMessage assistant_session_messages = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.ces.v1beta.AssistantMessageOrBuilder> |
|
getParent()
public abstract String getParent() Required. The app to create the assistant session in
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Required. The app to create the assistant session in
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |