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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getContents​(int index)
      repeated bytes contents = 1;
      int getContentsCount()
      repeated bytes contents = 1;
      List<com.google.protobuf.ByteString> getContentsList()
      repeated bytes contents = 1;
      long getDim()
      dim is the max dimension of the current batch of vectors
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

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