Enum GenerateContentResponse.PromptFeedback.BlockedReason (3.38.0)

public enum GenerateContentResponse.PromptFeedback.BlockedReason extends Enum<GenerateContentResponse.PromptFeedback.BlockedReason> implements ProtocolMessageEnum

Blocked reason enumeration.

Protobuf enum google.cloud.aiplatform.v1beta1.GenerateContentResponse.PromptFeedback.BlockedReason

Implements

ProtocolMessageEnum

Static Fields

NameDescription
BLOCKED_REASON_UNSPECIFIED

Unspecified blocked reason.

BLOCKED_REASON_UNSPECIFIED = 0;

BLOCKED_REASON_UNSPECIFIED_VALUE

Unspecified blocked reason.

BLOCKED_REASON_UNSPECIFIED = 0;

OTHER

Candidates blocked due to other reason.

OTHER = 2;

OTHER_VALUE

Candidates blocked due to other reason.

OTHER = 2;

SAFETY

Candidates blocked due to safety.

SAFETY = 1;

SAFETY_VALUE

Candidates blocked due to safety.

SAFETY = 1;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()