public Builder addShape(long value) {

      ensureShapeIsMutable();
      shape_.addLong(value);
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Shape of the tensor.
</pre>

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

@param value The shape to add.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java