@java.lang.Override
  public com.google.cloud.storagebatchoperations.v1.RewriteObject getRewriteObject() {
    if (transformationCase_ == 20) {
      return (com.google.cloud.storagebatchoperations.v1.RewriteObject) transformation_;
    }
    return com.google.cloud.storagebatchoperations.v1.RewriteObject.getDefaultInstance();
  }
<pre>
Rewrite the object and updates metadata like KMS key.
</pre>

<code>.google.cloud.storagebatchoperations.v1.RewriteObject rewrite_object = 20;</code>

@return The rewriteObject.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/Job.java