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 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

       Indicates the vector index is a flat index.
       
      .google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex flat = 2;
      Returns:
      The flat.
    • getFlatOrBuilder

       Indicates the vector index is a flat index.
       
      .google.firestore.admin.v1.Index.IndexField.VectorConfig.FlatIndex flat = 2;
    • getTypeCase