private void buildPartialRepeatedFields(
          com.google.cloud.vertexai.api.GenerateContentResponse.UsageMetadata result) {
        if (promptTokensDetailsBuilder_ == null) {
          if (((bitField0_ & 0x00000010) != 0)) {
            promptTokensDetails_ = java.util.Collections.unmodifiableList(promptTokensDetails_);
            bitField0_ = (bitField0_ & ~0x00000010);
          }
          result.promptTokensDetails_ = promptTokensDetails_;
        } else {
          result.promptTokensDetails_ = promptTokensDetailsBuilder_.build();
        }
        if (cacheTokensDetailsBuilder_ == null) {
          if (((bitField0_ & 0x00000020) != 0)) {
            cacheTokensDetails_ = java.util.Collections.unmodifiableList(cacheTokensDetails_);
            bitField0_ = (bitField0_ & ~0x00000020);
          }
          result.cacheTokensDetails_ = cacheTokensDetails_;
        } else {
          result.cacheTokensDetails_ = cacheTokensDetailsBuilder_.build();
        }
        if (candidatesTokensDetailsBuilder_ == null) {
          if (((bitField0_ & 0x00000040) != 0)) {
            candidatesTokensDetails_ =
                java.util.Collections.unmodifiableList(candidatesTokensDetails_);
            bitField0_ = (bitField0_ & ~0x00000040);
          }
          result.candidatesTokensDetails_ = candidatesTokensDetails_;
        } else {
          result.candidatesTokensDetails_ = candidatesTokensDetailsBuilder_.build();
        }
      }
<pre>
Usage metadata about response(s).
</pre>

Protobuf type {@code google.cloud.vertexai.v1.GenerateContentResponse.UsageMetadata}
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java