public static final class ErrorHandlingSettings.EndSessionConfig extends GeneratedMessage implements ErrorHandlingSettings.EndSessionConfigOrBuilderConfiguration for ending the session in case of system errors (e.g. LLM errors).
Protobuf type google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ErrorHandlingSettings.EndSessionConfigStatic Fields
ESCALATE_SESSION_FIELD_NUMBER
public static final int ESCALATE_SESSION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static ErrorHandlingSettings.EndSessionConfig getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static ErrorHandlingSettings.EndSessionConfig.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig.Builder |
|
newBuilder(ErrorHandlingSettings.EndSessionConfig prototype)
public static ErrorHandlingSettings.EndSessionConfig.Builder newBuilder(ErrorHandlingSettings.EndSessionConfig prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
ErrorHandlingSettings.EndSessionConfig |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig.Builder |
|
parseDelimitedFrom(InputStream input)
public static ErrorHandlingSettings.EndSessionConfig parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ErrorHandlingSettings.EndSessionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<ErrorHandlingSettings.EndSessionConfig> parser()| Returns | |
|---|---|
| Type | Description |
Parser<EndSessionConfig> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public ErrorHandlingSettings.EndSessionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig |
|
getEscalateSession()
public boolean getEscalateSession() Optional. Whether to escalate the session in
EndSession. If session is
escalated, metadata in
EndSession will contain
session_escalated = true. See
https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
for details.
optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The escalateSession. |
getParserForType()
public Parser<ErrorHandlingSettings.EndSessionConfig> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<EndSessionConfig> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasEscalateSession()
public boolean hasEscalateSession() Optional. Whether to escalate the session in
EndSession. If session is
escalated, metadata in
EndSession will contain
session_escalated = true. See
https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/deploy/google-telephony-platform#transfer_a_call_to_a_human_agent
for details.
optional bool escalate_session = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the escalateSession field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public ErrorHandlingSettings.EndSessionConfig.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ErrorHandlingSettings.EndSessionConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig.Builder |
|
toBuilder()
public ErrorHandlingSettings.EndSessionConfig.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
ErrorHandlingSettings.EndSessionConfig.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|