Interface BatchCreateMediaItemsRequestOrBuilder

    • Method Detail

      • getAlbumId

        java.lang.String getAlbumId()
         Identifier of the album where the media items are added. The media items
         are also added to the user's library. This is an optional field.
         
        string album_id = 1;
        Returns:
        The albumId.
      • getAlbumIdBytes

        com.google.protobuf.ByteString getAlbumIdBytes()
         Identifier of the album where the media items are added. The media items
         are also added to the user's library. This is an optional field.
         
        string album_id = 1;
        Returns:
        The bytes for albumId.
      • getNewMediaItemsList

        java.util.List<NewMediaItem> getNewMediaItemsList()
         List of media items to be created.
         
        repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
      • getNewMediaItems

        NewMediaItem getNewMediaItems​(int index)
         List of media items to be created.
         
        repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
      • getNewMediaItemsCount

        int getNewMediaItemsCount()
         List of media items to be created.
         
        repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
      • getNewMediaItemsOrBuilderList

        java.util.List<? extends NewMediaItemOrBuilder> getNewMediaItemsOrBuilderList()
         List of media items to be created.
         
        repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
      • getNewMediaItemsOrBuilder

        NewMediaItemOrBuilder getNewMediaItemsOrBuilder​(int index)
         List of media items to be created.
         
        repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
      • hasAlbumPosition

        boolean hasAlbumPosition()
         Position in the album where the media items are added. If not
         specified, the media items are added to the end of the album (as per
         the default value, that is, `LAST_IN_ALBUM`). The request fails if this
         field is set and the `albumId` is not specified. The request will also fail
         if you set the field and are not the owner of the shared album.
         
        .google.photos.library.v1.AlbumPosition album_position = 4;
        Returns:
        Whether the albumPosition field is set.
      • getAlbumPosition

        AlbumPosition getAlbumPosition()
         Position in the album where the media items are added. If not
         specified, the media items are added to the end of the album (as per
         the default value, that is, `LAST_IN_ALBUM`). The request fails if this
         field is set and the `albumId` is not specified. The request will also fail
         if you set the field and are not the owner of the shared album.
         
        .google.photos.library.v1.AlbumPosition album_position = 4;
        Returns:
        The albumPosition.
      • getAlbumPositionOrBuilder

        AlbumPositionOrBuilder getAlbumPositionOrBuilder()
         Position in the album where the media items are added. If not
         specified, the media items are added to the end of the album (as per
         the default value, that is, `LAST_IN_ALBUM`). The request fails if this
         field is set and the `albumId` is not specified. The request will also fail
         if you set the field and are not the owner of the shared album.
         
        .google.photos.library.v1.AlbumPosition album_position = 4;