Interface ErrorHandlingSettingsOrBuilder (0.9.0)

public interface ErrorHandlingSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndSessionConfig()

public abstract ErrorHandlingSettings.EndSessionConfig getEndSessionConfig()

Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).

.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.EndSessionConfig

The endSessionConfig.

getEndSessionConfigOrBuilder()

public abstract ErrorHandlingSettings.EndSessionConfigOrBuilder getEndSessionConfigOrBuilder()

Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).

.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.EndSessionConfigOrBuilder

getErrorHandlingStrategy()

public abstract ErrorHandlingSettings.ErrorHandlingStrategy getErrorHandlingStrategy()

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.ErrorHandlingStrategy

The errorHandlingStrategy.

getErrorHandlingStrategyValue()

public abstract int getErrorHandlingStrategyValue()

Optional. The strategy to use for error handling.

.google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy error_handling_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for errorHandlingStrategy.

getFallbackResponseConfig()

public abstract ErrorHandlingSettings.FallbackResponseConfig getFallbackResponseConfig()

Optional. Configuration for handling fallback responses.

.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.FallbackResponseConfig

The fallbackResponseConfig.

getFallbackResponseConfigOrBuilder()

public abstract ErrorHandlingSettings.FallbackResponseConfigOrBuilder getFallbackResponseConfigOrBuilder()

Optional. Configuration for handling fallback responses.

.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorHandlingSettings.FallbackResponseConfigOrBuilder

hasEndSessionConfig()

public abstract boolean hasEndSessionConfig()

Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).

.google.cloud.ces.v1beta.ErrorHandlingSettings.EndSessionConfig end_session_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the endSessionConfig field is set.

hasFallbackResponseConfig()

public abstract boolean hasFallbackResponseConfig()

Optional. Configuration for handling fallback responses.

.google.cloud.ces.v1beta.ErrorHandlingSettings.FallbackResponseConfig fallback_response_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fallbackResponseConfig field is set.