public Builder setTemporaryHold(
        com.google.cloud.storagebatchoperations.v1.PutObjectHold.HoldStatus value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      temporaryHold_ = value.getNumber();
      onChanged();
      return this;
    }
<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>

@param value The temporaryHold to set.
@return This builder for chaining.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/PutObjectHold.java