Interface PresetsOrBuilder (3.6.0)

public interface PresetsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModality()

public abstract Presets.Modality getModality()

Preset option controlling parameters for different modalities

.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;

Returns
TypeDescription
Presets.Modality

The modality.

getModalityValue()

public abstract int getModalityValue()

Preset option controlling parameters for different modalities

.google.cloud.aiplatform.v1beta1.Presets.Modality modality = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for modality.

getQuery()

public abstract Presets.Query getQuery()

Preset option controlling parameters for query speed-precision trade-off

optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;

Returns
TypeDescription
Presets.Query

The query.

getQueryValue()

public abstract int getQueryValue()

Preset option controlling parameters for query speed-precision trade-off

optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for query.

hasQuery()

public abstract boolean hasQuery()

Preset option controlling parameters for query speed-precision trade-off

optional .google.cloud.aiplatform.v1beta1.Presets.Query query = 1;

Returns
TypeDescription
boolean

Whether the query field is set.