Package com.google.cloud.aiplatform.v1
Interface ExamplesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Examples,Examples.Builder
@Generated
public interface ExamplesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Cloud Storage input instances.The Cloud Storage input instances.com.google.protobuf.ValueThe full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).com.google.protobuf.ValueOrBuilderThe full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).intThe number of neighbors to return when querying for examples.Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.booleanThe Cloud Storage input instances.booleanThe full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).booleanSimplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasExampleGcsSource
boolean hasExampleGcsSource()The Cloud Storage input instances.
.google.cloud.aiplatform.v1.Examples.ExampleGcsSource example_gcs_source = 5;- Returns:
- Whether the exampleGcsSource field is set.
-
getExampleGcsSource
Examples.ExampleGcsSource getExampleGcsSource()The Cloud Storage input instances.
.google.cloud.aiplatform.v1.Examples.ExampleGcsSource example_gcs_source = 5;- Returns:
- The exampleGcsSource.
-
getExampleGcsSourceOrBuilder
Examples.ExampleGcsSourceOrBuilder getExampleGcsSourceOrBuilder()The Cloud Storage input instances.
.google.cloud.aiplatform.v1.Examples.ExampleGcsSource example_gcs_source = 5; -
hasNearestNeighborSearchConfig
boolean hasNearestNeighborSearchConfig()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;- Returns:
- Whether the nearestNeighborSearchConfig field is set.
-
getNearestNeighborSearchConfig
com.google.protobuf.Value getNearestNeighborSearchConfig()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2;- Returns:
- The nearestNeighborSearchConfig.
-
getNearestNeighborSearchConfigOrBuilder
com.google.protobuf.ValueOrBuilder getNearestNeighborSearchConfigOrBuilder()The full configuration for the generated index, the semantics are the same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should match [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config).
.google.protobuf.Value nearest_neighbor_search_config = 2; -
hasPresets
boolean hasPresets()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1.Presets presets = 4;- Returns:
- Whether the presets field is set.
-
getPresets
Presets getPresets()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1.Presets presets = 4;- Returns:
- The presets.
-
getPresetsOrBuilder
PresetsOrBuilder getPresetsOrBuilder()Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality.
.google.cloud.aiplatform.v1.Presets presets = 4; -
getNeighborCount
int getNeighborCount()The number of neighbors to return when querying for examples.
int32 neighbor_count = 3;- Returns:
- The neighborCount.
-
getSourceCase
Examples.SourceCase getSourceCase() -
getConfigCase
Examples.ConfigCase getConfigCase()
-