@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    getSerializedSize();
    if (getValuesList().size() > 0) {
      output.writeUInt32NoTag(10);
      output.writeUInt32NoTag(valuesMemoizedSerializedSize);
    }
    for (int i = 0; i < values_.size(); i++) {
      output.writeBoolNoTag(values_.getBoolean(i));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
A list of bool values.
</pre>

<code>repeated bool values = 1;</code>

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