code: public final Context createContext(String parent, Context context) {
  
      CreateContextRequest request =
          CreateContextRequest.newBuilder().setParent(parent).setContext(context).build();
      return createContext(request);
    }
docs: Creates a context.
  
  <p>If the specified context already exists, overrides the context.
  
  <p>Sample code:
  
  <pre><code>
  try (ContextsClient contextsClient = ContextsClient.create()) {
  SessionName parent = SessionName.of("[PROJECT]", "[SESSION]");
  Context context = Context.newBuilder().build();
  Context response = contextsClient.createContext(parent.toString(), context);
  }
  </code></pre>
  
  @param parent Required. The session to create a context for. Format: `projects/&lt;Project
  ID&gt;/agent/sessions/&lt;Session ID&gt;` or `projects/&lt;Project
  ID&gt;/agent/environments/&lt;Environment ID&gt;/users/&lt;User ID&gt;/sessions/&lt;Session
  ID&gt;`. If `Environment ID` is not specified, we assume default 'draft' environment. If
  `User ID` is not specified, we assume default '-' user.
  @param context Required. The context to create.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails