{
  "schema": "1.0",
  "comment": "This file maps proto services/RPCs to the corresponding library clients/methods.",
  "language": "go",
  "protoPackage": "google.ai.generativelanguage.v1beta",
  "libraryPackage": "cloud.google.com/go/ai/generativelanguage/apiv1beta",
  "services": {
    "CacheService": {
      "clients": {
        "grpc": {
          "libraryClient": "CacheClient",
          "rpcs": {
            "CreateCachedContent": {
              "methods": [
                "CreateCachedContent"
              ]
            },
            "DeleteCachedContent": {
              "methods": [
                "DeleteCachedContent"
              ]
            },
            "GetCachedContent": {
              "methods": [
                "GetCachedContent"
              ]
            },
            "ListCachedContents": {
              "methods": [
                "ListCachedContents"
              ]
            },
            "UpdateCachedContent": {
              "methods": [
                "UpdateCachedContent"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "CacheClient",
          "rpcs": {
            "CreateCachedContent": {
              "methods": [
                "CreateCachedContent"
              ]
            },
            "DeleteCachedContent": {
              "methods": [
                "DeleteCachedContent"
              ]
            },
            "GetCachedContent": {
              "methods": [
                "GetCachedContent"
              ]
            },
            "ListCachedContents": {
              "methods": [
                "ListCachedContents"
              ]
            },
            "UpdateCachedContent": {
              "methods": [
                "UpdateCachedContent"
              ]
            }
          }
        }
      }
    },
    "DiscussService": {
      "clients": {
        "grpc": {
          "libraryClient": "DiscussClient",
          "rpcs": {
            "CountMessageTokens": {
              "methods": [
                "CountMessageTokens"
              ]
            },
            "GenerateMessage": {
              "methods": [
                "GenerateMessage"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "DiscussClient",
          "rpcs": {
            "CountMessageTokens": {
              "methods": [
                "CountMessageTokens"
              ]
            },
            "GenerateMessage": {
              "methods": [
                "GenerateMessage"
              ]
            }
          }
        }
      }
    },
    "FileService": {
      "clients": {
        "grpc": {
          "libraryClient": "FileClient",
          "rpcs": {
            "CreateFile": {
              "methods": [
                "CreateFile"
              ]
            },
            "DeleteFile": {
              "methods": [
                "DeleteFile"
              ]
            },
            "GetFile": {
              "methods": [
                "GetFile"
              ]
            },
            "ListFiles": {
              "methods": [
                "ListFiles"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "FileClient",
          "rpcs": {
            "CreateFile": {
              "methods": [
                "CreateFile"
              ]
            },
            "DeleteFile": {
              "methods": [
                "DeleteFile"
              ]
            },
            "GetFile": {
              "methods": [
                "GetFile"
              ]
            },
            "ListFiles": {
              "methods": [
                "ListFiles"
              ]
            }
          }
        }
      }
    },
    "GenerativeService": {
      "clients": {
        "grpc": {
          "libraryClient": "GenerativeClient",
          "rpcs": {
            "BatchEmbedContents": {
              "methods": [
                "BatchEmbedContents"
              ]
            },
            "CountTokens": {
              "methods": [
                "CountTokens"
              ]
            },
            "EmbedContent": {
              "methods": [
                "EmbedContent"
              ]
            },
            "GenerateAnswer": {
              "methods": [
                "GenerateAnswer"
              ]
            },
            "GenerateContent": {
              "methods": [
                "GenerateContent"
              ]
            },
            "StreamGenerateContent": {
              "methods": [
                "StreamGenerateContent"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "GenerativeClient",
          "rpcs": {
            "BatchEmbedContents": {
              "methods": [
                "BatchEmbedContents"
              ]
            },
            "CountTokens": {
              "methods": [
                "CountTokens"
              ]
            },
            "EmbedContent": {
              "methods": [
                "EmbedContent"
              ]
            },
            "GenerateAnswer": {
              "methods": [
                "GenerateAnswer"
              ]
            },
            "GenerateContent": {
              "methods": [
                "GenerateContent"
              ]
            },
            "StreamGenerateContent": {
              "methods": [
                "StreamGenerateContent"
              ]
            }
          }
        }
      }
    },
    "ModelService": {
      "clients": {
        "grpc": {
          "libraryClient": "ModelClient",
          "rpcs": {
            "CreateTunedModel": {
              "methods": [
                "CreateTunedModel"
              ]
            },
            "DeleteTunedModel": {
              "methods": [
                "DeleteTunedModel"
              ]
            },
            "GetModel": {
              "methods": [
                "GetModel"
              ]
            },
            "GetTunedModel": {
              "methods": [
                "GetTunedModel"
              ]
            },
            "ListModels": {
              "methods": [
                "ListModels"
              ]
            },
            "ListTunedModels": {
              "methods": [
                "ListTunedModels"
              ]
            },
            "UpdateTunedModel": {
              "methods": [
                "UpdateTunedModel"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "ModelClient",
          "rpcs": {
            "CreateTunedModel": {
              "methods": [
                "CreateTunedModel"
              ]
            },
            "DeleteTunedModel": {
              "methods": [
                "DeleteTunedModel"
              ]
            },
            "GetModel": {
              "methods": [
                "GetModel"
              ]
            },
            "GetTunedModel": {
              "methods": [
                "GetTunedModel"
              ]
            },
            "ListModels": {
              "methods": [
                "ListModels"
              ]
            },
            "ListTunedModels": {
              "methods": [
                "ListTunedModels"
              ]
            },
            "UpdateTunedModel": {
              "methods": [
                "UpdateTunedModel"
              ]
            }
          }
        }
      }
    },
    "PermissionService": {
      "clients": {
        "grpc": {
          "libraryClient": "PermissionClient",
          "rpcs": {
            "CreatePermission": {
              "methods": [
                "CreatePermission"
              ]
            },
            "DeletePermission": {
              "methods": [
                "DeletePermission"
              ]
            },
            "GetPermission": {
              "methods": [
                "GetPermission"
              ]
            },
            "ListPermissions": {
              "methods": [
                "ListPermissions"
              ]
            },
            "TransferOwnership": {
              "methods": [
                "TransferOwnership"
              ]
            },
            "UpdatePermission": {
              "methods": [
                "UpdatePermission"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "PermissionClient",
          "rpcs": {
            "CreatePermission": {
              "methods": [
                "CreatePermission"
              ]
            },
            "DeletePermission": {
              "methods": [
                "DeletePermission"
              ]
            },
            "GetPermission": {
              "methods": [
                "GetPermission"
              ]
            },
            "ListPermissions": {
              "methods": [
                "ListPermissions"
              ]
            },
            "TransferOwnership": {
              "methods": [
                "TransferOwnership"
              ]
            },
            "UpdatePermission": {
              "methods": [
                "UpdatePermission"
              ]
            }
          }
        }
      }
    },
    "RetrieverService": {
      "clients": {
        "grpc": {
          "libraryClient": "RetrieverClient",
          "rpcs": {
            "BatchCreateChunks": {
              "methods": [
                "BatchCreateChunks"
              ]
            },
            "BatchDeleteChunks": {
              "methods": [
                "BatchDeleteChunks"
              ]
            },
            "BatchUpdateChunks": {
              "methods": [
                "BatchUpdateChunks"
              ]
            },
            "CreateChunk": {
              "methods": [
                "CreateChunk"
              ]
            },
            "CreateCorpus": {
              "methods": [
                "CreateCorpus"
              ]
            },
            "CreateDocument": {
              "methods": [
                "CreateDocument"
              ]
            },
            "DeleteChunk": {
              "methods": [
                "DeleteChunk"
              ]
            },
            "DeleteCorpus": {
              "methods": [
                "DeleteCorpus"
              ]
            },
            "DeleteDocument": {
              "methods": [
                "DeleteDocument"
              ]
            },
            "GetChunk": {
              "methods": [
                "GetChunk"
              ]
            },
            "GetCorpus": {
              "methods": [
                "GetCorpus"
              ]
            },
            "GetDocument": {
              "methods": [
                "GetDocument"
              ]
            },
            "ListChunks": {
              "methods": [
                "ListChunks"
              ]
            },
            "ListCorpora": {
              "methods": [
                "ListCorpora"
              ]
            },
            "ListDocuments": {
              "methods": [
                "ListDocuments"
              ]
            },
            "QueryCorpus": {
              "methods": [
                "QueryCorpus"
              ]
            },
            "QueryDocument": {
              "methods": [
                "QueryDocument"
              ]
            },
            "UpdateChunk": {
              "methods": [
                "UpdateChunk"
              ]
            },
            "UpdateCorpus": {
              "methods": [
                "UpdateCorpus"
              ]
            },
            "UpdateDocument": {
              "methods": [
                "UpdateDocument"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "RetrieverClient",
          "rpcs": {
            "BatchCreateChunks": {
              "methods": [
                "BatchCreateChunks"
              ]
            },
            "BatchDeleteChunks": {
              "methods": [
                "BatchDeleteChunks"
              ]
            },
            "BatchUpdateChunks": {
              "methods": [
                "BatchUpdateChunks"
              ]
            },
            "CreateChunk": {
              "methods": [
                "CreateChunk"
              ]
            },
            "CreateCorpus": {
              "methods": [
                "CreateCorpus"
              ]
            },
            "CreateDocument": {
              "methods": [
                "CreateDocument"
              ]
            },
            "DeleteChunk": {
              "methods": [
                "DeleteChunk"
              ]
            },
            "DeleteCorpus": {
              "methods": [
                "DeleteCorpus"
              ]
            },
            "DeleteDocument": {
              "methods": [
                "DeleteDocument"
              ]
            },
            "GetChunk": {
              "methods": [
                "GetChunk"
              ]
            },
            "GetCorpus": {
              "methods": [
                "GetCorpus"
              ]
            },
            "GetDocument": {
              "methods": [
                "GetDocument"
              ]
            },
            "ListChunks": {
              "methods": [
                "ListChunks"
              ]
            },
            "ListCorpora": {
              "methods": [
                "ListCorpora"
              ]
            },
            "ListDocuments": {
              "methods": [
                "ListDocuments"
              ]
            },
            "QueryCorpus": {
              "methods": [
                "QueryCorpus"
              ]
            },
            "QueryDocument": {
              "methods": [
                "QueryDocument"
              ]
            },
            "UpdateChunk": {
              "methods": [
                "UpdateChunk"
              ]
            },
            "UpdateCorpus": {
              "methods": [
                "UpdateCorpus"
              ]
            },
            "UpdateDocument": {
              "methods": [
                "UpdateDocument"
              ]
            }
          }
        }
      }
    },
    "TextService": {
      "clients": {
        "grpc": {
          "libraryClient": "TextClient",
          "rpcs": {
            "BatchEmbedText": {
              "methods": [
                "BatchEmbedText"
              ]
            },
            "CountTextTokens": {
              "methods": [
                "CountTextTokens"
              ]
            },
            "EmbedText": {
              "methods": [
                "EmbedText"
              ]
            },
            "GenerateText": {
              "methods": [
                "GenerateText"
              ]
            }
          }
        },
        "rest": {
          "libraryClient": "TextClient",
          "rpcs": {
            "BatchEmbedText": {
              "methods": [
                "BatchEmbedText"
              ]
            },
            "CountTextTokens": {
              "methods": [
                "CountTextTokens"
              ]
            },
            "EmbedText": {
              "methods": [
                "EmbedText"
              ]
            },
            "GenerateText": {
              "methods": [
                "GenerateText"
              ]
            }
          }
        }
      }
    }
  }
}
