Interface ContentFilterOrBuilder

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

    public interface ContentFilterOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getIncludedContentCategoriesList

        java.util.List<ContentCategory> getIncludedContentCategoriesList()
         The set of categories to be included in the media item search results.
         The items in the set are ORed. There's a maximum of 10
         `includedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory included_content_categories = 1;
        Returns:
        A list containing the includedContentCategories.
      • getIncludedContentCategoriesCount

        int getIncludedContentCategoriesCount()
         The set of categories to be included in the media item search results.
         The items in the set are ORed. There's a maximum of 10
         `includedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory included_content_categories = 1;
        Returns:
        The count of includedContentCategories.
      • getIncludedContentCategories

        ContentCategory getIncludedContentCategories​(int index)
         The set of categories to be included in the media item search results.
         The items in the set are ORed. There's a maximum of 10
         `includedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory included_content_categories = 1;
        Parameters:
        index - The index of the element to return.
        Returns:
        The includedContentCategories at the given index.
      • getIncludedContentCategoriesValueList

        java.util.List<java.lang.Integer> getIncludedContentCategoriesValueList()
         The set of categories to be included in the media item search results.
         The items in the set are ORed. There's a maximum of 10
         `includedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory included_content_categories = 1;
        Returns:
        A list containing the enum numeric values on the wire for includedContentCategories.
      • getIncludedContentCategoriesValue

        int getIncludedContentCategoriesValue​(int index)
         The set of categories to be included in the media item search results.
         The items in the set are ORed. There's a maximum of 10
         `includedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory included_content_categories = 1;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of includedContentCategories at the given index.
      • getExcludedContentCategoriesList

        java.util.List<ContentCategory> getExcludedContentCategoriesList()
         The set of categories which are not to be included in the media item search
         results. The items in the set are ORed. There's a maximum of 10
         `excludedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory excluded_content_categories = 2;
        Returns:
        A list containing the excludedContentCategories.
      • getExcludedContentCategoriesCount

        int getExcludedContentCategoriesCount()
         The set of categories which are not to be included in the media item search
         results. The items in the set are ORed. There's a maximum of 10
         `excludedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory excluded_content_categories = 2;
        Returns:
        The count of excludedContentCategories.
      • getExcludedContentCategories

        ContentCategory getExcludedContentCategories​(int index)
         The set of categories which are not to be included in the media item search
         results. The items in the set are ORed. There's a maximum of 10
         `excludedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory excluded_content_categories = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The excludedContentCategories at the given index.
      • getExcludedContentCategoriesValueList

        java.util.List<java.lang.Integer> getExcludedContentCategoriesValueList()
         The set of categories which are not to be included in the media item search
         results. The items in the set are ORed. There's a maximum of 10
         `excludedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory excluded_content_categories = 2;
        Returns:
        A list containing the enum numeric values on the wire for excludedContentCategories.
      • getExcludedContentCategoriesValue

        int getExcludedContentCategoriesValue​(int index)
         The set of categories which are not to be included in the media item search
         results. The items in the set are ORed. There's a maximum of 10
         `excludedContentCategories` per request.
         
        repeated .google.photos.library.v1.ContentCategory excluded_content_categories = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of excludedContentCategories at the given index.