public interface ChatRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getProperty()
public abstract String getProperty()Required. The property to chat about. Format: properties/{property}
string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The property. |
getPropertyBytes()
public abstract ByteString getPropertyBytes()Required. The property to chat about. Format: properties/{property}
string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for property. |
getReturnPropertyQuota()
public abstract boolean getReturnPropertyQuota()Optional. If true, the response will include the current state of this Analytics Property's quota. Quota is returned in PropertyChatQuota.
bool return_property_quota = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The returnPropertyQuota. |
getSessionId()
public abstract String getSessionId()Optional. Provide this session ID to continue an existing conversation and maintain context. If this field is empty or unset, a new chat session is created. Invalid session IDs will result in an error.
optional string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The sessionId. |
getSessionIdBytes()
public abstract ByteString getSessionIdBytes()Optional. Provide this session ID to continue an existing conversation and maintain context. If this field is empty or unset, a new chat session is created. Invalid session IDs will result in an error.
optional string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sessionId. |
getUserQuery()
public abstract String getUserQuery()Required. The user's query.
string user_query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The userQuery. |
getUserQueryBytes()
public abstract ByteString getUserQueryBytes()Required. The user's query.
string user_query = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for userQuery. |
hasSessionId()
public abstract boolean hasSessionId()Optional. Provide this session ID to continue an existing conversation and maintain context. If this field is empty or unset, a new chat session is created. Invalid session IDs will result in an error.
optional string session_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sessionId field is set. |