Interface SearchMediaItemsRequestOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getAlbumId()
      Identifier of an album.
      com.google.protobuf.ByteString getAlbumIdBytes()
      Identifier of an album.
      Filters getFilters()
      Filters to apply to the request.
      FiltersOrBuilder getFiltersOrBuilder()
      Filters to apply to the request.
      int getPageSize()
      Maximum number of media items to return in the response.
      java.lang.String getPageToken()
      A continuation token to get the next page of the results.
      com.google.protobuf.ByteString getPageTokenBytes()
      A continuation token to get the next page of the results.
      boolean hasFilters()
      Filters to apply to the request.
      • 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

      • getAlbumId

        java.lang.String getAlbumId()
         Identifier of an album. If populated, lists all media items in
         specified album. Can't set in conjunction with any filters.
         
        string album_id = 1;
        Returns:
        The albumId.
      • getAlbumIdBytes

        com.google.protobuf.ByteString getAlbumIdBytes()
         Identifier of an album. If populated, lists all media items in
         specified album. Can't set in conjunction with any filters.
         
        string album_id = 1;
        Returns:
        The bytes for albumId.
      • getPageSize

        int getPageSize()
         Maximum number of media items to return in the response. Fewer media items
         might be returned than the specified number. The default `pageSize` is 25,
         the maximum is 100.
         
        int32 page_size = 2;
        Returns:
        The pageSize.
      • getPageToken

        java.lang.String getPageToken()
         A continuation token to get the next page of the results. Adding this to
         the request returns the rows after the `pageToken`. The `pageToken` should
         be the value returned in the `nextPageToken` parameter in the response to
         the `searchMediaItems` request.
         
        string page_token = 3;
        Returns:
        The pageToken.
      • getPageTokenBytes

        com.google.protobuf.ByteString getPageTokenBytes()
         A continuation token to get the next page of the results. Adding this to
         the request returns the rows after the `pageToken`. The `pageToken` should
         be the value returned in the `nextPageToken` parameter in the response to
         the `searchMediaItems` request.
         
        string page_token = 3;
        Returns:
        The bytes for pageToken.
      • hasFilters

        boolean hasFilters()
         Filters to apply to the request. Can't be set in conjunction with an
         `albumId`.
         
        .google.photos.library.v1.Filters filters = 4;
        Returns:
        Whether the filters field is set.
      • getFilters

        Filters getFilters()
         Filters to apply to the request. Can't be set in conjunction with an
         `albumId`.
         
        .google.photos.library.v1.Filters filters = 4;
        Returns:
        The filters.
      • getFiltersOrBuilder

        FiltersOrBuilder getFiltersOrBuilder()
         Filters to apply to the request. Can't be set in conjunction with an
         `albumId`.
         
        .google.photos.library.v1.Filters filters = 4;