com.google.photos.library.v1.proto.NewMediaItemOrBuilder 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
The newest version!
// 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 NewMediaItemOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.photos.library.v1.NewMediaItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Description of the media item. This is shown to the user in the item's info
* section in the Google Photos app. Must be shorter than 1000 characters.
* Only include text written by users. Descriptions should add context and
* help users understand media. Do not include any auto-generated
* strings such as filenames, tags, and other metadata.
*
*
* string description = 1;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Description of the media item. This is shown to the user in the item's info
* section in the Google Photos app. Must be shorter than 1000 characters.
* Only include text written by users. Descriptions should add context and
* help users understand media. Do not include any auto-generated
* strings such as filenames, tags, and other metadata.
*
*
* string description = 1;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* A new media item that has been uploaded via the included `uploadToken`.
*
*
* .google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
*
* @return Whether the simpleMediaItem field is set.
*/
boolean hasSimpleMediaItem();
/**
*
*
*
* A new media item that has been uploaded via the included `uploadToken`.
*
*
* .google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
*
* @return The simpleMediaItem.
*/
com.google.photos.library.v1.proto.SimpleMediaItem getSimpleMediaItem();
/**
*
*
*
* A new media item that has been uploaded via the included `uploadToken`.
*
*
* .google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
*/
com.google.photos.library.v1.proto.SimpleMediaItemOrBuilder getSimpleMediaItemOrBuilder();
public com.google.photos.library.v1.proto.NewMediaItem.NewMediaItemTypeCase
getNewMediaItemTypeCase();
}