Interface VectorOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Vector, Vector.Builder

    public interface VectorOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getVector​(int index)
      repeated double vector = 1 [json_name = "vector"];
      int getVectorCount()
      repeated double vector = 1 [json_name = "vector"];
      java.util.List<java.lang.Double> getVectorList()
      repeated double vector = 1 [json_name = "vector"];
      • 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

      • getVectorList

        java.util.List<java.lang.Double> getVectorList()
        repeated double vector = 1 [json_name = "vector"];
        Returns:
        A list containing the vector.
      • getVectorCount

        int getVectorCount()
        repeated double vector = 1 [json_name = "vector"];
        Returns:
        The count of vector.
      • getVector

        double getVector​(int index)
        repeated double vector = 1 [json_name = "vector"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The vector at the given index.