Interface SimpleMediaItemOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFileName()
      File name with extension of the media item.
      com.google.protobuf.ByteString getFileNameBytes()
      File name with extension of the media item.
      java.lang.String getUploadToken()
      Token identifying the media bytes that have been uploaded to Google.
      com.google.protobuf.ByteString getUploadTokenBytes()
      Token identifying the media bytes that have been uploaded to Google.
      • 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

      • getUploadToken

        java.lang.String getUploadToken()
         Token identifying the media bytes that have been uploaded to Google.
         
        string upload_token = 1;
        Returns:
        The uploadToken.
      • getUploadTokenBytes

        com.google.protobuf.ByteString getUploadTokenBytes()
         Token identifying the media bytes that have been uploaded to Google.
         
        string upload_token = 1;
        Returns:
        The bytes for uploadToken.
      • getFileName

        java.lang.String getFileName()
         File name with extension of the media item. This is shown to the user in
         Google Photos. The file name specified during the <a
         href="https://developers.google.com/photos/library/guides/upload-media">byte
         upload process</a> is ignored if this field is set. The file name,
         including the file extension, shouldn't be more than 255 characters. This
         is an optional field.
         
        string file_name = 2;
        Returns:
        The fileName.
      • getFileNameBytes

        com.google.protobuf.ByteString getFileNameBytes()
         File name with extension of the media item. This is shown to the user in
         Google Photos. The file name specified during the <a
         href="https://developers.google.com/photos/library/guides/upload-media">byte
         upload process</a> is ignored if this field is set. The file name,
         including the file extension, shouldn't be more than 255 characters. This
         is an optional field.
         
        string file_name = 2;
        Returns:
        The bytes for fileName.