Interface MediaItemResultOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MediaItemResult, MediaItemResult.Builder

    public interface MediaItemResultOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      MediaItem getMediaItem()
      Media item retrieved from the user's library.
      MediaItemOrBuilder getMediaItemOrBuilder()
      Media item retrieved from the user's library.
      com.google.rpc.Status getStatus()
      If an error occurred while accessing this media item, this field is populated with information related to the error.
      com.google.rpc.StatusOrBuilder getStatusOrBuilder()
      If an error occurred while accessing this media item, this field is populated with information related to the error.
      boolean hasMediaItem()
      Media item retrieved from the user's library.
      boolean hasStatus()
      If an error occurred while accessing this media item, this field is populated with information related to the error.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasStatus

        boolean hasStatus()
         If an error occurred while accessing this media item, this field
         is populated with information related to the error. For details regarding
         this field, see [Status][google.rpc.Status].
         
        .google.rpc.Status status = 1;
        Returns:
        Whether the status field is set.
      • getStatus

        com.google.rpc.Status getStatus()
         If an error occurred while accessing this media item, this field
         is populated with information related to the error. For details regarding
         this field, see [Status][google.rpc.Status].
         
        .google.rpc.Status status = 1;
        Returns:
        The status.
      • getStatusOrBuilder

        com.google.rpc.StatusOrBuilder getStatusOrBuilder()
         If an error occurred while accessing this media item, this field
         is populated with information related to the error. For details regarding
         this field, see [Status][google.rpc.Status].
         
        .google.rpc.Status status = 1;
      • hasMediaItem

        boolean hasMediaItem()
         Media item retrieved from the user's library. It's populated if no errors
         occurred and the media item was fetched successfully.
         
        .google.photos.types.MediaItem media_item = 2;
        Returns:
        Whether the mediaItem field is set.
      • getMediaItem

        MediaItem getMediaItem()
         Media item retrieved from the user's library. It's populated if no errors
         occurred and the media item was fetched successfully.
         
        .google.photos.types.MediaItem media_item = 2;
        Returns:
        The mediaItem.
      • getMediaItemOrBuilder

        MediaItemOrBuilder getMediaItemOrBuilder()
         Media item retrieved from the user's library. It's populated if no errors
         occurred and the media item was fetched successfully.
         
        .google.photos.types.MediaItem media_item = 2;