public interface GenerateChatTokenRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDeployment()
public abstract String getDeployment()Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string deployment = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The deployment. |
getDeploymentBytes()
public abstract ByteString getDeploymentBytes()Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
string deployment = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deployment. |
getName()
public abstract String getName()Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRecaptchaToken()
public abstract String getRecaptchaToken()Optional. The reCAPTCHA token generated by the client-side chat widget.
string recaptcha_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The recaptchaToken. |
getRecaptchaTokenBytes()
public abstract ByteString getRecaptchaTokenBytes()Optional. The reCAPTCHA token generated by the client-side chat widget.
string recaptcha_token = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for recaptchaToken. |