public Builder addAllShape(java.lang.Iterable<? extends java.lang.Long> values) {
      ensureShapeIsMutable();
      com.google.protobuf.AbstractMessageLite.Builder.addAll(values, shape_);
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Shape of the tensor.
</pre>

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

@param values 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