private void buildPartialOneofs(com.google.cloud.vertexai.api.CachedContent result) {
      result.expirationCase_ = expirationCase_;
      result.expiration_ = this.expiration_;
      if (expirationCase_ == 9 && expireTimeBuilder_ != null) {
        result.expiration_ = expireTimeBuilder_.build();
      }
      if (expirationCase_ == 10 && ttlBuilder_ != null) {
        result.expiration_ = ttlBuilder_.build();
      }
    }
<pre>
A resource used in LLM queries for users to explicitly specify what to cache
and how to cache.
</pre>

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