Interface PresetsOrBuilder (3.32.0)

public interface PresetsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModality()

public abstract Presets.Modality getModality()

The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

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

Returns
TypeDescription
Presets.Modality

The modality.

getModalityValue()

public abstract int getModalityValue()

The modality of the uploaded model, which automatically configures the distance measurement and feature normalization for the underlying example index and queries. If your model does not precisely fit one of these types, it is okay to choose the closest type.

.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 speed-precision trade-off when querying for examples. If omitted, defaults to PRECISE.

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 speed-precision trade-off when querying for examples. If omitted, defaults to PRECISE.

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 speed-precision trade-off when querying for examples. If omitted, defaults to PRECISE.

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

Returns
TypeDescription
boolean

Whether the query field is set.