private void buildPartial0(com.google.cloud.vertexai.api.Tensor result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.dtype_ = dtype_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        shape_.makeImmutable();
        result.shape_ = shape_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        boolVal_.makeImmutable();
        result.boolVal_ = boolVal_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        stringVal_.makeImmutable();
        result.stringVal_ = stringVal_;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        bytesVal_.makeImmutable();
        result.bytesVal_ = bytesVal_;
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        floatVal_.makeImmutable();
        result.floatVal_ = floatVal_;
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        doubleVal_.makeImmutable();
        result.doubleVal_ = doubleVal_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        intVal_.makeImmutable();
        result.intVal_ = intVal_;
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        int64Val_.makeImmutable();
        result.int64Val_ = int64Val_;
      }
      if (((from_bitField0_ & 0x00000200) != 0)) {
        uintVal_.makeImmutable();
        result.uintVal_ = uintVal_;
      }
      if (((from_bitField0_ & 0x00000400) != 0)) {
        uint64Val_.makeImmutable();
        result.uint64Val_ = uint64Val_;
      }
      if (((from_bitField0_ & 0x00001000) != 0)) {
        result.structVal_ = internalGetStructVal().build(StructValDefaultEntryHolder.defaultEntry);
      }
      if (((from_bitField0_ & 0x00002000) != 0)) {
        result.tensorVal_ = tensorVal_;
      }
    }
<pre>
A tensor value type.
</pre>

Protobuf type {@code google.cloud.vertexai.v1.Tensor}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java