public Builder setTotalTokens(int value) {

      totalTokens_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
The total number of tokens counted across all instances from the request.
</pre>

<code>int32 total_tokens = 1;</code>

@param value The totalTokens to set.
@return This builder for chaining.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java