Interface DetectCustomLabelsResponse.Builder

    • Method Detail

      • customLabels

        DetectCustomLabelsResponse.Builder customLabels​(Collection<CustomLabel> customLabels)

        An array of custom labels detected in the input image.

        Parameters:
        customLabels - An array of custom labels detected in the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customLabels

        DetectCustomLabelsResponse.Builder customLabels​(CustomLabel... customLabels)

        An array of custom labels detected in the input image.

        Parameters:
        customLabels - An array of custom labels detected in the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.