public Builder removePromptTokensDetails(int index) {
        if (promptTokensDetailsBuilder_ == null) {
          ensurePromptTokensDetailsIsMutable();
          promptTokensDetails_.remove(index);
          onChanged();
        } else {
          promptTokensDetailsBuilder_.remove(index);
        }
        return this;
      }
<pre>
Output only. List of modalities that were processed in the request input.
</pre>

<code>
repeated .google.cloud.vertexai.v1.ModalityTokenCount prompt_tokens_details = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java