private void ensureBoolValIsMutable() {
      if (!boolVal_.isModifiable()) {
        boolVal_ = makeMutableCopy(boolVal_);
      }
      bitField0_ |= 0x00000004;
    }
<pre>
Shape of the tensor.
</pre>

<code>repeated int64 shape = 2;</code>

@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java