public Builder setRewriteObject(
        com.google.cloud.storagebatchoperations.v1.RewriteObject value) {
      if (rewriteObjectBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        transformation_ = value;
        onChanged();
      } else {
        rewriteObjectBuilder_.setMessage(value);
      }
      transformationCase_ = 20;
      return this;
    }
<pre>
Rewrite the object and updates metadata like KMS key.
</pre>

<code>.google.cloud.storagebatchoperations.v1.RewriteObject rewrite_object = 20;</code>
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/Job.java