Package io.milvus.grpc
Interface SparseFloatArrayOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SparseFloatArray,SparseFloatArray.Builder
public interface SparseFloatArrayOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetContents(int index) repeated bytes contents = 1;intrepeated bytes contents = 1;List<com.google.protobuf.ByteString> repeated bytes contents = 1;longgetDim()dim is the max dimension of the current batch of vectorsMethods 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
-
getContentsList
List<com.google.protobuf.ByteString> getContentsList()repeated bytes contents = 1;- Returns:
- A list containing the contents.
-
getContentsCount
int getContentsCount()repeated bytes contents = 1;- Returns:
- The count of contents.
-
getContents
com.google.protobuf.ByteString getContents(int index) repeated bytes contents = 1;- Parameters:
index- The index of the element to return.- Returns:
- The contents at the given index.
-
getDim
long getDim()dim is the max dimension of the current batch of vectors
int64 dim = 2;- Returns:
- The dim.
-