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 Type
    Method
    Description
    com.google.protobuf.ByteString
    getContents(int index)
    repeated bytes contents = 1;
    int
    repeated bytes contents = 1;
    List<com.google.protobuf.ByteString>
    repeated bytes contents = 1;
    long
    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 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.