Enum GenerationConfig.Modality (3.56.0)

public enum GenerationConfig.Modality extends Enum<GenerationConfig.Modality> implements ProtocolMessageEnum

The modalities of the response.

Protobuf enum google.cloud.aiplatform.v1beta1.GenerationConfig.Modality

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUDIO

Audio modality.

AUDIO = 3;

AUDIO_VALUE

Audio modality.

AUDIO = 3;

IMAGE

Image modality.

IMAGE = 2;

IMAGE_VALUE

Image modality.

IMAGE = 2;

MODALITY_UNSPECIFIED

Unspecified modality. Will be processed as text.

MODALITY_UNSPECIFIED = 0;

MODALITY_UNSPECIFIED_VALUE

Unspecified modality. Will be processed as text.

MODALITY_UNSPECIFIED = 0;

TEXT

Text modality.

TEXT = 1;

TEXT_VALUE

Text modality.

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