public enum AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource extends Enum<AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource> implements ProtocolMessageEnumIf 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
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ATTACHMENT |
Violation found in the user attachment. |
ATTACHMENT_VALUE |
Violation found in the user attachment. |
PROMPT |
Violation found in the user prompt. |
PROMPT_VALUE |
Violation found in the user prompt. |
SYSTEM |
Violation found in the system response. |
SYSTEM_VALUE |
Violation found in the system response. |
UNRECOGNIZED |
|
VIOLATION_SOURCE_UNSPECIFIED |
Unknown value. |
VIOLATION_SOURCE_UNSPECIFIED_VALUE |
Unknown value. |
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() |
|