public static FunctionDeclaration fromJsonObject(JsonObject jsonObject)
      throws InvalidProtocolBufferException {
    checkNotNull(jsonObject, "JsonObject can't be null.");
    return fromJsonString(jsonObject.toString());
  }
Creates a FunctionDeclaration from a JsonObject

@param jsonObject A valid Json Object that can be parsed to a FunctionDeclaration.
@return a {@link FunctionDeclaration} by parsing the input json Object.
@throws InvalidProtocolBufferException if the jsonObject can't be parsed into a
    FunctionDeclaration proto.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/FunctionDeclarationMaker.java