public Builder mergeFrom(com.google.cloud.vertexai.api.CachedContent.UsageMetadata other) {
        if (other == com.google.cloud.vertexai.api.CachedContent.UsageMetadata.getDefaultInstance())
          return this;
        if (other.getTotalTokenCount() != 0) {
          setTotalTokenCount(other.getTotalTokenCount());
        }
        if (other.getTextCount() != 0) {
          setTextCount(other.getTextCount());
        }
        if (other.getImageCount() != 0) {
          setImageCount(other.getImageCount());
        }
        if (other.getVideoDurationSeconds() != 0) {
          setVideoDurationSeconds(other.getVideoDurationSeconds());
        }
        if (other.getAudioDurationSeconds() != 0) {
          setAudioDurationSeconds(other.getAudioDurationSeconds());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Metadata on the usage of the cached content.
</pre>

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