public static Part fromFunctionResponse(String name, Struct response) {
    return Part.newBuilder()
        .setFunctionResponse(FunctionResponse.newBuilder().setName(name).setResponse(response))
        .build();
  }
Makes a {@link com.google.cloud.vertexai.api.Part} from the output of {@link
com.google.cloud.vertexai.api.FunctionCall}.

@param name a string represents the name of the {@link
    com.google.cloud.vertexai.api.FunctionDeclaration}
@param response a structured JSON object containing any output from the function call
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/PartMaker.java