public java.lang.String getCachedContent() {
      java.lang.Object ref = cachedContent_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        cachedContent_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
<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>

@return The cachedContent.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java