@Test public void retainsProperties() throws Exception { FirebaseStorage instance = FirebaseStorage.getInstance(); instance.setMaxDownloadRetryTimeMillis(42); instance.setMaxUploadRetryTimeMillis(1337); Assert.assertEquals(42, instance.getReference().getStorage().getMaxDownloadRetryTimeMillis()); Assert.assertEquals(1337, instance.getReference().getStorage().getMaxUploadRetryTimeMillis()); }
@NonNull public FirebaseStorage getStorage() { return mFirebaseStorage; }
StorageReference implements Comparable<StorageReference> { @NonNull public FirebaseStorage getStorage() { return mFirebaseStorage; } }
StorageReference implements Comparable<StorageReference> { @NonNull public FirebaseStorage getStorage() { return mFirebaseStorage; } @SuppressWarnings("ConstantConditions")  StorageReference(@NonNull Uri storageUri, @NonNull FirebaseStorage firebaseStorage); }
StorageReference implements Comparable<StorageReference> { @NonNull public FirebaseStorage getStorage() { return mFirebaseStorage; } @SuppressWarnings("ConstantConditions")  StorageReference(@NonNull Uri storageUri, @NonNull FirebaseStorage firebaseStorage); @NonNull StorageReference child(@NonNull String pathString); @Nullable StorageReference getParent(); @NonNull StorageReference getRoot(); @NonNull String getName(); @NonNull String getPath(); @NonNull String getBucket(); @NonNull FirebaseStorage getStorage(); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putBytes(@NonNull byte[] bytes); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putBytes(@NonNull byte[] bytes, @NonNull StorageMetadata metadata); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(@NonNull Uri uri); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(@NonNull Uri uri, @NonNull StorageMetadata metadata); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(
      @NonNull Uri uri, @Nullable StorageMetadata metadata, @Nullable Uri existingUploadUri); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putStream(@NonNull InputStream stream); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putStream(@NonNull InputStream stream, @NonNull StorageMetadata metadata); @NonNull List<UploadTask> getActiveUploadTasks(); @NonNull List<FileDownloadTask> getActiveDownloadTasks(); @SuppressWarnings("deprecation") @NonNull Task<StorageMetadata> getMetadata(); @SuppressWarnings("deprecation,unused") @NonNull Task<Uri> getDownloadUrl(); @SuppressWarnings("deprecation") @NonNull Task<StorageMetadata> updateMetadata(@NonNull StorageMetadata metadata); @SuppressWarnings("deprecation") @NonNull Task<byte[]> getBytes(final long maxDownloadSizeBytes); @NonNull FileDownloadTask getFile(@NonNull Uri destinationUri); @NonNull FileDownloadTask getFile(@NonNull File destinationFile); @NonNull StreamDownloadTask getStream(); @NonNull StreamDownloadTask getStream(@NonNull StreamDownloadTask.StreamProcessor processor); @NonNull Task<Void> delete(); @NonNull Task<ListResult> list(int maxResults); @NonNull Task<ListResult> list(int maxResults, @NonNull String pageToken); @NonNull Task<ListResult> listAll(); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); @Override int compareTo(@NonNull StorageReference other); }
StorageReference implements Comparable<StorageReference> { @NonNull public FirebaseStorage getStorage() { return mFirebaseStorage; } @SuppressWarnings("ConstantConditions")  StorageReference(@NonNull Uri storageUri, @NonNull FirebaseStorage firebaseStorage); @NonNull StorageReference child(@NonNull String pathString); @Nullable StorageReference getParent(); @NonNull StorageReference getRoot(); @NonNull String getName(); @NonNull String getPath(); @NonNull String getBucket(); @NonNull FirebaseStorage getStorage(); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putBytes(@NonNull byte[] bytes); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putBytes(@NonNull byte[] bytes, @NonNull StorageMetadata metadata); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(@NonNull Uri uri); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(@NonNull Uri uri, @NonNull StorageMetadata metadata); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putFile(
      @NonNull Uri uri, @Nullable StorageMetadata metadata, @Nullable Uri existingUploadUri); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putStream(@NonNull InputStream stream); @SuppressWarnings("ConstantConditions") @NonNull UploadTask putStream(@NonNull InputStream stream, @NonNull StorageMetadata metadata); @NonNull List<UploadTask> getActiveUploadTasks(); @NonNull List<FileDownloadTask> getActiveDownloadTasks(); @SuppressWarnings("deprecation") @NonNull Task<StorageMetadata> getMetadata(); @SuppressWarnings("deprecation,unused") @NonNull Task<Uri> getDownloadUrl(); @SuppressWarnings("deprecation") @NonNull Task<StorageMetadata> updateMetadata(@NonNull StorageMetadata metadata); @SuppressWarnings("deprecation") @NonNull Task<byte[]> getBytes(final long maxDownloadSizeBytes); @NonNull FileDownloadTask getFile(@NonNull Uri destinationUri); @NonNull FileDownloadTask getFile(@NonNull File destinationFile); @NonNull StreamDownloadTask getStream(); @NonNull StreamDownloadTask getStream(@NonNull StreamDownloadTask.StreamProcessor processor); @NonNull Task<Void> delete(); @NonNull Task<ListResult> list(int maxResults); @NonNull Task<ListResult> list(int maxResults, @NonNull String pageToken); @NonNull Task<ListResult> listAll(); @Override String toString(); @Override boolean equals(Object other); @Override int hashCode(); @Override int compareTo(@NonNull StorageReference other);  }