Interface ClassificationPredictionResultOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getConfidences​(int index)
      The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
      int getConfidencesCount()
      The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
      List<Float> getConfidencesList()
      The Model's confidences in correctness of the predicted IDs, higher value means higher confidence.
      String getDisplayNames​(int index)
      The display names of the AnnotationSpecs that had been identified, order matches the IDs.
      com.google.protobuf.ByteString getDisplayNamesBytes​(int index)
      The display names of the AnnotationSpecs that had been identified, order matches the IDs.
      int getDisplayNamesCount()
      The display names of the AnnotationSpecs that had been identified, order matches the IDs.
      List<String> getDisplayNamesList()
      The display names of the AnnotationSpecs that had been identified, order matches the IDs.
      long getIds​(int index)
      The resource IDs of the AnnotationSpecs that had been identified.
      int getIdsCount()
      The resource IDs of the AnnotationSpecs that had been identified.
      List<Long> getIdsList()
      The resource IDs of the AnnotationSpecs that had been identified.
      • 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

      • getIdsList

        List<Long> getIdsList()
         The resource IDs of the AnnotationSpecs that had been identified.
         
        repeated int64 ids = 1;
        Returns:
        A list containing the ids.
      • getIdsCount

        int getIdsCount()
         The resource IDs of the AnnotationSpecs that had been identified.
         
        repeated int64 ids = 1;
        Returns:
        The count of ids.
      • getIds

        long getIds​(int index)
         The resource IDs of the AnnotationSpecs that had been identified.
         
        repeated int64 ids = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The ids at the given index.
      • getDisplayNamesList

        List<String> getDisplayNamesList()
         The display names of the AnnotationSpecs that had been identified, order
         matches the IDs.
         
        repeated string display_names = 2;
        Returns:
        A list containing the displayNames.
      • getDisplayNamesCount

        int getDisplayNamesCount()
         The display names of the AnnotationSpecs that had been identified, order
         matches the IDs.
         
        repeated string display_names = 2;
        Returns:
        The count of displayNames.
      • getDisplayNames

        String getDisplayNames​(int index)
         The display names of the AnnotationSpecs that had been identified, order
         matches the IDs.
         
        repeated string display_names = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The displayNames at the given index.
      • getDisplayNamesBytes

        com.google.protobuf.ByteString getDisplayNamesBytes​(int index)
         The display names of the AnnotationSpecs that had been identified, order
         matches the IDs.
         
        repeated string display_names = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the displayNames at the given index.
      • getConfidencesList

        List<Float> getConfidencesList()
         The Model's confidences in correctness of the predicted IDs, higher value
         means higher confidence. Order matches the Ids.
         
        repeated float confidences = 3;
        Returns:
        A list containing the confidences.
      • getConfidencesCount

        int getConfidencesCount()
         The Model's confidences in correctness of the predicted IDs, higher value
         means higher confidence. Order matches the Ids.
         
        repeated float confidences = 3;
        Returns:
        The count of confidences.
      • getConfidences

        float getConfidences​(int index)
         The Model's confidences in correctness of the predicted IDs, higher value
         means higher confidence. Order matches the Ids.
         
        repeated float confidences = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The confidences at the given index.