title: com.google.cloud.storage.StorageException 404 in blob.getContent()
body: <p>I'm running a service that either creates or updates objects in a GCP bucket. I.e my code checks if the object exists, and if it does my code reads it, updates it and writes it back.
  Occasionally I'm getting an exception when trying to read the object.
  My code: </p>
  
  <pre><code>Storage storage = googleStorage.get();
  BlobId blobId = BlobId.of(STORAGE_BUCKET, "path/to.obj"));
  Blob blob = storage.get(blobId);
  
  if (blob == null) return null;
  
  byte[] blobContent = blob.getContent();
  ...
  </code></pre>
  
  <p>The stacktrace:</p>
  
  <pre><code>...
  at com.google.cloud.storage.Blob.getContent(Blob.java:455)
  at com.google.cloud.storage.StorageImpl.readAllBytes(StorageImpl.java:461)
  at com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:51)
  at com.google.cloud.RetryHelper.run(RetryHelper.java:74)
  at com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:89)
  at com.google.cloud.storage.StorageImpl$16.call(StorageImpl.java:461)
  at com.google.cloud.storage.StorageImpl$16.call(StorageImpl.java:464)
  at com.google.cloud.storage.spi.v1.HttpStorageRpc.load(HttpStorageRpc.java:588)
  at com.google.cloud.storage.spi.v1.HttpStorageRpc.translate(HttpStorageRpc.java:220)
  No such object: bucket/path/to.obj
  com.google.cloud.storage.StorageException: 404 Not Found
  </code></pre>
  
  <p>I would expect to get null in <code>blob</code> if the object does not exist, or to be able to read if <code>blob</code> isn't null.</p>
  
  <p>This behavior results in the object being updated several times (not sure if this is because my code retries the call or because of something the storage library is doing).</p>
  
  <p>I'm using google-cloud-storage 1.27.0, it happens about once per ~10K objects.</p>