Interface NewMediaItemResultOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NewMediaItemResult,NewMediaItemResult.Builder
public interface NewMediaItemResultOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MediaItemgetMediaItem()Media item created with the upload token.MediaItemOrBuildergetMediaItemOrBuilder()Media item created with the upload token.com.google.rpc.StatusgetStatus()If an error occurred during the creation of this media item, this field is populated with information related to the error.com.google.rpc.StatusOrBuildergetStatusOrBuilder()If an error occurred during the creation of this media item, this field is populated with information related to the error.java.lang.StringgetUploadToken()The upload token used to create this new media item.com.google.protobuf.ByteStringgetUploadTokenBytes()The upload token used to create this new media item.booleanhasMediaItem()Media item created with the upload token.booleanhasStatus()If an error occurred during the creation of this media item, this field is populated with information related to the error.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUploadToken
java.lang.String getUploadToken()
The upload token used to create this new media item.
string upload_token = 1;
-
getUploadTokenBytes
com.google.protobuf.ByteString getUploadTokenBytes()
The upload token used to create this new media item.
string upload_token = 1;
-
hasStatus
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;
-
getStatus
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;
-
getStatusOrBuilder
com.google.rpc.StatusOrBuilder getStatusOrBuilder()
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;
-
hasMediaItem
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;
-
getMediaItem
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;
-
getMediaItemOrBuilder
MediaItemOrBuilder getMediaItemOrBuilder()
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;
-
-