Package com.google.firestore.admin.v1
Interface Index.IndexField.VectorConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Index.IndexField.VectorConfig,Index.IndexField.VectorConfig.Builder
- Enclosing class:
- Index.IndexField
public static interface Index.IndexField.VectorConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
getDimension
int getDimension()Required. The vector dimension this configuration applies to. The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.
int32 dimension = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The dimension.
-
hasFlat
boolean hasFlat()Indicates the vector index is a flat index.
.google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex flat = 2;- Returns:
- Whether the flat field is set.
-
getFlat
Index.IndexField.VectorConfig.FlatIndex getFlat()Indicates the vector index is a flat index.
.google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex flat = 2;- Returns:
- The flat.
-
getFlatOrBuilder
Index.IndexField.VectorConfig.FlatIndexOrBuilder getFlatOrBuilder()Indicates the vector index is a flat index.
.google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex flat = 2; -
getTypeCase
Index.IndexField.VectorConfig.TypeCase getTypeCase()
-