@java.lang.Override
    public com.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus getTemporaryHold() {
      com.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus result =
          com.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus.forNumber(
              temporaryHold_);
      return result == null
          ? com.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus.UNRECOGNIZED
          : result;
    }
<pre>
Required. Updates object temporary holds state. When object temporary hold
is set, object cannot be deleted or replaced.
</pre>

<code>
.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus temporary_hold = 1 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The temporaryHold.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/PutObjectHold.java