Interface NewMediaItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NewMediaItem
,NewMediaItem.Builder
public interface NewMediaItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Description of the media item.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the media item.NewMediaItem.NewMediaItemTypeCase
getNewMediaItemTypeCase()
SimpleMediaItem
getSimpleMediaItem()
A new media item that has been uploaded via the included `uploadToken`.SimpleMediaItemOrBuilder
getSimpleMediaItemOrBuilder()
A new media item that has been uploaded via the included `uploadToken`.boolean
hasSimpleMediaItem()
A new media item that has been uploaded via the included `uploadToken`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescription
java.lang.String getDescription()
Description of the media item. This will be shown to the user in the item's info section in the Google Photos app. This string shouldn't be more than 1000 characters.
string description = 1;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the media item. This will be shown to the user in the item's info section in the Google Photos app. This string shouldn't be more than 1000 characters.
string description = 1;
- Returns:
- The bytes for description.
-
hasSimpleMediaItem
boolean hasSimpleMediaItem()
A new media item that has been uploaded via the included `uploadToken`.
.google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
- Returns:
- Whether the simpleMediaItem field is set.
-
getSimpleMediaItem
SimpleMediaItem getSimpleMediaItem()
A new media item that has been uploaded via the included `uploadToken`.
.google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
- Returns:
- The simpleMediaItem.
-
getSimpleMediaItemOrBuilder
SimpleMediaItemOrBuilder getSimpleMediaItemOrBuilder()
A new media item that has been uploaded via the included `uploadToken`.
.google.photos.library.v1.SimpleMediaItem simple_media_item = 2;
-
getNewMediaItemTypeCase
NewMediaItem.NewMediaItemTypeCase getNewMediaItemTypeCase()
-
-