Enum Presets.Modality (1.3.0)

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

Preset option controlling parameters for different modalities

Protobuf enum google.cloud.vertexai.v1.Presets.Modality

Implements

ProtocolMessageEnum

Static Fields

Name Description
IMAGE

IMAGE modality

IMAGE = 1;

IMAGE_VALUE

IMAGE modality

IMAGE = 1;

MODALITY_UNSPECIFIED

Should not be set. Added as a recommended best practice for enums

MODALITY_UNSPECIFIED = 0;

MODALITY_UNSPECIFIED_VALUE

Should not be set. Added as a recommended best practice for enums

MODALITY_UNSPECIFIED = 0;

TABULAR

TABULAR modality

TABULAR = 3;

TABULAR_VALUE

TABULAR modality

TABULAR = 3;

TEXT

TEXT modality

TEXT = 2;

TEXT_VALUE

TEXT modality

TEXT = 2;

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