com.google.photos.library.v1.proto.NewMediaItemResultOrBuilder 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 NewMediaItemResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.photos.library.v1.NewMediaItemResult)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The upload token used to create this new (simple) media item. Only
* populated if the media item is simple and required a single upload token.
*
*
* string upload_token = 1;
*
* @return The uploadToken.
*/
java.lang.String getUploadToken();
/**
*
*
*
* The upload token used to create this new (simple) media item. Only
* populated if the media item is simple and required a single upload token.
*
*
* string upload_token = 1;
*
* @return The bytes for uploadToken.
*/
com.google.protobuf.ByteString getUploadTokenBytes();
/**
*
*
*
* If an error occurred during the creation of this media item, this field
* is populated with information related to the error. For details regarding
* this field, see <a href="#Status">Status</a>.
*
*
* .google.rpc.Status status = 2;
*
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
*
*
* If an error occurred during the creation of this media item, this field
* is populated with information related to the error. For details regarding
* this field, see <a href="#Status">Status</a>.
*
*
* .google.rpc.Status status = 2;
*
* @return The status.
*/
com.google.rpc.Status getStatus();
/**
*
*
*
* If an error occurred during the creation of this media item, this field
* is populated with information related to the error. For details regarding
* this field, see <a href="#Status">Status</a>.
*
*
* .google.rpc.Status status = 2;
*/
com.google.rpc.StatusOrBuilder getStatusOrBuilder();
/**
*
*
*
* Media item created with the upload token. It's populated if no errors
* occurred and the media item was created successfully.
*
*
* .google.photos.types.MediaItem media_item = 3;
*
* @return Whether the mediaItem field is set.
*/
boolean hasMediaItem();
/**
*
*
*
* Media item created with the upload token. It's populated if no errors
* occurred and the media item was created successfully.
*
*
* .google.photos.types.MediaItem media_item = 3;
*
* @return The mediaItem.
*/
com.google.photos.types.proto.MediaItem getMediaItem();
/**
*
*
*
* Media item created with the upload token. It's populated if no errors
* occurred and the media item was created successfully.
*
*
* .google.photos.types.MediaItem media_item = 3;
*/
com.google.photos.types.proto.MediaItemOrBuilder getMediaItemOrBuilder();
}