Returns a
Boolean with either
true,
null and in certain cases
false.
Case 1:
true the field
com.google.cloud.storage.Storage.BlobField#TEMPORARY_HOLD is selected in a
Storage#get(BlobId,Storage.BlobGetOption...) and temporary hold for the blob is enabled.
Case 2.1:
null the field
com.google.cloud.storage.Storage.BlobField#TEMPORARY_HOLD is selected in a
Storage#get(BlobId,Storage.BlobGetOption...), but temporary hold for the blob is not enabled.
This case can be considered implicitly
false.
Case 2.2:
null the field
com.google.cloud.storage.Storage.BlobField#TEMPORARY_HOLD is not selected in a
Storage#get(BlobId,Storage.BlobGetOption...), and the state for this field is unknown.
Case 3:
false event-based hold is explicitly set to false using in a
Builder#setEventBasedHold(Boolean) client side for a follow-up request e.g.
Storage#update(BlobInfo,Storage.BlobTargetOption...) in which case the value of temporary
hold will remain
false for the given instance.