Enum ErrorHandlingSettings.ErrorHandlingStrategy (0.3.0)

public enum ErrorHandlingSettings.ErrorHandlingStrategy extends Enum<ErrorHandlingSettings.ErrorHandlingStrategy> implements ProtocolMessageEnum

Defines the strategy for handling errors.

Protobuf enum google.cloud.ces.v1beta.ErrorHandlingSettings.ErrorHandlingStrategy

Implements

ProtocolMessageEnum

Static Fields

Name Description
ERROR_HANDLING_STRATEGY_UNSPECIFIED

Unspecified error handling strategy. Defaults to FALLBACK_RESPONSE.

ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;

ERROR_HANDLING_STRATEGY_UNSPECIFIED_VALUE

Unspecified error handling strategy. Defaults to FALLBACK_RESPONSE.

ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;

FALLBACK_RESPONSE

A fallback message will be returned to the user in case of LLM errors.

FALLBACK_RESPONSE = 2;

FALLBACK_RESPONSE_VALUE

A fallback message will be returned to the user in case of LLM errors.

FALLBACK_RESPONSE = 2;

NONE

No specific handling is enabled.

NONE = 1;

NONE_VALUE

No specific handling is enabled.

NONE = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()