public float getFloatVal(int index) {
    return floatVal_.getFloat(index);
  }
<pre>
[FLOAT][google.cloud.aiplatform.v1.Tensor.DataType.FLOAT]
</pre>

<code>repeated float float_val = 5;</code>

@param index The index of the element to return.
@return The floatVal at the given index.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/Tensor.java