com.google.photos.library.v1.proto.BatchCreateMediaItemsRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-photos-library-client Show documentation
Show all versions of google-photos-library-client Show documentation
Google Photos Library API Client Library for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/photos/library/v1/photos_library.proto
package com.google.photos.library.v1.proto;
public interface BatchCreateMediaItemsRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.photos.library.v1.BatchCreateMediaItemsRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*/
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;
*/
com.google.protobuf.ByteString getAlbumIdBytes();
/**
*
*
*
* List of media items to be created.
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
*/
java.util.List getNewMediaItemsList();
/**
*
*
*
* List of media items to be created.
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
*/
com.google.photos.library.v1.proto.NewMediaItem getNewMediaItems(int index);
/**
*
*
*
* List of media items to be created.
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
*/
int getNewMediaItemsCount();
/**
*
*
*
* List of media items to be created.
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
*/
java.util.List extends com.google.photos.library.v1.proto.NewMediaItemOrBuilder>
getNewMediaItemsOrBuilderList();
/**
*
*
*
* List of media items to be created.
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2;
*/
com.google.photos.library.v1.proto.NewMediaItemOrBuilder getNewMediaItemsOrBuilder(int index);
/**
*
*
*
* 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;
*/
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;
*/
com.google.photos.library.v1.proto.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;
*/
com.google.photos.library.v1.proto.AlbumPositionOrBuilder getAlbumPositionOrBuilder();
}