public interface ChatAiAssistantRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getApp()
public abstract String getApp() Required. The app to run assistant for.
Format:
projects/{project}/locations/{location}/apps/{app}
string app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The app. |
getAppBytes()
public abstract ByteString getAppBytes() Required. The app to run assistant for.
Format:
projects/{project}/locations/{location}/apps/{app}
string app = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for app. |
getAssistantSession()
public abstract String getAssistantSession() Required. The assistant session to be used to run the assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
string assistant_session = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The assistantSession. |
getAssistantSessionBytes()
public abstract ByteString getAssistantSessionBytes() Required. The assistant session to be used to run the assistant.
Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistant_session}
string assistant_session = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for assistantSession. |
getAttachedGcsUris(int index)
public abstract String getAttachedGcsUris(int index)Optional. Cloud Storage URIs for files uploaded by the user during this turn. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
repeated string attached_gcs_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The attachedGcsUris at the given index. |
getAttachedGcsUrisBytes(int index)
public abstract ByteString getAttachedGcsUrisBytes(int index)Optional. Cloud Storage URIs for files uploaded by the user during this turn. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
repeated string attached_gcs_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the attachedGcsUris at the given index. |
getAttachedGcsUrisCount()
public abstract int getAttachedGcsUrisCount()Optional. Cloud Storage URIs for files uploaded by the user during this turn. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
repeated string attached_gcs_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of attachedGcsUris. |
getAttachedGcsUrisList()
public abstract List<String> getAttachedGcsUrisList()Optional. Cloud Storage URIs for files uploaded by the user during this turn. Example: "gs://cxas-transient-uploads/uuid/prd.pdf"
repeated string attached_gcs_uris = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the attachedGcsUris. |
getContextToken()
public abstract String getContextToken()Optional. Opaque onboarding context token returned by SessionService.GenerateOnboardingSuggestions. When set and still fresh, the server reuses the onboarding snapshot computed for the zero state instead of recomputing it for the first conversation turn.
string context_token = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The contextToken. |
getContextTokenBytes()
public abstract ByteString getContextTokenBytes()Optional. Opaque onboarding context token returned by SessionService.GenerateOnboardingSuggestions. When set and still fresh, the server reuses the onboarding snapshot computed for the zero state instead of recomputing it for the first conversation turn.
string context_token = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for contextToken. |
getMessage()
public abstract String getMessage()Required. The message to send to the assistant agent.
string message = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public abstract ByteString getMessageBytes()Required. The message to send to the assistant agent.
string message = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |