# Interface ErrorHandlingSettings.EndSessionConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface ErrorHandlingSettings.EndSessionConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEscalateSession()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The escalateSession. |

### hasEscalateSession()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the escalateSession field is set. |