private Content removeRoleInSystemInstructionContent(Content systemInstruction) {
    return systemInstruction.toBuilder().clearRole().build();
  }
Removes the role in the system instruction content.

@param systemInstruction a {@link com.google.cloud.vertexai.api.Content} instance
@return a {@link com.google.cloud.vertexai.api.Content} instance with the role removed
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/GenerativeModel.java