Interface GeneralLabelsSettings.Builder

    • Method Detail

      • labelInclusionFilters

        GeneralLabelsSettings.Builder labelInclusionFilters​(Collection<String> labelInclusionFilters)

        The labels that should be included in the return from DetectLabels.

        Parameters:
        labelInclusionFilters - The labels that should be included in the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelInclusionFilters

        GeneralLabelsSettings.Builder labelInclusionFilters​(String... labelInclusionFilters)

        The labels that should be included in the return from DetectLabels.

        Parameters:
        labelInclusionFilters - The labels that should be included in the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelExclusionFilters

        GeneralLabelsSettings.Builder labelExclusionFilters​(Collection<String> labelExclusionFilters)

        The labels that should be excluded from the return from DetectLabels.

        Parameters:
        labelExclusionFilters - The labels that should be excluded from the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelExclusionFilters

        GeneralLabelsSettings.Builder labelExclusionFilters​(String... labelExclusionFilters)

        The labels that should be excluded from the return from DetectLabels.

        Parameters:
        labelExclusionFilters - The labels that should be excluded from the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelCategoryInclusionFilters

        GeneralLabelsSettings.Builder labelCategoryInclusionFilters​(Collection<String> labelCategoryInclusionFilters)

        The label categories that should be included in the return from DetectLabels.

        Parameters:
        labelCategoryInclusionFilters - The label categories that should be included in the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelCategoryInclusionFilters

        GeneralLabelsSettings.Builder labelCategoryInclusionFilters​(String... labelCategoryInclusionFilters)

        The label categories that should be included in the return from DetectLabels.

        Parameters:
        labelCategoryInclusionFilters - The label categories that should be included in the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelCategoryExclusionFilters

        GeneralLabelsSettings.Builder labelCategoryExclusionFilters​(Collection<String> labelCategoryExclusionFilters)

        The label categories that should be excluded from the return from DetectLabels.

        Parameters:
        labelCategoryExclusionFilters - The label categories that should be excluded from the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • labelCategoryExclusionFilters

        GeneralLabelsSettings.Builder labelCategoryExclusionFilters​(String... labelCategoryExclusionFilters)

        The label categories that should be excluded from the return from DetectLabels.

        Parameters:
        labelCategoryExclusionFilters - The label categories that should be excluded from the return from DetectLabels.
        Returns:
        Returns a reference to this object so that method calls can be chained together.