private void buildPartialRepeatedFields(
        com.google.cloud.vertexai.api.CountTokensRequest result) {
      if (instancesBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          instances_ = java.util.Collections.unmodifiableList(instances_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.instances_ = instances_;
      } else {
        result.instances_ = instancesBuilder_.build();
      }
      if (contentsBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)) {
          contents_ = java.util.Collections.unmodifiableList(contents_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.contents_ = contents_;
      } else {
        result.contents_ = contentsBuilder_.build();
      }
      if (toolsBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)) {
          tools_ = java.util.Collections.unmodifiableList(tools_);
          bitField0_ = (bitField0_ & ~0x00000020);
        }
        result.tools_ = tools_;
      } else {
        result.tools_ = toolsBuilder_.build();
      }
    }
<pre>
Request message for [PredictionService.CountTokens][].
</pre>

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