@java.lang.Override
    public int getModalityValue() {
      return modality_;
    }
<pre>
The modality associated with this token count.
</pre>

<code>.google.cloud.vertexai.v1.Modality modality = 1;</code>

@return The enum numeric value on the wire for modality.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ModalityTokenCount.java