com.google.photos.library.v1.proto.MediaItemOrBuilder 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 MediaItemOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.photos.library.v1.MediaItem)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Identifier for the media item. This is a persistent identifier that can be
* used between sessions to identify this media item.
*
*
* string id = 1;
*/
java.lang.String getId();
/**
*
*
*
* Identifier for the media item. This is a persistent identifier that can be
* used between sessions to identify this media item.
*
*
* string id = 1;
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* Description of the media item. This is shown to the user in the item's
* info section in the Google Photos app.
*
*
* string description = 2;
*/
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.
*
*
* string description = 2;
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Google Photos URL for the media item. This link is available to
* the user only if they're signed in.
*
*
* string product_url = 3;
*/
java.lang.String getProductUrl();
/**
*
*
*
* Google Photos URL for the media item. This link is available to
* the user only if they're signed in.
*
*
* string product_url = 3;
*/
com.google.protobuf.ByteString getProductUrlBytes();
/**
*
*
*
* A URL to the media item's bytes. This shouldn't be used directly to access
* the media item. For example, `'=w2048-h1024'` will set the dimensions of a
* media item of type photo to have a width of 2048 px and height of 1024 px.
*
*
* string base_url = 4;
*/
java.lang.String getBaseUrl();
/**
*
*
*
* A URL to the media item's bytes. This shouldn't be used directly to access
* the media item. For example, `'=w2048-h1024'` will set the dimensions of a
* media item of type photo to have a width of 2048 px and height of 1024 px.
*
*
* string base_url = 4;
*/
com.google.protobuf.ByteString getBaseUrlBytes();
/**
*
*
*
* MIME type of the media item. For example, `image/jpeg`.
*
*
* string mime_type = 5;
*/
java.lang.String getMimeType();
/**
*
*
*
* MIME type of the media item. For example, `image/jpeg`.
*
*
* string mime_type = 5;
*/
com.google.protobuf.ByteString getMimeTypeBytes();
/**
*
*
*
* Metadata related to the media item, such as, height, width, or
* creation time.
*
*
* .google.photos.library.v1.MediaMetadata media_metadata = 6;
*/
boolean hasMediaMetadata();
/**
*
*
*
* Metadata related to the media item, such as, height, width, or
* creation time.
*
*
* .google.photos.library.v1.MediaMetadata media_metadata = 6;
*/
com.google.photos.library.v1.proto.MediaMetadata getMediaMetadata();
/**
*
*
*
* Metadata related to the media item, such as, height, width, or
* creation time.
*
*
* .google.photos.library.v1.MediaMetadata media_metadata = 6;
*/
com.google.photos.library.v1.proto.MediaMetadataOrBuilder getMediaMetadataOrBuilder();
/**
*
*
*
* Information about the user who created this media item.
*
*
* .google.photos.library.v1.ContributorInfo contributor_info = 7;
*/
boolean hasContributorInfo();
/**
*
*
*
* Information about the user who created this media item.
*
*
* .google.photos.library.v1.ContributorInfo contributor_info = 7;
*/
com.google.photos.library.v1.proto.ContributorInfo getContributorInfo();
/**
*
*
*
* Information about the user who created this media item.
*
*
* .google.photos.library.v1.ContributorInfo contributor_info = 7;
*/
com.google.photos.library.v1.proto.ContributorInfoOrBuilder getContributorInfoOrBuilder();
/**
*
*
*
* Filename of the media item. This is shown to the user in the item's info
* section in the Google Photos app.
*
*
* string filename = 8;
*/
java.lang.String getFilename();
/**
*
*
*
* Filename of the media item. This is shown to the user in the item's info
* section in the Google Photos app.
*
*
* string filename = 8;
*/
com.google.protobuf.ByteString getFilenameBytes();
}