Enum AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource (0.99.0)

public enum AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource extends Enum<AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource> implements ProtocolMessageEnum

If the assist call was skipped due to a policy violation, this contains the source of the violation.

Protobuf enum google.cloud.discoveryengine.v1.AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource

Implements

ProtocolMessageEnum

Static Fields

Name Description
ATTACHMENT

Violation found in the user attachment.

ATTACHMENT = 3;

ATTACHMENT_VALUE

Violation found in the user attachment.

ATTACHMENT = 3;

PROMPT

Violation found in the user prompt.

PROMPT = 2;

PROMPT_VALUE

Violation found in the user prompt.

PROMPT = 2;

SYSTEM

Violation found in the system response.

SYSTEM = 1;

SYSTEM_VALUE

Violation found in the system response.

SYSTEM = 1;

UNRECOGNIZED
VIOLATION_SOURCE_UNSPECIFIED

Unknown value.

VIOLATION_SOURCE_UNSPECIFIED = 0;

VIOLATION_SOURCE_UNSPECIFIED_VALUE

Unknown value.

VIOLATION_SOURCE_UNSPECIFIED = 0;

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()