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;
*
* @return The albumId.
*/
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;
*
* @return The bytes for albumId.
*/
com.google.protobuf.ByteString getAlbumIdBytes();
/**
*
*
*
* Required. List of media items to be created.
*
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
java.util.List getNewMediaItemsList();
/**
*
*
*
* Required. List of media items to be created.
*
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.photos.library.v1.proto.NewMediaItem getNewMediaItems(int index);
/**
*
*
*
* Required. List of media items to be created.
*
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
int getNewMediaItemsCount();
/**
*
*
*
* Required. List of media items to be created.
*
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
java.util.List extends com.google.photos.library.v1.proto.NewMediaItemOrBuilder>
getNewMediaItemsOrBuilderList();
/**
*
*
*
* Required. List of media items to be created.
*
*
*
* repeated .google.photos.library.v1.NewMediaItem new_media_items = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
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;
*
* @return Whether the albumPosition field is set.
*/
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;
*
* @return The albumPosition.
*/
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();
}