Interface ExamplesOrBuilder (3.21.0)

public interface ExamplesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfigCase()

public abstract Examples.ConfigCase getConfigCase()
Returns
TypeDescription
Examples.ConfigCase

getExampleGcsSource()

public abstract Examples.ExampleGcsSource getExampleGcsSource()

The Cloud Storage input instances.

.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;

Returns
TypeDescription
Examples.ExampleGcsSource

The exampleGcsSource.

getExampleGcsSourceOrBuilder()

public abstract Examples.ExampleGcsSourceOrBuilder getExampleGcsSourceOrBuilder()

The Cloud Storage input instances.

.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;

Returns
TypeDescription
Examples.ExampleGcsSourceOrBuilder

getGcsSource()

public abstract GcsSource getGcsSource()

The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
GcsSourceOrBuilder

getNearestNeighborSearchConfig()

public abstract Value getNearestNeighborSearchConfig()

The full configuration for the generated index, the semantics are the same as metadata and should match NearestNeighborSearchConfig.

.google.protobuf.Value nearest_neighbor_search_config = 2;

Returns
TypeDescription
Value

The nearestNeighborSearchConfig.

getNearestNeighborSearchConfigOrBuilder()

public abstract ValueOrBuilder getNearestNeighborSearchConfigOrBuilder()

The full configuration for the generated index, the semantics are the same as metadata and should match NearestNeighborSearchConfig.

.google.protobuf.Value nearest_neighbor_search_config = 2;

Returns
TypeDescription
ValueOrBuilder

getNeighborCount()

public abstract int getNeighborCount()

The number of neighbors to return when querying for examples.

int32 neighbor_count = 3;

Returns
TypeDescription
int

The neighborCount.

getPresets()

public abstract Presets getPresets()

Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.

.google.cloud.aiplatform.v1beta1.Presets presets = 4;

Returns
TypeDescription
Presets

The presets.

getPresetsOrBuilder()

public abstract PresetsOrBuilder getPresetsOrBuilder()

Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.

.google.cloud.aiplatform.v1beta1.Presets presets = 4;

Returns
TypeDescription
PresetsOrBuilder

getSourceCase()

public abstract Examples.SourceCase getSourceCase()
Returns
TypeDescription
Examples.SourceCase

hasExampleGcsSource()

public abstract boolean hasExampleGcsSource()

The Cloud Storage input instances.

.google.cloud.aiplatform.v1beta1.Examples.ExampleGcsSource example_gcs_source = 5;

Returns
TypeDescription
boolean

Whether the exampleGcsSource field is set.

hasGcsSource()

public abstract boolean hasGcsSource()

The Cloud Storage locations that contain the instances to be indexed for approximate nearest neighbor search.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 1;

Returns
TypeDescription
boolean

Whether the gcsSource field is set.

hasNearestNeighborSearchConfig()

public abstract boolean hasNearestNeighborSearchConfig()

The full configuration for the generated index, the semantics are the same as metadata and should match NearestNeighborSearchConfig.

.google.protobuf.Value nearest_neighbor_search_config = 2;

Returns
TypeDescription
boolean

Whether the nearestNeighborSearchConfig field is set.

hasPresets()

public abstract boolean hasPresets()

Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.

.google.cloud.aiplatform.v1beta1.Presets presets = 4;

Returns
TypeDescription
boolean

Whether the presets field is set.