role

public abstract Content.Builder role(String role)

Setter for role.

role: Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'.