public Builder setCachedContent(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      cachedContent_ = value;
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
<pre>
Optional. The name of the cached content used as context to serve the
prediction. Note: only used in explicit caching, where users can have
control over caching (e.g. what content to cache) and enjoy guaranteed cost
savings. Format:
`projects/{project}/locations/{location}/cachedContents/{cachedContent}`
</pre>

<code>
string cached_content = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
</code>

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