From 4a16fdfc56d6158800924a7ec4260cb8b6725b4a Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Wed, 11 May 2022 08:29:55 +0200 Subject: wp --- Makefile | 10 +- auth/README.md | 27 - auth/extract_test.go | 89 - auth/rpccredentials.go | 33 - auth/token.go | 141 - client/client_test.go | 11 - client/dial.go | 67 - client/dial_test.go | 630 -- client/pool.go | 103 - client/pool_options.go | 39 - client/pool_test.go | 255 - client/receive_pack.go | 42 - client/sidechannel.go | 100 - client/testdata/gitalycert.pem | 34 - client/testdata/gitalykey.pem | 52 - client/upload_archive.go | 42 - client/upload_pack.go | 65 - cmd/gitaly-backup/create.go | 4 +- cmd/gitaly-backup/create_test.go | 10 +- cmd/gitaly-backup/main.go | 2 +- cmd/gitaly-backup/restore.go | 4 +- cmd/gitaly-backup/restore_test.go | 10 +- cmd/gitaly-backup/testhelper_test.go | 2 +- cmd/gitaly-blackbox/main.go | 6 +- cmd/gitaly-debug/analyzehttp.go | 2 +- cmd/gitaly-debug/bitmap.go | 2 +- cmd/gitaly-debug/simulatehttp.go | 2 +- cmd/gitaly-git2go-v14/apply.go | 4 +- cmd/gitaly-git2go-v14/cherry_pick.go | 4 +- cmd/gitaly-git2go-v14/cherry_pick_test.go | 10 +- cmd/gitaly-git2go-v14/commit.go | 2 +- cmd/gitaly-git2go-v14/commit/change_file_mode.go | 2 +- cmd/gitaly-git2go-v14/commit/commit.go | 4 +- cmd/gitaly-git2go-v14/commit/create_directory.go | 2 +- cmd/gitaly-git2go-v14/commit/create_file.go | 2 +- cmd/gitaly-git2go-v14/commit/delete_file.go | 2 +- cmd/gitaly-git2go-v14/commit/move_file.go | 2 +- cmd/gitaly-git2go-v14/commit/update_file.go | 2 +- cmd/gitaly-git2go-v14/commit/validate.go | 2 +- cmd/gitaly-git2go-v14/conflicts.go | 6 +- cmd/gitaly-git2go-v14/conflicts_test.go | 10 +- cmd/gitaly-git2go-v14/main.go | 4 +- cmd/gitaly-git2go-v14/merge.go | 4 +- cmd/gitaly-git2go-v14/merge_test.go | 12 +- cmd/gitaly-git2go-v14/rebase.go | 4 +- cmd/gitaly-git2go-v14/rebase_test.go | 14 +- cmd/gitaly-git2go-v14/resolve_conflicts.go | 6 +- cmd/gitaly-git2go-v14/revert.go | 4 +- cmd/gitaly-git2go-v14/revert_test.go | 10 +- cmd/gitaly-git2go-v14/submodule.go | 4 +- cmd/gitaly-git2go-v14/submodule_test.go | 14 +- cmd/gitaly-git2go-v14/testhelper/testhelper.go | 2 +- cmd/gitaly-git2go-v14/testhelper_test.go | 8 +- cmd/gitaly-hooks/hooks.go | 18 +- cmd/gitaly-hooks/hooks_test.go | 32 +- cmd/gitaly-lfs-smudge/lfs_smudge.go | 8 +- cmd/gitaly-lfs-smudge/lfs_smudge_test.go | 6 +- cmd/gitaly-ssh/auth_test.go | 30 +- cmd/gitaly-ssh/main.go | 2 +- cmd/gitaly-ssh/main_test.go | 2 +- cmd/gitaly-ssh/testhelper_test.go | 2 +- cmd/gitaly-ssh/upload_pack_test.go | 12 +- cmd/gitaly-wrapper/main.go | 8 +- cmd/gitaly-wrapper/main_test.go | 6 +- cmd/gitaly-wrapper/testhelper_test.go | 2 +- cmd/gitaly/main.go | 64 +- cmd/praefect/main.go | 40 +- cmd/praefect/main_test.go | 12 +- cmd/praefect/subcmd.go | 8 +- cmd/praefect/subcmd_accept_dataloss.go | 2 +- cmd/praefect/subcmd_accept_dataloss_test.go | 10 +- cmd/praefect/subcmd_check.go | 4 +- cmd/praefect/subcmd_check_test.go | 4 +- cmd/praefect/subcmd_dataloss.go | 2 +- cmd/praefect/subcmd_dataloss_test.go | 10 +- cmd/praefect/subcmd_dial_nodes.go | 4 +- cmd/praefect/subcmd_dial_nodes_test.go | 2 +- cmd/praefect/subcmd_list_untracked_repositories.go | 10 +- .../subcmd_list_untracked_repositories_test.go | 14 +- cmd/praefect/subcmd_metadata.go | 2 +- cmd/praefect/subcmd_metadata_test.go | 10 +- cmd/praefect/subcmd_remove_repository.go | 8 +- cmd/praefect/subcmd_remove_repository_test.go | 16 +- cmd/praefect/subcmd_set_replication_factor.go | 2 +- cmd/praefect/subcmd_set_replication_factor_test.go | 12 +- cmd/praefect/subcmd_sql_migrate.go | 6 +- cmd/praefect/subcmd_sql_migrate_down.go | 4 +- cmd/praefect/subcmd_sql_migrate_status.go | 4 +- cmd/praefect/subcmd_sql_migrate_test.go | 6 +- cmd/praefect/subcmd_sql_ping.go | 4 +- cmd/praefect/subcmd_test.go | 2 +- cmd/praefect/subcmd_track_repository.go | 14 +- cmd/praefect/subcmd_track_repository_test.go | 20 +- cmd/praefect/subcmd_verify.go | 2 +- cmd/praefect/subcmd_verify_test.go | 10 +- go.mod | 20 +- go.sum | 234 +- internal/backchannel/backchannel_example_test.go | 4 +- internal/backchannel/backchannel_test.go | 4 +- internal/backup/backup.go | 8 +- internal/backup/backup_test.go | 16 +- internal/backup/filesystem_sink_test.go | 2 +- internal/backup/lazy_test.go | 2 +- internal/backup/locator.go | 2 +- internal/backup/locator_test.go | 4 +- internal/backup/pipeline.go | 2 +- internal/backup/pipeline_test.go | 4 +- internal/backup/storage_service_sink_test.go | 2 +- internal/backup/testhelper_test.go | 2 +- internal/blackbox/blackbox.go | 8 +- internal/blackbox/config.go | 2 +- internal/bootstrap/bootstrap.go | 4 +- internal/bootstrap/bootstrap_test.go | 4 +- internal/bootstrap/starter/starter.go | 2 +- internal/bootstrap/testhelper_test.go | 2 +- internal/cache/diskcache.go | 8 +- internal/cache/diskcache_test.go | 10 +- internal/cache/keyer.go | 8 +- internal/cache/testhelper_test.go | 2 +- internal/cache/walker.go | 6 +- internal/cache/walker_test.go | 6 +- internal/cgroups/cgroups.go | 4 +- internal/cgroups/cgroups_linux_test.go | 4 +- internal/cgroups/mock_linux_test.go | 2 +- internal/cgroups/noop.go | 2 +- internal/cgroups/v1.go | 2 +- internal/cgroups/v1_linux.go | 6 +- internal/cgroups/v1_linux_test.go | 6 +- internal/command/command.go | 2 +- internal/command/command_test.go | 2 +- internal/command/stats_test.go | 2 +- internal/dontpanic/retry.go | 2 +- internal/dontpanic/retry_test.go | 2 +- internal/dontpanic/testhelper_test.go | 2 +- internal/git/bitmap.go | 4 +- internal/git/catfile/cache.go | 10 +- internal/git/catfile/cache_test.go | 10 +- internal/git/catfile/commit.go | 6 +- internal/git/catfile/commit_test.go | 6 +- internal/git/catfile/object_info_reader.go | 4 +- internal/git/catfile/object_info_reader_test.go | 10 +- internal/git/catfile/object_reader.go | 4 +- internal/git/catfile/object_reader_test.go | 10 +- internal/git/catfile/parser.go | 4 +- internal/git/catfile/parser_test.go | 4 +- internal/git/catfile/request_queue.go | 2 +- internal/git/catfile/tag.go | 4 +- internal/git/catfile/tag_test.go | 8 +- internal/git/catfile/testhelper_test.go | 16 +- internal/git/catfile/tree_entries.go | 2 +- internal/git/command_factory.go | 16 +- internal/git/command_factory_cgroup_test.go | 10 +- internal/git/command_factory_test.go | 14 +- internal/git/command_options.go | 10 +- internal/git/command_options_test.go | 6 +- internal/git/decoder_test.go | 10 +- internal/git/dirs_test.go | 2 +- internal/git/execution_environment.go | 4 +- internal/git/execution_environment_test.go | 6 +- internal/git/gitpipe/catfile_info.go | 6 +- internal/git/gitpipe/catfile_info_iterator.go | 2 +- internal/git/gitpipe/catfile_info_test.go | 10 +- internal/git/gitpipe/catfile_object.go | 4 +- internal/git/gitpipe/catfile_object_iterator.go | 2 +- internal/git/gitpipe/catfile_object_test.go | 12 +- internal/git/gitpipe/object_iterator.go | 2 +- internal/git/gitpipe/pipeline_test.go | 12 +- internal/git/gitpipe/revision.go | 4 +- internal/git/gitpipe/revision_iterator.go | 2 +- internal/git/gitpipe/revision_test.go | 12 +- internal/git/gitpipe/testhelper_test.go | 2 +- internal/git/gittest/command.go | 6 +- internal/git/gittest/command_factory.go | 4 +- internal/git/gittest/commit.go | 6 +- internal/git/gittest/commit_test.go | 12 +- internal/git/gittest/delta_islands.go | 4 +- internal/git/gittest/hooks.go | 6 +- internal/git/gittest/http_server.go | 2 +- .../git/gittest/intercepting_command_factory.go | 10 +- .../gittest/intercepting_command_factory_test.go | 4 +- internal/git/gittest/objects.go | 6 +- internal/git/gittest/pktline.go | 2 +- internal/git/gittest/protocol.go | 6 +- internal/git/gittest/ref.go | 4 +- internal/git/gittest/remote.go | 2 +- internal/git/gittest/repo.go | 10 +- internal/git/gittest/repository_suite.go | 8 +- internal/git/gittest/tag.go | 6 +- internal/git/gittest/testhelper_test.go | 4 +- internal/git/gittest/tree.go | 6 +- internal/git/gittest/tree_test.go | 2 +- internal/git/helper_test.go | 4 +- internal/git/hooks_options.go | 10 +- internal/git/hooks_options_test.go | 10 +- internal/git/hooks_payload.go | 6 +- internal/git/hooks_payload_test.go | 8 +- internal/git/housekeeping/clean_stale_data.go | 8 +- internal/git/housekeeping/clean_stale_data_test.go | 14 +- internal/git/housekeeping/commit_graph.go | 8 +- internal/git/housekeeping/manager.go | 6 +- internal/git/housekeeping/object_pool_test.go | 2 +- internal/git/housekeeping/objects.go | 6 +- internal/git/housekeeping/objects_test.go | 10 +- internal/git/housekeeping/optimize_repository.go | 8 +- .../housekeeping/optimize_repository_ext_test.go | 14 +- .../git/housekeeping/optimize_repository_test.go | 16 +- internal/git/housekeeping/testhelper_test.go | 2 +- internal/git/housekeeping/worktrees.go | 6 +- internal/git/housekeeping/worktrees_test.go | 12 +- internal/git/localrepo/config.go | 10 +- internal/git/localrepo/config_test.go | 18 +- internal/git/localrepo/objects.go | 8 +- internal/git/localrepo/objects_test.go | 8 +- internal/git/localrepo/paths.go | 4 +- internal/git/localrepo/paths_test.go | 12 +- internal/git/localrepo/refs.go | 8 +- internal/git/localrepo/refs_test.go | 24 +- internal/git/localrepo/remote.go | 2 +- internal/git/localrepo/remote_extra_test.go | 20 +- internal/git/localrepo/remote_test.go | 12 +- internal/git/localrepo/repo.go | 18 +- internal/git/localrepo/repo_test.go | 12 +- internal/git/localrepo/testhelper_test.go | 12 +- internal/git/log/last_commit.go | 10 +- internal/git/log/parser.go | 4 +- internal/git/lstree/entries.go | 2 +- internal/git/lstree/list_entries.go | 4 +- internal/git/lstree/list_entries_test.go | 10 +- internal/git/lstree/parser.go | 2 +- internal/git/lstree/testhelper_test.go | 2 +- internal/git/objectpool/clone.go | 4 +- internal/git/objectpool/clone_test.go | 4 +- internal/git/objectpool/fetch.go | 12 +- internal/git/objectpool/fetch_test.go | 12 +- internal/git/objectpool/link.go | 6 +- internal/git/objectpool/link_test.go | 12 +- internal/git/objectpool/pool.go | 12 +- internal/git/objectpool/pool_test.go | 10 +- internal/git/objectpool/proto.go | 10 +- internal/git/objectpool/testhelper_test.go | 18 +- internal/git/packfile/bitmap.go | 2 +- internal/git/packfile/index.go | 2 +- internal/git/packfile/packfile_test.go | 8 +- internal/git/pktline/read_monitor.go | 2 +- internal/git/pktline/read_monitor_test.go | 4 +- internal/git/protocol.go | 4 +- internal/git/protocol_test.go | 2 +- internal/git/quarantine/quarantine.go | 6 +- internal/git/quarantine/quarantine_test.go | 10 +- internal/git/quarantine/testhelper_test.go | 2 +- internal/git/reference.go | 2 +- internal/git/reference_test.go | 8 +- internal/git/remoterepo/helper_test.go | 2 +- internal/git/remoterepo/repository.go | 4 +- internal/git/remoterepo/repository_test.go | 22 +- internal/git/repository.go | 4 +- internal/git/ssh_test.go | 2 +- internal/git/stats/commit_graph_test.go | 4 +- internal/git/stats/fetch_pack.go | 2 +- internal/git/stats/git.go | 2 +- internal/git/stats/git_test.go | 10 +- internal/git/stats/http_clone_test.go | 6 +- internal/git/stats/http_fetch_pack.go | 2 +- internal/git/stats/http_push.go | 2 +- internal/git/stats/http_push_test.go | 12 +- internal/git/stats/http_send_pack.go | 2 +- internal/git/stats/packfile_negotiation.go | 4 +- internal/git/stats/packfile_negotiation_test.go | 2 +- internal/git/stats/profile.go | 4 +- internal/git/stats/profile_test.go | 8 +- internal/git/stats/reference_discovery.go | 4 +- internal/git/stats/reference_discovery_test.go | 2 +- internal/git/stats/send_pack.go | 2 +- internal/git/stats/send_pack_test.go | 2 +- internal/git/stats/testhelper_test.go | 2 +- internal/git/updateref/update_with_hooks.go | 22 +- internal/git/updateref/update_with_hooks_test.go | 26 +- internal/git/updateref/updateref.go | 4 +- internal/git/updateref/updateref_test.go | 12 +- internal/git/version.go | 2 +- internal/git2go/apply.go | 4 +- internal/git2go/apply_test.go | 12 +- internal/git2go/cherry_pick.go | 4 +- internal/git2go/commit.go | 4 +- internal/git2go/commit_test.go | 12 +- internal/git2go/conflicts.go | 2 +- internal/git2go/executor.go | 16 +- internal/git2go/merge.go | 2 +- internal/git2go/rebase.go | 4 +- internal/git2go/resolve_conflicts.go | 4 +- internal/git2go/revert.go | 4 +- internal/git2go/submodule.go | 2 +- internal/gitaly/client/dial.go | 2 +- internal/gitaly/client/dial_test.go | 6 +- internal/gitaly/config/config.go | 10 +- internal/gitaly/config/config_test.go | 10 +- internal/gitaly/config/locator.go | 4 +- internal/gitaly/config/sentry/sentry.go | 2 +- internal/gitaly/config/testhelper_test.go | 2 +- internal/gitaly/diff/diff.go | 4 +- internal/gitaly/diff/diff_test.go | 2 +- internal/gitaly/hook/check.go | 2 +- internal/gitaly/hook/custom.go | 4 +- internal/gitaly/hook/custom_test.go | 10 +- internal/gitaly/hook/manager.go | 10 +- internal/gitaly/hook/postreceive.go | 6 +- internal/gitaly/hook/postreceive_test.go | 24 +- internal/gitaly/hook/prereceive.go | 6 +- internal/gitaly/hook/prereceive_test.go | 26 +- internal/gitaly/hook/referencetransaction.go | 4 +- internal/gitaly/hook/sidechannel.go | 4 +- internal/gitaly/hook/sidechannel_test.go | 6 +- internal/gitaly/hook/testhelper_test.go | 8 +- internal/gitaly/hook/transactions.go | 6 +- internal/gitaly/hook/transactions_test.go | 20 +- internal/gitaly/hook/update.go | 4 +- internal/gitaly/hook/update_test.go | 24 +- internal/gitaly/linguist/linguist.go | 6 +- internal/gitaly/linguist/linguist_test.go | 8 +- internal/gitaly/maintenance/daily.go | 4 +- internal/gitaly/maintenance/daily_test.go | 4 +- internal/gitaly/maintenance/main_test.go | 2 +- internal/gitaly/maintenance/optimize.go | 8 +- internal/gitaly/maintenance/optimize_test.go | 22 +- internal/gitaly/maintenance/randomwalker_test.go | 2 +- internal/gitaly/rubyserver/concurrency_test.go | 6 +- internal/gitaly/rubyserver/health_test.go | 4 +- internal/gitaly/rubyserver/proxy.go | 4 +- internal/gitaly/rubyserver/proxy_test.go | 6 +- internal/gitaly/rubyserver/rubyserver.go | 16 +- internal/gitaly/rubyserver/rubyserver_test.go | 18 +- internal/gitaly/rubyserver/testhelper_test.go | 2 +- internal/gitaly/rubyserver/worker.go | 4 +- internal/gitaly/rubyserver/worker_test.go | 2 +- internal/gitaly/server/auth/auth.go | 2 +- internal/gitaly/server/auth_test.go | 30 +- internal/gitaly/server/server.go | 36 +- internal/gitaly/server/server_factory.go | 8 +- internal/gitaly/server/server_factory_test.go | 14 +- internal/gitaly/service/blob/blobs.go | 10 +- internal/gitaly/service/blob/blobs_test.go | 8 +- internal/gitaly/service/blob/get_blob.go | 6 +- internal/gitaly/service/blob/get_blob_test.go | 2 +- internal/gitaly/service/blob/get_blobs.go | 4 +- internal/gitaly/service/blob/get_blobs_test.go | 4 +- internal/gitaly/service/blob/lfs_pointers.go | 12 +- internal/gitaly/service/blob/lfs_pointers_test.go | 10 +- internal/gitaly/service/blob/server.go | 10 +- internal/gitaly/service/blob/testhelper_test.go | 14 +- .../service/cleanup/apply_bfg_object_map_stream.go | 8 +- .../cleanup/apply_bfg_object_map_stream_test.go | 10 +- .../gitaly/service/cleanup/internalrefs/cleaner.go | 4 +- .../gitaly/service/cleanup/notifier/notifier.go | 6 +- internal/gitaly/service/cleanup/server.go | 10 +- internal/gitaly/service/cleanup/testhelper_test.go | 16 +- .../gitaly/service/commit/check_objects_exist.go | 8 +- .../service/commit/check_objects_exist_test.go | 6 +- internal/gitaly/service/commit/commit_messages.go | 6 +- .../gitaly/service/commit/commit_messages_test.go | 6 +- .../gitaly/service/commit/commit_signatures.go | 6 +- .../service/commit/commit_signatures_test.go | 8 +- .../gitaly/service/commit/commits_by_message.go | 4 +- .../service/commit/commits_by_message_test.go | 2 +- internal/gitaly/service/commit/commits_helper.go | 6 +- internal/gitaly/service/commit/count_commits.go | 2 +- .../gitaly/service/commit/count_commits_test.go | 4 +- .../service/commit/count_diverging_commits.go | 4 +- .../service/commit/count_diverging_commits_test.go | 6 +- .../service/commit/filter_shas_with_signatures.go | 6 +- .../commit/filter_shas_with_signatures_test.go | 2 +- internal/gitaly/service/commit/find_all_commits.go | 4 +- .../gitaly/service/commit/find_all_commits_test.go | 8 +- internal/gitaly/service/commit/find_commit.go | 6 +- internal/gitaly/service/commit/find_commit_test.go | 10 +- internal/gitaly/service/commit/find_commits.go | 12 +- .../gitaly/service/commit/find_commits_test.go | 4 +- internal/gitaly/service/commit/isancestor.go | 2 +- internal/gitaly/service/commit/isancestor_test.go | 10 +- internal/gitaly/service/commit/languages.go | 6 +- internal/gitaly/service/commit/languages_test.go | 6 +- .../gitaly/service/commit/last_commit_for_path.go | 6 +- .../service/commit/last_commit_for_path_test.go | 6 +- internal/gitaly/service/commit/list_all_commits.go | 10 +- .../gitaly/service/commit/list_all_commits_test.go | 4 +- internal/gitaly/service/commit/list_commits.go | 10 +- .../gitaly/service/commit/list_commits_by_oid.go | 6 +- .../service/commit/list_commits_by_oid_test.go | 2 +- .../service/commit/list_commits_by_ref_name.go | 8 +- .../commit/list_commits_by_ref_name_test.go | 2 +- .../gitaly/service/commit/list_commits_test.go | 4 +- internal/gitaly/service/commit/list_files.go | 8 +- internal/gitaly/service/commit/list_files_test.go | 4 +- .../service/commit/list_last_commits_for_tree.go | 10 +- .../commit/list_last_commits_for_tree_test.go | 4 +- internal/gitaly/service/commit/raw_blame.go | 2 +- internal/gitaly/service/commit/raw_blame_test.go | 2 +- internal/gitaly/service/commit/server.go | 12 +- internal/gitaly/service/commit/stats.go | 4 +- internal/gitaly/service/commit/stats_test.go | 2 +- internal/gitaly/service/commit/testhelper_test.go | 16 +- internal/gitaly/service/commit/tree_entries.go | 10 +- .../gitaly/service/commit/tree_entries_test.go | 6 +- internal/gitaly/service/commit/tree_entry.go | 6 +- internal/gitaly/service/commit/tree_entry_test.go | 2 +- .../service/conflicts/list_conflict_files.go | 6 +- .../service/conflicts/list_conflict_files_test.go | 4 +- .../gitaly/service/conflicts/resolve_conflicts.go | 16 +- .../service/conflicts/resolve_conflicts_test.go | 12 +- internal/gitaly/service/conflicts/server.go | 16 +- .../gitaly/service/conflicts/testhelper_test.go | 22 +- internal/gitaly/service/dependencies.go | 32 +- internal/gitaly/service/diff/commit.go | 4 +- internal/gitaly/service/diff/commit_test.go | 8 +- internal/gitaly/service/diff/find_changed_paths.go | 4 +- .../gitaly/service/diff/find_changed_paths_test.go | 4 +- internal/gitaly/service/diff/numstat.go | 4 +- internal/gitaly/service/diff/numstat_test.go | 4 +- internal/gitaly/service/diff/raw.go | 2 +- internal/gitaly/service/diff/raw_test.go | 4 +- internal/gitaly/service/diff/server.go | 10 +- internal/gitaly/service/diff/testhelper_test.go | 14 +- internal/gitaly/service/hook/pack_objects.go | 10 +- internal/gitaly/service/hook/pack_objects_test.go | 18 +- internal/gitaly/service/hook/post_receive.go | 2 +- internal/gitaly/service/hook/post_receive_test.go | 20 +- internal/gitaly/service/hook/pre_receive.go | 2 +- internal/gitaly/service/hook/pre_receive_test.go | 22 +- .../gitaly/service/hook/reference_transaction.go | 6 +- .../service/hook/reference_transaction_test.go | 18 +- internal/gitaly/service/hook/server.go | 6 +- internal/gitaly/service/hook/testhelper_test.go | 16 +- internal/gitaly/service/hook/update.go | 2 +- internal/gitaly/service/hook/update_test.go | 12 +- internal/gitaly/service/internalgitaly/server.go | 2 +- .../service/internalgitaly/testhelper_test.go | 8 +- .../gitaly/service/internalgitaly/walkrepos.go | 2 +- .../service/internalgitaly/walkrepos_test.go | 8 +- internal/gitaly/service/namespace/namespace.go | 2 +- .../gitaly/service/namespace/namespace_test.go | 8 +- internal/gitaly/service/namespace/server.go | 2 +- .../gitaly/service/namespace/testhelper_test.go | 10 +- internal/gitaly/service/objectpool/alternates.go | 8 +- .../gitaly/service/objectpool/alternates_test.go | 8 +- internal/gitaly/service/objectpool/create.go | 4 +- internal/gitaly/service/objectpool/create_test.go | 8 +- .../service/objectpool/fetch_into_object_pool.go | 6 +- .../objectpool/fetch_into_object_pool_test.go | 20 +- internal/gitaly/service/objectpool/get.go | 4 +- internal/gitaly/service/objectpool/get_test.go | 4 +- internal/gitaly/service/objectpool/link.go | 2 +- internal/gitaly/service/objectpool/link_test.go | 10 +- internal/gitaly/service/objectpool/reduplicate.go | 2 +- .../gitaly/service/objectpool/reduplicate_test.go | 8 +- internal/gitaly/service/objectpool/server.go | 14 +- .../gitaly/service/objectpool/testhelper_test.go | 28 +- internal/gitaly/service/operations/apply_patch.go | 8 +- .../gitaly/service/operations/apply_patch_test.go | 24 +- internal/gitaly/service/operations/branches.go | 4 +- .../gitaly/service/operations/branches_test.go | 22 +- internal/gitaly/service/operations/cherry_pick.go | 8 +- .../gitaly/service/operations/cherry_pick_test.go | 10 +- internal/gitaly/service/operations/commit_files.go | 14 +- .../gitaly/service/operations/commit_files_test.go | 12 +- internal/gitaly/service/operations/merge.go | 10 +- internal/gitaly/service/operations/merge_test.go | 26 +- internal/gitaly/service/operations/rebase.go | 10 +- internal/gitaly/service/operations/rebase_test.go | 22 +- internal/gitaly/service/operations/revert.go | 12 +- internal/gitaly/service/operations/revert_test.go | 10 +- internal/gitaly/service/operations/server.go | 22 +- internal/gitaly/service/operations/squash.go | 14 +- internal/gitaly/service/operations/squash_test.go | 26 +- internal/gitaly/service/operations/submodules.go | 8 +- .../gitaly/service/operations/submodules_test.go | 12 +- internal/gitaly/service/operations/tags.go | 10 +- internal/gitaly/service/operations/tags_test.go | 24 +- .../gitaly/service/operations/testhelper_test.go | 26 +- .../service/operations/update_branches_test.go | 8 +- .../gitaly/service/operations/update_with_hooks.go | 4 +- internal/gitaly/service/ref/branches.go | 2 +- internal/gitaly/service/ref/branches_test.go | 6 +- internal/gitaly/service/ref/delete_refs.go | 12 +- internal/gitaly/service/ref/delete_refs_test.go | 22 +- internal/gitaly/service/ref/find_all_tags.go | 10 +- internal/gitaly/service/ref/find_all_tags_test.go | 18 +- internal/gitaly/service/ref/find_refs_by_oid.go | 4 +- .../gitaly/service/ref/find_refs_by_oid_test.go | 6 +- internal/gitaly/service/ref/list_refs.go | 6 +- internal/gitaly/service/ref/list_refs_test.go | 8 +- internal/gitaly/service/ref/pack_refs.go | 8 +- internal/gitaly/service/ref/pack_refs_test.go | 8 +- internal/gitaly/service/ref/refexists.go | 6 +- internal/gitaly/service/ref/refexists_test.go | 4 +- internal/gitaly/service/ref/refnames.go | 4 +- internal/gitaly/service/ref/refnames_containing.go | 6 +- internal/gitaly/service/ref/refs.go | 10 +- internal/gitaly/service/ref/refs_test.go | 16 +- internal/gitaly/service/ref/remote_branches.go | 4 +- .../gitaly/service/ref/remote_branches_test.go | 8 +- internal/gitaly/service/ref/server.go | 12 +- internal/gitaly/service/ref/tag_messages.go | 6 +- internal/gitaly/service/ref/tag_messages_test.go | 6 +- internal/gitaly/service/ref/tag_signatures.go | 8 +- internal/gitaly/service/ref/tag_signatures_test.go | 6 +- internal/gitaly/service/ref/testhelper_test.go | 18 +- internal/gitaly/service/ref/util.go | 6 +- internal/gitaly/service/ref/util_test.go | 2 +- .../service/remote/find_remote_repository.go | 2 +- .../service/remote/find_remote_repository_test.go | 2 +- .../gitaly/service/remote/find_remote_root_ref.go | 4 +- .../service/remote/find_remote_root_ref_test.go | 8 +- internal/gitaly/service/remote/server.go | 12 +- internal/gitaly/service/remote/testhelper_test.go | 14 +- .../gitaly/service/remote/update_remote_mirror.go | 8 +- .../service/remote/update_remote_mirror_test.go | 24 +- .../service/repository/apply_gitattributes.go | 16 +- .../service/repository/apply_gitattributes_test.go | 16 +- internal/gitaly/service/repository/archive.go | 12 +- internal/gitaly/service/repository/archive_test.go | 14 +- .../service/repository/backup_custom_hooks.go | 2 +- .../service/repository/backup_custom_hooks_test.go | 2 +- .../service/repository/calculate_checksum.go | 2 +- .../service/repository/calculate_checksum_test.go | 6 +- internal/gitaly/service/repository/cleanup.go | 6 +- internal/gitaly/service/repository/cleanup_test.go | 4 +- internal/gitaly/service/repository/commit_graph.go | 6 +- .../gitaly/service/repository/commit_graph_test.go | 8 +- internal/gitaly/service/repository/config.go | 2 +- internal/gitaly/service/repository/config_test.go | 4 +- .../gitaly/service/repository/create_bundle.go | 4 +- .../repository/create_bundle_from_ref_list.go | 4 +- .../repository/create_bundle_from_ref_list_test.go | 6 +- .../service/repository/create_bundle_test.go | 8 +- internal/gitaly/service/repository/create_fork.go | 4 +- .../gitaly/service/repository/create_fork_test.go | 52 +- .../gitaly/service/repository/create_repository.go | 2 +- .../repository/create_repository_from_bundle.go | 6 +- .../create_repository_from_bundle_test.go | 24 +- .../repository/create_repository_from_snapshot.go | 4 +- .../create_repository_from_snapshot_test.go | 12 +- .../repository/create_repository_from_url.go | 6 +- .../repository/create_repository_from_url_test.go | 10 +- .../service/repository/create_repository_test.go | 24 +- internal/gitaly/service/repository/fetch.go | 8 +- internal/gitaly/service/repository/fetch_bundle.go | 10 +- .../gitaly/service/repository/fetch_bundle_test.go | 20 +- internal/gitaly/service/repository/fetch_remote.go | 14 +- .../gitaly/service/repository/fetch_remote_test.go | 24 +- internal/gitaly/service/repository/fetch_test.go | 10 +- internal/gitaly/service/repository/fsck.go | 2 +- internal/gitaly/service/repository/fsck_test.go | 2 +- internal/gitaly/service/repository/fullpath.go | 2 +- .../gitaly/service/repository/fullpath_test.go | 10 +- internal/gitaly/service/repository/gc.go | 14 +- internal/gitaly/service/repository/gc_test.go | 12 +- .../service/repository/info_attributes_test.go | 2 +- internal/gitaly/service/repository/license.go | 12 +- internal/gitaly/service/repository/license_test.go | 10 +- internal/gitaly/service/repository/merge_base.go | 4 +- .../gitaly/service/repository/merge_base_test.go | 2 +- internal/gitaly/service/repository/midx.go | 12 +- internal/gitaly/service/repository/midx_test.go | 20 +- internal/gitaly/service/repository/optimize.go | 4 +- .../gitaly/service/repository/optimize_test.go | 8 +- .../repository/prune_unreachable_objects.go | 6 +- .../repository/prune_unreachable_objects_test.go | 8 +- internal/gitaly/service/repository/raw_changes.go | 10 +- .../gitaly/service/repository/raw_changes_test.go | 6 +- .../repository/redirecting_test_server_test.go | 8 +- internal/gitaly/service/repository/remove.go | 10 +- internal/gitaly/service/repository/remove_test.go | 8 +- internal/gitaly/service/repository/rename.go | 6 +- internal/gitaly/service/repository/rename_test.go | 10 +- internal/gitaly/service/repository/repack.go | 6 +- internal/gitaly/service/repository/repack_test.go | 8 +- internal/gitaly/service/repository/replicate.go | 20 +- .../gitaly/service/repository/replicate_test.go | 34 +- internal/gitaly/service/repository/repository.go | 4 +- .../gitaly/service/repository/repository_test.go | 10 +- .../service/repository/restore_custom_hooks.go | 14 +- .../repository/restore_custom_hooks_test.go | 20 +- internal/gitaly/service/repository/search_files.go | 8 +- .../gitaly/service/repository/search_files_test.go | 18 +- internal/gitaly/service/repository/server.go | 20 +- internal/gitaly/service/repository/server_test.go | 4 +- internal/gitaly/service/repository/size.go | 8 +- internal/gitaly/service/repository/size_test.go | 12 +- internal/gitaly/service/repository/snapshot.go | 6 +- .../gitaly/service/repository/snapshot_test.go | 10 +- .../gitaly/service/repository/testhelper_test.go | 26 +- internal/gitaly/service/repository/util.go | 12 +- internal/gitaly/service/repository/util_test.go | 22 +- internal/gitaly/service/repository/write_ref.go | 8 +- .../gitaly/service/repository/write_ref_test.go | 12 +- internal/gitaly/service/server/clocksynced.go | 2 +- internal/gitaly/service/server/disk_stats_test.go | 6 +- internal/gitaly/service/server/info.go | 8 +- internal/gitaly/service/server/info_test.go | 18 +- internal/gitaly/service/server/server.go | 4 +- internal/gitaly/service/server/server_test.go | 2 +- .../service/server/storage_status_openbsd.go | 2 +- .../gitaly/service/server/storage_status_unix.go | 2 +- internal/gitaly/service/setup/register.go | 36 +- internal/gitaly/service/smarthttp/cache.go | 2 +- internal/gitaly/service/smarthttp/inforefs.go | 4 +- internal/gitaly/service/smarthttp/inforefs_test.go | 30 +- internal/gitaly/service/smarthttp/receive_pack.go | 8 +- .../gitaly/service/smarthttp/receive_pack_test.go | 32 +- internal/gitaly/service/smarthttp/server.go | 8 +- .../gitaly/service/smarthttp/testhelper_test.go | 16 +- internal/gitaly/service/smarthttp/upload_pack.go | 10 +- .../gitaly/service/smarthttp/upload_pack_test.go | 14 +- .../gitaly/service/ssh/monitor_stdin_command.go | 6 +- internal/gitaly/service/ssh/receive_pack.go | 10 +- internal/gitaly/service/ssh/receive_pack_test.go | 32 +- internal/gitaly/service/ssh/server.go | 6 +- internal/gitaly/service/ssh/testhelper_test.go | 12 +- internal/gitaly/service/ssh/upload_archive.go | 8 +- internal/gitaly/service/ssh/upload_archive_test.go | 6 +- internal/gitaly/service/ssh/upload_pack.go | 14 +- internal/gitaly/service/ssh/upload_pack_test.go | 14 +- internal/gitaly/service/wiki/find_page.go | 4 +- internal/gitaly/service/wiki/find_page_test.go | 10 +- internal/gitaly/service/wiki/get_all_pages.go | 2 +- internal/gitaly/service/wiki/get_all_pages_test.go | 6 +- internal/gitaly/service/wiki/list_pages.go | 2 +- internal/gitaly/service/wiki/list_pages_test.go | 6 +- internal/gitaly/service/wiki/server.go | 4 +- internal/gitaly/service/wiki/testhelper_test.go | 22 +- internal/gitaly/service/wiki/update_page.go | 2 +- internal/gitaly/service/wiki/update_page_test.go | 12 +- internal/gitaly/service/wiki/write_page.go | 2 +- internal/gitaly/service/wiki/write_page_test.go | 14 +- internal/gitaly/storage/locator.go | 2 +- internal/gitaly/storage/metadata.go | 2 +- internal/gitaly/storage/metadata_test.go | 2 +- internal/gitaly/storage/servers_test.go | 4 +- internal/gitaly/storage/testhelper_test.go | 2 +- internal/gitaly/transaction/manager.go | 8 +- internal/gitaly/transaction/manager_test.go | 20 +- internal/gitaly/transaction/mock.go | 4 +- internal/gitaly/transaction/testhelper_test.go | 2 +- internal/gitaly/transaction/voting.go | 6 +- internal/gitaly/transaction/voting_test.go | 10 +- internal/gitlab/http_client.go | 8 +- internal/gitlab/http_client_test.go | 10 +- internal/gitlab/test_server.go | 2 +- internal/gitlab/testhelper_test.go | 2 +- internal/grpcstats/stats_test.go | 2 +- internal/grpcstats/testhelper_test.go | 2 +- internal/helper/chunk/chunker_test.go | 4 +- internal/helper/chunk/testdata/test.pb.go | 9 +- internal/helper/chunk/testdata/test.proto | 2 +- internal/helper/env/env_test.go | 4 +- internal/helper/error_test.go | 2 +- internal/helper/repo.go | 2 +- internal/helper/repo_test.go | 2 +- internal/listenmux/mux_test.go | 2 +- internal/log/log.go | 2 +- internal/log/log_test.go | 2 +- internal/metadata/featureflag/context_test.go | 2 +- internal/metadata/featureflag/featureflag.go | 2 +- internal/metadata/metadata_test.go | 4 +- internal/middleware/cache/cache.go | 4 +- internal/middleware/cache/cache_test.go | 8 +- internal/middleware/cache/prometheus.go | 2 +- internal/middleware/cache/testdata/stream.pb.go | 10 +- internal/middleware/cache/testdata/stream.proto | 2 +- .../commandstatshandler/commandstatshandler.go | 2 +- .../commandstatshandler_test.go | 20 +- .../middleware/featureflag/featureflag_handler.go | 2 +- .../featureflag/featureflag_handler_test.go | 2 +- .../middleware/limithandler/concurrency_limiter.go | 6 +- .../limithandler/concurrency_limiter_test.go | 6 +- internal/middleware/limithandler/middleware.go | 2 +- .../middleware/limithandler/middleware_test.go | 12 +- internal/middleware/limithandler/rate_limiter.go | 6 +- .../middleware/limithandler/rate_limiter_test.go | 4 +- .../middleware/limithandler/testdata/test.pb.go | 10 +- .../middleware/limithandler/testdata/test.proto | 2 +- .../middleware/limithandler/testhelper_test.go | 2 +- .../middleware/metadatahandler/metadatahandler.go | 2 +- .../metadatahandler/metadatahandler_test.go | 2 +- internal/middleware/sentryhandler/sentryhandler.go | 2 +- .../middleware/sentryhandler/sentryhandler_test.go | 2 +- internal/praefect/auth_test.go | 20 +- internal/praefect/checks.go | 12 +- internal/praefect/checks_test.go | 12 +- internal/praefect/config/config.go | 10 +- internal/praefect/config/config_test.go | 8 +- internal/praefect/config/log.go | 2 +- internal/praefect/coordinator.go | 28 +- internal/praefect/coordinator_pg_test.go | 18 +- internal/praefect/coordinator_test.go | 46 +- internal/praefect/datastore/assignment.go | 2 +- internal/praefect/datastore/assignment_test.go | 8 +- internal/praefect/datastore/collector.go | 2 +- internal/praefect/datastore/collector_test.go | 4 +- internal/praefect/datastore/glsql/postgres.go | 4 +- internal/praefect/datastore/glsql/postgres_test.go | 10 +- .../praefect/datastore/glsql/testhelper_test.go | 2 +- internal/praefect/datastore/listener.go | 6 +- internal/praefect/datastore/listener_test.go | 10 +- internal/praefect/datastore/memory.go | 2 +- internal/praefect/datastore/memory_test.go | 4 +- internal/praefect/datastore/postgres.go | 6 +- internal/praefect/datastore/postgres_test.go | 4 +- internal/praefect/datastore/queue.go | 2 +- internal/praefect/datastore/queue_bm_test.go | 4 +- internal/praefect/datastore/queue_test.go | 4 +- internal/praefect/datastore/repository_store.go | 4 +- .../praefect/datastore/repository_store_bm_test.go | 4 +- .../praefect/datastore/repository_store_test.go | 8 +- internal/praefect/datastore/storage_cleanup.go | 2 +- .../praefect/datastore/storage_cleanup_test.go | 4 +- internal/praefect/datastore/storage_provider.go | 2 +- .../praefect/datastore/storage_provider_test.go | 8 +- internal/praefect/datastore/testhelper_test.go | 2 +- internal/praefect/delete_object_pool.go | 10 +- internal/praefect/delete_object_pool_test.go | 10 +- .../praefect/grpc-proxy/proxy/examples_test.go | 4 +- internal/praefect/grpc-proxy/proxy/handler.go | 2 +- .../praefect/grpc-proxy/proxy/handler_ext_test.go | 12 +- internal/praefect/grpc-proxy/proxy/helper_test.go | 4 +- internal/praefect/grpc-proxy/proxy/peeker_test.go | 8 +- internal/praefect/grpc-proxy/testdata/test.pb.go | 12 +- internal/praefect/grpc-proxy/testdata/test.proto | 2 +- internal/praefect/helper_test.go | 26 +- internal/praefect/info_service_test.go | 32 +- internal/praefect/metrics/prometheus.go | 4 +- internal/praefect/middleware/errorhandler.go | 4 +- internal/praefect/middleware/errorhandler_test.go | 14 +- internal/praefect/middleware/helper_test.go | 2 +- internal/praefect/middleware/methodtype.go | 4 +- internal/praefect/mock/mock.pb.go | 7 +- internal/praefect/mock/mock.proto | 2 +- internal/praefect/mocksvc_test.go | 2 +- internal/praefect/node.go | 12 +- internal/praefect/node_test.go | 6 +- internal/praefect/nodes/disabled_elector.go | 2 +- internal/praefect/nodes/health_manager.go | 4 +- internal/praefect/nodes/health_manager_test.go | 8 +- internal/praefect/nodes/init_test.go | 2 +- internal/praefect/nodes/local_elector.go | 2 +- internal/praefect/nodes/local_elector_test.go | 6 +- internal/praefect/nodes/manager.go | 22 +- internal/praefect/nodes/manager_test.go | 10 +- internal/praefect/nodes/per_repository.go | 4 +- internal/praefect/nodes/per_repository_test.go | 8 +- internal/praefect/nodes/ping.go | 2 +- internal/praefect/nodes/ping_test.go | 2 +- internal/praefect/nodes/sql_elector.go | 6 +- internal/praefect/nodes/sql_elector_test.go | 16 +- internal/praefect/nodes/tracker/errors.go | 2 +- internal/praefect/nodes/tracker/errors_test.go | 2 +- internal/praefect/protoregistry/find_oid_test.go | 2 +- internal/praefect/protoregistry/protoregistry.go | 2 +- .../praefect/protoregistry/protoregistry_test.go | 4 +- internal/praefect/reconciler/reconciler.go | 8 +- .../reconciler/reconciler_benchmark_test.go | 6 +- internal/praefect/reconciler/reconciler_test.go | 14 +- internal/praefect/remove_repository.go | 6 +- internal/praefect/remove_repository_test.go | 22 +- internal/praefect/replicator.go | 14 +- internal/praefect/replicator_pg_test.go | 8 +- internal/praefect/replicator_test.go | 40 +- internal/praefect/repocleaner/action_log_test.go | 2 +- internal/praefect/repocleaner/init_test.go | 2 +- internal/praefect/repocleaner/repository.go | 6 +- internal/praefect/repocleaner/repository_test.go | 26 +- internal/praefect/repository_exists.go | 2 +- internal/praefect/repository_exists_test.go | 12 +- internal/praefect/router_node_manager.go | 6 +- internal/praefect/router_per_repository.go | 4 +- internal/praefect/router_per_repository_test.go | 12 +- internal/praefect/server.go | 40 +- internal/praefect/server_factory.go | 12 +- internal/praefect/server_factory_test.go | 38 +- internal/praefect/server_test.go | 54 +- internal/praefect/service/info/metadata.go | 6 +- .../praefect/service/info/replication_factor.go | 4 +- internal/praefect/service/info/repositories.go | 4 +- internal/praefect/service/info/server.go | 10 +- internal/praefect/service/server/clocksynced.go | 2 +- internal/praefect/service/server/info.go | 2 +- internal/praefect/service/server/server.go | 4 +- internal/praefect/service/transaction/server.go | 6 +- internal/praefect/transaction_test.go | 6 +- internal/praefect/transactions/manager.go | 4 +- internal/praefect/transactions/subtransaction.go | 2 +- .../praefect/transactions/subtransaction_test.go | 4 +- internal/praefect/transactions/transaction.go | 2 +- internal/praefect/transactions/transaction_test.go | 4 +- internal/praefect/verifier.go | 4 +- internal/praefect/verifier_test.go | 38 +- internal/praefect/version.go | 2 +- internal/safe/file_writer_test.go | 4 +- internal/safe/locking_directory_test.go | 4 +- internal/safe/locking_file_writer_test.go | 8 +- internal/safe/main_test.go | 2 +- internal/sidechannel/conn.go | 2 +- internal/sidechannel/proxy.go | 2 +- internal/sidechannel/proxy_test.go | 8 +- internal/sidechannel/sidechannel.go | 6 +- internal/sidechannel/sidechannel_test.go | 6 +- internal/stream/pktline.go | 2 +- internal/streamcache/cache.go | 4 +- internal/streamcache/cache_test.go | 6 +- internal/streamcache/filestore.go | 4 +- internal/streamcache/filestore_test.go | 4 +- internal/streamcache/pipe_test.go | 2 +- internal/streamcache/sendfile_test.go | 2 +- internal/streamcache/testhelper_test.go | 2 +- internal/supervisor/monitor.go | 4 +- internal/supervisor/supervisor.go | 2 +- internal/supervisor/supervisor_test.go | 4 +- internal/tempdir/clean.go | 8 +- internal/tempdir/clean_test.go | 10 +- internal/tempdir/tempdir.go | 2 +- internal/tempdir/tempdir_test.go | 6 +- internal/tempdir/testhelper_test.go | 2 +- internal/testhelper/configure.go | 2 +- internal/testhelper/featureset.go | 2 +- internal/testhelper/featureset_test.go | 2 +- internal/testhelper/grpc_test.go | 2 +- internal/testhelper/leakage.go | 8 +- internal/testhelper/testcfg/build.go | 6 +- internal/testhelper/testcfg/gitaly_builder.go | 6 +- internal/testhelper/testcfg/metadata.go | 4 +- internal/testhelper/testdb/db.go | 8 +- internal/testhelper/testdb/health.go | 2 +- internal/testhelper/testhelper.go | 2 +- internal/testhelper/testserver/gitaly.go | 48 +- internal/testhelper/testserver/praefect.go | 8 +- internal/transaction/txinfo/transaction.go | 2 +- internal/transaction/voting/testhelper_test.go | 2 +- proto/go/gitalypb/blob.pb.go | 1789 ------ proto/go/gitalypb/blob_grpc.pb.go | 546 -- proto/go/gitalypb/cleanup.pb.go | 338 - proto/go/gitalypb/cleanup_grpc.pb.go | 135 - proto/go/gitalypb/commit.pb.go | 5431 ---------------- proto/go/gitalypb/commit_grpc.pb.go | 1394 ---- proto/go/gitalypb/conflicts.pb.go | 860 --- proto/go/gitalypb/conflicts_grpc.pb.go | 208 - proto/go/gitalypb/diff.pb.go | 1746 ----- proto/go/gitalypb/diff_grpc.pb.go | 455 -- proto/go/gitalypb/errors.pb.go | 623 -- proto/go/gitalypb/hook.pb.go | 1104 ---- proto/go/gitalypb/hook_grpc.pb.go | 381 -- proto/go/gitalypb/internal.pb.go | 244 - proto/go/gitalypb/internal_grpc.pb.go | 132 - proto/go/gitalypb/lint.pb.go | 438 -- proto/go/gitalypb/namespace.pb.go | 658 -- proto/go/gitalypb/namespace_grpc.pb.go | 217 - proto/go/gitalypb/objectpool.pb.go | 1073 ---- proto/go/gitalypb/objectpool_grpc.pb.go | 331 - proto/go/gitalypb/operations.pb.go | 5006 --------------- proto/go/gitalypb/operations_grpc.pb.go | 826 --- proto/go/gitalypb/praefect.pb.go | 1750 ----- proto/go/gitalypb/praefect_grpc.pb.go | 313 - proto/go/gitalypb/protolist.go | 29 - proto/go/gitalypb/ref.pb.go | 4141 ------------ proto/go/gitalypb/ref_grpc.pb.go | 1066 --- proto/go/gitalypb/remote.pb.go | 730 --- proto/go/gitalypb/remote_grpc.pb.go | 230 - proto/go/gitalypb/repository.pb.go | 6753 -------------------- proto/go/gitalypb/repository_grpc.pb.go | 2071 ------ proto/go/gitalypb/server.pb.go | 726 --- proto/go/gitalypb/server_grpc.pb.go | 181 - proto/go/gitalypb/shared.pb.go | 1427 ----- proto/go/gitalypb/smarthttp.pb.go | 797 --- proto/go/gitalypb/smarthttp_grpc.pb.go | 382 -- proto/go/gitalypb/ssh.pb.go | 855 --- proto/go/gitalypb/ssh_grpc.pb.go | 314 - proto/go/gitalypb/transaction.pb.go | 545 -- proto/go/gitalypb/transaction_grpc.pb.go | 179 - proto/go/gitalypb/wiki.pb.go | 1469 ----- proto/go/gitalypb/wiki_grpc.pb.go | 404 -- ruby/proto/gitaly/blob_pb.rb | 3 +- ruby/proto/gitaly/cleanup_pb.rb | 3 +- ruby/proto/gitaly/commit_pb.rb | 3 +- ruby/proto/gitaly/conflicts_pb.rb | 3 +- ruby/proto/gitaly/diff_pb.rb | 3 +- ruby/proto/gitaly/errors_pb.rb | 3 +- ruby/proto/gitaly/hook_pb.rb | 3 +- ruby/proto/gitaly/internal_pb.rb | 3 +- ruby/proto/gitaly/lint_pb.rb | 3 +- ruby/proto/gitaly/namespace_pb.rb | 3 +- ruby/proto/gitaly/objectpool_pb.rb | 3 +- ruby/proto/gitaly/operations_pb.rb | 3 +- ruby/proto/gitaly/praefect_pb.rb | 3 +- ruby/proto/gitaly/ref_pb.rb | 3 +- ruby/proto/gitaly/remote_pb.rb | 3 +- ruby/proto/gitaly/repository_pb.rb | 3 +- ruby/proto/gitaly/server_pb.rb | 3 +- ruby/proto/gitaly/shared_pb.rb | 3 +- ruby/proto/gitaly/smarthttp_pb.rb | 3 +- ruby/proto/gitaly/ssh_pb.rb | 3 +- ruby/proto/gitaly/transaction_pb.rb | 3 +- ruby/proto/gitaly/wiki_pb.rb | 3 +- streamio/stream.go | 89 - streamio/stream_test.go | 149 - tools/protoc-gen-gitaly-lint/lint.go | 2 +- tools/protoc-gen-gitaly-lint/lint_test.go | 2 +- tools/protoc-gen-gitaly-lint/method.go | 2 +- .../protoc-gen-gitaly-lint/testdata/invalid.pb.go | 10 +- .../protoc-gen-gitaly-lint/testdata/invalid.proto | 2 +- tools/protoc-gen-gitaly-lint/testdata/valid.pb.go | 10 +- tools/protoc-gen-gitaly-lint/testdata/valid.proto | 2 +- v14/auth/README.md | 27 + v14/auth/extract_test.go | 89 + v14/auth/rpccredentials.go | 33 + v14/auth/token.go | 141 + v14/client/client_test.go | 11 + v14/client/dial.go | 67 + v14/client/dial_test.go | 630 ++ v14/client/pool.go | 103 + v14/client/pool_options.go | 39 + v14/client/pool_test.go | 255 + v14/client/receive_pack.go | 42 + v14/client/sidechannel.go | 100 + v14/client/testdata/gitalycert.pem | 34 + v14/client/testdata/gitalykey.pem | 52 + v14/client/upload_archive.go | 42 + v14/client/upload_pack.go | 65 + v14/go.mod | 18 + v14/proto/go/gitalypb/blob.pb.go | 1789 ++++++ v14/proto/go/gitalypb/blob_grpc.pb.go | 546 ++ v14/proto/go/gitalypb/cleanup.pb.go | 338 + v14/proto/go/gitalypb/cleanup_grpc.pb.go | 135 + v14/proto/go/gitalypb/commit.pb.go | 5431 ++++++++++++++++ v14/proto/go/gitalypb/commit_grpc.pb.go | 1394 ++++ v14/proto/go/gitalypb/conflicts.pb.go | 860 +++ v14/proto/go/gitalypb/conflicts_grpc.pb.go | 208 + v14/proto/go/gitalypb/diff.pb.go | 1746 +++++ v14/proto/go/gitalypb/diff_grpc.pb.go | 455 ++ v14/proto/go/gitalypb/errors.pb.go | 623 ++ v14/proto/go/gitalypb/hook.pb.go | 1104 ++++ v14/proto/go/gitalypb/hook_grpc.pb.go | 381 ++ v14/proto/go/gitalypb/internal.pb.go | 244 + v14/proto/go/gitalypb/internal_grpc.pb.go | 132 + v14/proto/go/gitalypb/lint.pb.go | 438 ++ v14/proto/go/gitalypb/namespace.pb.go | 658 ++ v14/proto/go/gitalypb/namespace_grpc.pb.go | 217 + v14/proto/go/gitalypb/objectpool.pb.go | 1073 ++++ v14/proto/go/gitalypb/objectpool_grpc.pb.go | 331 + v14/proto/go/gitalypb/operations.pb.go | 5006 +++++++++++++++ v14/proto/go/gitalypb/operations_grpc.pb.go | 826 +++ v14/proto/go/gitalypb/praefect.pb.go | 1750 +++++ v14/proto/go/gitalypb/praefect_grpc.pb.go | 313 + v14/proto/go/gitalypb/protolist.go | 29 + v14/proto/go/gitalypb/ref.pb.go | 4141 ++++++++++++ v14/proto/go/gitalypb/ref_grpc.pb.go | 1066 +++ v14/proto/go/gitalypb/remote.pb.go | 730 +++ v14/proto/go/gitalypb/remote_grpc.pb.go | 230 + v14/proto/go/gitalypb/repository.pb.go | 6753 ++++++++++++++++++++ v14/proto/go/gitalypb/repository_grpc.pb.go | 2071 ++++++ v14/proto/go/gitalypb/server.pb.go | 726 +++ v14/proto/go/gitalypb/server_grpc.pb.go | 181 + v14/proto/go/gitalypb/shared.pb.go | 1427 +++++ v14/proto/go/gitalypb/smarthttp.pb.go | 797 +++ v14/proto/go/gitalypb/smarthttp_grpc.pb.go | 382 ++ v14/proto/go/gitalypb/ssh.pb.go | 855 +++ v14/proto/go/gitalypb/ssh_grpc.pb.go | 314 + v14/proto/go/gitalypb/transaction.pb.go | 545 ++ v14/proto/go/gitalypb/transaction_grpc.pb.go | 179 + v14/proto/go/gitalypb/wiki.pb.go | 1469 +++++ v14/proto/go/gitalypb/wiki_grpc.pb.go | 404 ++ v14/streamio/stream.go | 89 + v14/streamio/stream_test.go | 149 + 970 files changed, 53747 insertions(+), 53653 deletions(-) delete mode 100644 auth/README.md delete mode 100644 auth/extract_test.go delete mode 100644 auth/rpccredentials.go delete mode 100644 auth/token.go delete mode 100644 client/client_test.go delete mode 100644 client/dial.go delete mode 100644 client/dial_test.go delete mode 100644 client/pool.go delete mode 100644 client/pool_options.go delete mode 100644 client/pool_test.go delete mode 100644 client/receive_pack.go delete mode 100644 client/sidechannel.go delete mode 100644 client/testdata/gitalycert.pem delete mode 100644 client/testdata/gitalykey.pem delete mode 100644 client/upload_archive.go delete mode 100644 client/upload_pack.go delete mode 100644 proto/go/gitalypb/blob.pb.go delete mode 100644 proto/go/gitalypb/blob_grpc.pb.go delete mode 100644 proto/go/gitalypb/cleanup.pb.go delete mode 100644 proto/go/gitalypb/cleanup_grpc.pb.go delete mode 100644 proto/go/gitalypb/commit.pb.go delete mode 100644 proto/go/gitalypb/commit_grpc.pb.go delete mode 100644 proto/go/gitalypb/conflicts.pb.go delete mode 100644 proto/go/gitalypb/conflicts_grpc.pb.go delete mode 100644 proto/go/gitalypb/diff.pb.go delete mode 100644 proto/go/gitalypb/diff_grpc.pb.go delete mode 100644 proto/go/gitalypb/errors.pb.go delete mode 100644 proto/go/gitalypb/hook.pb.go delete mode 100644 proto/go/gitalypb/hook_grpc.pb.go delete mode 100644 proto/go/gitalypb/internal.pb.go delete mode 100644 proto/go/gitalypb/internal_grpc.pb.go delete mode 100644 proto/go/gitalypb/lint.pb.go delete mode 100644 proto/go/gitalypb/namespace.pb.go delete mode 100644 proto/go/gitalypb/namespace_grpc.pb.go delete mode 100644 proto/go/gitalypb/objectpool.pb.go delete mode 100644 proto/go/gitalypb/objectpool_grpc.pb.go delete mode 100644 proto/go/gitalypb/operations.pb.go delete mode 100644 proto/go/gitalypb/operations_grpc.pb.go delete mode 100644 proto/go/gitalypb/praefect.pb.go delete mode 100644 proto/go/gitalypb/praefect_grpc.pb.go delete mode 100644 proto/go/gitalypb/protolist.go delete mode 100644 proto/go/gitalypb/ref.pb.go delete mode 100644 proto/go/gitalypb/ref_grpc.pb.go delete mode 100644 proto/go/gitalypb/remote.pb.go delete mode 100644 proto/go/gitalypb/remote_grpc.pb.go delete mode 100644 proto/go/gitalypb/repository.pb.go delete mode 100644 proto/go/gitalypb/repository_grpc.pb.go delete mode 100644 proto/go/gitalypb/server.pb.go delete mode 100644 proto/go/gitalypb/server_grpc.pb.go delete mode 100644 proto/go/gitalypb/shared.pb.go delete mode 100644 proto/go/gitalypb/smarthttp.pb.go delete mode 100644 proto/go/gitalypb/smarthttp_grpc.pb.go delete mode 100644 proto/go/gitalypb/ssh.pb.go delete mode 100644 proto/go/gitalypb/ssh_grpc.pb.go delete mode 100644 proto/go/gitalypb/transaction.pb.go delete mode 100644 proto/go/gitalypb/transaction_grpc.pb.go delete mode 100644 proto/go/gitalypb/wiki.pb.go delete mode 100644 proto/go/gitalypb/wiki_grpc.pb.go delete mode 100644 streamio/stream.go delete mode 100644 streamio/stream_test.go create mode 100644 v14/auth/README.md create mode 100644 v14/auth/extract_test.go create mode 100644 v14/auth/rpccredentials.go create mode 100644 v14/auth/token.go create mode 100644 v14/client/client_test.go create mode 100644 v14/client/dial.go create mode 100644 v14/client/dial_test.go create mode 100644 v14/client/pool.go create mode 100644 v14/client/pool_options.go create mode 100644 v14/client/pool_test.go create mode 100644 v14/client/receive_pack.go create mode 100644 v14/client/sidechannel.go create mode 100644 v14/client/testdata/gitalycert.pem create mode 100644 v14/client/testdata/gitalykey.pem create mode 100644 v14/client/upload_archive.go create mode 100644 v14/client/upload_pack.go create mode 100644 v14/go.mod create mode 100644 v14/proto/go/gitalypb/blob.pb.go create mode 100644 v14/proto/go/gitalypb/blob_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/cleanup.pb.go create mode 100644 v14/proto/go/gitalypb/cleanup_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/commit.pb.go create mode 100644 v14/proto/go/gitalypb/commit_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/conflicts.pb.go create mode 100644 v14/proto/go/gitalypb/conflicts_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/diff.pb.go create mode 100644 v14/proto/go/gitalypb/diff_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/errors.pb.go create mode 100644 v14/proto/go/gitalypb/hook.pb.go create mode 100644 v14/proto/go/gitalypb/hook_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/internal.pb.go create mode 100644 v14/proto/go/gitalypb/internal_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/lint.pb.go create mode 100644 v14/proto/go/gitalypb/namespace.pb.go create mode 100644 v14/proto/go/gitalypb/namespace_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/objectpool.pb.go create mode 100644 v14/proto/go/gitalypb/objectpool_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/operations.pb.go create mode 100644 v14/proto/go/gitalypb/operations_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/praefect.pb.go create mode 100644 v14/proto/go/gitalypb/praefect_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/protolist.go create mode 100644 v14/proto/go/gitalypb/ref.pb.go create mode 100644 v14/proto/go/gitalypb/ref_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/remote.pb.go create mode 100644 v14/proto/go/gitalypb/remote_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/repository.pb.go create mode 100644 v14/proto/go/gitalypb/repository_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/server.pb.go create mode 100644 v14/proto/go/gitalypb/server_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/shared.pb.go create mode 100644 v14/proto/go/gitalypb/smarthttp.pb.go create mode 100644 v14/proto/go/gitalypb/smarthttp_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/ssh.pb.go create mode 100644 v14/proto/go/gitalypb/ssh_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/transaction.pb.go create mode 100644 v14/proto/go/gitalypb/transaction_grpc.pb.go create mode 100644 v14/proto/go/gitalypb/wiki.pb.go create mode 100644 v14/proto/go/gitalypb/wiki_grpc.pb.go create mode 100644 v14/streamio/stream.go create mode 100644 v14/streamio/stream_test.go diff --git a/Makefile b/Makefile index fc6ee3b91..5965b8dba 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ GOLANGCI_LINT_OPTIONS ?= GOLANGCI_LINT_CONFIG ?= ${SOURCE_DIR}/.golangci.yml # Build information -GITALY_PACKAGE := gitlab.com/gitlab-org/gitaly/v14 +GITALY_PACKAGE := gitlab.com/gitlab-org/gitaly BUILD_TIME := $(shell date +"%Y%m%d.%H%M%S") GITALY_VERSION := $(shell ${GIT} describe --match v* 2>/dev/null | sed 's/^v//' || cat ${SOURCE_DIR}/VERSION 2>/dev/null || echo unknown) GO_LDFLAGS := -X ${GITALY_PACKAGE}/internal/version.version=${GITALY_VERSION} -X ${GITALY_PACKAGE}/internal/version.buildtime=${BUILD_TIME} -X ${GITALY_PACKAGE}/internal/version.moduleVersion=${MODULE_VERSION} @@ -387,7 +387,7 @@ verify: check-mod-tidy notice-up-to-date check-proto rubocop lint .PHONY: check-mod-tidy check-mod-tidy: ${Q}${GIT} diff --quiet --exit-code go.mod go.sum || (echo "error: uncommitted changes in go.mod or go.sum" && exit 1) - ${Q}go mod tidy + ${Q}go mod tidy && (cd v14 && go mod tidy) ${Q}${GIT} diff --quiet --exit-code go.mod go.sum || (echo "error: uncommitted changes in go.mod or go.sum" && exit 1) .PHONY: lint @@ -442,9 +442,9 @@ cover: prepare-tests libgit2 ${GOCOVER_COBERTURA} ## Regenerate protobuf definitions. proto: SHARED_PROTOC_OPTS = --plugin=${PROTOC_GEN_GO} --plugin=${PROTOC_GEN_GO_GRPC} --plugin=${PROTOC_GEN_GITALY_PROTOLIST} --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative proto: ${PROTOC} ${PROTOC_GEN_GO} ${PROTOC_GEN_GO_GRPC} ${PROTOC_GEN_GITALY_PROTOLIST} ${SOURCE_DIR}/.ruby-bundle - ${Q}mkdir -p ${SOURCE_DIR}/proto/go/gitalypb - ${Q}rm -f ${SOURCE_DIR}/proto/go/gitalypb/*.pb.go - ${PROTOC} ${SHARED_PROTOC_OPTS} -I ${SOURCE_DIR}/proto -I ${PROTOC_INSTALL_DIR}/include --go_out=${SOURCE_DIR}/proto/go/gitalypb --gitaly-protolist_out=proto_dir=${SOURCE_DIR}/proto,gitalypb_dir=${SOURCE_DIR}/proto/go/gitalypb:${SOURCE_DIR} --go-grpc_out=${SOURCE_DIR}/proto/go/gitalypb ${SOURCE_DIR}/proto/*.proto + ${Q}mkdir -p ${SOURCE_DIR}/v14/proto/go/gitalypb + ${Q}rm -rf ${SOURCE_DIR}/v14/proto/go/gitalypb/*.pb.go ${SOURCE_DIR}/proto/go + ${PROTOC} ${SHARED_PROTOC_OPTS} -I ${SOURCE_DIR}/proto -I ${PROTOC_INSTALL_DIR}/include --go_out=${SOURCE_DIR}/v14/proto/go/gitalypb --gitaly-protolist_out=proto_dir=${SOURCE_DIR}/proto,gitalypb_dir=${SOURCE_DIR}/v14/proto/go/gitalypb:${SOURCE_DIR} --go-grpc_out=${SOURCE_DIR}/v14/proto/go/gitalypb ${SOURCE_DIR}/proto/*.proto ${SOURCE_DIR}/_support/generate-proto-ruby @ # this part is related to the generation of sources from testing proto files ${PROTOC} ${SHARED_PROTOC_OPTS} -I ${SOURCE_DIR}/internal --go_out=${SOURCE_DIR}/internal --go-grpc_out=${SOURCE_DIR}/internal ${SOURCE_DIR}/internal/praefect/grpc-proxy/testdata/test.proto diff --git a/auth/README.md b/auth/README.md deleted file mode 100644 index b5dc6f568..000000000 --- a/auth/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Gitaly authentication middleware for Go - -This package contains code that plugs into -github.com/grpc-ecosystem/go-grpc-middleware/auth to provide client -and server authentication middleware for Gitaly. - -Gitaly has two authentication schemes. - -## V1 authentication (deprecated) - -This scheme uses a shared secret. The shared secret is base64-encoded -and passed by the client as a bearer token. - -## V2 authentication - -This scheme uses a time limited token derived from a shared secret. - -The client creates a timestamp and computes the SHA256 HMAC signature -for that timestamp, treating the timestamp as the message. The shared -secret is used as the key for the HMAC. The client then sends both the -message and the signature to the server as a bearer token. - -The server takes the message and computes the signature. If the -client-provided signature matches the computed signature the message is -accepted. Next, the server checks if its current time is no more than -30 seconds ahead or behind the timestamp. If the timestamp is too old -or too new the request is denied. Otherwise it goes ahead. diff --git a/auth/extract_test.go b/auth/extract_test.go deleted file mode 100644 index 349d817db..000000000 --- a/auth/extract_test.go +++ /dev/null @@ -1,89 +0,0 @@ -package gitalyauth - -import ( - "testing" - "time" - - "github.com/grpc-ecosystem/go-grpc-middleware/util/metautils" - "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" -) - -func TestCheckTokenV2(t *testing.T) { - // the tests below had their hmac signatures generated with the default 30s - // in our tests, we modify this number with ldflags but this test should continue - // to use the 30s number - - defer func(d time.Duration) { - tokenValidityDuration = d - }(tokenValidityDuration) - - tokenValidityDuration = 30 * time.Second - - targetTime := time.Unix(1535671600, 0) - secret := []byte("foo") - - testCases := []struct { - desc string - token string - result error - }{ - { - desc: "Valid v2 secret, future time within threshold", - token: "v2.3346cb25ecdb928defd368e7390522a86764bbdf1e8b21aaef27c4c23ec9c899.1535671615", - result: nil, - }, - { - desc: "Valid v2 secret, past time within threshold", - token: "v2.b77158328e80be2984eaf08788419d25f3484eae484aec1297af6bdf1a456610.1535671585", - result: nil, - }, - { - desc: "Invalid secret, time within threshold", - token: "v2.52a3b9016f46853c225c72b87617ac27109bba8a3068002069ab90e28253a911.1535671585", - result: errDenied, - }, - { - desc: "Valid secret, time too much in the future", - token: "v2.ab9e7315aeecf6815fc0df585370157814131acab376f41797ad4ebc4d9a823c.1535671631", - result: errDenied, - }, - { - desc: "Valid secret, time too much in the past", - token: "v2.f805bc69ca3aedd99e814b3fb1fc1e6a1094191691480b168a20fad7c2d24557.1535671569", - result: errDenied, - }, - { - desc: "Mismatching signed and clear message", - token: "v2.319b96a3194c1cb2a2e6f1386161aca1c4cda13257fa9df8a328ab6769649bb0.1535671599", - result: errDenied, - }, - { - desc: "Invalid version", - token: "v3.6fec98e8fe494284ce545c4b421799f02b9718b0eadfc3772d027e1ac5d6d569.1535671601", - result: errDenied, - }, - { - desc: "Invalid token format", - token: "foo.bar", - result: errUnauthenticated, - }, - { - desc: "Empty token", - token: "", - result: errUnauthenticated, - }, - } - - for _, tc := range testCases { - t.Run(tc.desc, func(t *testing.T) { - ctx := testhelper.Context(t) - - md := metautils.NiceMD{} - md.Set("authorization", "Bearer "+tc.token) - result := CheckToken(md.ToIncoming(ctx), string(secret), targetTime) - - require.Equal(t, tc.result, result) - }) - } -} diff --git a/auth/rpccredentials.go b/auth/rpccredentials.go deleted file mode 100644 index 9ebf19d15..000000000 --- a/auth/rpccredentials.go +++ /dev/null @@ -1,33 +0,0 @@ -package gitalyauth - -import ( - "context" - "fmt" - "strconv" - "time" - - "google.golang.org/grpc/credentials" -) - -// RPCCredentialsV2 can be used with grpc.WithPerRPCCredentials to create -// a grpc.DialOption that inserts an V2 (HMAC) token with the current -// timestamp for authentication with a Gitaly server. The shared secret -// must match the one used on the Gitaly server. -func RPCCredentialsV2(sharedSecret string) credentials.PerRPCCredentials { - return &rpcCredentialsV2{sharedSecret: sharedSecret} -} - -type rpcCredentialsV2 struct { - sharedSecret string -} - -func (*rpcCredentialsV2) RequireTransportSecurity() bool { return false } - -func (rc2 *rpcCredentialsV2) GetRequestMetadata(context.Context, ...string) (map[string]string, error) { - message := strconv.FormatInt(time.Now().Unix(), 10) - signature := hmacSign([]byte(rc2.sharedSecret), message) - - return map[string]string{ - "authorization": "Bearer " + fmt.Sprintf("v2.%x.%s", signature, message), - }, nil -} diff --git a/auth/token.go b/auth/token.go deleted file mode 100644 index d38f3ccee..000000000 --- a/auth/token.go +++ /dev/null @@ -1,141 +0,0 @@ -package gitalyauth - -import ( - "context" - "crypto/hmac" - "crypto/sha256" - "encoding/hex" - "fmt" - "strconv" - "strings" - "time" - - grpcmwauth "github.com/grpc-ecosystem/go-grpc-middleware/auth" - "github.com/prometheus/client_golang/prometheus" - "github.com/prometheus/client_golang/prometheus/promauto" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/status" -) - -var ( - //nolint: gochecknoglobals - // This infrastructure is required for testing purposes and there is no - // proper place to put it instead. While we could move it into the - // config, we certainly don't want to make it configurable for now, so - // it'd be a bad fit there. - tokenValidityDuration = 30 * time.Second - - errUnauthenticated = status.Errorf(codes.Unauthenticated, "authentication required") - errDenied = status.Errorf(codes.PermissionDenied, "permission denied") - - authErrors = promauto.NewCounterVec( - prometheus.CounterOpts{ - Name: "gitaly_authentication_errors_total", - Help: "Counts of of Gitaly request authentication errors", - }, - []string{"version", "error"}, - ) -) - -// TokenValidityDuration returns the duration for which any token will be -// valid. This is currently only used by our testing infrastructure. -func TokenValidityDuration() time.Duration { - return tokenValidityDuration -} - -// SetTokenValidityDuration changes the duration for which any token will be -// valid. It only applies to newly created tokens. -func SetTokenValidityDuration(d time.Duration) { - tokenValidityDuration = d -} - -// AuthInfo contains the authentication information coming from a request -type AuthInfo struct { - Version string - SignedMessage []byte - Message string -} - -// CheckToken checks the 'authentication' header of incoming gRPC -// metadata in ctx. It returns nil if and only if the token matches -// secret. -func CheckToken(ctx context.Context, secret string, targetTime time.Time) error { - if len(secret) == 0 { - panic("CheckToken: secret may not be empty") - } - - authInfo, err := ExtractAuthInfo(ctx) - if err != nil { - return errUnauthenticated - } - - if authInfo.Version == "v2" { - if v2HmacInfoValid(authInfo.Message, authInfo.SignedMessage, []byte(secret), targetTime, tokenValidityDuration) { - return nil - } - } - - return errDenied -} - -// ExtractAuthInfo returns an `AuthInfo` with the data extracted from `ctx` -func ExtractAuthInfo(ctx context.Context) (*AuthInfo, error) { - token, err := grpcmwauth.AuthFromMD(ctx, "bearer") - if err != nil { - return nil, err - } - - split := strings.SplitN(token, ".", 3) - - if len(split) != 3 { - return nil, fmt.Errorf("invalid token format") - } - - version, sig, msg := split[0], split[1], split[2] - decodedSig, err := hex.DecodeString(sig) - if err != nil { - return nil, err - } - - return &AuthInfo{Version: version, SignedMessage: decodedSig, Message: msg}, nil -} - -func countV2Error(message string) { authErrors.WithLabelValues("v2", message).Inc() } - -func v2HmacInfoValid(message string, signedMessage, secret []byte, targetTime time.Time, tokenValidity time.Duration) bool { - expectedHMAC := hmacSign(secret, message) - if !hmac.Equal(signedMessage, expectedHMAC) { - countV2Error("wrong hmac signature") - return false - } - - timestamp, err := strconv.ParseInt(message, 10, 64) - if err != nil { - countV2Error("cannot parse timestamp") - return false - } - - issuedAt := time.Unix(timestamp, 0) - lowerBound := targetTime.Add(-tokenValidity) - upperBound := targetTime.Add(tokenValidity) - - if issuedAt.Before(lowerBound) { - countV2Error("timestamp too old") - return false - } - - if issuedAt.After(upperBound) { - countV2Error("timestamp too new") - return false - } - - return true -} - -func hmacSign(secret []byte, message string) []byte { - mac := hmac.New(sha256.New, secret) - // hash.Hash never returns an error. - _, _ = mac.Write([]byte(message)) - - return mac.Sum(nil) -} diff --git a/client/client_test.go b/client/client_test.go deleted file mode 100644 index e8083a74e..000000000 --- a/client/client_test.go +++ /dev/null @@ -1,11 +0,0 @@ -package client - -import ( - "testing" - - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" -) - -func TestMain(m *testing.M) { - testhelper.Run(m) -} diff --git a/client/dial.go b/client/dial.go deleted file mode 100644 index 352003d09..000000000 --- a/client/dial.go +++ /dev/null @@ -1,67 +0,0 @@ -package client - -import ( - "context" - - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "google.golang.org/grpc" - healthpb "google.golang.org/grpc/health/grpc_health_v1" -) - -// DefaultDialOpts hold the default DialOptions for connection to Gitaly over UNIX-socket -var DefaultDialOpts = []grpc.DialOption{} - -// DialContext dials the Gitaly at the given address with the provided options. Valid address formats are -// 'unix:' for Unix sockets, 'tcp://' for insecure TCP connections and 'tls://' -// for TCP+TLS connections. -// -// The returned ClientConns are configured with tracing and correlation id interceptors to ensure they are propagated -// correctly. They're also configured to send Keepalives with settings matching what Gitaly expects. -// -// connOpts should not contain `grpc.WithInsecure` as DialContext determines whether it is needed or not from the -// scheme. `grpc.TransportCredentials` should not be provided either as those are handled internally as well. -func DialContext(ctx context.Context, rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { - return client.Dial(ctx, rawAddress, connOpts, nil) -} - -// Dial calls DialContext with the provided arguments and context.Background. Refer to DialContext's documentation -// for details. -func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { - return DialContext(context.Background(), rawAddress, connOpts) -} - -// DialSidechannel configures the dialer to establish a Gitaly -// backchannel connection instead of a regular gRPC connection. It also -// injects sr as a sidechannel registry, so that Gitaly can establish -// sidechannels back to the client. -func DialSidechannel(ctx context.Context, rawAddress string, sr *SidechannelRegistry, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { - clientHandshaker := sidechannel.NewClientHandshaker(sr.logger, sr.registry) - return client.Dial(ctx, rawAddress, connOpts, clientHandshaker) -} - -// FailOnNonTempDialError helps to identify if remote listener is ready to accept new connections. -func FailOnNonTempDialError() []grpc.DialOption { - return []grpc.DialOption{ - grpc.WithBlock(), - grpc.FailOnNonTempDialError(true), - } -} - -// HealthCheckDialer uses provided dialer as an actual dialer, but issues a health check request to the remote -// to verify the connection was set properly and could be used with no issues. -func HealthCheckDialer(base Dialer) Dialer { - return func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) { - cc, err := base(ctx, address, dialOptions) - if err != nil { - return nil, err - } - - if _, err := healthpb.NewHealthClient(cc).Check(ctx, &healthpb.HealthCheckRequest{}); err != nil { - cc.Close() - return nil, err - } - - return cc, nil - } -} diff --git a/client/dial_test.go b/client/dial_test.go deleted file mode 100644 index 41e775a21..000000000 --- a/client/dial_test.go +++ /dev/null @@ -1,630 +0,0 @@ -package client - -import ( - "context" - "crypto/tls" - "fmt" - "io" - "net" - "os" - "path/filepath" - "strings" - "testing" - - "github.com/opentracing/opentracing-go" - "github.com/sirupsen/logrus" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "github.com/uber/jaeger-client-go" - gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - proxytestdata "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - gitalyx509 "gitlab.com/gitlab-org/gitaly/v14/internal/x509" - "gitlab.com/gitlab-org/labkit/correlation" - grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" - grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/credentials" - "google.golang.org/grpc/credentials/insecure" - healthpb "google.golang.org/grpc/health/grpc_health_v1" - "google.golang.org/grpc/status" -) - -var proxyEnvironmentKeys = []string{"http_proxy", "https_proxy", "no_proxy"} - -func TestDial(t *testing.T) { - if emitProxyWarning() { - t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") - } - - stop, connectionMap := startListeners(t, func(creds credentials.TransportCredentials) *grpc.Server { - srv := grpc.NewServer(grpc.Creds(creds)) - healthpb.RegisterHealthServer(srv, &healthServer{}) - return srv - }) - defer stop() - - unixSocketAbsPath := connectionMap["unix"] - - tempDir := testhelper.TempDir(t) - - unixSocketPath := filepath.Join(tempDir, "gitaly.socket") - require.NoError(t, os.Symlink(unixSocketAbsPath, unixSocketPath)) - - tests := []struct { - name string - rawAddress string - envSSLCertFile string - dialOpts []grpc.DialOption - expectDialFailure bool - expectHealthFailure bool - }{ - { - name: "tcp localhost with prefix", - rawAddress: "tcp://localhost:" + connectionMap["tcp"], // "tcp://localhost:1234" - expectDialFailure: false, - expectHealthFailure: false, - }, - { - name: "tls localhost", - rawAddress: "tls://localhost:" + connectionMap["tls"], // "tls://localhost:1234" - envSSLCertFile: "./testdata/gitalycert.pem", - expectDialFailure: false, - expectHealthFailure: false, - }, - { - name: "unix absolute", - rawAddress: "unix:" + unixSocketAbsPath, // "unix:/tmp/temp-socket" - expectDialFailure: false, - expectHealthFailure: false, - }, - { - name: "unix relative", - rawAddress: "unix:" + unixSocketPath, // "unix:../../tmp/temp-socket" - expectDialFailure: false, - expectHealthFailure: false, - }, - { - name: "unix absolute does not exist", - rawAddress: "unix:" + unixSocketAbsPath + ".does_not_exist", // "unix:/tmp/temp-socket.does_not_exist" - expectDialFailure: false, - expectHealthFailure: true, - }, - { - name: "unix relative does not exist", - rawAddress: "unix:" + unixSocketPath + ".does_not_exist", // "unix:../../tmp/temp-socket.does_not_exist" - expectDialFailure: false, - expectHealthFailure: true, - }, - { - // Gitaly does not support connections that do not have a scheme. - name: "tcp localhost no prefix", - rawAddress: "localhost:" + connectionMap["tcp"], // "localhost:1234" - expectDialFailure: true, - }, - { - name: "invalid", - rawAddress: ".", - expectDialFailure: true, - }, - { - name: "empty", - rawAddress: "", - expectDialFailure: true, - }, - { - name: "dial fail if there is no listener on address", - rawAddress: "tcp://invalid.address", - dialOpts: FailOnNonTempDialError(), - expectDialFailure: true, - }, - } - - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if emitProxyWarning() { - t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") - } - - if tt.envSSLCertFile != "" { - testhelper.ModifyEnvironment(t, gitalyx509.SSLCertFile, tt.envSSLCertFile) - } - ctx := testhelper.Context(t) - - conn, err := Dial(tt.rawAddress, tt.dialOpts) - if tt.expectDialFailure { - require.Error(t, err) - return - } - require.NoError(t, err) - defer conn.Close() - - _, err = healthpb.NewHealthClient(conn).Check(ctx, &healthpb.HealthCheckRequest{}) - if tt.expectHealthFailure { - require.Error(t, err) - return - } - require.NoError(t, err) - }) - } -} - -func TestDialSidechannel(t *testing.T) { - if emitProxyWarning() { - t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") - } - - stop, connectionMap := startListeners(t, func(creds credentials.TransportCredentials) *grpc.Server { - return grpc.NewServer(TestSidechannelServer(newLogger(t), creds, func( - _ interface{}, - stream grpc.ServerStream, - sidechannelConn io.ReadWriteCloser, - ) error { - if method, ok := grpc.Method(stream.Context()); !ok || method != "/grpc.health.v1.Health/Check" { - return fmt.Errorf("unexpected method: %s", method) - } - - var req healthpb.HealthCheckRequest - if err := stream.RecvMsg(&req); err != nil { - return fmt.Errorf("recv msg: %w", err) - } - - if _, err := io.Copy(sidechannelConn, sidechannelConn); err != nil { - return fmt.Errorf("copy: %w", err) - } - - if err := stream.SendMsg(&healthpb.HealthCheckResponse{}); err != nil { - return fmt.Errorf("send msg: %w", err) - } - - return nil - })...) - }) - defer stop() - - unixSocketAbsPath := connectionMap["unix"] - - tempDir := testhelper.TempDir(t) - - unixSocketPath := filepath.Join(tempDir, "gitaly.socket") - require.NoError(t, os.Symlink(unixSocketAbsPath, unixSocketPath)) - - registry := NewSidechannelRegistry(newLogger(t)) - - tests := []struct { - name string - rawAddress string - envSSLCertFile string - dialOpts []grpc.DialOption - }{ - { - name: "tcp sidechannel", - rawAddress: "tcp://localhost:" + connectionMap["tcp"], // "tcp://localhost:1234" - }, - { - name: "tls sidechannel", - rawAddress: "tls://localhost:" + connectionMap["tls"], // "tls://localhost:1234" - envSSLCertFile: "./testdata/gitalycert.pem", - }, - { - name: "unix sidechannel", - rawAddress: "unix:" + unixSocketAbsPath, // "unix:/tmp/temp-socket" - }, - } - - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - if tt.envSSLCertFile != "" { - testhelper.ModifyEnvironment(t, gitalyx509.SSLCertFile, tt.envSSLCertFile) - } - ctx := testhelper.Context(t) - - conn, err := DialSidechannel(ctx, tt.rawAddress, registry, tt.dialOpts) - require.NoError(t, err) - defer conn.Close() - - ctx, scw := registry.Register(ctx, func(conn SidechannelConn) error { - const message = "hello world" - if _, err := io.WriteString(conn, message); err != nil { - return err - } - if err := conn.CloseWrite(); err != nil { - return err - } - buf, err := io.ReadAll(conn) - if err != nil { - return err - } - if string(buf) != message { - return fmt.Errorf("expected %q, got %q", message, buf) - } - - return nil - }) - defer scw.Close() - - req := &healthpb.HealthCheckRequest{Service: "test sidechannel"} - _, err = healthpb.NewHealthClient(conn).Check(ctx, req) - require.NoError(t, err) - require.NoError(t, scw.Close()) - }) - } -} - -type testSvc struct { - proxytestdata.UnimplementedTestServiceServer - PingMethod func(context.Context, *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) - PingStreamMethod func(stream proxytestdata.TestService_PingStreamServer) error -} - -func (ts *testSvc) Ping(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { - if ts.PingMethod != nil { - return ts.PingMethod(ctx, r) - } - - return &proxytestdata.PingResponse{}, nil -} - -func (ts *testSvc) PingStream(stream proxytestdata.TestService_PingStreamServer) error { - if ts.PingStreamMethod != nil { - return ts.PingStreamMethod(stream) - } - - return nil -} - -func TestDial_Correlation(t *testing.T) { - t.Run("unary", func(t *testing.T) { - serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) - - listener, err := net.Listen("unix", serverSocketPath) - require.NoError(t, err) - - grpcServer := grpc.NewServer(grpc.UnaryInterceptor(grpccorrelation.UnaryServerCorrelationInterceptor())) - svc := &testSvc{ - PingMethod: func(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { - cid := correlation.ExtractFromContext(ctx) - assert.Equal(t, "correlation-id-1", cid) - return &proxytestdata.PingResponse{}, nil - }, - } - proxytestdata.RegisterTestServiceServer(grpcServer, svc) - - go func() { assert.NoError(t, grpcServer.Serve(listener)) }() - - defer grpcServer.Stop() - ctx := testhelper.Context(t) - - cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) - require.NoError(t, err) - defer cc.Close() - - client := proxytestdata.NewTestServiceClient(cc) - - ctx = correlation.ContextWithCorrelation(ctx, "correlation-id-1") - _, err = client.Ping(ctx, &proxytestdata.PingRequest{}) - require.NoError(t, err) - }) - - t.Run("stream", func(t *testing.T) { - serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) - - listener, err := net.Listen("unix", serverSocketPath) - require.NoError(t, err) - - grpcServer := grpc.NewServer(grpc.StreamInterceptor(grpccorrelation.StreamServerCorrelationInterceptor())) - svc := &testSvc{ - PingStreamMethod: func(stream proxytestdata.TestService_PingStreamServer) error { - cid := correlation.ExtractFromContext(stream.Context()) - assert.Equal(t, "correlation-id-1", cid) - _, err := stream.Recv() - assert.NoError(t, err) - return stream.Send(&proxytestdata.PingResponse{}) - }, - } - proxytestdata.RegisterTestServiceServer(grpcServer, svc) - - go func() { assert.NoError(t, grpcServer.Serve(listener)) }() - defer grpcServer.Stop() - ctx := testhelper.Context(t) - - cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) - require.NoError(t, err) - defer cc.Close() - - client := proxytestdata.NewTestServiceClient(cc) - - ctx = correlation.ContextWithCorrelation(ctx, "correlation-id-1") - stream, err := client.PingStream(ctx) - require.NoError(t, err) - - require.NoError(t, stream.Send(&proxytestdata.PingRequest{})) - require.NoError(t, stream.CloseSend()) - - _, err = stream.Recv() - require.NoError(t, err) - }) -} - -func TestDial_Tracing(t *testing.T) { - serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) - - listener, err := net.Listen("unix", serverSocketPath) - require.NoError(t, err) - - clientSendClosed := make(chan struct{}) - - // This is our test service. All it does is to create additional spans - // which should in the end be visible when collecting all registered - // spans. - grpcServer := grpc.NewServer( - grpc.UnaryInterceptor(grpctracing.UnaryServerTracingInterceptor()), - grpc.StreamInterceptor(grpctracing.StreamServerTracingInterceptor()), - ) - svc := &testSvc{ - PingMethod: func(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { - span, _ := opentracing.StartSpanFromContext(ctx, "nested-span") - defer span.Finish() - span.LogKV("was", "called") - return &proxytestdata.PingResponse{}, nil - }, - PingStreamMethod: func(stream proxytestdata.TestService_PingStreamServer) error { - // synchronize the client has returned from CloseSend as the client span finishing - // races with sending the stream close to the server - select { - case <-clientSendClosed: - case <-stream.Context().Done(): - return stream.Context().Err() - } - - span, _ := opentracing.StartSpanFromContext(stream.Context(), "nested-span") - defer span.Finish() - span.LogKV("was", "called") - return nil - }, - } - proxytestdata.RegisterTestServiceServer(grpcServer, svc) - - go func() { require.NoError(t, grpcServer.Serve(listener)) }() - defer grpcServer.Stop() - ctx := testhelper.Context(t) - - t.Run("unary", func(t *testing.T) { - reporter := jaeger.NewInMemoryReporter() - tracer, tracerCloser := jaeger.NewTracer("", jaeger.NewConstSampler(true), reporter) - defer tracerCloser.Close() - - defer func(old opentracing.Tracer) { opentracing.SetGlobalTracer(old) }(opentracing.GlobalTracer()) - opentracing.SetGlobalTracer(tracer) - - // This needs to be run after setting up the global tracer as it will cause us to - // create the span when executing the RPC call further down below. - cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) - require.NoError(t, err) - defer cc.Close() - - // We set up a "main" span here, which is going to be what the - // other spans inherit from. In order to check whether baggage - // works correctly, we also set up a "stub" baggage item which - // should be inherited to child contexts. - span := tracer.StartSpan("unary-check") - span = span.SetBaggageItem("service", "stub") - ctx := opentracing.ContextWithSpan(ctx, span) - - // We're now invoking the unary RPC with the span injected into - // the context. This should create a span that's nested into - // the "stream-check" span. - _, err = proxytestdata.NewTestServiceClient(cc).Ping(ctx, &proxytestdata.PingRequest{}) - require.NoError(t, err) - - span.Finish() - - spans := reporter.GetSpans() - require.Len(t, spans, 3) - - for i, expectedSpan := range []struct { - baggage string - operation string - }{ - // This is the first span we expect, which is the - // "health" span which we've manually created inside of - // PingMethod. - {baggage: "", operation: "nested-span"}, - // This span is the RPC call to TestService/Ping. It - // inherits the "unary-check" we set up and thus has - // baggage. - {baggage: "stub", operation: "/mwitkow.testproto.TestService/Ping"}, - // And this finally is the outermost span which we - // manually set up before the RPC call. - {baggage: "stub", operation: "unary-check"}, - } { - assert.IsType(t, spans[i], &jaeger.Span{}) - span := spans[i].(*jaeger.Span) - - assert.Equal(t, expectedSpan.baggage, span.BaggageItem("service"), "wrong baggage item for span %d", i) - assert.Equal(t, expectedSpan.operation, span.OperationName(), "wrong operation name for span %d", i) - } - }) - - t.Run("stream", func(t *testing.T) { - reporter := jaeger.NewInMemoryReporter() - tracer, tracerCloser := jaeger.NewTracer("", jaeger.NewConstSampler(true), reporter) - defer tracerCloser.Close() - - defer func(old opentracing.Tracer) { opentracing.SetGlobalTracer(old) }(opentracing.GlobalTracer()) - opentracing.SetGlobalTracer(tracer) - - // This needs to be run after setting up the global tracer as it will cause us to - // create the span when executing the RPC call further down below. - cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) - require.NoError(t, err) - defer cc.Close() - - // We set up a "main" span here, which is going to be what the other spans inherit - // from. In order to check whether baggage works correctly, we also set up a "stub" - // baggage item which should be inherited to child contexts. - span := tracer.StartSpan("stream-check") - span = span.SetBaggageItem("service", "stub") - ctx := opentracing.ContextWithSpan(ctx, span) - - // We're now invoking the streaming RPC with the span injected into the context. - // This should create a span that's nested into the "stream-check" span. - stream, err := proxytestdata.NewTestServiceClient(cc).PingStream(ctx) - require.NoError(t, err) - require.NoError(t, stream.CloseSend()) - close(clientSendClosed) - - // wait for the server to finish its spans and close the stream - resp, err := stream.Recv() - require.Equal(t, err, io.EOF) - require.Nil(t, resp) - - span.Finish() - - spans := reporter.GetSpans() - require.Len(t, spans, 3) - - for i, expectedSpan := range []struct { - baggage string - operation string - }{ - // This span is the RPC call to TestService/Ping. - {baggage: "stub", operation: "/mwitkow.testproto.TestService/PingStream"}, - // This is the second span we expect, which is the "nested-span" span which - // we've manually created inside of PingMethod. This is different than for - // unary RPCs: given that one can send multiple messages to the RPC, we may - // see multiple such "nested-span"s being created. And the PingStream span - // will only be finalized last. - {baggage: "", operation: "nested-span"}, - // And this finally is the outermost span which we - // manually set up before the RPC call. - {baggage: "stub", operation: "stream-check"}, - } { - if !assert.IsType(t, spans[i], &jaeger.Span{}) { - continue - } - - span := spans[i].(*jaeger.Span) - assert.Equal(t, expectedSpan.baggage, span.BaggageItem("service"), "wrong baggage item for span %d", i) - assert.Equal(t, expectedSpan.operation, span.OperationName(), "wrong operation name for span %d", i) - } - }) -} - -// healthServer provide a basic GRPC health service endpoint for testing purposes -type healthServer struct { - healthpb.UnimplementedHealthServer -} - -func (*healthServer) Check(context.Context, *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) { - return &healthpb.HealthCheckResponse{}, nil -} - -// startTCPListener will start a insecure TCP listener on a random unused port -func startTCPListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { - listener, err := net.Listen("tcp", "localhost:0") - require.NoError(t, err) - - tcpPort := listener.Addr().(*net.TCPAddr).Port - address := fmt.Sprintf("%d", tcpPort) - - grpcServer := factory(insecure.NewCredentials()) - go grpcServer.Serve(listener) - - return func() { - grpcServer.Stop() - }, address -} - -// startUnixListener will start a unix socket listener using a temporary file -func startUnixListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { - serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) - - listener, err := net.Listen("unix", serverSocketPath) - require.NoError(t, err) - - grpcServer := factory(insecure.NewCredentials()) - go grpcServer.Serve(listener) - - return func() { - grpcServer.Stop() - }, serverSocketPath -} - -// startTLSListener will start a secure TLS listener on a random unused port -//go:generate openssl req -newkey rsa:4096 -new -nodes -x509 -days 3650 -out testdata/gitalycert.pem -keyout testdata/gitalykey.pem -subj "/C=US/ST=California/L=San Francisco/O=GitLab/OU=GitLab-Shell/CN=localhost" -addext "subjectAltName = IP:127.0.0.1, DNS:localhost" -func startTLSListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { - listener, err := net.Listen("tcp", "localhost:0") - require.NoError(t, err) - - tcpPort := listener.Addr().(*net.TCPAddr).Port - address := fmt.Sprintf("%d", tcpPort) - - cert, err := tls.LoadX509KeyPair("testdata/gitalycert.pem", "testdata/gitalykey.pem") - require.NoError(t, err) - - grpcServer := factory( - credentials.NewTLS(&tls.Config{ - Certificates: []tls.Certificate{cert}, - MinVersion: tls.VersionTLS12, - }), - ) - go grpcServer.Serve(listener) - - return func() { - grpcServer.Stop() - }, address -} - -var listeners = map[string]func(testing.TB, func(credentials.TransportCredentials) *grpc.Server) (func(), string){ - "tcp": startTCPListener, - "unix": startUnixListener, - "tls": startTLSListener, -} - -// startListeners will start all the different listeners used in this test -func startListeners(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), map[string]string) { - var closers []func() - connectionMap := map[string]string{} - for k, v := range listeners { - closer, address := v(t, factory) - closers = append(closers, closer) - connectionMap[k] = address - } - - return func() { - for _, v := range closers { - v() - } - }, connectionMap -} - -func emitProxyWarning() bool { - for _, key := range proxyEnvironmentKeys { - value := os.Getenv(key) - if value != "" { - return true - } - value = os.Getenv(strings.ToUpper(key)) - if value != "" { - return true - } - } - return false -} - -func TestHealthCheckDialer(t *testing.T) { - _, addr, cleanup := runServer(t, "token") - defer cleanup() - ctx := testhelper.Context(t) - - _, err := HealthCheckDialer(DialContext)(ctx, addr, nil) - testhelper.RequireGrpcError(t, status.Error(codes.Unauthenticated, "authentication required"), err) - - cc, err := HealthCheckDialer(DialContext)(ctx, addr, []grpc.DialOption{grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2("token"))}) - require.NoError(t, err) - require.NoError(t, cc.Close()) -} - -func newLogger(t testing.TB) *logrus.Entry { return logrus.NewEntry(testhelper.NewDiscardingLogger(t)) } diff --git a/client/pool.go b/client/pool.go deleted file mode 100644 index 1c414870b..000000000 --- a/client/pool.go +++ /dev/null @@ -1,103 +0,0 @@ -package client - -import ( - "context" - "errors" - "fmt" - "sync" - - gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "google.golang.org/grpc" -) - -// Dialer is used by the Pool to create a *grpc.ClientConn. -type Dialer func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) - -type poolKey struct{ address, token string } - -// Pool is a pool of GRPC connections. Connections created by it are safe for -// concurrent use. -type Pool struct { - lock sync.RWMutex - conns map[poolKey]*grpc.ClientConn - dialer Dialer - dialOptions []grpc.DialOption -} - -// NewPool creates a new connection pool that's ready for use. -func NewPool(dialOptions ...grpc.DialOption) *Pool { - return NewPoolWithOptions(WithDialOptions(dialOptions...)) -} - -// NewPoolWithOptions creates a new connection pool that's ready for use. -func NewPoolWithOptions(poolOptions ...PoolOption) *Pool { - opts := applyPoolOptions(poolOptions) - return &Pool{ - conns: make(map[poolKey]*grpc.ClientConn), - dialer: opts.dialer, - dialOptions: opts.dialOptions, - } -} - -// Close closes all connections tracked by the connection pool. -func (p *Pool) Close() error { - p.lock.Lock() - defer p.lock.Unlock() - - var firstError error - for addr, conn := range p.conns { - if err := conn.Close(); err != nil && firstError == nil { - firstError = err - } - - delete(p.conns, addr) - } - - return firstError -} - -// Dial creates a new client connection in case no connection to the given -// address exists already or returns an already established connection. The -// returned address must not be `Close()`d. -func (p *Pool) Dial(ctx context.Context, address, token string) (*grpc.ClientConn, error) { - return p.getOrCreateConnection(ctx, address, token) -} - -func (p *Pool) getOrCreateConnection(ctx context.Context, address, token string) (*grpc.ClientConn, error) { - if address == "" { - return nil, errors.New("address is empty") - } - - key := poolKey{address: address, token: token} - - p.lock.RLock() - cc, ok := p.conns[key] - p.lock.RUnlock() - - if ok { - return cc, nil - } - - p.lock.Lock() - defer p.lock.Unlock() - - cc, ok = p.conns[key] - if ok { - return cc, nil - } - - opts := make([]grpc.DialOption, 0, len(p.dialOptions)+1) - opts = append(opts, p.dialOptions...) - if token != "" { - opts = append(opts, grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2(token))) - } - - cc, err := p.dialer(ctx, address, opts) - if err != nil { - return nil, fmt.Errorf("could not dial source: %v", err) - } - - p.conns[key] = cc - - return cc, nil -} diff --git a/client/pool_options.go b/client/pool_options.go deleted file mode 100644 index 35f924c41..000000000 --- a/client/pool_options.go +++ /dev/null @@ -1,39 +0,0 @@ -package client - -import "google.golang.org/grpc" - -type poolOptions struct { - dialer Dialer - dialOptions []grpc.DialOption -} - -//nolint: revive,stylecheck // This is unintentionally missing documentation. -type PoolOption func(*poolOptions) - -func applyPoolOptions(options []PoolOption) *poolOptions { - opts := defaultPoolOptions() - for _, opt := range options { - opt(opts) - } - return opts -} - -func defaultPoolOptions() *poolOptions { - return &poolOptions{ - dialer: DialContext, - } -} - -// WithDialer sets the dialer that is called for each new gRPC connection the pool establishes. -func WithDialer(dialer Dialer) PoolOption { - return func(options *poolOptions) { - options.dialer = dialer - } -} - -// WithDialOptions sets gRPC options to use for the gRPC Dial call. -func WithDialOptions(dialOptions ...grpc.DialOption) PoolOption { - return func(options *poolOptions) { - options.dialOptions = dialOptions - } -} diff --git a/client/pool_test.go b/client/pool_test.go deleted file mode 100644 index 924146fd7..000000000 --- a/client/pool_test.go +++ /dev/null @@ -1,255 +0,0 @@ -package client - -import ( - "context" - "net" - "sync" - "testing" - - grpcmw "github.com/grpc-ecosystem/go-grpc-middleware" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - gitalycfgauth "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "google.golang.org/grpc" - "google.golang.org/grpc/codes" - "google.golang.org/grpc/health" - "google.golang.org/grpc/health/grpc_health_v1" - "google.golang.org/grpc/status" -) - -func TestPoolDial(t *testing.T) { - _, insecure, cleanup := runServer(t, "") - defer cleanup() - - creds := "my-little-secret" - _, secure, cleanup := runServer(t, creds) - defer cleanup() - - var dialFuncInvocationCounter int - - testCases := []struct { - desc string - poolOptions []PoolOption - test func(t *testing.T, ctx context.Context, pool *Pool) - }{ - { - desc: "dialing once succeeds", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, insecure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - }, - }, - { - desc: "dialing multiple times succeeds", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - for i := 0; i < 10; i++ { - conn, err := pool.Dial(ctx, insecure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - } - }, - }, - { - desc: "redialing after close succeeds", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, insecure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - - require.NoError(t, pool.Close()) - - conn, err = pool.Dial(ctx, insecure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - }, - }, - { - desc: "dialing invalid fails", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, "foo/bar", "") - require.Error(t, err) - require.Nil(t, conn) - }, - }, - { - desc: "dialing empty fails", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, "", "") - require.Error(t, err) - require.Nil(t, conn) - }, - }, - { - desc: "dialing concurrently succeeds", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - wg := sync.WaitGroup{} - - for i := 0; i < 10; i++ { - wg.Add(1) - - go func() { - defer wg.Done() - conn, err := pool.Dial(ctx, insecure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - }() - } - - wg.Wait() - }, - }, - { - desc: "dialing with credentials succeeds", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, secure, creds) - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - }, - }, - { - desc: "dialing with invalid credentials fails", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, secure, "invalid-credential") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.PermissionDenied) - }, - }, - { - desc: "dialing with missing credentials fails", - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, secure, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.Unauthenticated) - }, - }, - { - desc: "dialing with dial options succeeds", - poolOptions: []PoolOption{ - WithDialOptions(grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2(creds))), - }, - test: func(t *testing.T, ctx context.Context, pool *Pool) { - conn, err := pool.Dial(ctx, secure, "") // no creds here - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) // auth passes - }, - }, - { - desc: "dial options function is invoked per dial", - poolOptions: []PoolOption{ - WithDialer(func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) { - dialFuncInvocationCounter++ - return DialContext(ctx, address, dialOptions) - }), - }, - test: func(t *testing.T, ctx context.Context, pool *Pool) { - _, err := pool.Dial(ctx, secure, "") - require.NoError(t, err) - assert.Equal(t, 1, dialFuncInvocationCounter) - _, err = pool.Dial(ctx, insecure, "") - require.NoError(t, err) - assert.Equal(t, 2, dialFuncInvocationCounter) - }, - }, - } - - for _, tc := range testCases { - t.Run(tc.desc, func(t *testing.T) { - pool := NewPoolWithOptions(tc.poolOptions...) - defer func() { - require.NoError(t, pool.Close()) - }() - ctx := testhelper.Context(t) - - tc.test(t, ctx, pool) - }) - } -} - -func runServer(t *testing.T, creds string) (*health.Server, string, func()) { - return runServerWithAddr(t, creds, "127.0.0.1:0") -} - -func runServerWithAddr(t *testing.T, creds, addr string) (*health.Server, string, func()) { - t.Helper() - - var opts []grpc.ServerOption - if creds != "" { - opts = []grpc.ServerOption{ - grpc.StreamInterceptor(grpcmw.ChainStreamServer( - auth.StreamServerInterceptor(gitalycfgauth.Config{ - Token: creds, - }), - )), - grpc.UnaryInterceptor(grpcmw.ChainUnaryServer( - auth.UnaryServerInterceptor(gitalycfgauth.Config{ - Token: creds, - }), - )), - } - } - - server := grpc.NewServer(opts...) - - healthServer := health.NewServer() - grpc_health_v1.RegisterHealthServer(server, healthServer) - - listener, err := net.Listen("tcp", addr) - require.NoError(t, err) - - errQ := make(chan error) - go func() { - errQ <- server.Serve(listener) - }() - - return healthServer, "tcp://" + listener.Addr().String(), func() { - server.Stop() - require.NoError(t, <-errQ) - } -} - -func verifyConnection(t *testing.T, ctx context.Context, conn *grpc.ClientConn, expectedCode codes.Code) { - t.Helper() - - _, err := grpc_health_v1.NewHealthClient(conn).Check(ctx, &grpc_health_v1.HealthCheckRequest{}) - - if expectedCode == codes.OK { - require.NoError(t, err) - } else { - require.Equal(t, expectedCode, status.Code(err)) - } -} - -func TestPool_Dial_same_addr_another_token(t *testing.T) { - ctx := testhelper.Context(t) - - _, addr, stop1 := runServer(t, "") - defer func() { stop1() }() - - pool := NewPool() - defer pool.Close() - - // all good - server is running and serving requests - conn, err := pool.Dial(ctx, addr, "") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) - - stop1() // stop the server and all open connections - stop1 = func() {} - - cfg, err := starter.ParseEndpoint(addr) - require.NoError(t, err) - - // start server on the same address (simulation of service restart) but with token verification enabled - _, _, stop2 := runServerWithAddr(t, "token", cfg.Addr) - defer stop2() - - // all good - another server with token verification is running on the same address and new connection was established - conn, err = pool.Dial(ctx, addr, "token") - require.NoError(t, err) - verifyConnection(t, ctx, conn, codes.OK) -} diff --git a/client/receive_pack.go b/client/receive_pack.go deleted file mode 100644 index 3f1e98864..000000000 --- a/client/receive_pack.go +++ /dev/null @@ -1,42 +0,0 @@ -package client - -import ( - "context" - "io" - - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" - "google.golang.org/grpc" -) - -// ReceivePack proxies an SSH git-receive-pack (git push) session to Gitaly -func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHReceivePackRequest) (int32, error) { - ctx2, cancel := context.WithCancel(ctx) - defer cancel() - - ssh := gitalypb.NewSSHServiceClient(conn) - receivePackStream, err := ssh.SSHReceivePack(ctx2) - if err != nil { - return 0, err - } - - if err = receivePackStream.Send(req); err != nil { - return 0, err - } - - inWriter := streamio.NewWriter(func(p []byte) error { - return receivePackStream.Send(&gitalypb.SSHReceivePackRequest{Stdin: p}) - }) - - return stream.Handler(func() (stream.StdoutStderrResponse, error) { - return receivePackStream.Recv() - }, func(errC chan error) { - _, errRecv := io.Copy(inWriter, stdin) - if err := receivePackStream.CloseSend(); err != nil && errRecv == nil { - errC <- err - } else { - errC <- errRecv - } - }, stdout, stderr) -} diff --git a/client/sidechannel.go b/client/sidechannel.go deleted file mode 100644 index fc79502ea..000000000 --- a/client/sidechannel.go +++ /dev/null @@ -1,100 +0,0 @@ -package client - -import ( - "context" - "io" - - "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "google.golang.org/grpc" - "google.golang.org/grpc/credentials" -) - -// SidechannelRegistry associates sidechannel callbacks with outbound -// gRPC calls. -type SidechannelRegistry struct { - registry *sidechannel.Registry - logger *logrus.Entry -} - -// NewSidechannelRegistry returns a new registry. -func NewSidechannelRegistry(logger *logrus.Entry) *SidechannelRegistry { - return &SidechannelRegistry{ - registry: sidechannel.NewRegistry(), - logger: logger, - } -} - -// Register registers a callback. It adds metadata to ctx and returns the -// new context. The caller must use the new context for the gRPC call. -// Caller must Close() the returned SidechannelWaiter to prevent resource -// leaks. -func (sr *SidechannelRegistry) Register( - ctx context.Context, - callback func(SidechannelConn) error, -) (context.Context, *SidechannelWaiter) { - ctx, waiter := sidechannel.RegisterSidechannel( - ctx, - sr.registry, - func(cc *sidechannel.ClientConn) error { return callback(cc) }, - ) - return ctx, &SidechannelWaiter{waiter: waiter} -} - -// SidechannelWaiter represents a pending sidechannel and its callback. -type SidechannelWaiter struct{ waiter *sidechannel.Waiter } - -// Close de-registers the sidechannel callback. If the callback is still -// running, Close blocks until it is done and returns the error return -// value of the callback. If the callback has not been called yet, Close -// returns an error immediately. -func (w *SidechannelWaiter) Close() error { return w.waiter.Close() } - -// SidechannelConn allows a client to read and write bytes with less -// overhead than doing so via gRPC messages. -type SidechannelConn interface { - io.ReadWriter - - // CloseWrite tells the server we won't write any more data. We can still - // read data from the server after CloseWrite(). A typical use case is in - // an RPC where the byte stream has a request/response pattern: the - // client then uses CloseWrite() to signal the end of the request body. - // When the client calls CloseWrite(), the server receives EOF. - CloseWrite() error -} - -// TestSidechannelServer allows downstream consumers of this package to -// create mock sidechannel gRPC servers. -func TestSidechannelServer( - logger *logrus.Entry, - creds credentials.TransportCredentials, - handler func(interface{}, grpc.ServerStream, io.ReadWriteCloser) error, -) []grpc.ServerOption { - return []grpc.ServerOption{ - SidechannelServer(logger, creds), - grpc.UnknownServiceHandler(func(srv interface{}, stream grpc.ServerStream) error { - conn, err := OpenServerSidechannel(stream.Context()) - if err != nil { - return err - } - defer conn.Close() - - return handler(srv, stream, conn) - }), - } -} - -// SidechannelServer adds sidechannel support to a gRPC server -func SidechannelServer(logger *logrus.Entry, creds credentials.TransportCredentials) grpc.ServerOption { - lm := listenmux.New(creds) - lm.Register(backchannel.NewServerHandshaker(logger, backchannel.NewRegistry(), nil)) - return grpc.Creds(lm) -} - -// OpenServerSidechannel opens a sidechannel on the server side. This -// only works if the server was created using SidechannelServer(). -func OpenServerSidechannel(ctx context.Context) (io.ReadWriteCloser, error) { - return sidechannel.OpenSidechannel(ctx) -} diff --git a/client/testdata/gitalycert.pem b/client/testdata/gitalycert.pem deleted file mode 100644 index a64587df0..000000000 --- a/client/testdata/gitalycert.pem +++ /dev/null @@ -1,34 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIF6TCCA9GgAwIBAgIUPDnPz71IoFtFm9mHRpGdKBteymQwDQYJKoZIhvcNAQEL -BQAwdjELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcM -DVNhbiBGcmFuY2lzY28xDzANBgNVBAoMBkdpdExhYjEVMBMGA1UECwwMR2l0TGFi -LVNoZWxsMRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMjAxMjAzMDU1MDQxWhcNMzAx -MjAxMDU1MDQxWjB2MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEW -MBQGA1UEBwwNU2FuIEZyYW5jaXNjbzEPMA0GA1UECgwGR2l0TGFiMRUwEwYDVQQL -DAxHaXRMYWItU2hlbGwxEjAQBgNVBAMMCWxvY2FsaG9zdDCCAiIwDQYJKoZIhvcN -AQEBBQADggIPADCCAgoCggIBAML4wj2olYo7VfWeQv+T0jLJTXmxGOAXLJLGUnPM -rtzQUXWvnxUWvMLFITKPnc9tsLEUtJGjnu0E1mUS2fX1zOgcX/SVT5paUTQUMthV -WgeW/PaLpPX+UJ2MDErit9hYIOGkmmZa7teWac9i/XVg9QXG6emly8xK8Rvxx0r8 -CmYA1ztL5lq9agpWkFpKPlTGb7eU7Dsrx68+QPlmPZnuPZbiSiAtOz63o29stRKz -eMPDXVk9vXwMetUCmIM0cvrtUrufTuJ2xQs+9w4wbwYFO4Tb32lMxn8MjLtJddH0 -43UR6Nh/sLJuTKKA/m3Qv6gHF7E2y7nx6IW/5pTvjV3yqU/5Cg01IZ29y4yZ6ayw -/27TX6R00Bczj+QLhnm49up9rr4AsjaSPo5f7eNjPUwpxrTSga4wndIAB3gEiXii -vt9n58zktbGDXxNQJlBy0D86D1iY0Gwwa7XTqPOnWDzk0j1450ipCbwGTe2wnbeT -vFizgOPmDZCpR2jRozNZK5tb7EkavvD+ccKVib7aA0nFBHLXiiAEGsGza5hosVbG -r8XC0gbtkt9S15l2R+LywvtiiQX+Uitt9FTIdzoQZLQJM+JYB0gNxe/b8Dv/I4me -vZKpX2TxBHWCrSrr+42hAxEWbr3kPhYn4P31xwyeU5sh2Sjq8oFqsPE0UD9fvs8h -SxglAgMBAAGjbzBtMB0GA1UdDgQWBBTfhcZPjqdqwJ2Hq42VOZdSXy9ZQDAfBgNV -HSMEGDAWgBTfhcZPjqdqwJ2Hq42VOZdSXy9ZQDAPBgNVHRMBAf8EBTADAQH/MBoG -A1UdEQQTMBGHBH8AAAGCCWxvY2FsaG9zdDANBgkqhkiG9w0BAQsFAAOCAgEANEqH -eeCjRtw2yKcjJikiTLzXcLtHgh+Jd9Tqtw99NozxFbjLBuCv58mEY5irVAfJlObZ -LzIXeYrziC+DYrza0HJX4zCpQ3B/XcMfjjVIsFNJoUkUYKGUdDL0xezBjm+UtLOx -P5uGS4VGWNspPIUPEts6sl5kRlRwSAscKFvWkC+M7qAskN/23KS/cCiMAgv4A6Fu -n1HcysjgmLBkYTqqYDJNPYWI67wgBoNSVdqgAU0CQzVRqTtjw7UYJX7DXsThElO3 -Jt18v5a8eSjXs4BnluVNag61BeYdIkGK07BOS8Rt5eHpP+4bLGWsjL3ltn98f6me -OTaR6Vw1QE8qj1Nr/hUaevcfypsDInMn5TvyIbXSKOHf2KlD4HOv/XLb9Kwi3nzd -xXcU2dWxg1odnssdwM4Tf065sTiUaVUdM2qo1hz0fIs+k4IexB+T0qs52KSvqKVZ -ZY8/iGF1gV+SnDSIIgTlrGlovnQ+nkboZBvQc/feFjsE4LyOuYtyF5nyLswz6PXR -Ky4SsuUW4VWFaN9DFrLovs2crfKyZjawu07U76JyIWGTnxJsxf41YoH6w4xFfPL8 -/hrKnWIIi9zWsJD0/JyFIV1gK91oOgMg2HoaJ8ckX97KzkcyVBIfk9/MvGWRS6sw -IHxi1GSsW6bNzD7+W36W/+Mhd67zt94Q3pyCvdA= ------END CERTIFICATE----- diff --git a/client/testdata/gitalykey.pem b/client/testdata/gitalykey.pem deleted file mode 100644 index f728527c3..000000000 --- a/client/testdata/gitalykey.pem +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDC+MI9qJWKO1X1 -nkL/k9IyyU15sRjgFyySxlJzzK7c0FF1r58VFrzCxSEyj53PbbCxFLSRo57tBNZl -Etn19czoHF/0lU+aWlE0FDLYVVoHlvz2i6T1/lCdjAxK4rfYWCDhpJpmWu7XlmnP -Yv11YPUFxunppcvMSvEb8cdK/ApmANc7S+ZavWoKVpBaSj5Uxm+3lOw7K8evPkD5 -Zj2Z7j2W4kogLTs+t6NvbLUSs3jDw11ZPb18DHrVApiDNHL67VK7n07idsULPvcO -MG8GBTuE299pTMZ/DIy7SXXR9ON1EejYf7CybkyigP5t0L+oBxexNsu58eiFv+aU -741d8qlP+QoNNSGdvcuMmemssP9u01+kdNAXM4/kC4Z5uPbqfa6+ALI2kj6OX+3j -Yz1MKca00oGuMJ3SAAd4BIl4or7fZ+fM5LWxg18TUCZQctA/Og9YmNBsMGu106jz -p1g85NI9eOdIqQm8Bk3tsJ23k7xYs4Dj5g2QqUdo0aMzWSubW+xJGr7w/nHClYm+ -2gNJxQRy14ogBBrBs2uYaLFWxq/FwtIG7ZLfUteZdkfi8sL7YokF/lIrbfRUyHc6 -EGS0CTPiWAdIDcXv2/A7/yOJnr2SqV9k8QR1gq0q6/uNoQMRFm695D4WJ+D99ccM -nlObIdko6vKBarDxNFA/X77PIUsYJQIDAQABAoICAQCo9VuWhTZ54Ouf+zMCOj6I -xku+bkspPsvgsb6YHUNXlatR+gw5AUg43Q3ku/I85EifXFsSbqF1sqB8XHbHn+ef -KZ+5235tO2FtaSeas3ReaWjz2pXsmyOPM+MfLhO1hsGP6M3ob1rVNsKg9p7AjnIn -PHZOhN/0POlulvpmr73vIUFjYGXSMpznMpbLt9UGMCR2Cbchm9Hiumch+YjekUeM -LrOf6LKTqh4WnDTabO71bqLBiDBhhIsZdrNl2Bjf/LOaZfa9Z8Ff+oOsJyq/I9+t -RcD4hpDpXp3CW2mftcE7HXcTzqv4JH+Cv5g84A6GdQcCCoNHsywWY/NVE7cFOBmh -8eR68DVkcmTinOnvGYSW2HhlI4jT699fVDCmezb6HvRVj2ma5cVrWraGV5XbKyLX -CClp4MbBv0TT2ZCrjIA3GGs044Mkqdb5QOEG9tgcx0fNc9tLvK/cAwhzj+P5Ruhx -8uTW7LHiXtw+Gfl4FdO0qMTAcRzc09r0p/DCNHJoOpvDclyp2g4UfK1Y0DaWk4Tj -7VJAR+YrDUD1OqNRhp/7+Tmd6F0tpBNOwrSkii+3/RoMxN+iOPgEZv+DJELWPKNg -8YRwdbBIe5Zb4MMDZ1/9BWZETKhDWyvZDcGav3KzeIGCg2WHk2eXeaainSwRAQkt -d6+PDuOMnIK0scyWlr2p4QKCAQEA4rYwTGady5FADl9MlYQcew0Cmgj6XM+8e+Nh -/wPDJHv7VvojNtIEbm1p1JC9ZawupG75Cw5Y2M1zc99BM3YGTXz9MqyqBCD6Zi3F -1Blot3OrmAbnzs2V7hJ3IufjruwcWrH4Py7sTmtgTRBM+Cr0g/z0iHVFat4DL9dy -WCu0Y5wYON4FAi0h13z8ET2r3PgnxUrE2nuPoXpfGbXO7N0agkB5MN8QRAsWTCeA -3aE4mH5H0dU610faelWzEpXyMlLXrG6m6F6ye7dnSknM/8TReG/r0MyCOKQIHDdW -hB4iWDt0QtlP9cBKkhZ89n4hpBsTDhWv/s+xvKLO2z8aWI4ryQKCAQEA3Cjdn2mz -ypKpUkTfadRmL+uLlTd4s1eTzdLxO2o74X85l7JppPWh4fOBBFNytfVvU5HcvHC+ -GxgWrxIhMq0s7HKIDGdISOoERRKZwc9dj4BxLN48YaxwBRW4PKl2p5q2oQULBo/u -TtnFjE2TNx33tUfu9eVv7Yq4KFdhb/lSlZQwFFTmvo4LktPGC5TtPDPolE3tLAkx -JOWNMA7WAiQeWSjL5sfJViZeGBE2xjmnplibkb2K0VyQvUw31/LMNY7yWi7JY61J -e94okLRgiJSoOxgiDrQ5icSHgjOGDLgPUF5JFwc6aA91sDXN9wnPvlzU6vrxiBFR -tscmYiLbYG9/fQKCAQEAisQdWAZPe3SSkrl+NN5CWIckGoh4RirZIbOSHfd9kG1a -8Gf2+e0ezUCnUHavlvYHLprGUSAc/cbzbe8vB4KsZO2mRUguYIyW98f4mNRcpj1k -wI8pgAmSRcCDr5fkYwMeb90TKAlelrlenozlr9kLBWblfkjZjooJxVTIJnPJ3FaE -9Pngcu6REkbsOtlWwtAZ98bGKz0KMzqlzyTbXVwQh71S8Lj4Sc3HfiGH3SB7dcuF -xkgP1gmjDtI545xoPKk8Xcz02LJt6Q/fZzc5BSzBUkifPJSQ+H5egHbWu9N+DieG -CAzfxnpGqpidMHsPuFTiGvLnYL5b+ixlFQnQ5HdREQKCAQBgaLjcZTJpZB4nu6dG -Nc/l7jT6zAbcKl68REKFLTk5vzfeOS/QIAya4MI/vbc+/VKZ+wb5sjldrgfI9Jx7 -D6DbjjALlnLuEyR5hvK0D3W+MJXe+xbgAt4vK9q5HdCrBrIxAv9YCVFnUDAVB6eO -/F2MEgsPvUBtelC4wcMWgMzsWa9QR/mfup5Q1tIkIjxdH7Iat6FDpmbR7IAOaoDH -AUAU9SuNTTHauwR7b5ZX6cmDq8u8X49ZrTpo2uadd2J7lbSFT3W7Y5gJWTjUXVjk -loyxDBll7QBBV0Gr/5oVGckC/bbuEak/Bn4YAwfFxZMmnopSuD9qwYLSEpW5ZeBB -c7IVAoIBAFcJQlh+7RlqdoNYDOMaza8rJfGpUXu4GCcWUxEbeVjiI6t5ll6rbH27 -sSvC1Ja1thn6Thhxz4xkZIPs9v6b0pYN2O9yF4UA5ip6YQy7CmXQt/huXMEiD9KQ -WdyTkTO+3p5mxc3B8BcmNuNB2tQWS6xuGv2mijgya1gB/wL1Chv4aGoe4lpcqaUN -U8rdw2BeM+8XAiyqMLdsVAGLu2vLJX9UJUMKYegHMsGHORspLU0m8weNWeALz57H -l0YlTxi6Su8gGk3MDkCOUaYM+WtKGd1HILJ9XQDuy+sEdTO7UdSx3vs5POx/KHEG -L8aOeKE3Zf7tir2LjG/0phjefjgNoH0= ------END PRIVATE KEY----- diff --git a/client/upload_archive.go b/client/upload_archive.go deleted file mode 100644 index 8bd0c3407..000000000 --- a/client/upload_archive.go +++ /dev/null @@ -1,42 +0,0 @@ -package client - -import ( - "context" - "io" - - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" - "google.golang.org/grpc" -) - -// UploadArchive proxies an SSH git-upload-archive (git archive --remote) session to Gitaly -func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadArchiveRequest) (int32, error) { - ctx2, cancel := context.WithCancel(ctx) - defer cancel() - - ssh := gitalypb.NewSSHServiceClient(conn) - uploadPackStream, err := ssh.SSHUploadArchive(ctx2) - if err != nil { - return 0, err - } - - if err = uploadPackStream.Send(req); err != nil { - return 0, err - } - - inWriter := streamio.NewWriter(func(p []byte) error { - return uploadPackStream.Send(&gitalypb.SSHUploadArchiveRequest{Stdin: p}) - }) - - return stream.Handler(func() (stream.StdoutStderrResponse, error) { - return uploadPackStream.Recv() - }, func(errC chan error) { - _, errRecv := io.Copy(inWriter, stdin) - if err := uploadPackStream.CloseSend(); err != nil && errRecv == nil { - errC <- err - } else { - errC <- errRecv - } - }, stdout, stderr) -} diff --git a/client/upload_pack.go b/client/upload_pack.go deleted file mode 100644 index 8d971804b..000000000 --- a/client/upload_pack.go +++ /dev/null @@ -1,65 +0,0 @@ -package client - -import ( - "context" - "io" - - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" - "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" - "gitlab.com/gitlab-org/gitaly/v14/streamio" - "google.golang.org/grpc" -) - -// UploadPack proxies an SSH git-upload-pack (git fetch) session to Gitaly -func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackRequest) (int32, error) { - ctx2, cancel := context.WithCancel(ctx) - defer cancel() - - ssh := gitalypb.NewSSHServiceClient(conn) - uploadPackStream, err := ssh.SSHUploadPack(ctx2) - if err != nil { - return 0, err - } - - if err = uploadPackStream.Send(req); err != nil { - return 0, err - } - - inWriter := streamio.NewWriter(func(p []byte) error { - return uploadPackStream.Send(&gitalypb.SSHUploadPackRequest{Stdin: p}) - }) - - return stream.Handler(func() (stream.StdoutStderrResponse, error) { - return uploadPackStream.Recv() - }, func(errC chan error) { - _, errRecv := io.Copy(inWriter, stdin) - if err := uploadPackStream.CloseSend(); err != nil && errRecv == nil { - errC <- err - } else { - errC <- errRecv - } - }, stdout, stderr) -} - -// UploadPackWithSidechannel proxies an SSH git-upload-pack (git fetch) -// session to Gitaly using a sidechannel for the raw data transfer. -func UploadPackWithSidechannel(ctx context.Context, conn *grpc.ClientConn, reg *SidechannelRegistry, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackWithSidechannelRequest) (int32, error) { - ctx, cancel := context.WithCancel(ctx) - defer cancel() - - ctx, wt := reg.Register(ctx, func(c SidechannelConn) error { - return stream.ProxyPktLine(c, stdin, stdout, stderr) - }) - defer wt.Close() - - sshClient := gitalypb.NewSSHServiceClient(conn) - if _, err := sshClient.SSHUploadPackWithSidechannel(ctx, req); err != nil { - return 0, err - } - - if err := wt.Close(); err != nil { - return 0, err - } - - return 0, nil -} diff --git a/cmd/gitaly-backup/create.go b/cmd/gitaly-backup/create.go index 6c1ef8dfa..3baf82c41 100644 --- a/cmd/gitaly-backup/create.go +++ b/cmd/gitaly-backup/create.go @@ -11,8 +11,8 @@ import ( log "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/backup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/gitaly-backup/create_test.go b/cmd/gitaly-backup/create_test.go index 2d1613dc9..c93052edf 100644 --- a/cmd/gitaly-backup/create_test.go +++ b/cmd/gitaly-backup/create_test.go @@ -10,11 +10,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/gitaly-backup/main.go b/cmd/gitaly-backup/main.go index 2ce6ccafa..266c72506 100644 --- a/cmd/gitaly-backup/main.go +++ b/cmd/gitaly-backup/main.go @@ -6,7 +6,7 @@ import ( "io" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/log" ) type subcmd interface { diff --git a/cmd/gitaly-backup/restore.go b/cmd/gitaly-backup/restore.go index 3780aba49..8e7ae15bf 100644 --- a/cmd/gitaly-backup/restore.go +++ b/cmd/gitaly-backup/restore.go @@ -12,8 +12,8 @@ import ( log "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/backup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/gitaly-backup/restore_test.go b/cmd/gitaly-backup/restore_test.go index 9414c28ba..ef8b685d5 100644 --- a/cmd/gitaly-backup/restore_test.go +++ b/cmd/gitaly-backup/restore_test.go @@ -10,11 +10,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/gitaly-backup/testhelper_test.go b/cmd/gitaly-backup/testhelper_test.go index 64d8edae5..8f4479770 100644 --- a/cmd/gitaly-backup/testhelper_test.go +++ b/cmd/gitaly-backup/testhelper_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/cmd/gitaly-blackbox/main.go b/cmd/gitaly-blackbox/main.go index c0d2481ec..4791b93de 100644 --- a/cmd/gitaly-blackbox/main.go +++ b/cmd/gitaly-blackbox/main.go @@ -7,9 +7,9 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/blackbox" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/blackbox" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/version" ) var flagVersion = flag.Bool("version", false, "Print version and exit") diff --git a/cmd/gitaly-debug/analyzehttp.go b/cmd/gitaly-debug/analyzehttp.go index 805094ac7..73c16363e 100644 --- a/cmd/gitaly-debug/analyzehttp.go +++ b/cmd/gitaly-debug/analyzehttp.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" ) func analyzeHTTPClone(cloneURL string) { diff --git a/cmd/gitaly-debug/bitmap.go b/cmd/gitaly-debug/bitmap.go index 36e2b514b..2549407cd 100644 --- a/cmd/gitaly-debug/bitmap.go +++ b/cmd/gitaly-debug/bitmap.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/packfile" + "gitlab.com/gitlab-org/gitaly/internal/git/packfile" ) func listBitmapPack(idxFile string) { diff --git a/cmd/gitaly-debug/simulatehttp.go b/cmd/gitaly-debug/simulatehttp.go index f2cf35dab..c87b4f5ee 100644 --- a/cmd/gitaly-debug/simulatehttp.go +++ b/cmd/gitaly-debug/simulatehttp.go @@ -9,7 +9,7 @@ import ( "regexp" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) func simulateHTTPClone(gitDir string) { diff --git a/cmd/gitaly-git2go-v14/apply.go b/cmd/gitaly-git2go-v14/apply.go index fd3d9eb71..6c68ad6b5 100644 --- a/cmd/gitaly-git2go-v14/apply.go +++ b/cmd/gitaly-git2go-v14/apply.go @@ -16,8 +16,8 @@ import ( "path/filepath" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type patchIterator struct { diff --git a/cmd/gitaly-git2go-v14/cherry_pick.go b/cmd/gitaly-git2go-v14/cherry_pick.go index 605abcc39..a2f6eb326 100644 --- a/cmd/gitaly-git2go-v14/cherry_pick.go +++ b/cmd/gitaly-git2go-v14/cherry_pick.go @@ -11,8 +11,8 @@ import ( "fmt" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type cherryPickSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/cherry_pick_test.go b/cmd/gitaly-git2go-v14/cherry_pick_test.go index a578893ca..643660ea3 100644 --- a/cmd/gitaly-git2go-v14/cherry_pick_test.go +++ b/cmd/gitaly-git2go-v14/cherry_pick_test.go @@ -11,11 +11,11 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - cmdtesthelper "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + cmdtesthelper "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestCherryPick_validation(t *testing.T) { diff --git a/cmd/gitaly-git2go-v14/commit.go b/cmd/gitaly-git2go-v14/commit.go index 1b8f010c2..7b41a9491 100644 --- a/cmd/gitaly-git2go-v14/commit.go +++ b/cmd/gitaly-git2go-v14/commit.go @@ -8,7 +8,7 @@ import ( "encoding/gob" "flag" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/commit" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/commit" ) type commitSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/commit/change_file_mode.go b/cmd/gitaly-git2go-v14/commit/change_file_mode.go index 74d27c142..d587688ec 100644 --- a/cmd/gitaly-git2go-v14/commit/change_file_mode.go +++ b/cmd/gitaly-git2go-v14/commit/change_file_mode.go @@ -5,7 +5,7 @@ package commit import ( git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyChangeFileMode(action git2go.ChangeFileMode, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/commit.go b/cmd/gitaly-git2go-v14/commit/commit.go index 2992dc7f3..10dc92e05 100644 --- a/cmd/gitaly-git2go-v14/commit/commit.go +++ b/cmd/gitaly-git2go-v14/commit/commit.go @@ -10,8 +10,8 @@ import ( "fmt" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) // Run runs the commit subcommand. diff --git a/cmd/gitaly-git2go-v14/commit/create_directory.go b/cmd/gitaly-git2go-v14/commit/create_directory.go index cb9da2a22..7f1735d3b 100644 --- a/cmd/gitaly-git2go-v14/commit/create_directory.go +++ b/cmd/gitaly-git2go-v14/commit/create_directory.go @@ -8,7 +8,7 @@ import ( "path/filepath" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyCreateDirectory(action git2go.CreateDirectory, repo *git.Repository, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/create_file.go b/cmd/gitaly-git2go-v14/commit/create_file.go index 4aafc6f18..a807e31a8 100644 --- a/cmd/gitaly-git2go-v14/commit/create_file.go +++ b/cmd/gitaly-git2go-v14/commit/create_file.go @@ -5,7 +5,7 @@ package commit import ( git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyCreateFile(action git2go.CreateFile, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/delete_file.go b/cmd/gitaly-git2go-v14/commit/delete_file.go index a8a3ad870..368fc0410 100644 --- a/cmd/gitaly-git2go-v14/commit/delete_file.go +++ b/cmd/gitaly-git2go-v14/commit/delete_file.go @@ -5,7 +5,7 @@ package commit import ( git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyDeleteFile(action git2go.DeleteFile, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/move_file.go b/cmd/gitaly-git2go-v14/commit/move_file.go index 2bdf114d8..39209630d 100644 --- a/cmd/gitaly-git2go-v14/commit/move_file.go +++ b/cmd/gitaly-git2go-v14/commit/move_file.go @@ -5,7 +5,7 @@ package commit import ( git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyMoveFile(action git2go.MoveFile, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/update_file.go b/cmd/gitaly-git2go-v14/commit/update_file.go index 1972872bd..366d8329a 100644 --- a/cmd/gitaly-git2go-v14/commit/update_file.go +++ b/cmd/gitaly-git2go-v14/commit/update_file.go @@ -5,7 +5,7 @@ package commit import ( git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func applyUpdateFile(action git2go.UpdateFile, index *git.Index) error { diff --git a/cmd/gitaly-git2go-v14/commit/validate.go b/cmd/gitaly-git2go-v14/commit/validate.go index 52b2faaff..0addabcdc 100644 --- a/cmd/gitaly-git2go-v14/commit/validate.go +++ b/cmd/gitaly-git2go-v14/commit/validate.go @@ -7,7 +7,7 @@ import ( "os" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) func validateFileExists(index *git.Index, path string) error { diff --git a/cmd/gitaly-git2go-v14/conflicts.go b/cmd/gitaly-git2go-v14/conflicts.go index 1923fec42..57c5292a1 100644 --- a/cmd/gitaly-git2go-v14/conflicts.go +++ b/cmd/gitaly-git2go-v14/conflicts.go @@ -11,9 +11,9 @@ import ( "fmt" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cmd/gitaly-git2go-v14/conflicts_test.go b/cmd/gitaly-git2go-v14/conflicts_test.go index b7e3adeb2..e14a164b2 100644 --- a/cmd/gitaly-git2go-v14/conflicts_test.go +++ b/cmd/gitaly-git2go-v14/conflicts_test.go @@ -9,11 +9,11 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/require" - cmdtesthelper "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/testhelper" - glgit "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + cmdtesthelper "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/testhelper" + glgit "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cmd/gitaly-git2go-v14/main.go b/cmd/gitaly-git2go-v14/main.go index 3f403c9d4..6c044ae0a 100644 --- a/cmd/gitaly-git2go-v14/main.go +++ b/cmd/gitaly-git2go-v14/main.go @@ -13,8 +13,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" git "github.com/libgit2/git2go/v33" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - glog "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + glog "gitlab.com/gitlab-org/gitaly/internal/log" "gitlab.com/gitlab-org/labkit/correlation" ) diff --git a/cmd/gitaly-git2go-v14/merge.go b/cmd/gitaly-git2go-v14/merge.go index 14589c96c..23f21f550 100644 --- a/cmd/gitaly-git2go-v14/merge.go +++ b/cmd/gitaly-git2go-v14/merge.go @@ -12,8 +12,8 @@ import ( "time" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type mergeSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/merge_test.go b/cmd/gitaly-git2go-v14/merge_test.go index 708a010b8..30de8f4a9 100644 --- a/cmd/gitaly-git2go-v14/merge_test.go +++ b/cmd/gitaly-git2go-v14/merge_test.go @@ -11,12 +11,12 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - cmdtesthelper "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + cmdtesthelper "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMerge_missingArguments(t *testing.T) { diff --git a/cmd/gitaly-git2go-v14/rebase.go b/cmd/gitaly-git2go-v14/rebase.go index 1c2e9acd0..c8f21394e 100644 --- a/cmd/gitaly-git2go-v14/rebase.go +++ b/cmd/gitaly-git2go-v14/rebase.go @@ -11,8 +11,8 @@ import ( "fmt" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type rebaseSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/rebase_test.go b/cmd/gitaly-git2go-v14/rebase_test.go index f3756e9f6..db7f334c4 100644 --- a/cmd/gitaly-git2go-v14/rebase_test.go +++ b/cmd/gitaly-git2go-v14/rebase_test.go @@ -10,13 +10,13 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - cmdtesthelper "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/testhelper" - gitalygit "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + cmdtesthelper "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/testhelper" + gitalygit "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) var masterRevision = "1e292f8fedd741b75372e19097c76d327140c312" diff --git a/cmd/gitaly-git2go-v14/resolve_conflicts.go b/cmd/gitaly-git2go-v14/resolve_conflicts.go index 13c06243e..0b1343ba1 100644 --- a/cmd/gitaly-git2go-v14/resolve_conflicts.go +++ b/cmd/gitaly-git2go-v14/resolve_conflicts.go @@ -14,9 +14,9 @@ import ( "time" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git/conflict" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type resolveSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/revert.go b/cmd/gitaly-git2go-v14/revert.go index acb9e9d3d..63f630147 100644 --- a/cmd/gitaly-git2go-v14/revert.go +++ b/cmd/gitaly-git2go-v14/revert.go @@ -11,8 +11,8 @@ import ( "fmt" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type revertSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/revert_test.go b/cmd/gitaly-git2go-v14/revert_test.go index fb0235e60..e421cf670 100644 --- a/cmd/gitaly-git2go-v14/revert_test.go +++ b/cmd/gitaly-git2go-v14/revert_test.go @@ -11,11 +11,11 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - cmdtesthelper "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + cmdtesthelper "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestRevert_validation(t *testing.T) { diff --git a/cmd/gitaly-git2go-v14/submodule.go b/cmd/gitaly-git2go-v14/submodule.go index 24e3fef7e..e6485c2e6 100644 --- a/cmd/gitaly-git2go-v14/submodule.go +++ b/cmd/gitaly-git2go-v14/submodule.go @@ -11,8 +11,8 @@ import ( "time" git "github.com/libgit2/git2go/v33" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/internal/git2go" ) type submoduleSubcommand struct{} diff --git a/cmd/gitaly-git2go-v14/submodule_test.go b/cmd/gitaly-git2go-v14/submodule_test.go index 98ba9cbe6..2d8e9d0ef 100644 --- a/cmd/gitaly-git2go-v14/submodule_test.go +++ b/cmd/gitaly-git2go-v14/submodule_test.go @@ -9,13 +9,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestSubmodule(t *testing.T) { diff --git a/cmd/gitaly-git2go-v14/testhelper/testhelper.go b/cmd/gitaly-git2go-v14/testhelper/testhelper.go index 0b3a5e9e5..e1c0b372d 100644 --- a/cmd/gitaly-git2go-v14/testhelper/testhelper.go +++ b/cmd/gitaly-git2go-v14/testhelper/testhelper.go @@ -9,7 +9,7 @@ import ( git "github.com/libgit2/git2go/v33" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/cmd/gitaly-git2go-v14/git2goutil" + "gitlab.com/gitlab-org/gitaly/cmd/gitaly-git2go-v14/git2goutil" ) // DefaultAuthor is the author used by BuildCommit diff --git a/cmd/gitaly-git2go-v14/testhelper_test.go b/cmd/gitaly-git2go-v14/testhelper_test.go index 826c9250f..a27531fee 100644 --- a/cmd/gitaly-git2go-v14/testhelper_test.go +++ b/cmd/gitaly-git2go-v14/testhelper_test.go @@ -6,10 +6,10 @@ package main import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/cmd/gitaly-hooks/hooks.go b/cmd/gitaly-hooks/hooks.go index 125be64d6..913837f60 100644 --- a/cmd/gitaly-hooks/hooks.go +++ b/cmd/gitaly-hooks/hooks.go @@ -12,15 +12,15 @@ import ( "github.com/sirupsen/logrus" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/stream" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "gitlab.com/gitlab-org/labkit/tracing" diff --git a/cmd/gitaly-hooks/hooks_test.go b/cmd/gitaly-hooks/hooks_test.go index 2a529366c..9401a4d4c 100644 --- a/cmd/gitaly-hooks/hooks_test.go +++ b/cmd/gitaly-hooks/hooks_test.go @@ -16,22 +16,22 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - internallog "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + internallog "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/cmd/gitaly-lfs-smudge/lfs_smudge.go b/cmd/gitaly-lfs-smudge/lfs_smudge.go index 108706104..b3867b902 100644 --- a/cmd/gitaly-lfs-smudge/lfs_smudge.go +++ b/cmd/gitaly-lfs-smudge/lfs_smudge.go @@ -10,10 +10,10 @@ import ( "path/filepath" "github.com/git-lfs/git-lfs/lfs" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/log" "gitlab.com/gitlab-org/labkit/log" "gitlab.com/gitlab-org/labkit/tracing" ) diff --git a/cmd/gitaly-lfs-smudge/lfs_smudge_test.go b/cmd/gitaly-lfs-smudge/lfs_smudge_test.go index 88f4c661f..ed4e5ac45 100644 --- a/cmd/gitaly-lfs-smudge/lfs_smudge_test.go +++ b/cmd/gitaly-lfs-smudge/lfs_smudge_test.go @@ -9,9 +9,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) const ( diff --git a/cmd/gitaly-ssh/auth_test.go b/cmd/gitaly-ssh/auth_test.go index 070006ce5..543928e96 100644 --- a/cmd/gitaly-ssh/auth_test.go +++ b/cmd/gitaly-ssh/auth_test.go @@ -11,21 +11,21 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/x509" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/x509" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/cmd/gitaly-ssh/main.go b/cmd/gitaly-ssh/main.go index 137ec690b..629c85525 100644 --- a/cmd/gitaly-ssh/main.go +++ b/cmd/gitaly-ssh/main.go @@ -11,7 +11,7 @@ import ( "github.com/sirupsen/logrus" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/labkit/tracing" "google.golang.org/grpc" ) diff --git a/cmd/gitaly-ssh/main_test.go b/cmd/gitaly-ssh/main_test.go index 76327740a..0f046be83 100644 --- a/cmd/gitaly-ssh/main_test.go +++ b/cmd/gitaly-ssh/main_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" ) diff --git a/cmd/gitaly-ssh/testhelper_test.go b/cmd/gitaly-ssh/testhelper_test.go index 64d8edae5..8f4479770 100644 --- a/cmd/gitaly-ssh/testhelper_test.go +++ b/cmd/gitaly-ssh/testhelper_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/cmd/gitaly-ssh/upload_pack_test.go b/cmd/gitaly-ssh/upload_pack_test.go index 0758cc8ee..2cdfca296 100644 --- a/cmd/gitaly-ssh/upload_pack_test.go +++ b/cmd/gitaly-ssh/upload_pack_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/cmd/gitaly-wrapper/main.go b/cmd/gitaly-wrapper/main.go index 2ce2037c4..b067158f4 100644 --- a/cmd/gitaly-wrapper/main.go +++ b/cmd/gitaly-wrapper/main.go @@ -12,10 +12,10 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/ps" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/ps" "golang.org/x/sys/unix" ) diff --git a/cmd/gitaly-wrapper/main_test.go b/cmd/gitaly-wrapper/main_test.go index bc4dad609..75c9ad5d6 100644 --- a/cmd/gitaly-wrapper/main_test.go +++ b/cmd/gitaly-wrapper/main_test.go @@ -13,9 +13,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) // TestStolenPid tests for regressions in https://gitlab.com/gitlab-org/gitaly/issues/1661 diff --git a/cmd/gitaly-wrapper/testhelper_test.go b/cmd/gitaly-wrapper/testhelper_test.go index 64d8edae5..8f4479770 100644 --- a/cmd/gitaly-wrapper/testhelper_test.go +++ b/cmd/gitaly-wrapper/testhelper_test.go @@ -3,7 +3,7 @@ package main import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/cmd/gitaly/main.go b/cmd/gitaly/main.go index 16fee301f..3d942fd1c 100644 --- a/cmd/gitaly/main.go +++ b/cmd/gitaly/main.go @@ -12,38 +12,38 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - "gitlab.com/gitlab-org/gitaly/v14/internal/boring" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/linguist" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/maintenance" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - glog "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/streamcache" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + "gitlab.com/gitlab-org/gitaly/internal/boring" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/linguist" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/maintenance" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + glog "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/streamcache" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/labkit/monitoring" "gitlab.com/gitlab-org/labkit/tracing" "google.golang.org/grpc" diff --git a/cmd/praefect/main.go b/cmd/praefect/main.go index e77fe71c3..7cef3ed8f 100644 --- a/cmd/praefect/main.go +++ b/cmd/praefect/main.go @@ -72,26 +72,26 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" "github.com/prometheus/client_golang/prometheus/promhttp" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/reconciler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/repocleaner" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/reconciler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/repocleaner" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/labkit/monitoring" "gitlab.com/gitlab-org/labkit/tracing" ) diff --git a/cmd/praefect/main_test.go b/cmd/praefect/main_test.go index 082b7efe3..5c13e007b 100644 --- a/cmd/praefect/main_test.go +++ b/cmd/praefect/main_test.go @@ -9,12 +9,12 @@ import ( dto "github.com/prometheus/client_model/go" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestMain(m *testing.M) { diff --git a/cmd/praefect/subcmd.go b/cmd/praefect/subcmd.go index e62ead65c..357ceceb3 100644 --- a/cmd/praefect/subcmd.go +++ b/cmd/praefect/subcmd.go @@ -12,10 +12,10 @@ import ( gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" "google.golang.org/grpc" ) diff --git a/cmd/praefect/subcmd_accept_dataloss.go b/cmd/praefect/subcmd_accept_dataloss.go index 944c55e89..96540d4ae 100644 --- a/cmd/praefect/subcmd_accept_dataloss.go +++ b/cmd/praefect/subcmd_accept_dataloss.go @@ -5,7 +5,7 @@ import ( "flag" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_accept_dataloss_test.go b/cmd/praefect/subcmd_accept_dataloss_test.go index 00d757ab9..b3ce95705 100644 --- a/cmd/praefect/subcmd_accept_dataloss_test.go +++ b/cmd/praefect/subcmd_accept_dataloss_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_check.go b/cmd/praefect/subcmd_check.go index 5755b2008..7649103a2 100644 --- a/cmd/praefect/subcmd_check.go +++ b/cmd/praefect/subcmd_check.go @@ -8,8 +8,8 @@ import ( "io" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" ) const ( diff --git a/cmd/praefect/subcmd_check_test.go b/cmd/praefect/subcmd_check_test.go index ef6d489d5..c816d2fdc 100644 --- a/cmd/praefect/subcmd_check_test.go +++ b/cmd/praefect/subcmd_check_test.go @@ -9,8 +9,8 @@ import ( "testing" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" ) func TestCheckSubcommand_Exec(t *testing.T) { diff --git a/cmd/praefect/subcmd_dataloss.go b/cmd/praefect/subcmd_dataloss.go index 5eb88f4e6..9ec0123cd 100644 --- a/cmd/praefect/subcmd_dataloss.go +++ b/cmd/praefect/subcmd_dataloss.go @@ -10,7 +10,7 @@ import ( "sort" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_dataloss_test.go b/cmd/praefect/subcmd_dataloss_test.go index 949c7919b..ed4ef36ed 100644 --- a/cmd/praefect/subcmd_dataloss_test.go +++ b/cmd/praefect/subcmd_dataloss_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/cmd/praefect/subcmd_dial_nodes.go b/cmd/praefect/subcmd_dial_nodes.go index 71054d6ad..0abb142fa 100644 --- a/cmd/praefect/subcmd_dial_nodes.go +++ b/cmd/praefect/subcmd_dial_nodes.go @@ -6,8 +6,8 @@ import ( "io" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" ) const dialNodesCmdName = "dial-nodes" diff --git a/cmd/praefect/subcmd_dial_nodes_test.go b/cmd/praefect/subcmd_dial_nodes_test.go index fd2877f60..8c885cd35 100644 --- a/cmd/praefect/subcmd_dial_nodes_test.go +++ b/cmd/praefect/subcmd_dial_nodes_test.go @@ -9,7 +9,7 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_list_untracked_repositories.go b/cmd/praefect/subcmd_list_untracked_repositories.go index dd6563f24..b2720bdb4 100644 --- a/cmd/praefect/subcmd_list_untracked_repositories.go +++ b/cmd/praefect/subcmd_list_untracked_repositories.go @@ -10,11 +10,11 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/repocleaner" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/repocleaner" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" ) diff --git a/cmd/praefect/subcmd_list_untracked_repositories_test.go b/cmd/praefect/subcmd_list_untracked_repositories_test.go index aa6fb8848..6e30c8168 100644 --- a/cmd/praefect/subcmd_list_untracked_repositories_test.go +++ b/cmd/praefect/subcmd_list_untracked_repositories_test.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_metadata.go b/cmd/praefect/subcmd_metadata.go index 3cc9b8292..1b3e4f085 100644 --- a/cmd/praefect/subcmd_metadata.go +++ b/cmd/praefect/subcmd_metadata.go @@ -7,7 +7,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_metadata_test.go b/cmd/praefect/subcmd_metadata_test.go index dbca8c27c..41bcfcc52 100644 --- a/cmd/praefect/subcmd_metadata_test.go +++ b/cmd/praefect/subcmd_metadata_test.go @@ -8,11 +8,11 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cmd/praefect/subcmd_remove_repository.go b/cmd/praefect/subcmd_remove_repository.go index 49b049615..64903a75d 100644 --- a/cmd/praefect/subcmd_remove_repository.go +++ b/cmd/praefect/subcmd_remove_repository.go @@ -12,10 +12,10 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" diff --git a/cmd/praefect/subcmd_remove_repository_test.go b/cmd/praefect/subcmd_remove_repository_test.go index 040dd40e5..f1468aa89 100644 --- a/cmd/praefect/subcmd_remove_repository_test.go +++ b/cmd/praefect/subcmd_remove_repository_test.go @@ -15,14 +15,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_set_replication_factor.go b/cmd/praefect/subcmd_set_replication_factor.go index 0da3ecdc6..5a46ac1cd 100644 --- a/cmd/praefect/subcmd_set_replication_factor.go +++ b/cmd/praefect/subcmd_set_replication_factor.go @@ -7,7 +7,7 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_set_replication_factor_test.go b/cmd/praefect/subcmd_set_replication_factor_test.go index 4dc8f5a32..dd434ee65 100644 --- a/cmd/praefect/subcmd_set_replication_factor_test.go +++ b/cmd/praefect/subcmd_set_replication_factor_test.go @@ -5,12 +5,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/cmd/praefect/subcmd_sql_migrate.go b/cmd/praefect/subcmd_sql_migrate.go index 1d4ee3420..56320b452 100644 --- a/cmd/praefect/subcmd_sql_migrate.go +++ b/cmd/praefect/subcmd_sql_migrate.go @@ -7,9 +7,9 @@ import ( "time" migrate "github.com/rubenv/sql-migrate" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" ) const ( diff --git a/cmd/praefect/subcmd_sql_migrate_down.go b/cmd/praefect/subcmd_sql_migrate_down.go index c0418f11d..9c673d18c 100644 --- a/cmd/praefect/subcmd_sql_migrate_down.go +++ b/cmd/praefect/subcmd_sql_migrate_down.go @@ -6,8 +6,8 @@ import ( "fmt" "strconv" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" ) const sqlMigrateDownCmdName = "sql-migrate-down" diff --git a/cmd/praefect/subcmd_sql_migrate_status.go b/cmd/praefect/subcmd_sql_migrate_status.go index 760beb22c..e38653da6 100644 --- a/cmd/praefect/subcmd_sql_migrate_status.go +++ b/cmd/praefect/subcmd_sql_migrate_status.go @@ -6,8 +6,8 @@ import ( "sort" "github.com/olekukonko/tablewriter" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" ) const sqlMigrateStatusCmdName = "sql-migrate-status" diff --git a/cmd/praefect/subcmd_sql_migrate_test.go b/cmd/praefect/subcmd_sql_migrate_test.go index d7381b82f..6bf6932b2 100644 --- a/cmd/praefect/subcmd_sql_migrate_test.go +++ b/cmd/praefect/subcmd_sql_migrate_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestSubCmdSqlMigrate(t *testing.T) { diff --git a/cmd/praefect/subcmd_sql_ping.go b/cmd/praefect/subcmd_sql_ping.go index 5fcf6c772..9b37d954a 100644 --- a/cmd/praefect/subcmd_sql_ping.go +++ b/cmd/praefect/subcmd_sql_ping.go @@ -4,8 +4,8 @@ import ( "flag" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" ) const ( diff --git a/cmd/praefect/subcmd_test.go b/cmd/praefect/subcmd_test.go index 6eb475fcc..f4097847f 100644 --- a/cmd/praefect/subcmd_test.go +++ b/cmd/praefect/subcmd_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/health" diff --git a/cmd/praefect/subcmd_track_repository.go b/cmd/praefect/subcmd_track_repository.go index d86ba2497..62f76dbc0 100644 --- a/cmd/praefect/subcmd_track_repository.go +++ b/cmd/praefect/subcmd_track_repository.go @@ -11,13 +11,13 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" diff --git a/cmd/praefect/subcmd_track_repository_test.go b/cmd/praefect/subcmd_track_repository_test.go index 2e3c807bf..a3d59c0dc 100644 --- a/cmd/praefect/subcmd_track_repository_test.go +++ b/cmd/praefect/subcmd_track_repository_test.go @@ -11,16 +11,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_verify.go b/cmd/praefect/subcmd_verify.go index 340731409..6fba36065 100644 --- a/cmd/praefect/subcmd_verify.go +++ b/cmd/praefect/subcmd_verify.go @@ -7,7 +7,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/cmd/praefect/subcmd_verify_test.go b/cmd/praefect/subcmd_verify_test.go index 107430c7c..c8962fc42 100644 --- a/cmd/praefect/subcmd_verify_test.go +++ b/cmd/praefect/subcmd_verify_test.go @@ -7,11 +7,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestVerifySubcommand(t *testing.T) { diff --git a/go.mod b/go.mod index 0b4066d91..cd0e0b0fa 100644 --- a/go.mod +++ b/go.mod @@ -1,14 +1,13 @@ -module gitlab.com/gitlab-org/gitaly/v14 +module gitlab.com/gitlab-org/gitaly require ( github.com/beevik/ntp v0.3.0 github.com/cloudflare/tableflip v1.2.2 github.com/containerd/cgroups v0.0.0-20201118023556-2819c83ced99 - github.com/getsentry/sentry-go v0.10.0 + github.com/getsentry/sentry-go v0.13.0 github.com/git-lfs/git-lfs v1.5.1-0.20210304194248-2e1d981afbe3 github.com/go-enry/go-license-detector/v4 v4.3.0 - github.com/go-git/go-git/v5 v5.3.0 // indirect - github.com/google/go-cmp v0.5.5 + github.com/google/go-cmp v0.5.6 github.com/google/uuid v1.2.0 github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 @@ -23,23 +22,24 @@ require ( github.com/opencontainers/runtime-spec v1.0.2 github.com/opentracing/opentracing-go v1.2.0 github.com/pelletier/go-toml v1.8.1 - github.com/prometheus/client_golang v1.10.0 + github.com/prometheus/client_golang v1.12.1 github.com/prometheus/client_model v0.2.0 github.com/rubenv/sql-migrate v0.0.0-20191213152630-06338513c237 github.com/sirupsen/logrus v1.8.1 - github.com/stretchr/testify v1.7.0 - github.com/uber/jaeger-client-go v2.27.0+incompatible + github.com/stretchr/testify v1.7.1 + gitlab.com/gitlab-org/gitaly/v14 v14.10.2 gitlab.com/gitlab-org/gitlab-shell v1.9.8-0.20210720163109-50da611814d2 - gitlab.com/gitlab-org/labkit v1.5.0 + gitlab.com/gitlab-org/labkit v1.14.0 go.uber.org/goleak v1.1.10 gocloud.dev v0.23.0 - golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5 // indirect golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 // indirect golang.org/x/sync v0.0.0-20210220032951-036812b2e83c golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 - google.golang.org/grpc v1.40.1 + google.golang.org/grpc v1.46.0 google.golang.org/protobuf v1.28.0 ) +replace gitlab.com/gitlab-org/gitaly/v14 => ./v14 + go 1.16 diff --git a/go.sum b/go.sum index 5be5228ee..48e5d6a7b 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,4 @@ bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -21,8 +20,13 @@ cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmW cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0 h1:at8Tk2zUz63cLPR0JPWm5vp77pEZmzxEQBEfRKn1VV8= cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= +cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= +cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= +cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= +cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= +cloud.google.com/go v0.92.2 h1:podK44+0gcW5rWGMjJiPH0+rzkCTQx/zT0qF5CLqVkM= +cloud.google.com/go v0.92.2/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= @@ -32,6 +36,8 @@ cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM7 cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= cloud.google.com/go/firestore v1.5.0/go.mod h1:c4nNYR1qdq7eaZ+jSc5fonrQN2k3M7sWATcYTiakjEo= +cloud.google.com/go/profiler v0.1.0 h1:MG/rxKC1MztRfEWMGYKFISxyZak5hNh29f0A/z2tvWk= +cloud.google.com/go/profiler v0.1.0/go.mod h1:D7S7LV/zKbRWkOzYL1b5xytpqt8Ikd/v/yvf1/Tx2pQ= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -44,6 +50,8 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= cloud.google.com/go/storage v1.15.0 h1:Ljj+ZXVEhCr/1+4ZhvtteN1ND7UUsNTlduGclLh8GO0= cloud.google.com/go/storage v1.15.0/go.mod h1:mjjQMoxxyGH7Jr8K5qrx6N2O0AHsczI61sMNn03GIZI= +cloud.google.com/go/trace v0.1.0 h1:nUGUK79FOkN0UGUXhBmVBkbu1PYsHe0YyFSPLOD9Npg= +cloud.google.com/go/trace v0.1.0/go.mod h1:wxEwsoeRVPbeSkt7ZC9nWCgmoKQRAoySN7XHW2AmI7g= contrib.go.opencensus.io/exporter/aws v0.0.0-20200617204711-c478e41e60e9/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA= contrib.go.opencensus.io/exporter/stackdriver v0.13.5/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc= contrib.go.opencensus.io/exporter/stackdriver v0.13.8 h1:lIFYmQsqejvlq+GobFUbC5F0prD5gvhP6r0gWLZRDq4= @@ -92,25 +100,24 @@ github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUM github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/CloudyKit/fastprinter v0.0.0-20170127035650-74b38d55f37a/go.mod h1:EFZQ978U7x8IRnstaskI3IysnWY5Ao3QgZUKOXlsAdw= github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno= -github.com/CloudyKit/jet v2.1.3-0.20180809161101-62edd43e4f88+incompatible/go.mod h1:HPYO+50pSWkPoj9Q/eq0aRGByCL6ScRlUmiEX5Zgm+w= github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo= github.com/DataDog/datadog-go v4.4.0+incompatible h1:R7WqXWP4fIOAqWJtUKmSfuc7eDsBT58k9AY5WSHVosk= github.com/DataDog/datadog-go v4.4.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/gostackparse v0.5.0/go.mod h1:lTfqcJKqS9KnXQGnyQMCugq3u1FP6UZMfWR0aitKFMM= +github.com/DataDog/sketches-go v1.0.0 h1:chm5KSXO7kO+ywGWJ0Zs6tdmWU8PBXSbywFVciL6BG4= +github.com/DataDog/sketches-go v1.0.0/go.mod h1:O+XkJHWk9w4hDwY2ZUDU31ZC9sNYlYo8DiFsxjYeo1k= github.com/GoogleCloudPlatform/cloudsql-proxy v1.22.0/go.mod h1:mAm5O/zik2RFmcpigNjg6nMotDL8ZXJaxKzgGVcSMFA= -github.com/HdrHistogram/hdrhistogram-go v1.1.0 h1:6dpdDPTRoo78HxAJ6T1HfMiKSnqhgRRqzCuPshRkQ7I= github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= +github.com/HdrHistogram/hdrhistogram-go v1.1.1 h1:cJXY5VLMHgejurPjZH6Fo9rIwRGLefBGdiaENZALqrg= +github.com/HdrHistogram/hdrhistogram-go v1.1.1/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY= -github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM= github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0= github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/Microsoft/go-winio v0.4.19 h1:ZMZG0O5M8bhD0lgCURV8yu3hQ7TGvQ4L1ZW8+J0j9iE= github.com/Microsoft/go-winio v0.4.19/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= +github.com/Microsoft/go-winio v0.5.0 h1:Elr9Wn+sGKPlkaBvwu4mTrxtmOp3F3yV9qhaHbXGjwU= +github.com/Microsoft/go-winio v0.5.0/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= @@ -166,10 +173,12 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA github.com/census-instrumentation/opencensus-proto v0.3.0 h1:t/LhUZLVitR1Ow2YOnduCsavhwFUklBMoGVYUCqmCqk= github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20180905225744-ee1a9a0726d2/go.mod h1:GJKEexRPVJrBSOjoqN5VNOIKJ5Q3RViH6eu3puDRwx4= +github.com/certifi/gocertifi v0.0.0-20210507211836-431795d63e8d/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= @@ -184,7 +193,11 @@ github.com/cloudflare/tableflip v1.2.2/go.mod h1:P4gRehmV6Z2bY5ao5ml9Pd8u6kuEnlB github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= +github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= +github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= @@ -249,12 +262,12 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= +github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw= github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= -github.com/flosch/pongo2 v0.0.0-20190707114632-bbf5a6c351f4/go.mod h1:T9YF2M40nIgbVgp3rreNmTged+9HrbNTIQf1PsaIiTA= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= @@ -268,15 +281,15 @@ github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv github.com/getsentry/raven-go v0.1.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/getsentry/raven-go v0.1.2/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= -github.com/getsentry/sentry-go v0.5.1/go.mod h1:B8H7x8TYDPkeWPRzGpIiFO97LZP6rL8A3hEt8lUItMw= -github.com/getsentry/sentry-go v0.7.0/go.mod h1:pLFpD2Y5RHIKF9Bw3KH6/68DeN2K/XBJd8awjdPnUwg= -github.com/getsentry/sentry-go v0.10.0 h1:6gwY+66NHKqyZrdi6O2jGdo7wGdo9b3B69E01NFgT5g= github.com/getsentry/sentry-go v0.10.0/go.mod h1:kELm/9iCblqUYh+ZRML7PNdCvEuw24wBvJPYyi86cws= +github.com/getsentry/sentry-go v0.13.0 h1:20dgTiUSfxRB/EhMPtxcL9ZEbM1ZdR+W/7f7NWD+xWo= +github.com/getsentry/sentry-go v0.13.0/go.mod h1:EOsfu5ZdvKPfeHYV6pTVQnsjfp30+XA7//UooKNumH0= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.4.0/go.mod h1:OW2EZn3DO8Ln9oIKOvM++LBO+5UPHJJDH72/q/3rZdM= github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M= +github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U= github.com/git-lfs/git-lfs v1.5.1-0.20210304194248-2e1d981afbe3 h1:r78tkUTlPyh0tqILwkDBg0gqmRoqbaQ4b7jIgkWoWRk= github.com/git-lfs/git-lfs v1.5.1-0.20210304194248-2e1d981afbe3/go.mod h1:8Xqs4mqL7o6xEnaXckIgELARTeK7RYtm3pBab7S79Js= github.com/git-lfs/gitobj/v2 v2.0.1 h1:mUGOWP+fU36rs7TY7a5Lol9FuockOBjPFUW/lwOM7Mo= @@ -294,15 +307,12 @@ github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6 github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= +github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-billy/v5 v5.1.0 h1:4pl5BV4o7ZG/lterP4S6WzJ6xr49Ba5ET9ygheTYahk= -github.com/go-git/go-billy/v5 v5.1.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= +github.com/go-git/go-git-fixtures/v4 v4.0.1 h1:q+IFMfLx200Q3scvt2hN79JsEzy4AmBTp/pqnefH+Bc= github.com/go-git/go-git-fixtures/v4 v4.0.1/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= -github.com/go-git/go-git-fixtures/v4 v4.0.2-0.20200613231340-f56387b50c12 h1:PbKy9zOy4aAKrJ5pibIRpVO2BXnK1Tlcg+caKI7Ox5M= -github.com/go-git/go-git-fixtures/v4 v4.0.2-0.20200613231340-f56387b50c12/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= +github.com/go-git/go-git/v5 v5.1.0 h1:HxJn9g/E7eYvKW3Fm7Jt4ee8LXfPOm/H1cdDu8vEssk= github.com/go-git/go-git/v5 v5.1.0/go.mod h1:ZKfuPUoY1ZqIG4QG9BDBh3G4gLM5zvPuSJAozQrZuyM= -github.com/go-git/go-git/v5 v5.3.0 h1:8WKMtJR2j8RntEXR/uvTKagfEt4GYlwQ7mntE4+0GWc= -github.com/go-git/go-git/v5 v5.3.0/go.mod h1:xdX4bWJ48aOrdhnl2XqHYstHbbp6+LFS4r4X+lNVprw= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -321,6 +331,7 @@ github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvSc github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI= +github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4= github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= @@ -350,6 +361,7 @@ github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zV github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= +github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= @@ -367,8 +379,9 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0 h1:jlYHihg//f7RRwuPfptm04yp4s7O6Kw8EZiVYIGcH0g= github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= +github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc= +github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= @@ -402,20 +415,24 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= +github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/go-replayers/grpcreplay v1.0.0 h1:B5kVOzJ1hBgnevTgIWhSTatQ3608yu/2NnU0Ta1d0kY= github.com/google/go-replayers/grpcreplay v1.0.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE= github.com/google/go-replayers/httpreplay v0.1.2 h1:HCfx+dQzwN9XbGTHF8qJ+67WN8glL9FTWV5rraCJ/jU= github.com/google/go-replayers/httpreplay v0.1.2/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= +github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible h1:xmapqc1AyLoB+ddYT6r04bD9lIjlOqGaREovi0SzFaE= github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0 h1:wCKgOCHuUEVfsaQLpPSJb7VdYCdTVZQAuOdYm1yc/60= github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= +github.com/google/martian/v3 v3.2.1 h1:d8MncMlErDFTwQGBK1xhv026j9kqhvw1Qv9IbWT1VLQ= +github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= @@ -428,8 +445,12 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210125172800-10e9aeb4a998/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5 h1:zIaiqGYDQwa4HVx5wGRTXbx38Pqxjemn4BP98wpzpXo= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/google/pprof v0.0.0-20210804190019-f964ff605595 h1:uNrRgpnKjTfxu4qHaZAAs3eKTYV1EzGF3dAykpnxgDE= +github.com/google/pprof v0.0.0-20210804190019-f964ff605595/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4= github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= @@ -449,11 +470,9 @@ github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51 github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-middleware v1.2.3-0.20210213123510-be4c235f9d1c/go.mod h1:RXwzibsL7UhPcEmGyGvXKJ8kyJsOCOEaLgGce4igMFs= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= @@ -493,15 +512,13 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI= github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0= -github.com/iris-contrib/i18n v0.0.0-20171121225848-987a633949d0/go.mod h1:pMCz62A0xJL6I+umB2YTlFRwWXaDFA0jy+5HzGiJjqI= github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7UaeZTSWddIk= github.com/iris-contrib/pongo2 v0.0.1/go.mod h1:Ssh+00+3GAZqSQb30AvBRNxBx7rf0GqwkjqxNd0u65g= github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw= @@ -562,7 +579,6 @@ github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/U github.com/jdkato/prose v1.1.0 h1:LpvmDGwbKGTgdCH3a8VJL56sr7p/wOFPw/R4lM4PfFg= github.com/jdkato/prose v1.1.0/go.mod h1:jkF0lkxaX5PFSlk9l4Gh9Y+T57TqUZziWT7uZbW5ADg= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= @@ -578,38 +594,30 @@ github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/u github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jteeuwen/go-bindata v3.0.8-0.20180305030458-6025e8de665b+incompatible/go.mod h1:JVvhzYOiGBnFSYRyV00iY8q7/0PThjIYav1p9h5dmKs= github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5/go.mod h1:W54LbzXuIE0boCoNJfwqpmkKJ1O4TCTZMetAt6jGk7Q= -github.com/juju/loggo v0.0.0-20180524022052-584905176618/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U= -github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073/go.mod h1:63prj8cnj0tU0S9OHjGJn+b1h0ZghCndfnbQolrYTwA= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k= -github.com/kataras/golog v0.0.9/go.mod h1:12HJgwBIZFNGL0EJnMRhmvGA0PQGx8VFwrZtM4CqbAk= github.com/kataras/golog v0.0.10/go.mod h1:yJ8YKCmyL+nWjERB90Qwn+bdyBZsaQwU3bTVFgkFIp8= -github.com/kataras/iris/v12 v12.0.1/go.mod h1:udK4vLQKkdDqMGJJVd/msuMtN6hpYJhg/lSzuxjhO+U= github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYbq3UhfoFmE= -github.com/kataras/neffos v0.0.10/go.mod h1:ZYmJC07hQPW67eKuzlfY7SO3bC0mw83A3j6im82hfqw= github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE= -github.com/kataras/pio v0.0.0-20190103105442-ea782b38602d/go.mod h1:NV88laa9UiiDuX9AhMbDPkGYSPugBOV6yTZB1l2K9Z0= github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro= github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8= github.com/kelseyhightower/envconfig v1.3.0 h1:IvRS4f2VcIQy6j4ORGIf9145T/AsUB+oY8LyvN8BXNM= github.com/kelseyhightower/envconfig v1.3.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= +github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd h1:Coekwdh0v2wtGp9Gmz1Ze3eVRAWJMLokvN3QjdzCHLY= github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= -github.com/klauspost/compress v1.9.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A= github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.12.2/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg= @@ -619,14 +627,13 @@ github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxv github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/labstack/echo/v4 v4.1.11/go.mod h1:i541M3Fj6f76NZtHSj7TXnyM8n2gaodfvfxNnFqi74g= +github.com/labstack/echo/v4 v4.5.0/go.mod h1:czIriw4a0C1dFun+ObrXp7ok03xON0N1awStJ6ArI7Y= github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k= github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -638,7 +645,6 @@ github.com/lib/pq v1.10.2 h1:AqzbZs4ZoCBp+GtejcpCpcxM3zlSMx29dXbUSeVtJb8= github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/libgit2/git2go v0.0.0-20190104134018-ecaeb7a21d47 h1:HDt7WT3kpXSHq4mlOuLzgXH9LeOK1qlhyFdKIAzxxeM= github.com/libgit2/git2go v0.0.0-20190104134018-ecaeb7a21d47/go.mod h1:4bKN42efkbNYMZlvDfxGDxzl066GhpvIircZDsm8Y+Y= -github.com/libgit2/git2go/v31 v31.4.12/go.mod h1:c/rkJcBcUFx6wHaT++UwNpKvIsmPNqCeQ/vzO4DrEec= github.com/libgit2/git2go/v33 v33.0.9 h1:4ch2DJed6IhJO28BEohkUoGvxLsRzUjxljoNFJ6/O78= github.com/libgit2/git2go/v33 v33.0.9/go.mod h1:KdpqkU+6+++4oHna/MIOgx4GCQ92IPCdpVRMRI80J+4= github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM= @@ -647,14 +653,17 @@ github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20210210170715-a github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20210210170715-a8dfcb80d3a7/go.mod h1:Spd59icnvRxSKuyijbbwe5AemzvcyXAUBgApa7VybMw= github.com/lightstep/lightstep-tracer-go v0.15.6/go.mod h1:6AMpwZpsyCFwSovxzM78e+AsYxE8sGwiM6C3TytaWeI= github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4= -github.com/lightstep/lightstep-tracer-go v0.24.0 h1:qGUbkzHP64NA9r+uIbCvf303IzHPr0M4JlkaDMxXqqk= github.com/lightstep/lightstep-tracer-go v0.24.0/go.mod h1:RnONwHKg89zYPmF+Uig5PpHMUcYCFgml8+r4SS53y7A= +github.com/lightstep/lightstep-tracer-go v0.25.0 h1:sGVnz8h3jTQuHKMbUe2949nXm3Sg09N1UcR3VoQNN5E= +github.com/lightstep/lightstep-tracer-go v0.25.0/go.mod h1:G1ZAEaqTHFPWpWunnbUn1ADEY/Jvzz7jIOaXwAfD6A8= github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= +github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-ieproxy v0.0.1 h1:qiyop7gCflfhwCzGyeT0gro3sF9AIg9HU98JORTkqfI= github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E= github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= @@ -663,20 +672,18 @@ github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9Y= +github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y= github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-shellwords v0.0.0-20190425161501-2444a32a19f4/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o= github.com/mattn/go-shellwords v1.0.11/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y= github.com/mattn/go-sqlite3 v1.12.0 h1:u/x3mp++qUxvYfulZ4HKOvVO0JWhk7HtE8lWhbGz/Do= github.com/mattn/go-sqlite3 v1.12.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mediocregopher/mediocre-go-lib v0.0.0-20181029021733-cb65787f37ed/go.mod h1:dSsfyI2zABAdhcbvkXqgxOxrCsbYeHCPgrZkku60dSg= -github.com/mediocregopher/radix/v3 v3.3.0/go.mod h1:EmfVyvspXz1uZEyPBMyGK+kjWiKQGvsUt6O3Pj+LDCQ= github.com/mediocregopher/radix/v3 v3.4.2/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8= github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc= github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= @@ -696,6 +703,7 @@ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/montanaflynn/stats v0.0.0-20151014174947-eeaced052adb h1:bsjNADsjHq0gjU7KO7zwoX5k3HtFdf6TDzB3ncl5iUs= github.com/montanaflynn/stats v0.0.0-20151014174947-eeaced052adb/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOAZ3H0fQ= @@ -704,14 +712,13 @@ github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRW github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= -github.com/nats-io/nats.go v1.8.1/go.mod h1:BrFz9vVn0fU3AcH9Vn4Kd7W0NpJ651tD5omQ3M8LwxM= github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/neurosnap/sentences v1.0.6 h1:iBVUivNtlwGkYsJblWV8GGVFmXzZzak907Ci8aA0VTE= github.com/neurosnap/sentences v1.0.6/go.mod h1:pg1IapvYpWCJJm/Etxeh0+gtMf1rI1STY9S7eUCPbDc= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs= github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA= @@ -743,12 +750,10 @@ github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxS github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/otiai10/copy v1.0.1/go.mod h1:8bMCJrAqOtN/d9oyh5HR7HhLQMvcGMpGdwRDYsfOCHc= github.com/otiai10/copy v1.4.2 h1:RTiz2sol3eoXPLF4o+YWqEybwfUa/Q2Nkc4ZIUs3fwI= github.com/otiai10/copy v1.4.2/go.mod h1:XWfuS3CrI0R6IE0FbgHsEazaXO8G0LpMp9o8tos0x4E= github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs= -github.com/otiai10/mint v1.2.3/go.mod h1:YnfyPNhBvnY8bW4SGQHCs/aAFhkgySlMZbrF5U0bOVw= github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/otiai10/mint v1.3.2/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= @@ -759,8 +764,9 @@ github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/9 github.com/pelletier/go-toml v1.8.1 h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM= github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= -github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ= github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= +github.com/philhofer/fwd v1.1.1 h1:GdGcTjf5RNAxwS4QLsiMzJYj5KEvPJD3Abr261yRQXQ= +github.com/philhofer/fwd v1.1.1/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4= @@ -780,8 +786,10 @@ github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og= github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.10.0 h1:/o0BDeWzLWXNZ+4q5gXltUvaMpJqckTa+jTNoB+z4cg= github.com/prometheus/client_golang v1.10.0/go.mod h1:WJM3cc3yu7XKBKa/I8WeZm+V3eltZnBwfENSU7mdogU= +github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= +github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= +github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= @@ -793,15 +801,18 @@ github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8 github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.18.0 h1:WCVKW7aL6LEe1uryfI9dnEc2ZqNB1Fn0ok930v0iL1Y= github.com/prometheus/common v0.18.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s= +github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= +github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= +github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= +github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= +github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= @@ -827,7 +838,6 @@ github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0 github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g= github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/sebest/xff v0.0.0-20160910043805-6c115e0ffa35/go.mod h1:wozgYq9WEBQBaIJe4YZ0qTSFAMxmcwBhQH0fO0R34Z0= github.com/sebest/xff v0.0.0-20210106013422-671bd2870b3a h1:iLcLb5Fwwz7g/DLK89F+uQBDeAhHhwdzB5fSlVdhGcM= github.com/sebest/xff v0.0.0-20210106013422-671bd2870b3a/go.mod h1:wozgYq9WEBQBaIJe4YZ0qTSFAMxmcwBhQH0fO0R34Z0= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= @@ -835,6 +845,8 @@ github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shirou/gopsutil v2.20.1+incompatible h1:oIq9Cq4i84Hk8uQAUOG3eNdI/29hBawGrD5YRl6JRDY= github.com/shirou/gopsutil v2.20.1+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= +github.com/shirou/gopsutil/v3 v3.21.2 h1:fIOk3hyqV1oGKogfGNjUZa0lUbtlkx3+ZT0IoJth2uM= +github.com/shirou/gopsutil/v3 v3.21.2/go.mod h1:ghfMypLDrFSWN2c9cDYFLHyynQ+QUht0cv/18ZqVczw= github.com/shogo82148/go-shuffle v0.0.0-20170808115208-59829097ff3b h1:VI1u+o2KZPZ5AhuPpXY0JBdpQPnkTx6Dd5XJhK/9MYE= github.com/shogo82148/go-shuffle v0.0.0-20170808115208-59829097ff3b/go.mod h1:2htx6lmL0NGLHlO8ZCf+lQBGBHIbEujyywxJArf+2Yc= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= @@ -844,7 +856,6 @@ github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go. github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.3.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= @@ -880,17 +891,24 @@ github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81P github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.6.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/tinylib/msgp v1.0.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= github.com/tinylib/msgp v1.1.2 h1:gWmO7n0Ys2RBEb7GPYB9Ujq8Mk5p2U08lRnmMcGy6BQ= github.com/tinylib/msgp v1.1.2/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE= +github.com/tklauser/go-sysconf v0.3.4 h1:HT8SVixZd3IzLdfs/xlpq0jeSfTX57g1v6wB1EuzV7M= +github.com/tklauser/go-sysconf v0.3.4/go.mod h1:Cl2c8ZRWfHD5IrfHo9VN+FX9kCFjIOyVklgXycLB6ek= +github.com/tklauser/numcpus v0.2.1 h1:ct88eFm+Q7m2ZfXJdan1xYoXKlmwsfP+k88q05KvlZc= +github.com/tklauser/numcpus v0.2.1/go.mod h1:9aU+wOc6WjUIZEwWMP62PL/41d65P+iks1gBkr4QyP8= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g= github.com/uber/jaeger-client-go v2.15.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= -github.com/uber/jaeger-client-go v2.27.0+incompatible h1:6WVONolFJiB8Vx9bq4z9ddyV/SXSpfvvtb7Yl/TGHiE= github.com/uber/jaeger-client-go v2.27.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-client-go v2.29.1+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= +github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= +github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= github.com/uber/jaeger-lib v1.5.0/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= @@ -905,10 +923,10 @@ github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKn github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w= github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8= +github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ= github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= +github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70= github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= -github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI= -github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= @@ -926,21 +944,17 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= github.com/ziutek/mymysql v1.5.4 h1:GB0qdRGsTwQSBVYuVShFBKaXSnSnYYC2d9knnE1LHFs= github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= -gitlab.com/gitlab-org/gitaly v1.68.0 h1:VlcJs1+PrhW7lqJUU7Fh1q8FMJujmbbivdfde/cwB98= gitlab.com/gitlab-org/gitaly v1.68.0/go.mod h1:/pCsB918Zu5wFchZ9hLYin9WkJ2yQqdVNz0zlv5HbXg= -gitlab.com/gitlab-org/gitaly/v14 v14.0.0-rc1/go.mod h1:4Cz8tOAyueSZX5o6gYum1F/unupaOclxqETPcg4ODvQ= -gitlab.com/gitlab-org/gitlab-shell v1.9.8-0.20201117050822-3f9890ef73dc/go.mod h1:5QSTbpAHY2v0iIH5uHh2KA9w7sPUqPmnLjDApI/sv1U= gitlab.com/gitlab-org/gitlab-shell v1.9.8-0.20210720163109-50da611814d2 h1:zz/4sD22gZqvAdBgd6gYLRIbvrgoQLDE7emPK0sXC6o= gitlab.com/gitlab-org/gitlab-shell v1.9.8-0.20210720163109-50da611814d2/go.mod h1:QWDYBwuy24qGMandtCngLRPzFgnGPg6LSNoJWPKmJMc= gitlab.com/gitlab-org/labkit v0.0.0-20190221122536-0c3fc7cdd57c/go.mod h1:rYhLgfrbEcyfinG+R3EvKu6bZSsmwQqcXzLfHWSfUKM= -gitlab.com/gitlab-org/labkit v0.0.0-20200908084045-45895e129029/go.mod h1:SNfxkfUwVNECgtmluVayv0GWFgEjjBs5AzgsowPQuo0= -gitlab.com/gitlab-org/labkit v1.0.0/go.mod h1:nohrYTSLDnZix0ebXZrbZJjymRar8HeV2roWL5/jw2U= gitlab.com/gitlab-org/labkit v1.4.1/go.mod h1:x5JO5uvdX4t6e/TZXLXZnFL5AcKz2uLLd3uKXZcuO4k= -gitlab.com/gitlab-org/labkit v1.5.0 h1:JUdSgNtAynKffx7eAqSjB76D5H2Y6aYOrn6WCoI6aEw= -gitlab.com/gitlab-org/labkit v1.5.0/go.mod h1:1ZuVZpjSpCKUgjLx8P6jzkkQFxJI1thUKr6yKV3p0vY= +gitlab.com/gitlab-org/labkit v1.14.0 h1:LSrvHgybidPyH8fHnsy1GBghrLR4kFObFrtZwUfCgAI= +gitlab.com/gitlab-org/labkit v1.14.0/go.mod h1:bcxc4ZpAC+WyACgyKl7FcvT2XXAbl8CrzN6UY+w8cMc= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= @@ -1000,8 +1014,9 @@ golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWP golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 h1:/UOmuWzQfxxo9UtlXMwuQU8CMgg1eZXqTRwkSQJWKOI= golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -1014,9 +1029,8 @@ golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= +golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5 h1:FR+oGxGfbQu1d+jglI3rCkjAjUnhRSZcUxr+DqlDLNo= -golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -1031,8 +1045,9 @@ golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHl golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5 h1:2M3HP5CCK1Si9FQhwnzYhXdG6DXeebvUHFpre8QvbyI= golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= +golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= @@ -1043,7 +1058,6 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -1078,7 +1092,6 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= @@ -1094,10 +1107,12 @@ golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210326060303-6b1517762897/go.mod h1:uSPa2vr4CLtc/ILN5odXGNXS6mhrKVzTaCXzk9m6W3k= +golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20210420210106-798c2154c571/go.mod h1:72T/g9IO56b78aLF+1Kcs5dz7/ng1VjMUvfKvpfy+jM= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210505214959-0714010a04ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 h1:HVyaeDAYux4pnY+D/SiwmLOR36ewZ4iGQIIrtnuCjFA= golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -1113,8 +1128,11 @@ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210413134643-5e61552d6c78/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c h1:SgVl/sCtkicsS7psKkje4H9YtjdEl3xsYh7N+5TDHqY= golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a h1:4Kd8OPUx1xgUwrHDaviWZO8MsgoZTZYC3g+8m16RBww= +golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -1152,7 +1170,6 @@ golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1171,7 +1188,6 @@ golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1188,21 +1204,33 @@ golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210217105451-b926d437f341/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210223095934-7937bea0104d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210412220455-f1c623a9e750/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210420205809-ac73e9fd8988/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210503080704-8803ae5d1324/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210503173754-0981d6026fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6 h1:nonptSpoQ4vQjyraW20DXPAglgQfVnM9ZC6MmNLMR60= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= @@ -1223,6 +1251,7 @@ golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 h1:M73Iuj3xbbb9Uk1DYhzydthsj6oOd6l9bpuFcNoUvTs= golang.org/x/time v0.0.0-20220224211638-0e9765cccd65/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -1291,8 +1320,13 @@ golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0 h1:po9/4sTYwZU9lPhi1tOrb4hCv3qrhiQ77LZfGa2OjwY= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= +golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= +golang.org/x/tools v0.1.5 h1:ouewzE6p+/VEB31YYnTbEJdi8pFqKp4P4n85vwo3DHA= +golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1333,8 +1367,13 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= google.golang.org/api v0.45.0/go.mod h1:ISLIJCedJolbZvDfAk+Ctuq5hf+aJ33WgtUsfyFoLXA= -google.golang.org/api v0.46.0 h1:jkDWHOBIoNSD0OQpq4rtBVu+Rh325MPjXG1rakAp8JU= google.golang.org/api v0.46.0/go.mod h1:ceL4oozhkAiTID8XMmJBsIxID/9wMXJVVFXPg4ylg3I= +google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= +google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= +google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= +google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= +google.golang.org/api v0.54.0 h1:ECJUVngj71QI6XEm7b1sAf8BljU5inEhMbKPR8Lxhhk= +google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= @@ -1395,8 +1434,18 @@ google.golang.org/genproto v0.0.0-20210413151531-c14fb6ef47c3/go.mod h1:P3QM42oQ google.golang.org/genproto v0.0.0-20210420162539-3c870d7478d2/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210423144448-3a41ef94ed2b/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= google.golang.org/genproto v0.0.0-20210429181445-86c259c2b4ab/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210506142907-4a47615972c2 h1:pl8qT5D+48655f14yDURpIZwSPvMWuuekfAP+gxtjvk= google.golang.org/genproto v0.0.0-20210506142907-4a47615972c2/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= +google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= +google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= +google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= +google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c h1:iLQakcwWG3k/++1q/46apVb1sUQ3IqIdn9yUE6eh/xA= +google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= @@ -1424,8 +1473,14 @@ google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAG google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.40.1 h1:pnP7OclFFFgFi4VHQDQDaoXUVauOFyktqTsqqgzFKbc= -google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= +google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= +google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= +google.golang.org/grpc v1.46.0 h1:oCjezcn6g6A75TGoKYBPgKmVBLexhYLM6MebdrPApP8= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -1438,18 +1493,19 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/DataDog/dd-trace-go.v1 v1.7.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= -gopkg.in/DataDog/dd-trace-go.v1 v1.30.0 h1:yJJrDYzAlUsDPpAVBjv4VFnXKTbgvaJFTX0646xDPi4= gopkg.in/DataDog/dd-trace-go.v1 v1.30.0/go.mod h1:SnKViq44dv/0gjl9RpkP0Y2G3BJSRkp6eYdCSu39iI8= +gopkg.in/DataDog/dd-trace-go.v1 v1.32.0 h1:DkD0plWEVUB8v/Ru6kRBW30Hy/fRNBC8hPdcExuBZMc= +gopkg.in/DataDog/dd-trace-go.v1 v1.32.0/go.mod h1:wRKMf/tRASHwH/UOfPQ3IQmVFhTz2/1a1/mpXoIjF54= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4= diff --git a/internal/backchannel/backchannel_example_test.go b/internal/backchannel/backchannel_example_test.go index 63f4e5c5d..debee45c9 100644 --- a/internal/backchannel/backchannel_example_test.go +++ b/internal/backchannel/backchannel_example_test.go @@ -6,8 +6,8 @@ import ( "net" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/internal/backchannel/backchannel_test.go b/internal/backchannel/backchannel_test.go index 07fd44c8d..adbe67aa9 100644 --- a/internal/backchannel/backchannel_test.go +++ b/internal/backchannel/backchannel_test.go @@ -13,8 +13,8 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/backup/backup.go b/internal/backup/backup.go index f596b216d..13e6afbb5 100644 --- a/internal/backup/backup.go +++ b/internal/backup/backup.go @@ -9,10 +9,10 @@ import ( "strings" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "gocloud.dev/blob/azureblob" diff --git a/internal/backup/backup_test.go b/internal/backup/backup_test.go index eecacaa58..03251d8c5 100644 --- a/internal/backup/backup_test.go +++ b/internal/backup/backup_test.go @@ -9,14 +9,14 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/backup/filesystem_sink_test.go b/internal/backup/filesystem_sink_test.go index 5b0beabc3..7518690f9 100644 --- a/internal/backup/filesystem_sink_test.go +++ b/internal/backup/filesystem_sink_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestFilesystemSink_GetReader(t *testing.T) { diff --git a/internal/backup/lazy_test.go b/internal/backup/lazy_test.go index 05cb037ea..7072a94d8 100644 --- a/internal/backup/lazy_test.go +++ b/internal/backup/lazy_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestLazyWrite_noData(t *testing.T) { diff --git a/internal/backup/locator.go b/internal/backup/locator.go index 61455149f..b1c8785a8 100644 --- a/internal/backup/locator.go +++ b/internal/backup/locator.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/backup/locator_test.go b/internal/backup/locator_test.go index e841dad5e..bc4a5088c 100644 --- a/internal/backup/locator_test.go +++ b/internal/backup/locator_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestLegacyLocator(t *testing.T) { diff --git a/internal/backup/pipeline.go b/internal/backup/pipeline.go index e0956713e..8fc4eab56 100644 --- a/internal/backup/pipeline.go +++ b/internal/backup/pipeline.go @@ -8,7 +8,7 @@ import ( "sync" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/backup/pipeline_test.go b/internal/backup/pipeline_test.go index ba2f71113..07242693d 100644 --- a/internal/backup/pipeline_test.go +++ b/internal/backup/pipeline_test.go @@ -10,8 +10,8 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/backup/storage_service_sink_test.go b/internal/backup/storage_service_sink_test.go index c5535dacf..3ada374bf 100644 --- a/internal/backup/storage_service_sink_test.go +++ b/internal/backup/storage_service_sink_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" _ "gocloud.dev/blob/memblob" ) diff --git a/internal/backup/testhelper_test.go b/internal/backup/testhelper_test.go index b900cb5d5..bc434b461 100644 --- a/internal/backup/testhelper_test.go +++ b/internal/backup/testhelper_test.go @@ -3,7 +3,7 @@ package backup import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/blackbox/blackbox.go b/internal/blackbox/blackbox.go index 82f2e707c..d1e9bd510 100644 --- a/internal/blackbox/blackbox.go +++ b/internal/blackbox/blackbox.go @@ -8,10 +8,10 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/labkit/monitoring" ) diff --git a/internal/blackbox/config.go b/internal/blackbox/config.go index 46b59809e..abf9feb51 100644 --- a/internal/blackbox/config.go +++ b/internal/blackbox/config.go @@ -6,7 +6,7 @@ import ( "time" "github.com/pelletier/go-toml" - logconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" + logconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" ) // Config is the configuration for gitaly-blackbox. diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index 894139f23..989ee322b 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -10,8 +10,8 @@ import ( "github.com/cloudflare/tableflip" "github.com/prometheus/client_golang/prometheus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" "golang.org/x/sys/unix" ) diff --git a/internal/bootstrap/bootstrap_test.go b/internal/bootstrap/bootstrap_test.go index 9265e5194..21a7e5dd0 100644 --- a/internal/bootstrap/bootstrap_test.go +++ b/internal/bootstrap/bootstrap_test.go @@ -12,8 +12,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestBootstrap_unixListener(t *testing.T) { diff --git a/internal/bootstrap/starter/starter.go b/internal/bootstrap/starter/starter.go index be35d551c..4a112536b 100644 --- a/internal/bootstrap/starter/starter.go +++ b/internal/bootstrap/starter/starter.go @@ -9,7 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap" ) const ( diff --git a/internal/bootstrap/testhelper_test.go b/internal/bootstrap/testhelper_test.go index 514236bd7..ff58ac762 100644 --- a/internal/bootstrap/testhelper_test.go +++ b/internal/bootstrap/testhelper_test.go @@ -3,7 +3,7 @@ package bootstrap import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/cache/diskcache.go b/internal/cache/diskcache.go index dffc38ca5..6cb72554a 100644 --- a/internal/cache/diskcache.go +++ b/internal/cache/diskcache.go @@ -10,10 +10,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/safe" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/cache/diskcache_test.go b/internal/cache/diskcache_test.go index 761d44859..8b790be75 100644 --- a/internal/cache/diskcache_test.go +++ b/internal/cache/diskcache_test.go @@ -9,11 +9,11 @@ import ( promtest "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/cache/keyer.go b/internal/cache/keyer.go index 31e810d14..c4edb046a 100644 --- a/internal/cache/keyer.go +++ b/internal/cache/keyer.go @@ -16,10 +16,10 @@ import ( "github.com/google/uuid" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/protobuf/proto" diff --git a/internal/cache/testhelper_test.go b/internal/cache/testhelper_test.go index 687ad7d6e..bcf6b7dcb 100644 --- a/internal/cache/testhelper_test.go +++ b/internal/cache/testhelper_test.go @@ -3,7 +3,7 @@ package cache import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/cache/walker.go b/internal/cache/walker.go index 00d990c17..df23abbc3 100644 --- a/internal/cache/walker.go +++ b/internal/cache/walker.go @@ -14,9 +14,9 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/log" ) func (c *DiskCache) logWalkErr(err error, path, msg string) { diff --git a/internal/cache/walker_test.go b/internal/cache/walker_test.go index ca08001b4..cc4021dd9 100644 --- a/internal/cache/walker_test.go +++ b/internal/cache/walker_test.go @@ -11,9 +11,9 @@ import ( promtest "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestDiskCacheObjectWalker(t *testing.T) { diff --git a/internal/cgroups/cgroups.go b/internal/cgroups/cgroups.go index dc0cf0066..8f83a4b7f 100644 --- a/internal/cgroups/cgroups.go +++ b/internal/cgroups/cgroups.go @@ -2,8 +2,8 @@ package cgroups import ( "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" ) // Manager supplies an interface for interacting with cgroups diff --git a/internal/cgroups/cgroups_linux_test.go b/internal/cgroups/cgroups_linux_test.go index 9d8267bff..4e11ab844 100644 --- a/internal/cgroups/cgroups_linux_test.go +++ b/internal/cgroups/cgroups_linux_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/cgroups/mock_linux_test.go b/internal/cgroups/mock_linux_test.go index 620ea06d5..c664d1e7b 100644 --- a/internal/cgroups/mock_linux_test.go +++ b/internal/cgroups/mock_linux_test.go @@ -27,7 +27,7 @@ import ( "github.com/containerd/cgroups" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) type mockCgroup struct { diff --git a/internal/cgroups/noop.go b/internal/cgroups/noop.go index 57f552902..23bb68b4f 100644 --- a/internal/cgroups/noop.go +++ b/internal/cgroups/noop.go @@ -2,7 +2,7 @@ package cgroups import ( "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" ) // NoopManager is a cgroups manager that does nothing diff --git a/internal/cgroups/v1.go b/internal/cgroups/v1.go index e39c391a3..ce2169a39 100644 --- a/internal/cgroups/v1.go +++ b/internal/cgroups/v1.go @@ -4,7 +4,7 @@ package cgroups import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" ) // For systems other than Linux, we return a noop manager if cgroups was enabled. diff --git a/internal/cgroups/v1_linux.go b/internal/cgroups/v1_linux.go index 75573e96a..2b420aaf6 100644 --- a/internal/cgroups/v1_linux.go +++ b/internal/cgroups/v1_linux.go @@ -9,9 +9,9 @@ import ( "github.com/containerd/cgroups" specs "github.com/opencontainers/runtime-spec/specs-go" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - cgroupscfg "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/command" + cgroupscfg "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/log" ) // CGroupV1Manager is the manager for cgroups v1 diff --git a/internal/cgroups/v1_linux_test.go b/internal/cgroups/v1_linux_test.go index 7de3d910d..48ceca56f 100644 --- a/internal/cgroups/v1_linux_test.go +++ b/internal/cgroups/v1_linux_test.go @@ -17,9 +17,9 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func defaultCgroupsConfig() cgroups.Config { diff --git a/internal/command/command.go b/internal/command/command.go index 283ee3d9f..688011b36 100644 --- a/internal/command/command.go +++ b/internal/command/command.go @@ -19,7 +19,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command/commandcounter" + "gitlab.com/gitlab-org/gitaly/internal/command/commandcounter" "gitlab.com/gitlab-org/labkit/tracing" ) diff --git a/internal/command/command_test.go b/internal/command/command_test.go index 5dc8833f6..d05004db3 100644 --- a/internal/command/command_test.go +++ b/internal/command/command_test.go @@ -19,7 +19,7 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/command/stats_test.go b/internal/command/stats_test.go index e7e7b9936..5771e9c52 100644 --- a/internal/command/stats_test.go +++ b/internal/command/stats_test.go @@ -5,7 +5,7 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestStatsFromContext_BackgroundContext(t *testing.T) { diff --git a/internal/dontpanic/retry.go b/internal/dontpanic/retry.go index 83eb007f5..71d54aa29 100644 --- a/internal/dontpanic/retry.go +++ b/internal/dontpanic/retry.go @@ -12,7 +12,7 @@ import ( "time" sentry "github.com/getsentry/sentry-go" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/log" ) // Try will wrap the provided function with a panic recovery. If a panic occurs, diff --git a/internal/dontpanic/retry_test.go b/internal/dontpanic/retry_test.go index dcb683161..33f4e153f 100644 --- a/internal/dontpanic/retry_test.go +++ b/internal/dontpanic/retry_test.go @@ -5,7 +5,7 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" ) func TestTry(t *testing.T) { diff --git a/internal/dontpanic/testhelper_test.go b/internal/dontpanic/testhelper_test.go index dd438042b..62b80ce06 100644 --- a/internal/dontpanic/testhelper_test.go +++ b/internal/dontpanic/testhelper_test.go @@ -3,7 +3,7 @@ package dontpanic import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/bitmap.go b/internal/git/bitmap.go index 0b1c9cc15..dea63be6b 100644 --- a/internal/git/bitmap.go +++ b/internal/git/bitmap.go @@ -10,8 +10,8 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/packfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git/packfile" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" ) var badBitmapRequestCount = promauto.NewCounterVec( diff --git a/internal/git/catfile/cache.go b/internal/git/catfile/cache.go index 293ec3e65..fb3594c9d 100644 --- a/internal/git/catfile/cache.go +++ b/internal/git/catfile/cache.go @@ -9,11 +9,11 @@ import ( "github.com/opentracing/opentracing-go" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" "gitlab.com/gitlab-org/labkit/correlation" ) diff --git a/internal/git/catfile/cache_test.go b/internal/git/catfile/cache_test.go index 0f177be4b..4c75bde76 100644 --- a/internal/git/catfile/cache_test.go +++ b/internal/git/catfile/cache_test.go @@ -9,11 +9,11 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" ) diff --git a/internal/git/catfile/commit.go b/internal/git/catfile/commit.go index a586a7008..e1977f318 100644 --- a/internal/git/catfile/commit.go +++ b/internal/git/catfile/commit.go @@ -7,9 +7,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/trailerparser" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/trailerparser" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/catfile/commit_test.go b/internal/git/catfile/commit_test.go index f53e4736b..28f236906 100644 --- a/internal/git/catfile/commit_test.go +++ b/internal/git/catfile/commit_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/metadata" ) diff --git a/internal/git/catfile/object_info_reader.go b/internal/git/catfile/object_info_reader.go index e7773acd2..17b8a8eaa 100644 --- a/internal/git/catfile/object_info_reader.go +++ b/internal/git/catfile/object_info_reader.go @@ -9,8 +9,8 @@ import ( "sync/atomic" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // ObjectInfo represents a header returned by `git cat-file --batch` diff --git a/internal/git/catfile/object_info_reader_test.go b/internal/git/catfile/object_info_reader_test.go index 3a9e44776..84990a859 100644 --- a/internal/git/catfile/object_info_reader_test.go +++ b/internal/git/catfile/object_info_reader_test.go @@ -11,11 +11,11 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestParseObjectInfoSuccess(t *testing.T) { diff --git a/internal/git/catfile/object_reader.go b/internal/git/catfile/object_reader.go index 8dedb1572..f09bcc1d0 100644 --- a/internal/git/catfile/object_reader.go +++ b/internal/git/catfile/object_reader.go @@ -9,8 +9,8 @@ import ( "sync/atomic" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // ObjectReader is a reader for Git objects. diff --git a/internal/git/catfile/object_reader_test.go b/internal/git/catfile/object_reader_test.go index 9686a0c15..b9cc8eb6e 100644 --- a/internal/git/catfile/object_reader_test.go +++ b/internal/git/catfile/object_reader_test.go @@ -10,11 +10,11 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestObjectReader_reader(t *testing.T) { diff --git a/internal/git/catfile/parser.go b/internal/git/catfile/parser.go index d5d5488f5..718c32ffb 100644 --- a/internal/git/catfile/parser.go +++ b/internal/git/catfile/parser.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/git/catfile/parser_test.go b/internal/git/catfile/parser_test.go index 25338156f..68bbcd155 100644 --- a/internal/git/catfile/parser_test.go +++ b/internal/git/catfile/parser_test.go @@ -7,8 +7,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/git/catfile/request_queue.go b/internal/git/catfile/request_queue.go index 5b99d1e9e..16509f76b 100644 --- a/internal/git/catfile/request_queue.go +++ b/internal/git/catfile/request_queue.go @@ -8,7 +8,7 @@ import ( "sync" "sync/atomic" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) const ( diff --git a/internal/git/catfile/tag.go b/internal/git/catfile/tag.go index 6d5a91622..2d4ce42d3 100644 --- a/internal/git/catfile/tag.go +++ b/internal/git/catfile/tag.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/catfile/tag_test.go b/internal/git/catfile/tag_test.go index d34511e1b..9b4612079 100644 --- a/internal/git/catfile/tag_test.go +++ b/internal/git/catfile/tag_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/catfile/testhelper_test.go b/internal/git/catfile/testhelper_test.go index b7e7172cd..50efd7c21 100644 --- a/internal/git/catfile/testhelper_test.go +++ b/internal/git/catfile/testhelper_test.go @@ -8,14 +8,14 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/catfile/tree_entries.go b/internal/git/catfile/tree_entries.go index 30996d662..d21b79cd8 100644 --- a/internal/git/catfile/tree_entries.go +++ b/internal/git/catfile/tree_entries.go @@ -11,7 +11,7 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/command_factory.go b/internal/git/command_factory.go index a9544a46c..384cb3186 100644 --- a/internal/git/command_factory.go +++ b/internal/git/command_factory.go @@ -10,14 +10,14 @@ import ( "sync" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/alternates" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git/alternates" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" ) // CommandFactory is designed to create and run git commands in a protected and fully managed manner. diff --git a/internal/git/command_factory_cgroup_test.go b/internal/git/command_factory_cgroup_test.go index 922e3d12a..59930627a 100644 --- a/internal/git/command_factory_cgroup_test.go +++ b/internal/git/command_factory_cgroup_test.go @@ -8,11 +8,11 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) type mockCgroupsManager struct { diff --git a/internal/git/command_factory_test.go b/internal/git/command_factory_test.go index b1ffe5823..ae146daf3 100644 --- a/internal/git/command_factory_test.go +++ b/internal/git/command_factory_test.go @@ -13,13 +13,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestGitCommandProxy(t *testing.T) { diff --git a/internal/git/command_options.go b/internal/git/command_options.go index 6b9f8dbb7..0ef758f33 100644 --- a/internal/git/command_options.go +++ b/internal/git/command_options.go @@ -9,11 +9,11 @@ import ( "regexp" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/x509" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/x509" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/protobuf/encoding/protojson" diff --git a/internal/git/command_options_test.go b/internal/git/command_options_test.go index 9a8dfa1d8..02621e824 100644 --- a/internal/git/command_options_test.go +++ b/internal/git/command_options_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" diff --git a/internal/git/decoder_test.go b/internal/git/decoder_test.go index e2ee0850c..5066f7c41 100644 --- a/internal/git/decoder_test.go +++ b/internal/git/decoder_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestShowRefDecoder(t *testing.T) { diff --git a/internal/git/dirs_test.go b/internal/git/dirs_test.go index 1486814f6..c171a26f3 100644 --- a/internal/git/dirs_test.go +++ b/internal/git/dirs_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestObjectDirs(t *testing.T) { diff --git a/internal/git/execution_environment.go b/internal/git/execution_environment.go index 3ee1f3ea8..8fe73ef6f 100644 --- a/internal/git/execution_environment.go +++ b/internal/git/execution_environment.go @@ -9,8 +9,8 @@ import ( "path/filepath" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "golang.org/x/sys/unix" ) diff --git a/internal/git/execution_environment_test.go b/internal/git/execution_environment_test.go index e3775c113..d3511d809 100644 --- a/internal/git/execution_environment_test.go +++ b/internal/git/execution_environment_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestDistributedGitEnvironmentConstructor(t *testing.T) { diff --git a/internal/git/gitpipe/catfile_info.go b/internal/git/gitpipe/catfile_info.go index eaa15f517..0280eff01 100644 --- a/internal/git/gitpipe/catfile_info.go +++ b/internal/git/gitpipe/catfile_info.go @@ -8,9 +8,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" ) // CatfileInfoResult is a result for the CatfileInfo pipeline step. diff --git a/internal/git/gitpipe/catfile_info_iterator.go b/internal/git/gitpipe/catfile_info_iterator.go index c4403af5c..4ca276acf 100644 --- a/internal/git/gitpipe/catfile_info_iterator.go +++ b/internal/git/gitpipe/catfile_info_iterator.go @@ -3,7 +3,7 @@ package gitpipe import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // CatfileInfoIterator is an iterator returned by the Revlist function. diff --git a/internal/git/gitpipe/catfile_info_test.go b/internal/git/gitpipe/catfile_info_test.go index d2f7c2b37..12f7e8500 100644 --- a/internal/git/gitpipe/catfile_info_test.go +++ b/internal/git/gitpipe/catfile_info_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) const ( diff --git a/internal/git/gitpipe/catfile_object.go b/internal/git/gitpipe/catfile_object.go index f23496158..755a67118 100644 --- a/internal/git/gitpipe/catfile_object.go +++ b/internal/git/gitpipe/catfile_object.go @@ -7,8 +7,8 @@ import ( "io" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" ) // CatfileObjectResult is a result for the CatfileObject pipeline step. diff --git a/internal/git/gitpipe/catfile_object_iterator.go b/internal/git/gitpipe/catfile_object_iterator.go index 05b00e3e8..4f41b2e0a 100644 --- a/internal/git/gitpipe/catfile_object_iterator.go +++ b/internal/git/gitpipe/catfile_object_iterator.go @@ -3,7 +3,7 @@ package gitpipe import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // CatfileObjectIterator is an iterator returned by the Revlist function. diff --git a/internal/git/gitpipe/catfile_object_test.go b/internal/git/gitpipe/catfile_object_test.go index bf96a19e0..4f096ce36 100644 --- a/internal/git/gitpipe/catfile_object_test.go +++ b/internal/git/gitpipe/catfile_object_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestCatfileObject(t *testing.T) { diff --git a/internal/git/gitpipe/object_iterator.go b/internal/git/gitpipe/object_iterator.go index 5628bc2c7..fcd7d84f0 100644 --- a/internal/git/gitpipe/object_iterator.go +++ b/internal/git/gitpipe/object_iterator.go @@ -1,6 +1,6 @@ package gitpipe -import "gitlab.com/gitlab-org/gitaly/v14/internal/git" +import "gitlab.com/gitlab-org/gitaly/internal/git" // ObjectIterator is a common interface that is shared across the pipeline steps that work with // objects. diff --git a/internal/git/gitpipe/pipeline_test.go b/internal/git/gitpipe/pipeline_test.go index 3d34db488..9787e64b5 100644 --- a/internal/git/gitpipe/pipeline_test.go +++ b/internal/git/gitpipe/pipeline_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestPipeline_revlist(t *testing.T) { diff --git a/internal/git/gitpipe/revision.go b/internal/git/gitpipe/revision.go index b79f7a664..f832d3f5f 100644 --- a/internal/git/gitpipe/revision.go +++ b/internal/git/gitpipe/revision.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" ) // RevisionResult is a result for the revlist pipeline step. diff --git a/internal/git/gitpipe/revision_iterator.go b/internal/git/gitpipe/revision_iterator.go index 9f686d463..7151b4109 100644 --- a/internal/git/gitpipe/revision_iterator.go +++ b/internal/git/gitpipe/revision_iterator.go @@ -3,7 +3,7 @@ package gitpipe import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // RevisionIterator is an iterator returned by the Revlist function. diff --git a/internal/git/gitpipe/revision_test.go b/internal/git/gitpipe/revision_test.go index 031325515..bda467eb2 100644 --- a/internal/git/gitpipe/revision_test.go +++ b/internal/git/gitpipe/revision_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestRevlist(t *testing.T) { diff --git a/internal/git/gitpipe/testhelper_test.go b/internal/git/gitpipe/testhelper_test.go index 8b2532840..21e4c23fd 100644 --- a/internal/git/gitpipe/testhelper_test.go +++ b/internal/git/gitpipe/testhelper_test.go @@ -3,7 +3,7 @@ package gitpipe import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/gittest/command.go b/internal/git/gittest/command.go index 0621a32c5..90cd73ce8 100644 --- a/internal/git/gittest/command.go +++ b/internal/git/gittest/command.go @@ -6,9 +6,9 @@ import ( "os/exec" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) // ExecConfig contains configuration for ExecOpts. diff --git a/internal/git/gittest/command_factory.go b/internal/git/gittest/command_factory.go index 8a368e228..087ec4a8c 100644 --- a/internal/git/gittest/command_factory.go +++ b/internal/git/gittest/command_factory.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) // NewCommandFactory creates a new Git command factory. diff --git a/internal/git/gittest/commit.go b/internal/git/gittest/commit.go index 712a7b351..aa375a25a 100644 --- a/internal/git/gittest/commit.go +++ b/internal/git/gittest/commit.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/gittest/commit_test.go b/internal/git/gittest/commit_test.go index 3b19127c4..215ed2bfe 100644 --- a/internal/git/gittest/commit_test.go +++ b/internal/git/gittest/commit_test.go @@ -4,12 +4,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/gittest/delta_islands.go b/internal/git/gittest/delta_islands.go index 23f2e8884..8e4ec6015 100644 --- a/internal/git/gittest/delta_islands.go +++ b/internal/git/gittest/delta_islands.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) // TestDeltaIslands is based on the tests in diff --git a/internal/git/gittest/hooks.go b/internal/git/gittest/hooks.go index d93c7c74b..5eb2618b5 100644 --- a/internal/git/gittest/hooks.go +++ b/internal/git/gittest/hooks.go @@ -5,9 +5,9 @@ import ( "path/filepath" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) // WriteEnvToCustomHook dumps the env vars that the custom hooks receives to a file diff --git a/internal/git/gittest/http_server.go b/internal/git/gittest/http_server.go index e578098a5..10410aa67 100644 --- a/internal/git/gittest/http_server.go +++ b/internal/git/gittest/http_server.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // HTTPServer starts an HTTP server with git-http-backend(1) as CGI handler. The repository is diff --git a/internal/git/gittest/intercepting_command_factory.go b/internal/git/gittest/intercepting_command_factory.go index f68a3bca4..e3629fc8d 100644 --- a/internal/git/gittest/intercepting_command_factory.go +++ b/internal/git/gittest/intercepting_command_factory.go @@ -6,11 +6,11 @@ import ( "path/filepath" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) var _ git.CommandFactory = &InterceptingCommandFactory{} diff --git a/internal/git/gittest/intercepting_command_factory_test.go b/internal/git/gittest/intercepting_command_factory_test.go index d326393ea..ca5eb4405 100644 --- a/internal/git/gittest/intercepting_command_factory_test.go +++ b/internal/git/gittest/intercepting_command_factory_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestInterceptingCommandFactory(t *testing.T) { diff --git a/internal/git/gittest/objects.go b/internal/git/gittest/objects.go index 218a7af5b..2b3f5d470 100644 --- a/internal/git/gittest/objects.go +++ b/internal/git/gittest/objects.go @@ -10,9 +10,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" ) // RequireObjectExists asserts that the given repository does contain an object with the specified diff --git a/internal/git/gittest/pktline.go b/internal/git/gittest/pktline.go index d8c0ee1ba..477fba9bd 100644 --- a/internal/git/gittest/pktline.go +++ b/internal/git/gittest/pktline.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // WritePktlineString writes the pktline-formatted data into the writer. diff --git a/internal/git/gittest/protocol.go b/internal/git/gittest/protocol.go index 301cf34e5..fe8d408a6 100644 --- a/internal/git/gittest/protocol.go +++ b/internal/git/gittest/protocol.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) // NewProtocolDetectingCommandFactory creates a new intercepting Git command factory that allows the diff --git a/internal/git/gittest/ref.go b/internal/git/gittest/ref.go index 19e9c2cbe..7abbf4a83 100644 --- a/internal/git/gittest/ref.go +++ b/internal/git/gittest/ref.go @@ -3,8 +3,8 @@ package gittest import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) // WriteRef writes a reference into the repository pointing to the given object ID. diff --git a/internal/git/gittest/remote.go b/internal/git/gittest/remote.go index 771315f13..6b82665d7 100644 --- a/internal/git/gittest/remote.go +++ b/internal/git/gittest/remote.go @@ -4,7 +4,7 @@ import ( "strings" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) // RemoteExists tests if the repository at repoPath has a Git remote named remoteName. diff --git a/internal/git/gittest/repo.go b/internal/git/gittest/repo.go index 020ae8271..7e76b1798 100644 --- a/internal/git/gittest/repo.go +++ b/internal/git/gittest/repo.go @@ -13,11 +13,11 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/git/gittest/repository_suite.go b/internal/git/gittest/repository_suite.go index 9fe27eaaa..b6299f480 100644 --- a/internal/git/gittest/repository_suite.go +++ b/internal/git/gittest/repository_suite.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) // GetRepositoryFunc is used to get a clean test repository for the different implementations of the diff --git a/internal/git/gittest/tag.go b/internal/git/gittest/tag.go index de240eb05..0358bc401 100644 --- a/internal/git/gittest/tag.go +++ b/internal/git/gittest/tag.go @@ -6,9 +6,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" ) // WriteTagConfig holds extra options for WriteTag. diff --git a/internal/git/gittest/testhelper_test.go b/internal/git/gittest/testhelper_test.go index 47cefc0cd..ff48dfacb 100644 --- a/internal/git/gittest/testhelper_test.go +++ b/internal/git/gittest/testhelper_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/gittest/tree.go b/internal/git/gittest/tree.go index 8895a414b..40da41d64 100644 --- a/internal/git/gittest/tree.go +++ b/internal/git/gittest/tree.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" ) // TreeEntry represents an entry of a git tree object. diff --git a/internal/git/gittest/tree_test.go b/internal/git/gittest/tree_test.go index 24b59ab3f..5ca015c36 100644 --- a/internal/git/gittest/tree_test.go +++ b/internal/git/gittest/tree_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) func TestWriteTree(t *testing.T) { diff --git a/internal/git/helper_test.go b/internal/git/helper_test.go index c8ce23220..4725df183 100644 --- a/internal/git/helper_test.go +++ b/internal/git/helper_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/hooks_options.go b/internal/git/hooks_options.go index 85feeb1a9..f94a07e99 100644 --- a/internal/git/hooks_options.go +++ b/internal/git/hooks_options.go @@ -6,11 +6,11 @@ import ( "fmt" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/hooks_options_test.go b/internal/git/hooks_options_test.go index 17e7b02f1..6277874c9 100644 --- a/internal/git/hooks_options_test.go +++ b/internal/git/hooks_options_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestWithRefHook(t *testing.T) { diff --git a/internal/git/hooks_payload.go b/internal/git/hooks_payload.go index e06fd7fa2..7ac637742 100644 --- a/internal/git/hooks_payload.go +++ b/internal/git/hooks_payload.go @@ -7,9 +7,9 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/encoding/protojson" ) diff --git a/internal/git/hooks_payload_test.go b/internal/git/hooks_payload_test.go index 37acd892b..e09a18601 100644 --- a/internal/git/hooks_payload_test.go +++ b/internal/git/hooks_payload_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" ) func TestHooksPayload(t *testing.T) { diff --git a/internal/git/housekeeping/clean_stale_data.go b/internal/git/housekeeping/clean_stale_data.go index 7f99deb8f..112f474f5 100644 --- a/internal/git/housekeeping/clean_stale_data.go +++ b/internal/git/housekeeping/clean_stale_data.go @@ -13,10 +13,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/safe" "google.golang.org/grpc/codes" ) diff --git a/internal/git/housekeeping/clean_stale_data_test.go b/internal/git/housekeeping/clean_stale_data_test.go index a1ac03ebc..37a14a303 100644 --- a/internal/git/housekeeping/clean_stale_data_test.go +++ b/internal/git/housekeeping/clean_stale_data_test.go @@ -14,13 +14,13 @@ import ( "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "google.golang.org/grpc/peer" ) diff --git a/internal/git/housekeeping/commit_graph.go b/internal/git/housekeeping/commit_graph.go index dcdd2cb2e..958c63f4d 100644 --- a/internal/git/housekeeping/commit_graph.go +++ b/internal/git/housekeeping/commit_graph.go @@ -8,10 +8,10 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // WriteCommitGraph updates the commit-graph in the given repository. The commit-graph is updated diff --git a/internal/git/housekeeping/manager.go b/internal/git/housekeeping/manager.go index c34aa1330..f49a5c422 100644 --- a/internal/git/housekeeping/manager.go +++ b/internal/git/housekeeping/manager.go @@ -5,9 +5,9 @@ import ( "sync" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - gitalycfgprom "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + gitalycfgprom "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" ) // Manager is a housekeeping manager. It is supposed to handle housekeeping tasks for repositories diff --git a/internal/git/housekeeping/object_pool_test.go b/internal/git/housekeeping/object_pool_test.go index 6fdded51f..1501744c9 100644 --- a/internal/git/housekeeping/object_pool_test.go +++ b/internal/git/housekeeping/object_pool_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" ) func TestIsPoolPath(t *testing.T) { diff --git a/internal/git/housekeeping/objects.go b/internal/git/housekeeping/objects.go index 7f5f13e60..1e641e84a 100644 --- a/internal/git/housekeeping/objects.go +++ b/internal/git/housekeeping/objects.go @@ -3,9 +3,9 @@ package housekeeping import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" ) const ( diff --git a/internal/git/housekeeping/objects_test.go b/internal/git/housekeeping/objects_test.go index feaddcf2e..f4950aafb 100644 --- a/internal/git/housekeeping/objects_test.go +++ b/internal/git/housekeeping/objects_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func requireObjectCount(t *testing.T, repoPath string, expectedObjects int64) { diff --git a/internal/git/housekeeping/optimize_repository.go b/internal/git/housekeeping/optimize_repository.go index 39257fd96..05b8c7d2e 100644 --- a/internal/git/housekeeping/optimize_repository.go +++ b/internal/git/housekeeping/optimize_repository.go @@ -14,10 +14,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // OptimizeRepository performs optimizations on the repository. Whether optimizations are performed diff --git a/internal/git/housekeeping/optimize_repository_ext_test.go b/internal/git/housekeeping/optimize_repository_ext_test.go index 723408ec0..1670ed9b5 100644 --- a/internal/git/housekeeping/optimize_repository_ext_test.go +++ b/internal/git/housekeeping/optimize_repository_ext_test.go @@ -9,13 +9,13 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" ) func TestPruneIfNeeded(t *testing.T) { diff --git a/internal/git/housekeeping/optimize_repository_test.go b/internal/git/housekeeping/optimize_repository_test.go index 8aad4dd8f..d967a420b 100644 --- a/internal/git/housekeeping/optimize_repository_test.go +++ b/internal/git/housekeeping/optimize_repository_test.go @@ -15,14 +15,14 @@ import ( "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/housekeeping/testhelper_test.go b/internal/git/housekeeping/testhelper_test.go index f0afe0397..ebe37c71e 100644 --- a/internal/git/housekeeping/testhelper_test.go +++ b/internal/git/housekeeping/testhelper_test.go @@ -3,7 +3,7 @@ package housekeeping import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/housekeeping/worktrees.go b/internal/git/housekeeping/worktrees.go index 76ee8cb9c..2c33f1435 100644 --- a/internal/git/housekeeping/worktrees.go +++ b/internal/git/housekeeping/worktrees.go @@ -12,9 +12,9 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/internal/git/housekeeping/worktrees_test.go b/internal/git/housekeeping/worktrees_test.go index e631e0c2c..ff188e809 100644 --- a/internal/git/housekeeping/worktrees_test.go +++ b/internal/git/housekeeping/worktrees_test.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestCleanupDisconnectedWorktrees_doesNothingWithoutWorktrees(t *testing.T) { diff --git a/internal/git/localrepo/config.go b/internal/git/localrepo/config.go index ac76ef6b9..22b272736 100644 --- a/internal/git/localrepo/config.go +++ b/internal/git/localrepo/config.go @@ -7,11 +7,11 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/safe" ) func isExitWithCode(err error, code int) bool { diff --git a/internal/git/localrepo/config_test.go b/internal/git/localrepo/config_test.go index 1f059a876..6f1805d13 100644 --- a/internal/git/localrepo/config_test.go +++ b/internal/git/localrepo/config_test.go @@ -8,15 +8,15 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "google.golang.org/grpc/peer" ) diff --git a/internal/git/localrepo/objects.go b/internal/git/localrepo/objects.go index fa37ab29e..47f19a1f2 100644 --- a/internal/git/localrepo/objects.go +++ b/internal/git/localrepo/objects.go @@ -9,10 +9,10 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/localrepo/objects_test.go b/internal/git/localrepo/objects_test.go index e8cd43cd6..3fc077d93 100644 --- a/internal/git/localrepo/objects_test.go +++ b/internal/git/localrepo/objects_test.go @@ -11,10 +11,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/git/localrepo/paths.go b/internal/git/localrepo/paths.go index 0c6e32ada..c65aa43e8 100644 --- a/internal/git/localrepo/paths.go +++ b/internal/git/localrepo/paths.go @@ -5,8 +5,8 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // Path returns the on-disk path of the repository. diff --git a/internal/git/localrepo/paths_test.go b/internal/git/localrepo/paths_test.go index 290690a08..32e12e3de 100644 --- a/internal/git/localrepo/paths_test.go +++ b/internal/git/localrepo/paths_test.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/git/localrepo/refs.go b/internal/git/localrepo/refs.go index 5b0f9e4df..fa782df18 100644 --- a/internal/git/localrepo/refs.go +++ b/internal/git/localrepo/refs.go @@ -11,10 +11,10 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/safe" ) // HasRevision checks if a revision in the repository exists. This will not diff --git a/internal/git/localrepo/refs_test.go b/internal/git/localrepo/refs_test.go index bd50f1347..ff1794bd6 100644 --- a/internal/git/localrepo/refs_test.go +++ b/internal/git/localrepo/refs_test.go @@ -11,18 +11,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/peer" ) diff --git a/internal/git/localrepo/remote.go b/internal/git/localrepo/remote.go index 16a4d4e36..48376189c 100644 --- a/internal/git/localrepo/remote.go +++ b/internal/git/localrepo/remote.go @@ -8,7 +8,7 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/localrepo/remote_extra_test.go b/internal/git/localrepo/remote_extra_test.go index 7f4afd350..bfdfca517 100644 --- a/internal/git/localrepo/remote_extra_test.go +++ b/internal/git/localrepo/remote_extra_test.go @@ -6,16 +6,16 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/git/localrepo/remote_test.go b/internal/git/localrepo/remote_test.go index ba9259104..e9fc428a8 100644 --- a/internal/git/localrepo/remote_test.go +++ b/internal/git/localrepo/remote_test.go @@ -10,12 +10,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestRepo_FetchRemote(t *testing.T) { diff --git a/internal/git/localrepo/repo.go b/internal/git/localrepo/repo.go index 97525a1fc..c653dc25b 100644 --- a/internal/git/localrepo/repo.go +++ b/internal/git/localrepo/repo.go @@ -9,15 +9,15 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/localrepo/repo_test.go b/internal/git/localrepo/repo_test.go index c9f620731..08c11b757 100644 --- a/internal/git/localrepo/repo_test.go +++ b/internal/git/localrepo/repo_test.go @@ -9,12 +9,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/localrepo/testhelper_test.go b/internal/git/localrepo/testhelper_test.go index 5e03d70de..d579bb5d6 100644 --- a/internal/git/localrepo/testhelper_test.go +++ b/internal/git/localrepo/testhelper_test.go @@ -3,12 +3,12 @@ package localrepo import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/log/last_commit.go b/internal/git/log/last_commit.go index 077850dde..74f01c0f9 100644 --- a/internal/git/log/last_commit.go +++ b/internal/git/log/last_commit.go @@ -4,11 +4,11 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/log/parser.go b/internal/git/log/parser.go index 7b7cf5d37..820d472d7 100644 --- a/internal/git/log/parser.go +++ b/internal/git/log/parser.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/lstree/entries.go b/internal/git/lstree/entries.go index 4a729fec0..4c0a8ed8e 100644 --- a/internal/git/lstree/entries.go +++ b/internal/git/lstree/entries.go @@ -1,6 +1,6 @@ package lstree -import "gitlab.com/gitlab-org/gitaly/v14/internal/git" +import "gitlab.com/gitlab-org/gitaly/internal/git" // ObjectType is an Enum for the type of object of // the ls-tree entry, which can be can be tree, blob or commit diff --git a/internal/git/lstree/list_entries.go b/internal/git/lstree/list_entries.go index ab27d6f5d..543382d2a 100644 --- a/internal/git/lstree/list_entries.go +++ b/internal/git/lstree/list_entries.go @@ -8,8 +8,8 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" ) var ( diff --git a/internal/git/lstree/list_entries_test.go b/internal/git/lstree/list_entries_test.go index 152aa18a1..582db021f 100644 --- a/internal/git/lstree/list_entries_test.go +++ b/internal/git/lstree/list_entries_test.go @@ -4,11 +4,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestListEntries(t *testing.T) { diff --git a/internal/git/lstree/parser.go b/internal/git/lstree/parser.go index 13fe2de66..276a94d52 100644 --- a/internal/git/lstree/parser.go +++ b/internal/git/lstree/parser.go @@ -6,7 +6,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // ErrParse is returned when the parse of an entry was unsuccessful diff --git a/internal/git/lstree/testhelper_test.go b/internal/git/lstree/testhelper_test.go index 484c397e6..550ebd84b 100644 --- a/internal/git/lstree/testhelper_test.go +++ b/internal/git/lstree/testhelper_test.go @@ -3,7 +3,7 @@ package lstree import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/objectpool/clone.go b/internal/git/objectpool/clone.go index 780afb546..2e89cf0f7 100644 --- a/internal/git/objectpool/clone.go +++ b/internal/git/objectpool/clone.go @@ -5,8 +5,8 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" ) // clone a repository to a pool, without setting the alternates, is not the diff --git a/internal/git/objectpool/clone_test.go b/internal/git/objectpool/clone_test.go index 7b6b22d7a..d307a5aba 100644 --- a/internal/git/objectpool/clone_test.go +++ b/internal/git/objectpool/clone_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestClone(t *testing.T) { diff --git a/internal/git/objectpool/fetch.go b/internal/git/objectpool/fetch.go index f094cee73..accb0346d 100644 --- a/internal/git/objectpool/fetch.go +++ b/internal/git/objectpool/fetch.go @@ -13,12 +13,12 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) const sourceRefNamespace = "refs/remotes/origin" diff --git a/internal/git/objectpool/fetch_test.go b/internal/git/objectpool/fetch_test.go index 299b92868..5ce0ba3a6 100644 --- a/internal/git/objectpool/fetch_test.go +++ b/internal/git/objectpool/fetch_test.go @@ -8,12 +8,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestFetchFromOriginDangling(t *testing.T) { diff --git a/internal/git/objectpool/link.go b/internal/git/objectpool/link.go index 3527aad33..295a169d9 100644 --- a/internal/git/objectpool/link.go +++ b/internal/git/objectpool/link.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/safe" ) // Link will link the given repository to the object pool. This is done by writing the object pool's diff --git a/internal/git/objectpool/link_test.go b/internal/git/objectpool/link_test.go index d959c8b18..1d3c0ff77 100644 --- a/internal/git/objectpool/link_test.go +++ b/internal/git/objectpool/link_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "google.golang.org/grpc/peer" ) diff --git a/internal/git/objectpool/pool.go b/internal/git/objectpool/pool.go index a243f670f..1c5c23c28 100644 --- a/internal/git/objectpool/pool.go +++ b/internal/git/objectpool/pool.go @@ -10,12 +10,12 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" ) type errString string diff --git a/internal/git/objectpool/pool_test.go b/internal/git/objectpool/pool_test.go index 9b2d8375b..63fdc752d 100644 --- a/internal/git/objectpool/pool_test.go +++ b/internal/git/objectpool/pool_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestNewObjectPool(t *testing.T) { diff --git a/internal/git/objectpool/proto.go b/internal/git/objectpool/proto.go index b85c11b00..329ef6e9d 100644 --- a/internal/git/objectpool/proto.go +++ b/internal/git/objectpool/proto.go @@ -1,11 +1,11 @@ package objectpool import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/objectpool/testhelper_test.go b/internal/git/objectpool/testhelper_test.go index 7e5d84433..0e305d9c8 100644 --- a/internal/git/objectpool/testhelper_test.go +++ b/internal/git/objectpool/testhelper_test.go @@ -5,15 +5,15 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/packfile/bitmap.go b/internal/git/packfile/bitmap.go index c97b34e7d..fa35ec4b6 100644 --- a/internal/git/packfile/bitmap.go +++ b/internal/git/packfile/bitmap.go @@ -11,7 +11,7 @@ import ( "math/big" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitio" + "gitlab.com/gitlab-org/gitaly/internal/git/gitio" ) // IndexBitmap is the in-memory representation of a .bitmap file. diff --git a/internal/git/packfile/index.go b/internal/git/packfile/index.go index 85191c591..8f61544c3 100644 --- a/internal/git/packfile/index.go +++ b/internal/git/packfile/index.go @@ -16,7 +16,7 @@ import ( "strconv" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" ) const sumSize = sha1.Size diff --git a/internal/git/packfile/packfile_test.go b/internal/git/packfile/packfile_test.go index ecf56563b..871b901bb 100644 --- a/internal/git/packfile/packfile_test.go +++ b/internal/git/packfile/packfile_test.go @@ -5,10 +5,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/packfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/packfile" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMain(m *testing.M) { diff --git a/internal/git/pktline/read_monitor.go b/internal/git/pktline/read_monitor.go index f14be6881..97e521170 100644 --- a/internal/git/pktline/read_monitor.go +++ b/internal/git/pktline/read_monitor.go @@ -7,7 +7,7 @@ import ( "os" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // ReadMonitor monitors an io.Reader, waiting for a specified packet. If the diff --git a/internal/git/pktline/read_monitor_test.go b/internal/git/pktline/read_monitor_test.go index d813520f4..471c0c22a 100644 --- a/internal/git/pktline/read_monitor_test.go +++ b/internal/git/pktline/read_monitor_test.go @@ -10,8 +10,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestReadMonitorTimeout(t *testing.T) { diff --git a/internal/git/protocol.go b/internal/git/protocol.go index eadf94925..fd9803021 100644 --- a/internal/git/protocol.go +++ b/internal/git/protocol.go @@ -8,8 +8,8 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/log" ) const ( diff --git a/internal/git/protocol_test.go b/internal/git/protocol_test.go index 41e92d7c2..74bc45894 100644 --- a/internal/git/protocol_test.go +++ b/internal/git/protocol_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) type fakeProtocolMessage struct { diff --git a/internal/git/quarantine/quarantine.go b/internal/git/quarantine/quarantine.go index 7638a606e..e5c5c7f9b 100644 --- a/internal/git/quarantine/quarantine.go +++ b/internal/git/quarantine/quarantine.go @@ -9,9 +9,9 @@ import ( "sort" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/git/quarantine/quarantine_test.go b/internal/git/quarantine/quarantine_test.go index c6a0ce968..8502306f9 100644 --- a/internal/git/quarantine/quarantine_test.go +++ b/internal/git/quarantine/quarantine_test.go @@ -8,11 +8,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/quarantine/testhelper_test.go b/internal/git/quarantine/testhelper_test.go index 38d896d42..38e32bad7 100644 --- a/internal/git/quarantine/testhelper_test.go +++ b/internal/git/quarantine/testhelper_test.go @@ -3,7 +3,7 @@ package quarantine import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/reference.go b/internal/git/reference.go index 8f2c34981..e6f58c850 100644 --- a/internal/git/reference.go +++ b/internal/git/reference.go @@ -5,7 +5,7 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" ) // InternalRefPrefixes is an array of all reference prefixes which are used internally by GitLab. diff --git a/internal/git/reference_test.go b/internal/git/reference_test.go index 9a22e79fe..48f9a891a 100644 --- a/internal/git/reference_test.go +++ b/internal/git/reference_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestCheckRefFormat(t *testing.T) { diff --git a/internal/git/remoterepo/helper_test.go b/internal/git/remoterepo/helper_test.go index 619ff5b16..b59113641 100644 --- a/internal/git/remoterepo/helper_test.go +++ b/internal/git/remoterepo/helper_test.go @@ -3,7 +3,7 @@ package remoterepo import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/remoterepo/repository.go b/internal/git/remoterepo/repository.go index c31248f65..9ec69462e 100644 --- a/internal/git/remoterepo/repository.go +++ b/internal/git/remoterepo/repository.go @@ -5,8 +5,8 @@ import ( "fmt" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/git/remoterepo/repository_test.go b/internal/git/remoterepo/repository_test.go index a6f5e4e8c..9f8d3b097 100644 --- a/internal/git/remoterepo/repository_test.go +++ b/internal/git/remoterepo/repository_test.go @@ -6,17 +6,17 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/git/repository.go b/internal/git/repository.go index ee48e2320..467e458d5 100644 --- a/internal/git/repository.go +++ b/internal/git/repository.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // DefaultBranch is the default reference written to HEAD when a repository is created diff --git a/internal/git/ssh_test.go b/internal/git/ssh_test.go index a349c1c74..f0aa1436f 100644 --- a/internal/git/ssh_test.go +++ b/internal/git/ssh_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestBuildSSHInvocation(t *testing.T) { diff --git a/internal/git/stats/commit_graph_test.go b/internal/git/stats/commit_graph_test.go index 2d52a74b2..cbdfb81fb 100644 --- a/internal/git/stats/commit_graph_test.go +++ b/internal/git/stats/commit_graph_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestIsMissingBloomFilters(t *testing.T) { diff --git a/internal/git/stats/fetch_pack.go b/internal/git/stats/fetch_pack.go index 45ab298e9..026a313f4 100644 --- a/internal/git/stats/fetch_pack.go +++ b/internal/git/stats/fetch_pack.go @@ -7,7 +7,7 @@ import ( "io" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // FetchPack is used to parse the response body of a git-fetch-pack(1) request. diff --git a/internal/git/stats/git.go b/internal/git/stats/git.go index de5895579..cedc376e9 100644 --- a/internal/git/stats/git.go +++ b/internal/git/stats/git.go @@ -8,7 +8,7 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // LogObjectsInfo read statistics of the git repo objects diff --git a/internal/git/stats/git_test.go b/internal/git/stats/git_test.go index 4d64fe405..cfdac5a89 100644 --- a/internal/git/stats/git_test.go +++ b/internal/git/stats/git_test.go @@ -10,11 +10,11 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/stats/http_clone_test.go b/internal/git/stats/http_clone_test.go index fa42d82de..5448689b4 100644 --- a/internal/git/stats/http_clone_test.go +++ b/internal/git/stats/http_clone_test.go @@ -8,9 +8,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestClone(t *testing.T) { diff --git a/internal/git/stats/http_fetch_pack.go b/internal/git/stats/http_fetch_pack.go index a688e7c19..dd947512a 100644 --- a/internal/git/stats/http_fetch_pack.go +++ b/internal/git/stats/http_fetch_pack.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // HTTPFetchPack is a FetchPack obtained via a clone of a target repository via HTTP. It contains diff --git a/internal/git/stats/http_push.go b/internal/git/stats/http_push.go index 00bc97062..f71d75884 100644 --- a/internal/git/stats/http_push.go +++ b/internal/git/stats/http_push.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // HTTPPush hosts information about a typical HTTP-based push. diff --git a/internal/git/stats/http_push_test.go b/internal/git/stats/http_push_test.go index 197afaa79..dda05c126 100644 --- a/internal/git/stats/http_push_test.go +++ b/internal/git/stats/http_push_test.go @@ -11,12 +11,12 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestPerformHTTPPush(t *testing.T) { diff --git a/internal/git/stats/http_send_pack.go b/internal/git/stats/http_send_pack.go index 7c4b7e9f9..7a2ed1ef0 100644 --- a/internal/git/stats/http_send_pack.go +++ b/internal/git/stats/http_send_pack.go @@ -9,7 +9,7 @@ import ( "net/http" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // ResponseBody returns how long it took to receive the last bytes of the response body. diff --git a/internal/git/stats/packfile_negotiation.go b/internal/git/stats/packfile_negotiation.go index 7e3fa5a06..0bafc97a3 100644 --- a/internal/git/stats/packfile_negotiation.go +++ b/internal/git/stats/packfile_negotiation.go @@ -7,8 +7,8 @@ import ( "strings" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" ) //nolint: revive,stylecheck // This is unintentionally missing documentation. diff --git a/internal/git/stats/packfile_negotiation_test.go b/internal/git/stats/packfile_negotiation_test.go index 8fce4ec3d..3e39acada 100644 --- a/internal/git/stats/packfile_negotiation_test.go +++ b/internal/git/stats/packfile_negotiation_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" ) const ( diff --git a/internal/git/stats/profile.go b/internal/git/stats/profile.go index a9a2ced15..f8e936bbd 100644 --- a/internal/git/stats/profile.go +++ b/internal/git/stats/profile.go @@ -10,8 +10,8 @@ import ( "strconv" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // HasBitmap returns whether or not the repository contains an object bitmap. diff --git a/internal/git/stats/profile_test.go b/internal/git/stats/profile_test.go index 582ae558b..2551b6c04 100644 --- a/internal/git/stats/profile_test.go +++ b/internal/git/stats/profile_test.go @@ -7,10 +7,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestRepositoryProfile(t *testing.T) { diff --git a/internal/git/stats/reference_discovery.go b/internal/git/stats/reference_discovery.go index ec2e38423..0bd83628d 100644 --- a/internal/git/stats/reference_discovery.go +++ b/internal/git/stats/reference_discovery.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" ) // Reference as used by the reference discovery protocol diff --git a/internal/git/stats/reference_discovery_test.go b/internal/git/stats/reference_discovery_test.go index 53edbc37f..e1796c946 100644 --- a/internal/git/stats/reference_discovery_test.go +++ b/internal/git/stats/reference_discovery_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" ) func TestSingleRefParses(t *testing.T) { diff --git a/internal/git/stats/send_pack.go b/internal/git/stats/send_pack.go index 53271377f..aea1b3dae 100644 --- a/internal/git/stats/send_pack.go +++ b/internal/git/stats/send_pack.go @@ -7,7 +7,7 @@ import ( "io" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // SendPack is used to parse the response body of a git-send-pack(1) request. diff --git a/internal/git/stats/send_pack_test.go b/internal/git/stats/send_pack_test.go index 6dd126e85..81a3c3546 100644 --- a/internal/git/stats/send_pack_test.go +++ b/internal/git/stats/send_pack_test.go @@ -7,7 +7,7 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" ) func TestSendPack_Parse(t *testing.T) { diff --git a/internal/git/stats/testhelper_test.go b/internal/git/stats/testhelper_test.go index b842dc949..e6f7dbcad 100644 --- a/internal/git/stats/testhelper_test.go +++ b/internal/git/stats/testhelper_test.go @@ -3,7 +3,7 @@ package stats import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/git/updateref/update_with_hooks.go b/internal/git/updateref/update_with_hooks.go index c2f859e17..412400258 100644 --- a/internal/git/updateref/update_with_hooks.go +++ b/internal/git/updateref/update_with_hooks.go @@ -7,17 +7,17 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/git/updateref/update_with_hooks_test.go b/internal/git/updateref/update_with_hooks_test.go index cbc037d32..1b77f6dbb 100644 --- a/internal/git/updateref/update_with_hooks_test.go +++ b/internal/git/updateref/update_with_hooks_test.go @@ -9,19 +9,19 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/git/updateref/updateref.go b/internal/git/updateref/updateref.go index 3708e76c7..8ee82ed8b 100644 --- a/internal/git/updateref/updateref.go +++ b/internal/git/updateref/updateref.go @@ -6,8 +6,8 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" ) // Updater wraps a `git update-ref --stdin` process, presenting an interface diff --git a/internal/git/updateref/updateref_test.go b/internal/git/updateref/updateref_test.go index 67035866b..0165e536e 100644 --- a/internal/git/updateref/updateref_test.go +++ b/internal/git/updateref/updateref_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMain(m *testing.M) { diff --git a/internal/git/version.go b/internal/git/version.go index 8f4966347..d7087413f 100644 --- a/internal/git/version.go +++ b/internal/git/version.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" ) // minimumVersion is the minimum required Git version. If updating this version, be sure to diff --git a/internal/git2go/apply.go b/internal/git2go/apply.go index d14062deb..1f765331e 100644 --- a/internal/git2go/apply.go +++ b/internal/git2go/apply.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // ErrMergeConflict is returned when there is a merge conflict. diff --git a/internal/git2go/apply_test.go b/internal/git2go/apply_test.go index 6c9a05c28..abff7be8a 100644 --- a/internal/git2go/apply_test.go +++ b/internal/git2go/apply_test.go @@ -7,12 +7,12 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestExecutor_Apply(t *testing.T) { diff --git a/internal/git2go/cherry_pick.go b/internal/git2go/cherry_pick.go index c190ab357..d1f27f61b 100644 --- a/internal/git2go/cherry_pick.go +++ b/internal/git2go/cherry_pick.go @@ -4,8 +4,8 @@ import ( "context" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // CherryPickCommand contains parameters to perform a cherry pick. diff --git a/internal/git2go/commit.go b/internal/git2go/commit.go index b8aeda71c..27c007f33 100644 --- a/internal/git2go/commit.go +++ b/internal/git2go/commit.go @@ -6,8 +6,8 @@ import ( "encoding/gob" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // IndexError is an error that was produced by performing an invalid operation on the index. diff --git a/internal/git2go/commit_test.go b/internal/git2go/commit_test.go index 00e942220..940c15b5c 100644 --- a/internal/git2go/commit_test.go +++ b/internal/git2go/commit_test.go @@ -11,12 +11,12 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMain(m *testing.M) { diff --git a/internal/git2go/conflicts.go b/internal/git2go/conflicts.go index 650057c59..9fc517480 100644 --- a/internal/git2go/conflicts.go +++ b/internal/git2go/conflicts.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/internal/git2go/executor.go b/internal/git2go/executor.go index 73dc095e8..cbeefbda8 100644 --- a/internal/git2go/executor.go +++ b/internal/git2go/executor.go @@ -10,14 +10,14 @@ import ( "os/exec" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/alternates" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - glog "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/alternates" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + glog "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/labkit/correlation" ) diff --git a/internal/git2go/merge.go b/internal/git2go/merge.go index b0f2e5503..fb8938609 100644 --- a/internal/git2go/merge.go +++ b/internal/git2go/merge.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) const ( diff --git a/internal/git2go/rebase.go b/internal/git2go/rebase.go index 96991ce5c..49908ecc6 100644 --- a/internal/git2go/rebase.go +++ b/internal/git2go/rebase.go @@ -3,8 +3,8 @@ package git2go import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // RebaseCommand contains parameters to rebase a branch. diff --git a/internal/git2go/resolve_conflicts.go b/internal/git2go/resolve_conflicts.go index ae2545531..c679d2454 100644 --- a/internal/git2go/resolve_conflicts.go +++ b/internal/git2go/resolve_conflicts.go @@ -6,8 +6,8 @@ import ( "encoding/gob" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/conflict" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // ResolveCommand contains arguments to perform a merge commit and resolve any diff --git a/internal/git2go/revert.go b/internal/git2go/revert.go index 756ec64f5..bdb1a703d 100644 --- a/internal/git2go/revert.go +++ b/internal/git2go/revert.go @@ -4,8 +4,8 @@ import ( "context" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // RevertCommand contains parameters required to execute a revert via gitaly-git2go. diff --git a/internal/git2go/submodule.go b/internal/git2go/submodule.go index 145ef503f..82247e165 100644 --- a/internal/git2go/submodule.go +++ b/internal/git2go/submodule.go @@ -7,7 +7,7 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // Error strings present in the legacy Ruby implementation diff --git a/internal/gitaly/client/dial.go b/internal/gitaly/client/dial.go index f83a9941f..b454a3a3f 100644 --- a/internal/gitaly/client/dial.go +++ b/internal/gitaly/client/dial.go @@ -8,7 +8,7 @@ import ( "net/url" "time" - gitalyx509 "gitlab.com/gitlab-org/gitaly/v14/internal/x509" + gitalyx509 "gitlab.com/gitlab-org/gitaly/internal/x509" grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" "google.golang.org/grpc" diff --git a/internal/gitaly/client/dial_test.go b/internal/gitaly/client/dial_test.go index 975be652f..a05f40047 100644 --- a/internal/gitaly/client/dial_test.go +++ b/internal/gitaly/client/dial_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/config/config.go b/internal/gitaly/config/config.go index 505a0fb9d..4fc50018b 100644 --- a/internal/gitaly/config/config.go +++ b/internal/gitaly/config/config.go @@ -14,11 +14,11 @@ import ( "github.com/pelletier/go-toml" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - internallog "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + internallog "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" ) const ( diff --git a/internal/gitaly/config/config_test.go b/internal/gitaly/config/config_test.go index bbb348e60..1be669ab8 100644 --- a/internal/gitaly/config/config_test.go +++ b/internal/gitaly/config/config_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/cgroups" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/cgroups" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestLoadBrokenConfig(t *testing.T) { diff --git a/internal/gitaly/config/locator.go b/internal/gitaly/config/locator.go index 15b7376ab..584c7bfc6 100644 --- a/internal/gitaly/config/locator.go +++ b/internal/gitaly/config/locator.go @@ -4,8 +4,8 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/internal/gitaly/config/sentry/sentry.go b/internal/gitaly/config/sentry/sentry.go index fc3559748..52007ea3e 100644 --- a/internal/gitaly/config/sentry/sentry.go +++ b/internal/gitaly/config/sentry/sentry.go @@ -5,7 +5,7 @@ import ( sentry "github.com/getsentry/sentry-go" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/panichandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler" ) // Config contains configuration for sentry diff --git a/internal/gitaly/config/testhelper_test.go b/internal/gitaly/config/testhelper_test.go index 8cced0b74..d1dd3ed31 100644 --- a/internal/gitaly/config/testhelper_test.go +++ b/internal/gitaly/config/testhelper_test.go @@ -3,7 +3,7 @@ package config import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/diff/diff.go b/internal/gitaly/diff/diff.go index 3fb8191f7..3e1473bb6 100644 --- a/internal/gitaly/diff/diff.go +++ b/internal/gitaly/diff/diff.go @@ -8,8 +8,8 @@ import ( "regexp" "strconv" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // Diff represents a single parsed diff entry diff --git a/internal/gitaly/diff/diff_test.go b/internal/gitaly/diff/diff_test.go index fb8d8e754..35003a38c 100644 --- a/internal/gitaly/diff/diff_test.go +++ b/internal/gitaly/diff/diff_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" ) func TestDiffParserWithLargeDiffWithTrueCollapseDiffsFlag(t *testing.T) { diff --git a/internal/gitaly/hook/check.go b/internal/gitaly/hook/check.go index 57dd8bd74..b467131a5 100644 --- a/internal/gitaly/hook/check.go +++ b/internal/gitaly/hook/check.go @@ -3,7 +3,7 @@ package hook import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" ) //nolint: revive,stylecheck // This is unintentionally missing documentation. diff --git a/internal/gitaly/hook/custom.go b/internal/gitaly/hook/custom.go index 5020f8530..fbfb7cec6 100644 --- a/internal/gitaly/hook/custom.go +++ b/internal/gitaly/hook/custom.go @@ -10,8 +10,8 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sys/unix" ) diff --git a/internal/gitaly/hook/custom_test.go b/internal/gitaly/hook/custom_test.go index 34a6cfda0..066bb3df6 100644 --- a/internal/gitaly/hook/custom_test.go +++ b/internal/gitaly/hook/custom_test.go @@ -11,11 +11,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/manager.go b/internal/gitaly/hook/manager.go index c1b9d7c41..70173444e 100644 --- a/internal/gitaly/hook/manager.go +++ b/internal/gitaly/hook/manager.go @@ -4,11 +4,11 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/postreceive.go b/internal/gitaly/hook/postreceive.go index 549ca3d1d..39df7fcc2 100644 --- a/internal/gitaly/hook/postreceive.go +++ b/internal/gitaly/hook/postreceive.go @@ -10,9 +10,9 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/postreceive_test.go b/internal/gitaly/hook/postreceive_test.go index 434f7b13c..4bb74fb4c 100644 --- a/internal/gitaly/hook/postreceive_test.go +++ b/internal/gitaly/hook/postreceive_test.go @@ -10,18 +10,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/prereceive.go b/internal/gitaly/hook/prereceive.go index 36e630818..8f9f8f54b 100644 --- a/internal/gitaly/hook/prereceive.go +++ b/internal/gitaly/hook/prereceive.go @@ -10,9 +10,9 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/prereceive_test.go b/internal/gitaly/hook/prereceive_test.go index a67a053c8..73e30ffcd 100644 --- a/internal/gitaly/hook/prereceive_test.go +++ b/internal/gitaly/hook/prereceive_test.go @@ -9,19 +9,19 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/referencetransaction.go b/internal/gitaly/hook/referencetransaction.go index bba8eaabe..d9925cc3c 100644 --- a/internal/gitaly/hook/referencetransaction.go +++ b/internal/gitaly/hook/referencetransaction.go @@ -8,8 +8,8 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) // forceDeletionPrefix is the prefix of a queued reference transaction which deletes a diff --git a/internal/gitaly/hook/sidechannel.go b/internal/gitaly/hook/sidechannel.go index 54b945c11..26c86628f 100644 --- a/internal/gitaly/hook/sidechannel.go +++ b/internal/gitaly/hook/sidechannel.go @@ -11,8 +11,8 @@ import ( "path/filepath" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - gitaly_metadata "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/git" + gitaly_metadata "gitlab.com/gitlab-org/gitaly/internal/metadata" "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/hook/sidechannel_test.go b/internal/gitaly/hook/sidechannel_test.go index 0ac677df6..459637b57 100644 --- a/internal/gitaly/hook/sidechannel_test.go +++ b/internal/gitaly/hook/sidechannel_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" grpc_metadata "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/hook/testhelper_test.go b/internal/gitaly/hook/testhelper_test.go index 6232587f9..9484d3101 100644 --- a/internal/gitaly/hook/testhelper_test.go +++ b/internal/gitaly/hook/testhelper_test.go @@ -10,10 +10,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/transactions.go b/internal/gitaly/hook/transactions.go index 33097b551..b0fe01c83 100644 --- a/internal/gitaly/hook/transactions.go +++ b/internal/gitaly/hook/transactions.go @@ -3,9 +3,9 @@ package hook import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) func isPrimary(payload git.HooksPayload) bool { diff --git a/internal/gitaly/hook/transactions_test.go b/internal/gitaly/hook/transactions_test.go index 7f307a2e3..a629dc534 100644 --- a/internal/gitaly/hook/transactions_test.go +++ b/internal/gitaly/hook/transactions_test.go @@ -9,16 +9,16 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) func TestHookManager_stopCalled(t *testing.T) { diff --git a/internal/gitaly/hook/update.go b/internal/gitaly/hook/update.go index d8db702b3..c08c12cea 100644 --- a/internal/gitaly/hook/update.go +++ b/internal/gitaly/hook/update.go @@ -6,8 +6,8 @@ import ( "io" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/hook/update_test.go b/internal/gitaly/hook/update_test.go index f51cb766d..598205c1a 100644 --- a/internal/gitaly/hook/update_test.go +++ b/internal/gitaly/hook/update_test.go @@ -7,18 +7,18 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/linguist/linguist.go b/internal/gitaly/linguist/linguist.go index 9786e6547..7e07852ff 100644 --- a/internal/gitaly/linguist/linguist.go +++ b/internal/gitaly/linguist/linguist.go @@ -10,9 +10,9 @@ import ( "os/exec" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) var exportedEnvVars = []string{"HOME", "PATH", "GEM_HOME", "BUNDLE_PATH", "BUNDLE_APP_CONFIG", "BUNDLE_USER_CONFIG"} diff --git a/internal/gitaly/linguist/linguist_test.go b/internal/gitaly/linguist/linguist_test.go index a0aea903b..d29585f71 100644 --- a/internal/gitaly/linguist/linguist_test.go +++ b/internal/gitaly/linguist/linguist_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/maintenance/daily.go b/internal/gitaly/maintenance/daily.go index 492bcfae3..b3647f770 100644 --- a/internal/gitaly/maintenance/daily.go +++ b/internal/gitaly/maintenance/daily.go @@ -5,8 +5,8 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) // StoragesJob runs a job on storages. The string slice param indicates which diff --git a/internal/gitaly/maintenance/daily_test.go b/internal/gitaly/maintenance/daily_test.go index 97cd411b1..4a9be2955 100644 --- a/internal/gitaly/maintenance/daily_test.go +++ b/internal/gitaly/maintenance/daily_test.go @@ -7,8 +7,8 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestStartDaily(t *testing.T) { diff --git a/internal/gitaly/maintenance/main_test.go b/internal/gitaly/maintenance/main_test.go index 2cf16c9b6..bd492c08a 100644 --- a/internal/gitaly/maintenance/main_test.go +++ b/internal/gitaly/maintenance/main_test.go @@ -3,7 +3,7 @@ package maintenance import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/maintenance/optimize.go b/internal/gitaly/maintenance/optimize.go index 647a597ad..d868d16e4 100644 --- a/internal/gitaly/maintenance/optimize.go +++ b/internal/gitaly/maintenance/optimize.go @@ -11,10 +11,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/maintenance/optimize_test.go b/internal/gitaly/maintenance/optimize_test.go index 4b7f1efd7..9c772c5f3 100644 --- a/internal/gitaly/maintenance/optimize_test.go +++ b/internal/gitaly/maintenance/optimize_test.go @@ -9,17 +9,17 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - repo "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + repo "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/maintenance/randomwalker_test.go b/internal/gitaly/maintenance/randomwalker_test.go index 5db523dc3..ce0f77731 100644 --- a/internal/gitaly/maintenance/randomwalker_test.go +++ b/internal/gitaly/maintenance/randomwalker_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestRandomWalk(t *testing.T) { diff --git a/internal/gitaly/rubyserver/concurrency_test.go b/internal/gitaly/rubyserver/concurrency_test.go index 0531a4073..a3059573d 100644 --- a/internal/gitaly/rubyserver/concurrency_test.go +++ b/internal/gitaly/rubyserver/concurrency_test.go @@ -7,9 +7,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "google.golang.org/grpc/codes" healthpb "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/status" diff --git a/internal/gitaly/rubyserver/health_test.go b/internal/gitaly/rubyserver/health_test.go index da76dfeb4..d50eae3bd 100644 --- a/internal/gitaly/rubyserver/health_test.go +++ b/internal/gitaly/rubyserver/health_test.go @@ -5,8 +5,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestPingSuccess(t *testing.T) { diff --git a/internal/gitaly/rubyserver/proxy.go b/internal/gitaly/rubyserver/proxy.go index 9b20febec..891a13a68 100644 --- a/internal/gitaly/rubyserver/proxy.go +++ b/internal/gitaly/rubyserver/proxy.go @@ -6,8 +6,8 @@ import ( "os" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/rubyserver/proxy_test.go b/internal/gitaly/rubyserver/proxy_test.go index 6e55d6c28..51091239b 100644 --- a/internal/gitaly/rubyserver/proxy_test.go +++ b/internal/gitaly/rubyserver/proxy_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/rubyserver/rubyserver.go b/internal/gitaly/rubyserver/rubyserver.go index 794178123..a31846f87 100644 --- a/internal/gitaly/rubyserver/rubyserver.go +++ b/internal/gitaly/rubyserver/rubyserver.go @@ -12,14 +12,14 @@ import ( grpcmw "github.com/grpc-ecosystem/go-grpc-middleware" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver/balancer" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - "gitlab.com/gitlab-org/gitaly/v14/internal/supervisor" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver/balancer" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/supervisor" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" diff --git a/internal/gitaly/rubyserver/rubyserver_test.go b/internal/gitaly/rubyserver/rubyserver_test.go index d852841a1..8bcc0be75 100644 --- a/internal/gitaly/rubyserver/rubyserver_test.go +++ b/internal/gitaly/rubyserver/rubyserver_test.go @@ -7,15 +7,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/rubyserver/testhelper_test.go b/internal/gitaly/rubyserver/testhelper_test.go index f304d96c2..3b3f4a821 100644 --- a/internal/gitaly/rubyserver/testhelper_test.go +++ b/internal/gitaly/rubyserver/testhelper_test.go @@ -3,7 +3,7 @@ package rubyserver import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/rubyserver/worker.go b/internal/gitaly/rubyserver/worker.go index f3dd20aa0..2b018c926 100644 --- a/internal/gitaly/rubyserver/worker.go +++ b/internal/gitaly/rubyserver/worker.go @@ -8,8 +8,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver/balancer" - "gitlab.com/gitlab-org/gitaly/v14/internal/supervisor" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver/balancer" + "gitlab.com/gitlab-org/gitaly/internal/supervisor" ) var terminationCounter = promauto.NewCounterVec( diff --git a/internal/gitaly/rubyserver/worker_test.go b/internal/gitaly/rubyserver/worker_test.go index 8b4a5b6c1..af727794b 100644 --- a/internal/gitaly/rubyserver/worker_test.go +++ b/internal/gitaly/rubyserver/worker_test.go @@ -6,7 +6,7 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/supervisor" + "gitlab.com/gitlab-org/gitaly/internal/supervisor" ) func TestWorker(t *testing.T) { diff --git a/internal/gitaly/server/auth/auth.go b/internal/gitaly/server/auth/auth.go index f510646c3..8e34bdf78 100644 --- a/internal/gitaly/server/auth/auth.go +++ b/internal/gitaly/server/auth/auth.go @@ -8,7 +8,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - gitalycfgauth "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" + gitalycfgauth "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/server/auth_test.go b/internal/gitaly/server/auth_test.go index 78107cbe7..b58abbf5c 100644 --- a/internal/gitaly/server/auth_test.go +++ b/internal/gitaly/server/auth_test.go @@ -14,21 +14,21 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" diff --git a/internal/gitaly/server/server.go b/internal/gitaly/server/server.go index ab00acd6e..65fdc4a4c 100644 --- a/internal/gitaly/server/server.go +++ b/internal/gitaly/server/server.go @@ -10,24 +10,24 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - diskcache "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/grpcstats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/fieldextractors" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/logsanitizer" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/cancelhandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/commandstatshandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/panichandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/sentryhandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + diskcache "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/internal/grpcstats" + "gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/logsanitizer" + "gitlab.com/gitlab-org/gitaly/internal/middleware/cache" + "gitlab.com/gitlab-org/gitaly/internal/middleware/cancelhandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/commandstatshandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" "google.golang.org/grpc" diff --git a/internal/gitaly/server/server_factory.go b/internal/gitaly/server/server_factory.go index 6b33557be..59275f8e8 100644 --- a/internal/gitaly/server/server_factory.go +++ b/internal/gitaly/server/server_factory.go @@ -4,10 +4,10 @@ import ( "sync" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" "google.golang.org/grpc" ) diff --git a/internal/gitaly/server/server_factory_test.go b/internal/gitaly/server/server_factory_test.go index 60bc5778c..f0eb389ea 100644 --- a/internal/gitaly/server/server_factory_test.go +++ b/internal/gitaly/server/server_factory_test.go @@ -14,13 +14,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" diff --git a/internal/gitaly/service/blob/blobs.go b/internal/gitaly/service/blob/blobs.go index 86acae6a2..eb7f76b9b 100644 --- a/internal/gitaly/service/blob/blobs.go +++ b/internal/gitaly/service/blob/blobs.go @@ -7,11 +7,11 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/protobuf/proto" diff --git a/internal/gitaly/service/blob/blobs_test.go b/internal/gitaly/service/blob/blobs_test.go index 119254518..7a4f522a8 100644 --- a/internal/gitaly/service/blob/blobs_test.go +++ b/internal/gitaly/service/blob/blobs_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/blob/get_blob.go b/internal/gitaly/service/blob/get_blob.go index d7784ea7b..ca96c596c 100644 --- a/internal/gitaly/service/blob/get_blob.go +++ b/internal/gitaly/service/blob/get_blob.go @@ -4,9 +4,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/blob/get_blob_test.go b/internal/gitaly/service/blob/get_blob_test.go index d4dca0610..202646d1d 100644 --- a/internal/gitaly/service/blob/get_blob_test.go +++ b/internal/gitaly/service/blob/get_blob_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/blob/get_blobs.go b/internal/gitaly/service/blob/get_blobs.go index 237c85c17..d9500e799 100644 --- a/internal/gitaly/service/blob/get_blobs.go +++ b/internal/gitaly/service/blob/get_blobs.go @@ -4,8 +4,8 @@ import ( "bytes" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/blob/get_blobs_test.go b/internal/gitaly/service/blob/get_blobs_test.go index e80888ed3..30a0ab7ca 100644 --- a/internal/gitaly/service/blob/get_blobs_test.go +++ b/internal/gitaly/service/blob/get_blobs_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/blob/lfs_pointers.go b/internal/gitaly/service/blob/lfs_pointers.go index 18b850156..276f3eaff 100644 --- a/internal/gitaly/service/blob/lfs_pointers.go +++ b/internal/gitaly/service/blob/lfs_pointers.go @@ -6,12 +6,12 @@ import ( "io" "strings" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/blob/lfs_pointers_test.go b/internal/gitaly/service/blob/lfs_pointers_test.go index 417e779f8..f1308a5e1 100644 --- a/internal/gitaly/service/blob/lfs_pointers_test.go +++ b/internal/gitaly/service/blob/lfs_pointers_test.go @@ -10,11 +10,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/blob/server.go b/internal/gitaly/service/blob/server.go index 6e8acdd1d..f6828e0ef 100644 --- a/internal/gitaly/service/blob/server.go +++ b/internal/gitaly/service/blob/server.go @@ -1,11 +1,11 @@ package blob import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/blob/testhelper_test.go b/internal/gitaly/service/blob/testhelper_test.go index 29c57b3d2..eb78facca 100644 --- a/internal/gitaly/service/blob/testhelper_test.go +++ b/internal/gitaly/service/blob/testhelper_test.go @@ -5,13 +5,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/cleanup/apply_bfg_object_map_stream.go b/internal/gitaly/service/cleanup/apply_bfg_object_map_stream.go index bcd015bab..3f8d5e76e 100644 --- a/internal/gitaly/service/cleanup/apply_bfg_object_map_stream.go +++ b/internal/gitaly/service/cleanup/apply_bfg_object_map_stream.go @@ -4,10 +4,10 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/cleanup/internalrefs" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/cleanup/notifier" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/cleanup/internalrefs" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/cleanup/notifier" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/protobuf/proto" diff --git a/internal/gitaly/service/cleanup/apply_bfg_object_map_stream_test.go b/internal/gitaly/service/cleanup/apply_bfg_object_map_stream_test.go index 23410ff94..c73513bab 100644 --- a/internal/gitaly/service/cleanup/apply_bfg_object_map_stream_test.go +++ b/internal/gitaly/service/cleanup/apply_bfg_object_map_stream_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/cleanup/internalrefs/cleaner.go b/internal/gitaly/service/cleanup/internalrefs/cleaner.go index ca2e04a8c..e69feed2c 100644 --- a/internal/gitaly/service/cleanup/internalrefs/cleaner.go +++ b/internal/gitaly/service/cleanup/internalrefs/cleaner.go @@ -9,8 +9,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" ) // A ForEachFunc can be called for every entry in the filter-repo or BFG object diff --git a/internal/gitaly/service/cleanup/notifier/notifier.go b/internal/gitaly/service/cleanup/notifier/notifier.go index 140b29eae..78f83baee 100644 --- a/internal/gitaly/service/cleanup/notifier/notifier.go +++ b/internal/gitaly/service/cleanup/notifier/notifier.go @@ -3,9 +3,9 @@ package notifier import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/cleanup/server.go b/internal/gitaly/service/cleanup/server.go index 11c72a963..3dbac4551 100644 --- a/internal/gitaly/service/cleanup/server.go +++ b/internal/gitaly/service/cleanup/server.go @@ -1,11 +1,11 @@ package cleanup import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/cleanup/testhelper_test.go b/internal/gitaly/service/cleanup/testhelper_test.go index 4d1ddfc14..33c3bee1c 100644 --- a/internal/gitaly/service/cleanup/testhelper_test.go +++ b/internal/gitaly/service/cleanup/testhelper_test.go @@ -4,14 +4,14 @@ import ( "context" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/commit/check_objects_exist.go b/internal/gitaly/service/commit/check_objects_exist.go index 653c57132..c7b8c4f49 100644 --- a/internal/gitaly/service/commit/check_objects_exist.go +++ b/internal/gitaly/service/commit/check_objects_exist.go @@ -4,10 +4,10 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/commit/check_objects_exist_test.go b/internal/gitaly/service/commit/check_objects_exist_test.go index f93267bf6..4a9adc3af 100644 --- a/internal/gitaly/service/commit/check_objects_exist_test.go +++ b/internal/gitaly/service/commit/check_objects_exist_test.go @@ -6,9 +6,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/commit_messages.go b/internal/gitaly/service/commit/commit_messages.go index 0e9424f52..c8b13d52e 100644 --- a/internal/gitaly/service/commit/commit_messages.go +++ b/internal/gitaly/service/commit/commit_messages.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/commit/commit_messages_test.go b/internal/gitaly/service/commit/commit_messages_test.go index 43d162ecf..707d66b10 100644 --- a/internal/gitaly/service/commit/commit_messages_test.go +++ b/internal/gitaly/service/commit/commit_messages_test.go @@ -6,9 +6,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/commit_signatures.go b/internal/gitaly/service/commit/commit_signatures.go index 91ea5bf7c..c672a6431 100644 --- a/internal/gitaly/service/commit/commit_signatures.go +++ b/internal/gitaly/service/commit/commit_signatures.go @@ -7,9 +7,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/commit/commit_signatures_test.go b/internal/gitaly/service/commit/commit_signatures_test.go index 90fa72c7e..cb4b49dc7 100644 --- a/internal/gitaly/service/commit/commit_signatures_test.go +++ b/internal/gitaly/service/commit/commit_signatures_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/commits_by_message.go b/internal/gitaly/service/commit/commits_by_message.go index 6353cf0ee..b758ec9b0 100644 --- a/internal/gitaly/service/commit/commits_by_message.go +++ b/internal/gitaly/service/commit/commits_by_message.go @@ -3,8 +3,8 @@ package commit import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/commit/commits_by_message_test.go b/internal/gitaly/service/commit/commits_by_message_test.go index 1974a342a..dea5629d6 100644 --- a/internal/gitaly/service/commit/commits_by_message_test.go +++ b/internal/gitaly/service/commit/commits_by_message_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/commit/commits_helper.go b/internal/gitaly/service/commit/commits_helper.go index 2287d9674..7f682e329 100644 --- a/internal/gitaly/service/commit/commits_helper.go +++ b/internal/gitaly/service/commit/commits_helper.go @@ -4,9 +4,9 @@ import ( "context" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/log" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/count_commits.go b/internal/gitaly/service/commit/count_commits.go index 6dc68e250..7bd4a1928 100644 --- a/internal/gitaly/service/commit/count_commits.go +++ b/internal/gitaly/service/commit/count_commits.go @@ -9,7 +9,7 @@ import ( "time" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/commit/count_commits_test.go b/internal/gitaly/service/commit/count_commits_test.go index 085a83090..c95bf8323 100644 --- a/internal/gitaly/service/commit/count_commits_test.go +++ b/internal/gitaly/service/commit/count_commits_test.go @@ -6,8 +6,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/commit/count_diverging_commits.go b/internal/gitaly/service/commit/count_diverging_commits.go index f47b135da..d247558b4 100644 --- a/internal/gitaly/service/commit/count_diverging_commits.go +++ b/internal/gitaly/service/commit/count_diverging_commits.go @@ -8,8 +8,8 @@ import ( "strconv" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/count_diverging_commits_test.go b/internal/gitaly/service/commit/count_diverging_commits_test.go index e882c0ec5..808b02f5f 100644 --- a/internal/gitaly/service/commit/count_diverging_commits_test.go +++ b/internal/gitaly/service/commit/count_diverging_commits_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/filter_shas_with_signatures.go b/internal/gitaly/service/commit/filter_shas_with_signatures.go index 3caa401fe..8899d38a2 100644 --- a/internal/gitaly/service/commit/filter_shas_with_signatures.go +++ b/internal/gitaly/service/commit/filter_shas_with_signatures.go @@ -5,9 +5,9 @@ import ( "errors" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/filter_shas_with_signatures_test.go b/internal/gitaly/service/commit/filter_shas_with_signatures_test.go index 100b2a4da..9be891e61 100644 --- a/internal/gitaly/service/commit/filter_shas_with_signatures_test.go +++ b/internal/gitaly/service/commit/filter_shas_with_signatures_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/find_all_commits.go b/internal/gitaly/service/commit/find_all_commits.go index 5be5c51f9..2318944cf 100644 --- a/internal/gitaly/service/commit/find_all_commits.go +++ b/internal/gitaly/service/commit/find_all_commits.go @@ -3,8 +3,8 @@ package commit import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/find_all_commits_test.go b/internal/gitaly/service/commit/find_all_commits_test.go index 8ce96855e..f2247d0dc 100644 --- a/internal/gitaly/service/commit/find_all_commits_test.go +++ b/internal/gitaly/service/commit/find_all_commits_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/find_commit.go b/internal/gitaly/service/commit/find_commit.go index b0e98ce73..30d8f6843 100644 --- a/internal/gitaly/service/commit/find_commit.go +++ b/internal/gitaly/service/commit/find_commit.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/find_commit_test.go b/internal/gitaly/service/commit/find_commit_test.go index 4eaf718ea..4f6c5e73d 100644 --- a/internal/gitaly/service/commit/find_commit_test.go +++ b/internal/gitaly/service/commit/find_commit_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/internal/gitaly/service/commit/find_commits.go b/internal/gitaly/service/commit/find_commits.go index 12c737b52..3276670ea 100644 --- a/internal/gitaly/service/commit/find_commits.go +++ b/internal/gitaly/service/commit/find_commits.go @@ -8,12 +8,12 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/trailerparser" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/trailerparser" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/find_commits_test.go b/internal/gitaly/service/commit/find_commits_test.go index 957e21252..de8140c93 100644 --- a/internal/gitaly/service/commit/find_commits_test.go +++ b/internal/gitaly/service/commit/find_commits_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/commit/isancestor.go b/internal/gitaly/service/commit/isancestor.go index daaf623b8..3ca6fd671 100644 --- a/internal/gitaly/service/commit/isancestor.go +++ b/internal/gitaly/service/commit/isancestor.go @@ -5,7 +5,7 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/commit/isancestor_test.go b/internal/gitaly/service/commit/isancestor_test.go index 355f5256f..592117079 100644 --- a/internal/gitaly/service/commit/isancestor_test.go +++ b/internal/gitaly/service/commit/isancestor_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/languages.go b/internal/gitaly/service/commit/languages.go index af136a854..65c9d2bbf 100644 --- a/internal/gitaly/service/commit/languages.go +++ b/internal/gitaly/service/commit/languages.go @@ -9,9 +9,9 @@ import ( "sort" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/languages_test.go b/internal/gitaly/service/commit/languages_test.go index 7ca44f17f..3930a7827 100644 --- a/internal/gitaly/service/commit/languages_test.go +++ b/internal/gitaly/service/commit/languages_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/last_commit_for_path.go b/internal/gitaly/service/commit/last_commit_for_path.go index a95bfdcf3..2366243e8 100644 --- a/internal/gitaly/service/commit/last_commit_for_path.go +++ b/internal/gitaly/service/commit/last_commit_for_path.go @@ -3,9 +3,9 @@ package commit import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/log" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/last_commit_for_path_test.go b/internal/gitaly/service/commit/last_commit_for_path_test.go index 9f61eeb39..006fbafc7 100644 --- a/internal/gitaly/service/commit/last_commit_for_path_test.go +++ b/internal/gitaly/service/commit/last_commit_for_path_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/list_all_commits.go b/internal/gitaly/service/commit/list_all_commits.go index 1709f5cf6..fb325b172 100644 --- a/internal/gitaly/service/commit/list_all_commits.go +++ b/internal/gitaly/service/commit/list_all_commits.go @@ -4,11 +4,11 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/list_all_commits_test.go b/internal/gitaly/service/commit/list_all_commits_test.go index e568436c3..fc714f762 100644 --- a/internal/gitaly/service/commit/list_all_commits_test.go +++ b/internal/gitaly/service/commit/list_all_commits_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/gitaly/service/commit/list_commits.go b/internal/gitaly/service/commit/list_commits.go index 830e1bf46..71ba08fc1 100644 --- a/internal/gitaly/service/commit/list_commits.go +++ b/internal/gitaly/service/commit/list_commits.go @@ -5,11 +5,11 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/list_commits_by_oid.go b/internal/gitaly/service/commit/list_commits_by_oid.go index 4c736b2d8..513bea6c0 100644 --- a/internal/gitaly/service/commit/list_commits_by_oid.go +++ b/internal/gitaly/service/commit/list_commits_by_oid.go @@ -3,9 +3,9 @@ package commit import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/commit/list_commits_by_oid_test.go b/internal/gitaly/service/commit/list_commits_by_oid_test.go index b80904cdb..1c00d304e 100644 --- a/internal/gitaly/service/commit/list_commits_by_oid_test.go +++ b/internal/gitaly/service/commit/list_commits_by_oid_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/list_commits_by_ref_name.go b/internal/gitaly/service/commit/list_commits_by_ref_name.go index 5b0784f77..175a8acf6 100644 --- a/internal/gitaly/service/commit/list_commits_by_ref_name.go +++ b/internal/gitaly/service/commit/list_commits_by_ref_name.go @@ -1,10 +1,10 @@ package commit import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/commit/list_commits_by_ref_name_test.go b/internal/gitaly/service/commit/list_commits_by_ref_name_test.go index cb31f0224..32bcfd039 100644 --- a/internal/gitaly/service/commit/list_commits_by_ref_name_test.go +++ b/internal/gitaly/service/commit/list_commits_by_ref_name_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/list_commits_test.go b/internal/gitaly/service/commit/list_commits_test.go index bd2812459..e49f3eca7 100644 --- a/internal/gitaly/service/commit/list_commits_test.go +++ b/internal/gitaly/service/commit/list_commits_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/gitaly/service/commit/list_files.go b/internal/gitaly/service/commit/list_files.go index 4aa1fd448..9835b1279 100644 --- a/internal/gitaly/service/commit/list_files.go +++ b/internal/gitaly/service/commit/list_files.go @@ -5,10 +5,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/commit/list_files_test.go b/internal/gitaly/service/commit/list_files_test.go index c6f27d1eb..8dc075127 100644 --- a/internal/gitaly/service/commit/list_files_test.go +++ b/internal/gitaly/service/commit/list_files_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/list_last_commits_for_tree.go b/internal/gitaly/service/commit/list_last_commits_for_tree.go index 9d0a7a64e..126d51366 100644 --- a/internal/gitaly/service/commit/list_last_commits_for_tree.go +++ b/internal/gitaly/service/commit/list_last_commits_for_tree.go @@ -5,11 +5,11 @@ import ( "io" "sort" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/log" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/list_last_commits_for_tree_test.go b/internal/gitaly/service/commit/list_last_commits_for_tree_test.go index f1edfbe09..fc75ae9b1 100644 --- a/internal/gitaly/service/commit/list_last_commits_for_tree_test.go +++ b/internal/gitaly/service/commit/list_last_commits_for_tree_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/raw_blame.go b/internal/gitaly/service/commit/raw_blame.go index 8bd76ef10..619daa51e 100644 --- a/internal/gitaly/service/commit/raw_blame.go +++ b/internal/gitaly/service/commit/raw_blame.go @@ -6,7 +6,7 @@ import ( "regexp" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/commit/raw_blame_test.go b/internal/gitaly/service/commit/raw_blame_test.go index 2313c29f1..9a2f43675 100644 --- a/internal/gitaly/service/commit/raw_blame_test.go +++ b/internal/gitaly/service/commit/raw_blame_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/commit/server.go b/internal/gitaly/service/commit/server.go index fe4d2d433..d874a24bc 100644 --- a/internal/gitaly/service/commit/server.go +++ b/internal/gitaly/service/commit/server.go @@ -1,12 +1,12 @@ package commit import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/linguist" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/linguist" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/stats.go b/internal/gitaly/service/commit/stats.go index 28e2ab7cd..cf9e7948a 100644 --- a/internal/gitaly/service/commit/stats.go +++ b/internal/gitaly/service/commit/stats.go @@ -7,8 +7,8 @@ import ( "strconv" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/commit/stats_test.go b/internal/gitaly/service/commit/stats_test.go index 3237eff4f..6b2115301 100644 --- a/internal/gitaly/service/commit/stats_test.go +++ b/internal/gitaly/service/commit/stats_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/commit/testhelper_test.go b/internal/gitaly/service/commit/testhelper_test.go index 8da0178aa..816e18329 100644 --- a/internal/gitaly/service/commit/testhelper_test.go +++ b/internal/gitaly/service/commit/testhelper_test.go @@ -7,14 +7,14 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/commit/tree_entries.go b/internal/gitaly/service/commit/tree_entries.go index ab252eecf..21403389d 100644 --- a/internal/gitaly/service/commit/tree_entries.go +++ b/internal/gitaly/service/commit/tree_entries.go @@ -8,11 +8,11 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/commit/tree_entries_test.go b/internal/gitaly/service/commit/tree_entries_test.go index eccd6841a..1e84739d4 100644 --- a/internal/gitaly/service/commit/tree_entries_test.go +++ b/internal/gitaly/service/commit/tree_entries_test.go @@ -8,9 +8,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/commit/tree_entry.go b/internal/gitaly/service/commit/tree_entry.go index 9203931c4..647032677 100644 --- a/internal/gitaly/service/commit/tree_entry.go +++ b/internal/gitaly/service/commit/tree_entry.go @@ -5,9 +5,9 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/commit/tree_entry_test.go b/internal/gitaly/service/commit/tree_entry_test.go index 706be6173..31709890f 100644 --- a/internal/gitaly/service/commit/tree_entry_test.go +++ b/internal/gitaly/service/commit/tree_entry_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/conflicts/list_conflict_files.go b/internal/gitaly/service/conflicts/list_conflict_files.go index c81fd7962..66720895d 100644 --- a/internal/gitaly/service/conflicts/list_conflict_files.go +++ b/internal/gitaly/service/conflicts/list_conflict_files.go @@ -7,9 +7,9 @@ import ( "io" "unicode/utf8" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/conflicts/list_conflict_files_test.go b/internal/gitaly/service/conflicts/list_conflict_files_test.go index b0c502408..553c8c7ec 100644 --- a/internal/gitaly/service/conflicts/list_conflict_files_test.go +++ b/internal/gitaly/service/conflicts/list_conflict_files_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/conflicts/resolve_conflicts.go b/internal/gitaly/service/conflicts/resolve_conflicts.go index 7f5d01604..7a16b311b 100644 --- a/internal/gitaly/service/conflicts/resolve_conflicts.go +++ b/internal/gitaly/service/conflicts/resolve_conflicts.go @@ -12,14 +12,14 @@ import ( "time" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/conflict" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/conflicts/resolve_conflicts_test.go b/internal/gitaly/service/conflicts/resolve_conflicts_test.go index 68840f987..6153f85d7 100644 --- a/internal/gitaly/service/conflicts/resolve_conflicts_test.go +++ b/internal/gitaly/service/conflicts/resolve_conflicts_test.go @@ -14,12 +14,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/internal/gitaly/service/conflicts/server.go b/internal/gitaly/service/conflicts/server.go index 3b8c91ee1..153ae7323 100644 --- a/internal/gitaly/service/conflicts/server.go +++ b/internal/gitaly/service/conflicts/server.go @@ -2,14 +2,14 @@ package conflicts import ( "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/conflicts/testhelper_test.go b/internal/gitaly/service/conflicts/testhelper_test.go index 60f59c18b..4c66847c0 100644 --- a/internal/gitaly/service/conflicts/testhelper_test.go +++ b/internal/gitaly/service/conflicts/testhelper_test.go @@ -4,17 +4,17 @@ import ( "context" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/dependencies.go b/internal/gitaly/service/dependencies.go index 060fbd74d..0542ed9d3 100644 --- a/internal/gitaly/service/dependencies.go +++ b/internal/gitaly/service/dependencies.go @@ -2,22 +2,22 @@ package service import ( "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/linguist" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/streamcache" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/linguist" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/streamcache" ) // Dependencies assembles set of components required by different kinds of services. diff --git a/internal/gitaly/service/diff/commit.go b/internal/gitaly/service/diff/commit.go index daa2c981a..41ff40d98 100644 --- a/internal/gitaly/service/diff/commit.go +++ b/internal/gitaly/service/diff/commit.go @@ -6,8 +6,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/diff" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/diff" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/diff/commit_test.go b/internal/gitaly/service/diff/commit_test.go index 5a58991d9..8d6fdcd67 100644 --- a/internal/gitaly/service/diff/commit_test.go +++ b/internal/gitaly/service/diff/commit_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/diff" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/diff" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/diff/find_changed_paths.go b/internal/gitaly/service/diff/find_changed_paths.go index 17841bc96..4fab3650c 100644 --- a/internal/gitaly/service/diff/find_changed_paths.go +++ b/internal/gitaly/service/diff/find_changed_paths.go @@ -7,8 +7,8 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/diff/find_changed_paths_test.go b/internal/gitaly/service/diff/find_changed_paths_test.go index 5f672b2b7..680c939cf 100644 --- a/internal/gitaly/service/diff/find_changed_paths_test.go +++ b/internal/gitaly/service/diff/find_changed_paths_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/diff/numstat.go b/internal/gitaly/service/diff/numstat.go index 324ff3f5a..f61f92061 100644 --- a/internal/gitaly/service/diff/numstat.go +++ b/internal/gitaly/service/diff/numstat.go @@ -3,8 +3,8 @@ package diff import ( "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/diff" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/diff" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/diff/numstat_test.go b/internal/gitaly/service/diff/numstat_test.go index 334123906..a745b551c 100644 --- a/internal/gitaly/service/diff/numstat_test.go +++ b/internal/gitaly/service/diff/numstat_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/diff" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/diff" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/diff/raw.go b/internal/gitaly/service/diff/raw.go index a5c1e3662..ffb23b159 100644 --- a/internal/gitaly/service/diff/raw.go +++ b/internal/gitaly/service/diff/raw.go @@ -4,7 +4,7 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/diff/raw_test.go b/internal/gitaly/service/diff/raw_test.go index b153b589c..40b1f63d9 100644 --- a/internal/gitaly/service/diff/raw_test.go +++ b/internal/gitaly/service/diff/raw_test.go @@ -7,8 +7,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/diff/server.go b/internal/gitaly/service/diff/server.go index d9755f2c0..e3083fcee 100644 --- a/internal/gitaly/service/diff/server.go +++ b/internal/gitaly/service/diff/server.go @@ -1,11 +1,11 @@ package diff import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/diff/testhelper_test.go b/internal/gitaly/service/diff/testhelper_test.go index c2b8f3b05..4e4ef3c7d 100644 --- a/internal/gitaly/service/diff/testhelper_test.go +++ b/internal/gitaly/service/diff/testhelper_test.go @@ -5,13 +5,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/hook/pack_objects.go b/internal/gitaly/service/hook/pack_objects.go index 45cff4d8b..5c8aad4da 100644 --- a/internal/gitaly/service/hook/pack_objects.go +++ b/internal/gitaly/service/hook/pack_objects.go @@ -18,11 +18,11 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/stream" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" diff --git a/internal/gitaly/service/hook/pack_objects_test.go b/internal/gitaly/service/hook/pack_objects_test.go index e2ffb15b8..f7ec5fbc6 100644 --- a/internal/gitaly/service/hook/pack_objects_test.go +++ b/internal/gitaly/service/hook/pack_objects_test.go @@ -11,15 +11,15 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - hookPkg "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/streamcache" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + hookPkg "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/streamcache" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/hook/post_receive.go b/internal/gitaly/service/hook/post_receive.go index 0ec9606c7..74f12cdfa 100644 --- a/internal/gitaly/service/hook/post_receive.go +++ b/internal/gitaly/service/hook/post_receive.go @@ -6,7 +6,7 @@ import ( "os/exec" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/hook/post_receive_test.go b/internal/gitaly/service/hook/post_receive_test.go index 1952635ea..cb26b6ade 100644 --- a/internal/gitaly/service/hook/post_receive_test.go +++ b/internal/gitaly/service/hook/post_receive_test.go @@ -8,16 +8,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/hook/pre_receive.go b/internal/gitaly/service/hook/pre_receive.go index 24266cbb7..313416d7e 100644 --- a/internal/gitaly/service/hook/pre_receive.go +++ b/internal/gitaly/service/hook/pre_receive.go @@ -6,7 +6,7 @@ import ( "os/exec" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/hook/pre_receive_test.go b/internal/gitaly/service/hook/pre_receive_test.go index 6d67b52b1..d6b496f1f 100644 --- a/internal/gitaly/service/hook/pre_receive_test.go +++ b/internal/gitaly/service/hook/pre_receive_test.go @@ -11,17 +11,17 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/hook/reference_transaction.go b/internal/gitaly/service/hook/reference_transaction.go index ff5a027ea..5c7e62ba8 100644 --- a/internal/gitaly/service/hook/reference_transaction.go +++ b/internal/gitaly/service/hook/reference_transaction.go @@ -3,9 +3,9 @@ package hook import ( "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/hook/reference_transaction_test.go b/internal/gitaly/service/hook/reference_transaction_test.go index aa9ec674f..9c3f2a535 100644 --- a/internal/gitaly/service/hook/reference_transaction_test.go +++ b/internal/gitaly/service/hook/reference_transaction_test.go @@ -7,15 +7,15 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/hook/server.go b/internal/gitaly/service/hook/server.go index 23e9c65c8..b93bab6d0 100644 --- a/internal/gitaly/service/hook/server.go +++ b/internal/gitaly/service/hook/server.go @@ -1,9 +1,9 @@ package hook import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/streamcache" + "gitlab.com/gitlab-org/gitaly/internal/git" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/streamcache" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/hook/testhelper_test.go b/internal/gitaly/service/hook/testhelper_test.go index 0c61df801..3fc4ed47b 100644 --- a/internal/gitaly/service/hook/testhelper_test.go +++ b/internal/gitaly/service/hook/testhelper_test.go @@ -4,14 +4,14 @@ import ( "context" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/hook/update.go b/internal/gitaly/service/hook/update.go index 53ec53c8e..8ebd492fc 100644 --- a/internal/gitaly/service/hook/update.go +++ b/internal/gitaly/service/hook/update.go @@ -5,7 +5,7 @@ import ( "os/exec" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/hook/update_test.go b/internal/gitaly/service/hook/update_test.go index 2748bf003..220ad4f32 100644 --- a/internal/gitaly/service/hook/update_test.go +++ b/internal/gitaly/service/hook/update_test.go @@ -9,12 +9,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/internalgitaly/server.go b/internal/gitaly/service/internalgitaly/server.go index c3f3c0ea6..d9b57fe46 100644 --- a/internal/gitaly/service/internalgitaly/server.go +++ b/internal/gitaly/service/internalgitaly/server.go @@ -1,7 +1,7 @@ package internalgitaly import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/internalgitaly/testhelper_test.go b/internal/gitaly/service/internalgitaly/testhelper_test.go index b1ba1d050..36ae46daa 100644 --- a/internal/gitaly/service/internalgitaly/testhelper_test.go +++ b/internal/gitaly/service/internalgitaly/testhelper_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/internalgitaly/walkrepos.go b/internal/gitaly/service/internalgitaly/walkrepos.go index 71a023fdd..9408195ba 100644 --- a/internal/gitaly/service/internalgitaly/walkrepos.go +++ b/internal/gitaly/service/internalgitaly/walkrepos.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/internalgitaly/walkrepos_test.go b/internal/gitaly/service/internalgitaly/walkrepos_test.go index 23a3aaec4..4b3261af8 100644 --- a/internal/gitaly/service/internalgitaly/walkrepos_test.go +++ b/internal/gitaly/service/internalgitaly/walkrepos_test.go @@ -9,10 +9,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/namespace/namespace.go b/internal/gitaly/service/namespace/namespace.go index 4023144b2..a09398dc4 100644 --- a/internal/gitaly/service/namespace/namespace.go +++ b/internal/gitaly/service/namespace/namespace.go @@ -7,7 +7,7 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/namespace/namespace_test.go b/internal/gitaly/service/namespace/namespace_test.go index 5319f67ab..6ad263b71 100644 --- a/internal/gitaly/service/namespace/namespace_test.go +++ b/internal/gitaly/service/namespace/namespace_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/namespace/server.go b/internal/gitaly/service/namespace/server.go index 3442313ee..8b4423f45 100644 --- a/internal/gitaly/service/namespace/server.go +++ b/internal/gitaly/service/namespace/server.go @@ -1,7 +1,7 @@ package namespace import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/namespace/testhelper_test.go b/internal/gitaly/service/namespace/testhelper_test.go index a37b5a03a..103391b50 100644 --- a/internal/gitaly/service/namespace/testhelper_test.go +++ b/internal/gitaly/service/namespace/testhelper_test.go @@ -4,11 +4,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/objectpool/alternates.go b/internal/gitaly/service/objectpool/alternates.go index 03951cc17..ee07848b8 100644 --- a/internal/gitaly/service/objectpool/alternates.go +++ b/internal/gitaly/service/objectpool/alternates.go @@ -11,10 +11,10 @@ import ( "time" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/alternates_test.go b/internal/gitaly/service/objectpool/alternates_test.go index 851dafb8e..b549c2991 100644 --- a/internal/gitaly/service/objectpool/alternates_test.go +++ b/internal/gitaly/service/objectpool/alternates_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/create.go b/internal/gitaly/service/objectpool/create.go index 2dfd35f0a..0791d65ba 100644 --- a/internal/gitaly/service/objectpool/create.go +++ b/internal/gitaly/service/objectpool/create.go @@ -3,8 +3,8 @@ package objectpool import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/objectpool/create_test.go b/internal/gitaly/service/objectpool/create_test.go index c8b77063c..b22db51a5 100644 --- a/internal/gitaly/service/objectpool/create_test.go +++ b/internal/gitaly/service/objectpool/create_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/fetch_into_object_pool.go b/internal/gitaly/service/objectpool/fetch_into_object_pool.go index ff65b77c3..5fb291af5 100644 --- a/internal/gitaly/service/objectpool/fetch_into_object_pool.go +++ b/internal/gitaly/service/objectpool/fetch_into_object_pool.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go index 879c1cf1a..74e53b813 100644 --- a/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go +++ b/internal/gitaly/service/objectpool/fetch_into_object_pool_test.go @@ -10,16 +10,16 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/log" "google.golang.org/grpc" diff --git a/internal/gitaly/service/objectpool/get.go b/internal/gitaly/service/objectpool/get.go index 063d42908..fd70e4ce5 100644 --- a/internal/gitaly/service/objectpool/get.go +++ b/internal/gitaly/service/objectpool/get.go @@ -5,8 +5,8 @@ import ( "errors" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/get_test.go b/internal/gitaly/service/objectpool/get_test.go index 41764461f..8176545b4 100644 --- a/internal/gitaly/service/objectpool/get_test.go +++ b/internal/gitaly/service/objectpool/get_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/link.go b/internal/gitaly/service/objectpool/link.go index cbb16f0ac..fa6c09a21 100644 --- a/internal/gitaly/service/objectpool/link.go +++ b/internal/gitaly/service/objectpool/link.go @@ -3,7 +3,7 @@ package objectpool import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/objectpool/link_test.go b/internal/gitaly/service/objectpool/link_test.go index 9b58be35a..39d59cb6c 100644 --- a/internal/gitaly/service/objectpool/link_test.go +++ b/internal/gitaly/service/objectpool/link_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/objectpool/reduplicate.go b/internal/gitaly/service/objectpool/reduplicate.go index d96c98dd2..7884dcc4c 100644 --- a/internal/gitaly/service/objectpool/reduplicate.go +++ b/internal/gitaly/service/objectpool/reduplicate.go @@ -3,7 +3,7 @@ package objectpool import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/objectpool/reduplicate_test.go b/internal/gitaly/service/objectpool/reduplicate_test.go index 721fc6f26..d892f7189 100644 --- a/internal/gitaly/service/objectpool/reduplicate_test.go +++ b/internal/gitaly/service/objectpool/reduplicate_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/server.go b/internal/gitaly/service/objectpool/server.go index cf3ba2e4f..c0ef80c18 100644 --- a/internal/gitaly/service/objectpool/server.go +++ b/internal/gitaly/service/objectpool/server.go @@ -1,13 +1,13 @@ package objectpool import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/objectpool/testhelper_test.go b/internal/gitaly/service/objectpool/testhelper_test.go index 3ea7f981c..084eb328d 100644 --- a/internal/gitaly/service/objectpool/testhelper_test.go +++ b/internal/gitaly/service/objectpool/testhelper_test.go @@ -8,20 +8,20 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/operations/apply_patch.go b/internal/gitaly/service/operations/apply_patch.go index f87cec969..58c09d6dd 100644 --- a/internal/gitaly/service/operations/apply_patch.go +++ b/internal/gitaly/service/operations/apply_patch.go @@ -10,10 +10,10 @@ import ( "time" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/operations/apply_patch_test.go b/internal/gitaly/service/operations/apply_patch_test.go index c7e5ffb15..63def31fd 100644 --- a/internal/gitaly/service/operations/apply_patch_test.go +++ b/internal/gitaly/service/operations/apply_patch_test.go @@ -10,18 +10,18 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/operations/branches.go b/internal/gitaly/service/operations/branches.go index 736f3c155..7e1074503 100644 --- a/internal/gitaly/service/operations/branches.go +++ b/internal/gitaly/service/operations/branches.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/branches_test.go b/internal/gitaly/service/operations/branches_test.go index 7a7badde7..4780ea040 100644 --- a/internal/gitaly/service/operations/branches_test.go +++ b/internal/gitaly/service/operations/branches_test.go @@ -6,17 +6,17 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/operations/cherry_pick.go b/internal/gitaly/service/operations/cherry_pick.go index 801ee93c1..c6437a3fb 100644 --- a/internal/gitaly/service/operations/cherry_pick.go +++ b/internal/gitaly/service/operations/cherry_pick.go @@ -6,10 +6,10 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/cherry_pick_test.go b/internal/gitaly/service/operations/cherry_pick_test.go index deb3a0706..2e822a6b0 100644 --- a/internal/gitaly/service/operations/cherry_pick_test.go +++ b/internal/gitaly/service/operations/cherry_pick_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/operations/commit_files.go b/internal/gitaly/service/operations/commit_files.go index 6b4f4539d..0f38e7622 100644 --- a/internal/gitaly/service/operations/commit_files.go +++ b/internal/gitaly/service/operations/commit_files.go @@ -11,13 +11,13 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/commit_files_test.go b/internal/gitaly/service/operations/commit_files_test.go index 6b788e214..6f27024cc 100644 --- a/internal/gitaly/service/operations/commit_files_test.go +++ b/internal/gitaly/service/operations/commit_files_test.go @@ -10,12 +10,12 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" diff --git a/internal/gitaly/service/operations/merge.go b/internal/gitaly/service/operations/merge.go index c193fa6d6..4ef78e06c 100644 --- a/internal/gitaly/service/operations/merge.go +++ b/internal/gitaly/service/operations/merge.go @@ -8,11 +8,11 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/operations/merge_test.go b/internal/gitaly/service/operations/merge_test.go index db133eeb3..a26050901 100644 --- a/internal/gitaly/service/operations/merge_test.go +++ b/internal/gitaly/service/operations/merge_test.go @@ -12,19 +12,19 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/rebase.go b/internal/gitaly/service/operations/rebase.go index e23a18fe9..231d1301d 100644 --- a/internal/gitaly/service/operations/rebase.go +++ b/internal/gitaly/service/operations/rebase.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/rebase_test.go b/internal/gitaly/service/operations/rebase_test.go index a43f084f3..33ceda86d 100644 --- a/internal/gitaly/service/operations/rebase_test.go +++ b/internal/gitaly/service/operations/rebase_test.go @@ -11,17 +11,17 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/proto" diff --git a/internal/gitaly/service/operations/revert.go b/internal/gitaly/service/operations/revert.go index 9b57b63b2..4dceffa6b 100644 --- a/internal/gitaly/service/operations/revert.go +++ b/internal/gitaly/service/operations/revert.go @@ -5,12 +5,12 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/operations/revert_test.go b/internal/gitaly/service/operations/revert_test.go index 22e10efa2..51c089e59 100644 --- a/internal/gitaly/service/operations/revert_test.go +++ b/internal/gitaly/service/operations/revert_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/operations/server.go b/internal/gitaly/service/operations/server.go index e8bc6d538..eda0a8fa2 100644 --- a/internal/gitaly/service/operations/server.go +++ b/internal/gitaly/service/operations/server.go @@ -4,17 +4,17 @@ import ( "context" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/operations/squash.go b/internal/gitaly/service/operations/squash.go index 16bc61e1c..d5d4eb344 100644 --- a/internal/gitaly/service/operations/squash.go +++ b/internal/gitaly/service/operations/squash.go @@ -7,13 +7,13 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/operations/squash_test.go b/internal/gitaly/service/operations/squash_test.go index e39b9edb2..c2823023d 100644 --- a/internal/gitaly/service/operations/squash_test.go +++ b/internal/gitaly/service/operations/squash_test.go @@ -9,19 +9,19 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/operations/submodules.go b/internal/gitaly/service/operations/submodules.go index 68375c226..af568f873 100644 --- a/internal/gitaly/service/operations/submodules.go +++ b/internal/gitaly/service/operations/submodules.go @@ -8,10 +8,10 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/submodules_test.go b/internal/gitaly/service/operations/submodules_test.go index 6c6107b6c..1ba758df2 100644 --- a/internal/gitaly/service/operations/submodules_test.go +++ b/internal/gitaly/service/operations/submodules_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/operations/tags.go b/internal/gitaly/service/operations/tags.go index 678e1d68c..839d35b35 100644 --- a/internal/gitaly/service/operations/tags.go +++ b/internal/gitaly/service/operations/tags.go @@ -8,11 +8,11 @@ import ( "regexp" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/tags_test.go b/internal/gitaly/service/operations/tags_test.go index bb5957023..062b93b96 100644 --- a/internal/gitaly/service/operations/tags_test.go +++ b/internal/gitaly/service/operations/tags_test.go @@ -8,18 +8,18 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/operations/testhelper_test.go b/internal/gitaly/service/operations/testhelper_test.go index 0e7f3e4f6..6cf184784 100644 --- a/internal/gitaly/service/operations/testhelper_test.go +++ b/internal/gitaly/service/operations/testhelper_test.go @@ -6,19 +6,19 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - internalclient "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + internalclient "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/operations/update_branches_test.go b/internal/gitaly/service/operations/update_branches_test.go index 1ea5701fa..ac4d844f1 100644 --- a/internal/gitaly/service/operations/update_branches_test.go +++ b/internal/gitaly/service/operations/update_branches_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/operations/update_with_hooks.go b/internal/gitaly/service/operations/update_with_hooks.go index 10aa7f6d0..cca3d6666 100644 --- a/internal/gitaly/service/operations/update_with_hooks.go +++ b/internal/gitaly/service/operations/update_with_hooks.go @@ -3,8 +3,8 @@ package operations import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/branches.go b/internal/gitaly/service/ref/branches.go index 0f12bcdbb..082b882b1 100644 --- a/internal/gitaly/service/ref/branches.go +++ b/internal/gitaly/service/ref/branches.go @@ -4,7 +4,7 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/ref/branches_test.go b/internal/gitaly/service/ref/branches_test.go index 3e7088fda..5f490a1ff 100644 --- a/internal/gitaly/service/ref/branches_test.go +++ b/internal/gitaly/service/ref/branches_test.go @@ -4,9 +4,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/delete_refs.go b/internal/gitaly/service/ref/delete_refs.go index 1d3a121f7..8815b3a6a 100644 --- a/internal/gitaly/service/ref/delete_refs.go +++ b/internal/gitaly/service/ref/delete_refs.go @@ -6,12 +6,12 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/ref/delete_refs_test.go b/internal/gitaly/service/ref/delete_refs_test.go index b07c76009..ba3182a67 100644 --- a/internal/gitaly/service/ref/delete_refs_test.go +++ b/internal/gitaly/service/ref/delete_refs_test.go @@ -5,17 +5,17 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/ref/find_all_tags.go b/internal/gitaly/service/ref/find_all_tags.go index 1bf51fde9..4bd4ca50e 100644 --- a/internal/gitaly/service/ref/find_all_tags.go +++ b/internal/gitaly/service/ref/find_all_tags.go @@ -7,11 +7,11 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/ref/find_all_tags_test.go b/internal/gitaly/service/ref/find_all_tags_test.go index b562d74fe..8954bfa26 100644 --- a/internal/gitaly/service/ref/find_all_tags_test.go +++ b/internal/gitaly/service/ref/find_all_tags_test.go @@ -11,15 +11,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/ref/find_refs_by_oid.go b/internal/gitaly/service/ref/find_refs_by_oid.go index 13443dffc..40bcd317b 100644 --- a/internal/gitaly/service/ref/find_refs_by_oid.go +++ b/internal/gitaly/service/ref/find_refs_by_oid.go @@ -5,8 +5,8 @@ import ( "errors" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/find_refs_by_oid_test.go b/internal/gitaly/service/ref/find_refs_by_oid_test.go index 8d657ce97..7d89e2acf 100644 --- a/internal/gitaly/service/ref/find_refs_by_oid_test.go +++ b/internal/gitaly/service/ref/find_refs_by_oid_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/list_refs.go b/internal/gitaly/service/ref/list_refs.go index 0ad61e508..886576c85 100644 --- a/internal/gitaly/service/ref/list_refs.go +++ b/internal/gitaly/service/ref/list_refs.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/lines" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/lines" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/list_refs_test.go b/internal/gitaly/service/ref/list_refs_test.go index 31eae96a2..4222506d2 100644 --- a/internal/gitaly/service/ref/list_refs_test.go +++ b/internal/gitaly/service/ref/list_refs_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/pack_refs.go b/internal/gitaly/service/ref/pack_refs.go index 0b9ae588c..cee03d578 100644 --- a/internal/gitaly/service/ref/pack_refs.go +++ b/internal/gitaly/service/ref/pack_refs.go @@ -3,10 +3,10 @@ package ref import ( "context" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/pack_refs_test.go b/internal/gitaly/service/ref/pack_refs_test.go index c91db2de5..13c3c03d8 100644 --- a/internal/gitaly/service/ref/pack_refs_test.go +++ b/internal/gitaly/service/ref/pack_refs_test.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/ref/refexists.go b/internal/gitaly/service/ref/refexists.go index 2256d8dca..7bbf41a9a 100644 --- a/internal/gitaly/service/ref/refexists.go +++ b/internal/gitaly/service/ref/refexists.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/refexists_test.go b/internal/gitaly/service/ref/refexists_test.go index 4e87c19ec..ded9453b8 100644 --- a/internal/gitaly/service/ref/refexists_test.go +++ b/internal/gitaly/service/ref/refexists_test.go @@ -3,8 +3,8 @@ package ref import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/refnames.go b/internal/gitaly/service/ref/refnames.go index 087bdc317..ff2a8983d 100644 --- a/internal/gitaly/service/ref/refnames.go +++ b/internal/gitaly/service/ref/refnames.go @@ -4,8 +4,8 @@ import ( "bufio" "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/wrapperspb" diff --git a/internal/gitaly/service/ref/refnames_containing.go b/internal/gitaly/service/ref/refnames_containing.go index 851a5a5fc..c87860715 100644 --- a/internal/gitaly/service/ref/refnames_containing.go +++ b/internal/gitaly/service/ref/refnames_containing.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/wrapperspb" diff --git a/internal/gitaly/service/ref/refs.go b/internal/gitaly/service/ref/refs.go index 76cebb1b8..0c9e7e6ef 100644 --- a/internal/gitaly/service/ref/refs.go +++ b/internal/gitaly/service/ref/refs.go @@ -9,11 +9,11 @@ import ( "math" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/lines" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/lines" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/refs_test.go b/internal/gitaly/service/ref/refs_test.go index bac8b3e81..0f66033a3 100644 --- a/internal/gitaly/service/ref/refs_test.go +++ b/internal/gitaly/service/ref/refs_test.go @@ -10,14 +10,14 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/types/known/timestamppb" diff --git a/internal/gitaly/service/ref/remote_branches.go b/internal/gitaly/service/ref/remote_branches.go index 343950e87..aa77d631d 100644 --- a/internal/gitaly/service/ref/remote_branches.go +++ b/internal/gitaly/service/ref/remote_branches.go @@ -4,8 +4,8 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/remote_branches_test.go b/internal/gitaly/service/ref/remote_branches_test.go index 9fa8ba90c..590f636dd 100644 --- a/internal/gitaly/service/ref/remote_branches_test.go +++ b/internal/gitaly/service/ref/remote_branches_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/server.go b/internal/gitaly/service/ref/server.go index 825b7a0dd..d62a5bb54 100644 --- a/internal/gitaly/service/ref/server.go +++ b/internal/gitaly/service/ref/server.go @@ -1,12 +1,12 @@ package ref import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/tag_messages.go b/internal/gitaly/service/ref/tag_messages.go index 895a5098b..09a605c43 100644 --- a/internal/gitaly/service/ref/tag_messages.go +++ b/internal/gitaly/service/ref/tag_messages.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/ref/tag_messages_test.go b/internal/gitaly/service/ref/tag_messages_test.go index 36d236d4e..3ba075766 100644 --- a/internal/gitaly/service/ref/tag_messages_test.go +++ b/internal/gitaly/service/ref/tag_messages_test.go @@ -6,9 +6,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/ref/tag_signatures.go b/internal/gitaly/service/ref/tag_signatures.go index 7b05640d2..cee43d2e2 100644 --- a/internal/gitaly/service/ref/tag_signatures.go +++ b/internal/gitaly/service/ref/tag_signatures.go @@ -6,10 +6,10 @@ import ( "io" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gitpipe" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gitpipe" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/ref/tag_signatures_test.go b/internal/gitaly/service/ref/tag_signatures_test.go index 3e0b7252c..e8dfad8aa 100644 --- a/internal/gitaly/service/ref/tag_signatures_test.go +++ b/internal/gitaly/service/ref/tag_signatures_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/ref/testhelper_test.go b/internal/gitaly/service/ref/testhelper_test.go index b21d5a61d..dd936a344 100644 --- a/internal/gitaly/service/ref/testhelper_test.go +++ b/internal/gitaly/service/ref/testhelper_test.go @@ -6,15 +6,15 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/lines" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/helper/lines" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/ref/util.go b/internal/gitaly/service/ref/util.go index 375715967..56254c802 100644 --- a/internal/gitaly/service/ref/util.go +++ b/internal/gitaly/service/ref/util.go @@ -5,9 +5,9 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/lines" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/helper/lines" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ref/util_test.go b/internal/gitaly/service/ref/util_test.go index 38550b156..17d436ed0 100644 --- a/internal/gitaly/service/ref/util_test.go +++ b/internal/gitaly/service/ref/util_test.go @@ -3,7 +3,7 @@ package ref import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/gitaly/service/remote/find_remote_repository.go b/internal/gitaly/service/remote/find_remote_repository.go index 5504da686..71e3f44eb 100644 --- a/internal/gitaly/service/remote/find_remote_repository.go +++ b/internal/gitaly/service/remote/find_remote_repository.go @@ -5,7 +5,7 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/remote/find_remote_repository_test.go b/internal/gitaly/service/remote/find_remote_repository_test.go index 23e2afa12..059155565 100644 --- a/internal/gitaly/service/remote/find_remote_repository_test.go +++ b/internal/gitaly/service/remote/find_remote_repository_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/remote/find_remote_root_ref.go b/internal/gitaly/service/remote/find_remote_root_ref.go index 2929fe9c1..f87e17b53 100644 --- a/internal/gitaly/service/remote/find_remote_root_ref.go +++ b/internal/gitaly/service/remote/find_remote_root_ref.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/remote/find_remote_root_ref_test.go b/internal/gitaly/service/remote/find_remote_root_ref_test.go index 34ab68252..34f547346 100644 --- a/internal/gitaly/service/remote/find_remote_root_ref_test.go +++ b/internal/gitaly/service/remote/find_remote_root_ref_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/remote/server.go b/internal/gitaly/service/remote/server.go index 034105196..6e2f9465e 100644 --- a/internal/gitaly/service/remote/server.go +++ b/internal/gitaly/service/remote/server.go @@ -2,12 +2,12 @@ package remote import ( "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/remote/testhelper_test.go b/internal/gitaly/service/remote/testhelper_test.go index db36b43ca..56d52ee5a 100644 --- a/internal/gitaly/service/remote/testhelper_test.go +++ b/internal/gitaly/service/remote/testhelper_test.go @@ -4,13 +4,13 @@ import ( "context" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/remote/update_remote_mirror.go b/internal/gitaly/service/remote/update_remote_mirror.go index 5ff3d53e5..3996db0da 100644 --- a/internal/gitaly/service/remote/update_remote_mirror.go +++ b/internal/gitaly/service/remote/update_remote_mirror.go @@ -8,10 +8,10 @@ import ( "regexp" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/remote/update_remote_mirror_test.go b/internal/gitaly/service/remote/update_remote_mirror_test.go index 5d624c531..3a19ed032 100644 --- a/internal/gitaly/service/remote/update_remote_mirror_test.go +++ b/internal/gitaly/service/remote/update_remote_mirror_test.go @@ -9,18 +9,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - repositorysvc "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + repositorysvc "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/apply_gitattributes.go b/internal/gitaly/service/repository/apply_gitattributes.go index f2ec2e422..70f6c09fa 100644 --- a/internal/gitaly/service/repository/apply_gitattributes.go +++ b/internal/gitaly/service/repository/apply_gitattributes.go @@ -9,14 +9,14 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/apply_gitattributes_test.go b/internal/gitaly/service/repository/apply_gitattributes_test.go index 63a76ab66..c2e60b9da 100644 --- a/internal/gitaly/service/repository/apply_gitattributes_test.go +++ b/internal/gitaly/service/repository/apply_gitattributes_test.go @@ -11,14 +11,14 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/archive.go b/internal/gitaly/service/repository/archive.go index 6c37e1b2c..4c4663393 100644 --- a/internal/gitaly/service/repository/archive.go +++ b/internal/gitaly/service/repository/archive.go @@ -13,12 +13,12 @@ import ( "strings" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/log" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "gitlab.com/gitlab-org/labkit/correlation" diff --git a/internal/gitaly/service/repository/archive_test.go b/internal/gitaly/service/repository/archive_test.go index ac8f32de0..0d2428279 100644 --- a/internal/gitaly/service/repository/archive_test.go +++ b/internal/gitaly/service/repository/archive_test.go @@ -12,13 +12,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "gitlab.com/gitlab-org/labkit/correlation" diff --git a/internal/gitaly/service/repository/backup_custom_hooks.go b/internal/gitaly/service/repository/backup_custom_hooks.go index 4f0683724..c0c806a1f 100644 --- a/internal/gitaly/service/repository/backup_custom_hooks.go +++ b/internal/gitaly/service/repository/backup_custom_hooks.go @@ -5,7 +5,7 @@ import ( "os/exec" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/backup_custom_hooks_test.go b/internal/gitaly/service/repository/backup_custom_hooks_test.go index 8582ddd6d..7f15c5043 100644 --- a/internal/gitaly/service/repository/backup_custom_hooks_test.go +++ b/internal/gitaly/service/repository/backup_custom_hooks_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/repository/calculate_checksum.go b/internal/gitaly/service/repository/calculate_checksum.go index 9d57a4cb3..36cd8b7df 100644 --- a/internal/gitaly/service/repository/calculate_checksum.go +++ b/internal/gitaly/service/repository/calculate_checksum.go @@ -7,7 +7,7 @@ import ( "encoding/hex" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/calculate_checksum_test.go b/internal/gitaly/service/repository/calculate_checksum_test.go index 7762742f3..140cad4b9 100644 --- a/internal/gitaly/service/repository/calculate_checksum_test.go +++ b/internal/gitaly/service/repository/calculate_checksum_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/cleanup.go b/internal/gitaly/service/repository/cleanup.go index 2953e4350..4e78bd8aa 100644 --- a/internal/gitaly/service/repository/cleanup.go +++ b/internal/gitaly/service/repository/cleanup.go @@ -3,9 +3,9 @@ package repository import ( "context" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/cleanup_test.go b/internal/gitaly/service/repository/cleanup_test.go index 862ee0e5b..7175e9d79 100644 --- a/internal/gitaly/service/repository/cleanup_test.go +++ b/internal/gitaly/service/repository/cleanup_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/commit_graph.go b/internal/gitaly/service/repository/commit_graph.go index c5db82700..4b2d85862 100644 --- a/internal/gitaly/service/repository/commit_graph.go +++ b/internal/gitaly/service/repository/commit_graph.go @@ -3,9 +3,9 @@ package repository import ( "context" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/commit_graph_test.go b/internal/gitaly/service/repository/commit_graph_test.go index c55c64665..d9d3c1cde 100644 --- a/internal/gitaly/service/repository/commit_graph_test.go +++ b/internal/gitaly/service/repository/commit_graph_test.go @@ -9,10 +9,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/config.go b/internal/gitaly/service/repository/config.go index a0a7f420c..200feff91 100644 --- a/internal/gitaly/service/repository/config.go +++ b/internal/gitaly/service/repository/config.go @@ -5,7 +5,7 @@ import ( "os" "path/filepath" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/config_test.go b/internal/gitaly/service/repository/config_test.go index 18085e933..58d52f7cc 100644 --- a/internal/gitaly/service/repository/config_test.go +++ b/internal/gitaly/service/repository/config_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_bundle.go b/internal/gitaly/service/repository/create_bundle.go index 744510302..0beb9e8dc 100644 --- a/internal/gitaly/service/repository/create_bundle.go +++ b/internal/gitaly/service/repository/create_bundle.go @@ -3,8 +3,8 @@ package repository import ( "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_bundle_from_ref_list.go b/internal/gitaly/service/repository/create_bundle_from_ref_list.go index 64b0057d2..d63664e56 100644 --- a/internal/gitaly/service/repository/create_bundle_from_ref_list.go +++ b/internal/gitaly/service/repository/create_bundle_from_ref_list.go @@ -4,8 +4,8 @@ import ( "bytes" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_bundle_from_ref_list_test.go b/internal/gitaly/service/repository/create_bundle_from_ref_list_test.go index 9616137e3..07d5571a2 100644 --- a/internal/gitaly/service/repository/create_bundle_from_ref_list_test.go +++ b/internal/gitaly/service/repository/create_bundle_from_ref_list_test.go @@ -9,9 +9,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_bundle_test.go b/internal/gitaly/service/repository/create_bundle_test.go index de98f8bec..9c7a8183a 100644 --- a/internal/gitaly/service/repository/create_bundle_test.go +++ b/internal/gitaly/service/repository/create_bundle_test.go @@ -8,10 +8,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_fork.go b/internal/gitaly/service/repository/create_fork.go index f6e5f66cf..67db1e44e 100644 --- a/internal/gitaly/service/repository/create_fork.go +++ b/internal/gitaly/service/repository/create_fork.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/create_fork_test.go b/internal/gitaly/service/repository/create_fork_test.go index 22aa1c0da..5efb0d5e9 100644 --- a/internal/gitaly/service/repository/create_fork_test.go +++ b/internal/gitaly/service/repository/create_fork_test.go @@ -11,32 +11,32 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - gserver "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/remote" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/praefectutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - gitalyx509 "gitlab.com/gitlab-org/gitaly/v14/internal/x509" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + gserver "gitlab.com/gitlab-org/gitaly/internal/gitaly/server" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/remote" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/praefectutil" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + gitalyx509 "gitlab.com/gitlab-org/gitaly/internal/x509" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/internal/gitaly/service/repository/create_repository.go b/internal/gitaly/service/repository/create_repository.go index 6b9dc23e1..3a56228ea 100644 --- a/internal/gitaly/service/repository/create_repository.go +++ b/internal/gitaly/service/repository/create_repository.go @@ -3,7 +3,7 @@ package repository import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/create_repository_from_bundle.go b/internal/gitaly/service/repository/create_repository_from_bundle.go index 14ece1c43..24c3be57b 100644 --- a/internal/gitaly/service/repository/create_repository_from_bundle.go +++ b/internal/gitaly/service/repository/create_repository_from_bundle.go @@ -8,9 +8,9 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_repository_from_bundle_test.go b/internal/gitaly/service/repository/create_repository_from_bundle_test.go index f0bfba7e3..b0783ad69 100644 --- a/internal/gitaly/service/repository/create_repository_from_bundle_test.go +++ b/internal/gitaly/service/repository/create_repository_from_bundle_test.go @@ -9,18 +9,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/praefectutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/praefectutil" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/create_repository_from_snapshot.go b/internal/gitaly/service/repository/create_repository_from_snapshot.go index 79c5322f7..8827f9e5a 100644 --- a/internal/gitaly/service/repository/create_repository_from_snapshot.go +++ b/internal/gitaly/service/repository/create_repository_from_snapshot.go @@ -7,8 +7,8 @@ import ( "os/exec" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "gitlab.com/gitlab-org/labkit/tracing" diff --git a/internal/gitaly/service/repository/create_repository_from_snapshot_test.go b/internal/gitaly/service/repository/create_repository_from_snapshot_test.go index bda1cf756..50c705c84 100644 --- a/internal/gitaly/service/repository/create_repository_from_snapshot_test.go +++ b/internal/gitaly/service/repository/create_repository_from_snapshot_test.go @@ -12,12 +12,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/archive" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/praefectutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/archive" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/praefectutil" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/create_repository_from_url.go b/internal/gitaly/service/repository/create_repository_from_url.go index 1079aea85..e2401ccb6 100644 --- a/internal/gitaly/service/repository/create_repository_from_url.go +++ b/internal/gitaly/service/repository/create_repository_from_url.go @@ -8,9 +8,9 @@ import ( "net/url" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/create_repository_from_url_test.go b/internal/gitaly/service/repository/create_repository_from_url_test.go index 19472412f..48bfb8821 100644 --- a/internal/gitaly/service/repository/create_repository_from_url_test.go +++ b/internal/gitaly/service/repository/create_repository_from_url_test.go @@ -10,11 +10,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/praefectutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/praefect/praefectutil" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/create_repository_test.go b/internal/gitaly/service/repository/create_repository_test.go index 9aafec9ee..cfdfe2ea3 100644 --- a/internal/gitaly/service/repository/create_repository_test.go +++ b/internal/gitaly/service/repository/create_repository_test.go @@ -8,18 +8,18 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/praefectutil" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/praefectutil" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sys/unix" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/fetch.go b/internal/gitaly/service/repository/fetch.go index 6cb933fd0..097f270a8 100644 --- a/internal/gitaly/service/repository/fetch.go +++ b/internal/gitaly/service/repository/fetch.go @@ -5,10 +5,10 @@ import ( "errors" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/fetch_bundle.go b/internal/gitaly/service/repository/fetch_bundle.go index e44f31adb..64a90d6b0 100644 --- a/internal/gitaly/service/repository/fetch_bundle.go +++ b/internal/gitaly/service/repository/fetch_bundle.go @@ -7,11 +7,11 @@ import ( "os" "path/filepath" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/repository/fetch_bundle_test.go b/internal/gitaly/service/repository/fetch_bundle_test.go index 4f30b9f18..11b93a3c7 100644 --- a/internal/gitaly/service/repository/fetch_bundle_test.go +++ b/internal/gitaly/service/repository/fetch_bundle_test.go @@ -8,16 +8,16 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" diff --git a/internal/gitaly/service/repository/fetch_remote.go b/internal/gitaly/service/repository/fetch_remote.go index 285107ed3..b48784019 100644 --- a/internal/gitaly/service/repository/fetch_remote.go +++ b/internal/gitaly/service/repository/fetch_remote.go @@ -7,13 +7,13 @@ import ( "io" "time" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/fetch_remote_test.go b/internal/gitaly/service/repository/fetch_remote_test.go index 998ba2be6..69209e2c2 100644 --- a/internal/gitaly/service/repository/fetch_remote_test.go +++ b/internal/gitaly/service/repository/fetch_remote_test.go @@ -12,18 +12,18 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/fetch_test.go b/internal/gitaly/service/repository/fetch_test.go index 360ced75d..87971ac62 100644 --- a/internal/gitaly/service/repository/fetch_test.go +++ b/internal/gitaly/service/repository/fetch_test.go @@ -4,11 +4,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/fsck.go b/internal/gitaly/service/repository/fsck.go index d7435586c..71961dc3d 100644 --- a/internal/gitaly/service/repository/fsck.go +++ b/internal/gitaly/service/repository/fsck.go @@ -4,7 +4,7 @@ import ( "bytes" "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/fsck_test.go b/internal/gitaly/service/repository/fsck_test.go index 307578306..d53b04ec5 100644 --- a/internal/gitaly/service/repository/fsck_test.go +++ b/internal/gitaly/service/repository/fsck_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/fullpath.go b/internal/gitaly/service/repository/fullpath.go index d2fdbe86d..628fb4127 100644 --- a/internal/gitaly/service/repository/fullpath.go +++ b/internal/gitaly/service/repository/fullpath.go @@ -3,7 +3,7 @@ package repository import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/fullpath_test.go b/internal/gitaly/service/repository/fullpath_test.go index c8ea732f4..bb9bec606 100644 --- a/internal/gitaly/service/repository/fullpath_test.go +++ b/internal/gitaly/service/repository/fullpath_test.go @@ -7,11 +7,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/gc.go b/internal/gitaly/service/repository/gc.go index 09117f516..5483d921a 100644 --- a/internal/gitaly/service/repository/gc.go +++ b/internal/gitaly/service/repository/gc.go @@ -11,13 +11,13 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/status" ) diff --git a/internal/gitaly/service/repository/gc_test.go b/internal/gitaly/service/repository/gc_test.go index 14abe909d..e2ff0acfa 100644 --- a/internal/gitaly/service/repository/gc_test.go +++ b/internal/gitaly/service/repository/gc_test.go @@ -11,12 +11,12 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/info_attributes_test.go b/internal/gitaly/service/repository/info_attributes_test.go index 8f81ac0fb..a7f1c8896 100644 --- a/internal/gitaly/service/repository/info_attributes_test.go +++ b/internal/gitaly/service/repository/info_attributes_test.go @@ -8,7 +8,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/repository/license.go b/internal/gitaly/service/repository/license.go index ef798ce4b..1b104152f 100644 --- a/internal/gitaly/service/repository/license.go +++ b/internal/gitaly/service/repository/license.go @@ -11,12 +11,12 @@ import ( "github.com/go-enry/go-license-detector/v4/licensedb" "github.com/go-enry/go-license-detector/v4/licensedb/filer" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/lstree" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/lstree" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/license_test.go b/internal/gitaly/service/repository/license_test.go index bb24c93a5..cfc21a35e 100644 --- a/internal/gitaly/service/repository/license_test.go +++ b/internal/gitaly/service/repository/license_test.go @@ -6,11 +6,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/merge_base.go b/internal/gitaly/service/repository/merge_base.go index 52653d150..76cf0db91 100644 --- a/internal/gitaly/service/repository/merge_base.go +++ b/internal/gitaly/service/repository/merge_base.go @@ -4,8 +4,8 @@ import ( "context" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/merge_base_test.go b/internal/gitaly/service/repository/merge_base_test.go index a9559aa67..4a3690868 100644 --- a/internal/gitaly/service/repository/merge_base_test.go +++ b/internal/gitaly/service/repository/merge_base_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/midx.go b/internal/gitaly/service/repository/midx.go index 0540e2ae1..6c0bb101f 100644 --- a/internal/gitaly/service/repository/midx.go +++ b/internal/gitaly/service/repository/midx.go @@ -9,12 +9,12 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/status" ) diff --git a/internal/gitaly/service/repository/midx_test.go b/internal/gitaly/service/repository/midx_test.go index 1dec37ebf..cd8990461 100644 --- a/internal/gitaly/service/repository/midx_test.go +++ b/internal/gitaly/service/repository/midx_test.go @@ -10,16 +10,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/peer" diff --git a/internal/gitaly/service/repository/optimize.go b/internal/gitaly/service/repository/optimize.go index 8ea1555ab..d0cb054dd 100644 --- a/internal/gitaly/service/repository/optimize.go +++ b/internal/gitaly/service/repository/optimize.go @@ -3,8 +3,8 @@ package repository import ( "context" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/optimize_test.go b/internal/gitaly/service/repository/optimize_test.go index 13f5804da..2ec177499 100644 --- a/internal/gitaly/service/repository/optimize_test.go +++ b/internal/gitaly/service/repository/optimize_test.go @@ -10,10 +10,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/prune_unreachable_objects.go b/internal/gitaly/service/repository/prune_unreachable_objects.go index 4cacb04d9..ddf7007a8 100644 --- a/internal/gitaly/service/repository/prune_unreachable_objects.go +++ b/internal/gitaly/service/repository/prune_unreachable_objects.go @@ -3,9 +3,9 @@ package repository import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/prune_unreachable_objects_test.go b/internal/gitaly/service/repository/prune_unreachable_objects_test.go index 3c1c1d640..fbca3bb77 100644 --- a/internal/gitaly/service/repository/prune_unreachable_objects_test.go +++ b/internal/gitaly/service/repository/prune_unreachable_objects_test.go @@ -7,10 +7,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/raw_changes.go b/internal/gitaly/service/repository/raw_changes.go index 5c3184b88..6d9bdaa46 100644 --- a/internal/gitaly/service/repository/raw_changes.go +++ b/internal/gitaly/service/repository/raw_changes.go @@ -7,11 +7,11 @@ import ( "regexp" "strconv" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/rawdiff" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/rawdiff" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/chunk" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitaly/service/repository/raw_changes_test.go b/internal/gitaly/service/repository/raw_changes_test.go index d1d7c21ff..3dcec6322 100644 --- a/internal/gitaly/service/repository/raw_changes_test.go +++ b/internal/gitaly/service/repository/raw_changes_test.go @@ -7,9 +7,9 @@ import ( "unicode/utf8" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/redirecting_test_server_test.go b/internal/gitaly/service/repository/redirecting_test_server_test.go index c93ea5938..274c51900 100644 --- a/internal/gitaly/service/repository/redirecting_test_server_test.go +++ b/internal/gitaly/service/repository/redirecting_test_server_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) const redirectURL = "/redirect_url" diff --git a/internal/gitaly/service/repository/remove.go b/internal/gitaly/service/repository/remove.go index 936172a44..64f5ded41 100644 --- a/internal/gitaly/service/repository/remove.go +++ b/internal/gitaly/service/repository/remove.go @@ -8,11 +8,11 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/remove_test.go b/internal/gitaly/service/repository/remove_test.go index b6c922ecb..5ca8c003c 100644 --- a/internal/gitaly/service/repository/remove_test.go +++ b/internal/gitaly/service/repository/remove_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/rename.go b/internal/gitaly/service/repository/rename.go index 9f619e4e2..3cb39aba6 100644 --- a/internal/gitaly/service/repository/rename.go +++ b/internal/gitaly/service/repository/rename.go @@ -8,9 +8,9 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/safe" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/rename_test.go b/internal/gitaly/service/repository/rename_test.go index 9983eb894..a19f6f7f0 100644 --- a/internal/gitaly/service/repository/rename_test.go +++ b/internal/gitaly/service/repository/rename_test.go @@ -8,11 +8,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/repack.go b/internal/gitaly/service/repository/repack.go index 6ba97185d..074ff22ce 100644 --- a/internal/gitaly/service/repository/repack.go +++ b/internal/gitaly/service/repository/repack.go @@ -5,9 +5,9 @@ import ( "fmt" "github.com/prometheus/client_golang/prometheus" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/repack_test.go b/internal/gitaly/service/repository/repack_test.go index 4dcc1b263..37e91c5ef 100644 --- a/internal/gitaly/service/repository/repack_test.go +++ b/internal/gitaly/service/repository/repack_test.go @@ -10,10 +10,10 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/replicate.go b/internal/gitaly/service/repository/replicate.go index 847c4ece8..2f9805e3a 100644 --- a/internal/gitaly/service/repository/replicate.go +++ b/internal/gitaly/service/repository/replicate.go @@ -13,16 +13,16 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/remoterepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/remoterepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/replicate_test.go b/internal/gitaly/service/repository/replicate_test.go index 84774c234..c53704012 100644 --- a/internal/gitaly/service/repository/replicate_test.go +++ b/internal/gitaly/service/repository/replicate_test.go @@ -15,23 +15,23 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/repository.go b/internal/gitaly/service/repository/repository.go index f4858a802..7bb5b8d10 100644 --- a/internal/gitaly/service/repository/repository.go +++ b/internal/gitaly/service/repository/repository.go @@ -3,8 +3,8 @@ package repository import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/repository/repository_test.go b/internal/gitaly/service/repository/repository_test.go index a5cd0d85b..abd6215d0 100644 --- a/internal/gitaly/service/repository/repository_test.go +++ b/internal/gitaly/service/repository/repository_test.go @@ -5,11 +5,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/restore_custom_hooks.go b/internal/gitaly/service/repository/restore_custom_hooks.go index bb6865049..15c167248 100644 --- a/internal/gitaly/service/repository/restore_custom_hooks.go +++ b/internal/gitaly/service/repository/restore_custom_hooks.go @@ -9,13 +9,13 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/restore_custom_hooks_test.go b/internal/gitaly/service/repository/restore_custom_hooks_test.go index 8c02e0b4c..f2a2aa5ca 100644 --- a/internal/gitaly/service/repository/restore_custom_hooks_test.go +++ b/internal/gitaly/service/repository/restore_custom_hooks_test.go @@ -9,16 +9,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" diff --git a/internal/gitaly/service/repository/search_files.go b/internal/gitaly/service/repository/search_files.go index 4e37af1dd..316720506 100644 --- a/internal/gitaly/service/repository/search_files.go +++ b/internal/gitaly/service/repository/search_files.go @@ -8,10 +8,10 @@ import ( "math" "regexp" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/lines" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/lines" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/repository/search_files_test.go b/internal/gitaly/service/repository/search_files_test.go index bd6443ba3..7dea80c98 100644 --- a/internal/gitaly/service/repository/search_files_test.go +++ b/internal/gitaly/service/repository/search_files_test.go @@ -11,15 +11,15 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/repository/server.go b/internal/gitaly/service/repository/server.go index 3f9e7cf65..24bd85d03 100644 --- a/internal/gitaly/service/repository/server.go +++ b/internal/gitaly/service/repository/server.go @@ -2,16 +2,16 @@ package repository import ( "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/server_test.go b/internal/gitaly/service/repository/server_test.go index 042b0f326..48ac435b9 100644 --- a/internal/gitaly/service/repository/server_test.go +++ b/internal/gitaly/service/repository/server_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/service/repository/size.go b/internal/gitaly/service/repository/size.go index a6bb0d33e..a9e941b1f 100644 --- a/internal/gitaly/service/repository/size.go +++ b/internal/gitaly/service/repository/size.go @@ -9,10 +9,10 @@ import ( "strconv" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/size_test.go b/internal/gitaly/service/repository/size_test.go index 52252f349..7b67fbce5 100644 --- a/internal/gitaly/service/repository/size_test.go +++ b/internal/gitaly/service/repository/size_test.go @@ -7,12 +7,12 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/quarantine" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/quarantine" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/proto" diff --git a/internal/gitaly/service/repository/snapshot.go b/internal/gitaly/service/repository/snapshot.go index e4f277f6f..745671d6a 100644 --- a/internal/gitaly/service/repository/snapshot.go +++ b/internal/gitaly/service/repository/snapshot.go @@ -8,9 +8,9 @@ import ( "regexp" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/archive" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/archive" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/repository/snapshot_test.go b/internal/gitaly/service/repository/snapshot_test.go index 4813c86ae..3ac1f5eea 100644 --- a/internal/gitaly/service/repository/snapshot_test.go +++ b/internal/gitaly/service/repository/snapshot_test.go @@ -12,11 +12,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/archive" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/archive" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/repository/testhelper_test.go b/internal/gitaly/service/repository/testhelper_test.go index bd289de33..8a3c04971 100644 --- a/internal/gitaly/service/repository/testhelper_test.go +++ b/internal/gitaly/service/repository/testhelper_test.go @@ -13,19 +13,19 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" gclient "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - internalclient "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/remote" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + internalclient "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/remote" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/repository/util.go b/internal/gitaly/service/repository/util.go index 852995543..d1206d532 100644 --- a/internal/gitaly/service/repository/util.go +++ b/internal/gitaly/service/repository/util.go @@ -10,12 +10,12 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/tempdir" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/tempdir" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/util_test.go b/internal/gitaly/service/repository/util_test.go index ffbb80001..d738b8930 100644 --- a/internal/gitaly/service/repository/util_test.go +++ b/internal/gitaly/service/repository/util_test.go @@ -10,17 +10,17 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/peer" ) diff --git a/internal/gitaly/service/repository/write_ref.go b/internal/gitaly/service/repository/write_ref.go index d4ef97f50..1d0714b6e 100644 --- a/internal/gitaly/service/repository/write_ref.go +++ b/internal/gitaly/service/repository/write_ref.go @@ -5,10 +5,10 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/repository/write_ref_test.go b/internal/gitaly/service/repository/write_ref_test.go index 5e3b7f92a..9ce9c93ef 100644 --- a/internal/gitaly/service/repository/write_ref_test.go +++ b/internal/gitaly/service/repository/write_ref_test.go @@ -6,12 +6,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/server/clocksynced.go b/internal/gitaly/service/server/clocksynced.go index 2ce112096..e809616da 100644 --- a/internal/gitaly/service/server/clocksynced.go +++ b/internal/gitaly/service/server/clocksynced.go @@ -4,7 +4,7 @@ import ( "context" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/server/disk_stats_test.go b/internal/gitaly/service/server/disk_stats_test.go index f422ad665..40ea83381 100644 --- a/internal/gitaly/service/server/disk_stats_test.go +++ b/internal/gitaly/service/server/disk_stats_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sys/unix" ) diff --git a/internal/gitaly/service/server/info.go b/internal/gitaly/service/server/info.go index 1a9d9127a..8a886ecfb 100644 --- a/internal/gitaly/service/server/info.go +++ b/internal/gitaly/service/server/info.go @@ -6,10 +6,10 @@ import ( "path/filepath" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/fstype" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/fstype" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/server/info_test.go b/internal/gitaly/service/server/info_test.go index 840614dd7..0a1a4970b 100644 --- a/internal/gitaly/service/server/info_test.go +++ b/internal/gitaly/service/server/info_test.go @@ -5,15 +5,15 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/server/server.go b/internal/gitaly/service/server/server.go index 2d4f8acff..e2ed2f706 100644 --- a/internal/gitaly/service/server/server.go +++ b/internal/gitaly/service/server/server.go @@ -1,8 +1,8 @@ package server import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/server/server_test.go b/internal/gitaly/service/server/server_test.go index b2570c260..02eed3aff 100644 --- a/internal/gitaly/service/server/server_test.go +++ b/internal/gitaly/service/server/server_test.go @@ -3,7 +3,7 @@ package server import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/service/server/storage_status_openbsd.go b/internal/gitaly/service/server/storage_status_openbsd.go index 8d15d42e0..5b180185f 100644 --- a/internal/gitaly/service/server/storage_status_openbsd.go +++ b/internal/gitaly/service/server/storage_status_openbsd.go @@ -1,7 +1,7 @@ package server import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sys/unix" ) diff --git a/internal/gitaly/service/server/storage_status_unix.go b/internal/gitaly/service/server/storage_status_unix.go index 22dbd1457..7a900519e 100644 --- a/internal/gitaly/service/server/storage_status_unix.go +++ b/internal/gitaly/service/server/storage_status_unix.go @@ -4,7 +4,7 @@ package server import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sys/unix" ) diff --git a/internal/gitaly/service/setup/register.go b/internal/gitaly/service/setup/register.go index 32746ce4a..33736ed0a 100644 --- a/internal/gitaly/service/setup/register.go +++ b/internal/gitaly/service/setup/register.go @@ -4,24 +4,24 @@ import ( grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/blob" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/cleanup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/commit" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/conflicts" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/diff" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/internalgitaly" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/namespace" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/operations" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/remote" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/smarthttp" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ssh" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/wiki" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/blob" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/cleanup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/commit" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/conflicts" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/diff" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/internalgitaly" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/namespace" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/operations" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/remote" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/server" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/smarthttp" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ssh" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/wiki" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/health" diff --git a/internal/gitaly/service/smarthttp/cache.go b/internal/gitaly/service/smarthttp/cache.go index 5531d0236..09ca7099f 100644 --- a/internal/gitaly/service/smarthttp/cache.go +++ b/internal/gitaly/service/smarthttp/cache.go @@ -9,7 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/cache" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/smarthttp/inforefs.go b/internal/gitaly/service/smarthttp/inforefs.go index d2bc80391..8dc85a2d1 100644 --- a/internal/gitaly/service/smarthttp/inforefs.go +++ b/internal/gitaly/service/smarthttp/inforefs.go @@ -7,8 +7,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/smarthttp/inforefs_test.go b/internal/gitaly/service/smarthttp/inforefs_test.go index 4c95547a5..e05fbafca 100644 --- a/internal/gitaly/service/smarthttp/inforefs_test.go +++ b/internal/gitaly/service/smarthttp/inforefs_test.go @@ -12,21 +12,21 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/smarthttp/receive_pack.go b/internal/gitaly/service/smarthttp/receive_pack.go index 1653594bc..a9b6312eb 100644 --- a/internal/gitaly/service/smarthttp/receive_pack.go +++ b/internal/gitaly/service/smarthttp/receive_pack.go @@ -5,10 +5,10 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/smarthttp/receive_pack_test.go b/internal/gitaly/service/smarthttp/receive_pack_test.go index 8b56ce272..8b24239c1 100644 --- a/internal/gitaly/service/smarthttp/receive_pack_test.go +++ b/internal/gitaly/service/smarthttp/receive_pack_test.go @@ -13,22 +13,22 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - gitalyhook "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + gitalyhook "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" diff --git a/internal/gitaly/service/smarthttp/server.go b/internal/gitaly/service/smarthttp/server.go index 0145d54d9..85d19ecf5 100644 --- a/internal/gitaly/service/smarthttp/server.go +++ b/internal/gitaly/service/smarthttp/server.go @@ -2,10 +2,10 @@ package smarthttp import ( "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/smarthttp/testhelper_test.go b/internal/gitaly/service/smarthttp/testhelper_test.go index 321cfed87..d7c904e64 100644 --- a/internal/gitaly/service/smarthttp/testhelper_test.go +++ b/internal/gitaly/service/smarthttp/testhelper_test.go @@ -6,14 +6,14 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/smarthttp/upload_pack.go b/internal/gitaly/service/smarthttp/upload_pack.go index 73e8825d8..a501c67fe 100644 --- a/internal/gitaly/service/smarthttp/upload_pack.go +++ b/internal/gitaly/service/smarthttp/upload_pack.go @@ -7,11 +7,11 @@ import ( "io" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/smarthttp/upload_pack_test.go b/internal/gitaly/service/smarthttp/upload_pack_test.go index 123b0a816..363b895a9 100644 --- a/internal/gitaly/service/smarthttp/upload_pack_test.go +++ b/internal/gitaly/service/smarthttp/upload_pack_test.go @@ -15,13 +15,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc" diff --git a/internal/gitaly/service/ssh/monitor_stdin_command.go b/internal/gitaly/service/ssh/monitor_stdin_command.go index 31f54bed0..69c051b8e 100644 --- a/internal/gitaly/service/ssh/monitor_stdin_command.go +++ b/internal/gitaly/service/ssh/monitor_stdin_command.go @@ -5,9 +5,9 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) func monitorStdinCommand(ctx context.Context, gitCmdFactory git.CommandFactory, stdin io.Reader, stdout, stderr io.Writer, sc git.SubCmd, opts ...git.CmdOpt) (*command.Command, *pktline.ReadMonitor, error) { diff --git a/internal/gitaly/service/ssh/receive_pack.go b/internal/gitaly/service/ssh/receive_pack.go index 8501525d7..ba1f31fe8 100644 --- a/internal/gitaly/service/ssh/receive_pack.go +++ b/internal/gitaly/service/ssh/receive_pack.go @@ -7,11 +7,11 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/ssh/receive_pack_test.go b/internal/gitaly/service/ssh/receive_pack_test.go index c99d99ee4..3464e4c05 100644 --- a/internal/gitaly/service/ssh/receive_pack_test.go +++ b/internal/gitaly/service/ssh/receive_pack_test.go @@ -13,22 +13,22 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/service/ssh/server.go b/internal/gitaly/service/ssh/server.go index 98da4695e..99243acb3 100644 --- a/internal/gitaly/service/ssh/server.go +++ b/internal/gitaly/service/ssh/server.go @@ -4,9 +4,9 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/ssh/testhelper_test.go b/internal/gitaly/service/ssh/testhelper_test.go index 736a4b960..a6a80ec78 100644 --- a/internal/gitaly/service/ssh/testhelper_test.go +++ b/internal/gitaly/service/ssh/testhelper_test.go @@ -3,12 +3,12 @@ package ssh import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - hookservice "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + hookservice "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/ssh/upload_archive.go b/internal/gitaly/service/ssh/upload_archive.go index 9d7bce341..216779582 100644 --- a/internal/gitaly/service/ssh/upload_archive.go +++ b/internal/gitaly/service/ssh/upload_archive.go @@ -5,10 +5,10 @@ import ( "fmt" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/ssh/upload_archive_test.go b/internal/gitaly/service/ssh/upload_archive_test.go index 58bd5b644..6e0b451b4 100644 --- a/internal/gitaly/service/ssh/upload_archive_test.go +++ b/internal/gitaly/service/ssh/upload_archive_test.go @@ -8,9 +8,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/encoding/protojson" diff --git a/internal/gitaly/service/ssh/upload_pack.go b/internal/gitaly/service/ssh/upload_pack.go index 5d23c53b0..847cfb113 100644 --- a/internal/gitaly/service/ssh/upload_pack.go +++ b/internal/gitaly/service/ssh/upload_pack.go @@ -9,13 +9,13 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/stats" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/stream" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/stats" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/stream" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/gitaly/service/ssh/upload_pack_test.go b/internal/gitaly/service/ssh/upload_pack_test.go index e560cdf0d..f1138174f 100644 --- a/internal/gitaly/service/ssh/upload_pack_test.go +++ b/internal/gitaly/service/ssh/upload_pack_test.go @@ -13,13 +13,13 @@ import ( "github.com/prometheus/client_golang/prometheus" promtest "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/protobuf/encoding/protojson" diff --git a/internal/gitaly/service/wiki/find_page.go b/internal/gitaly/service/wiki/find_page.go index c3a6a0d24..aa456c619 100644 --- a/internal/gitaly/service/wiki/find_page.go +++ b/internal/gitaly/service/wiki/find_page.go @@ -3,8 +3,8 @@ package wiki import ( "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/wiki/find_page_test.go b/internal/gitaly/service/wiki/find_page_test.go index 2e00f66cf..29a3bbb5d 100644 --- a/internal/gitaly/service/wiki/find_page_test.go +++ b/internal/gitaly/service/wiki/find_page_test.go @@ -7,11 +7,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/wiki/get_all_pages.go b/internal/gitaly/service/wiki/get_all_pages.go index 17cbe8c94..855fd17c4 100644 --- a/internal/gitaly/service/wiki/get_all_pages.go +++ b/internal/gitaly/service/wiki/get_all_pages.go @@ -1,7 +1,7 @@ package wiki import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/wiki/get_all_pages_test.go b/internal/gitaly/service/wiki/get_all_pages_test.go index 89df11d30..facf43d35 100644 --- a/internal/gitaly/service/wiki/get_all_pages_test.go +++ b/internal/gitaly/service/wiki/get_all_pages_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/wiki/list_pages.go b/internal/gitaly/service/wiki/list_pages.go index f2460b837..bed15cce7 100644 --- a/internal/gitaly/service/wiki/list_pages.go +++ b/internal/gitaly/service/wiki/list_pages.go @@ -1,7 +1,7 @@ package wiki import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/wiki/list_pages_test.go b/internal/gitaly/service/wiki/list_pages_test.go index 805457a32..735a0e02a 100644 --- a/internal/gitaly/service/wiki/list_pages_test.go +++ b/internal/gitaly/service/wiki/list_pages_test.go @@ -5,9 +5,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/wiki/server.go b/internal/gitaly/service/wiki/server.go index 32719e25d..072856235 100644 --- a/internal/gitaly/service/wiki/server.go +++ b/internal/gitaly/service/wiki/server.go @@ -1,8 +1,8 @@ package wiki import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/service/wiki/testhelper_test.go b/internal/gitaly/service/wiki/testhelper_test.go index 72f287c62..f34b21970 100644 --- a/internal/gitaly/service/wiki/testhelper_test.go +++ b/internal/gitaly/service/wiki/testhelper_test.go @@ -8,17 +8,17 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/gitaly/service/wiki/update_page.go b/internal/gitaly/service/wiki/update_page.go index 1db771b91..e1b2fd6d5 100644 --- a/internal/gitaly/service/wiki/update_page.go +++ b/internal/gitaly/service/wiki/update_page.go @@ -3,7 +3,7 @@ package wiki import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/wiki/update_page_test.go b/internal/gitaly/service/wiki/update_page_test.go index f62ea6531..b91bd9333 100644 --- a/internal/gitaly/service/wiki/update_page_test.go +++ b/internal/gitaly/service/wiki/update_page_test.go @@ -5,12 +5,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/service/wiki/write_page.go b/internal/gitaly/service/wiki/write_page.go index d851ce102..3a501339d 100644 --- a/internal/gitaly/service/wiki/write_page.go +++ b/internal/gitaly/service/wiki/write_page.go @@ -3,7 +3,7 @@ package wiki import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/gitaly/service/wiki/write_page_test.go b/internal/gitaly/service/wiki/write_page_test.go index 8a46f50cb..653553903 100644 --- a/internal/gitaly/service/wiki/write_page_test.go +++ b/internal/gitaly/service/wiki/write_page_test.go @@ -5,13 +5,13 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" ) diff --git a/internal/gitaly/storage/locator.go b/internal/gitaly/storage/locator.go index a7d5f60da..5135ff4b3 100644 --- a/internal/gitaly/storage/locator.go +++ b/internal/gitaly/storage/locator.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // Locator allows to get info about location of the repository or storage at the local file system. diff --git a/internal/gitaly/storage/metadata.go b/internal/gitaly/storage/metadata.go index 8368d93e7..2e685c009 100644 --- a/internal/gitaly/storage/metadata.go +++ b/internal/gitaly/storage/metadata.go @@ -6,7 +6,7 @@ import ( "path/filepath" "github.com/google/uuid" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/safe" ) const ( diff --git a/internal/gitaly/storage/metadata_test.go b/internal/gitaly/storage/metadata_test.go index 628480592..d6517b204 100644 --- a/internal/gitaly/storage/metadata_test.go +++ b/internal/gitaly/storage/metadata_test.go @@ -8,7 +8,7 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func readFilesystemID(t *testing.T, path string) string { diff --git a/internal/gitaly/storage/servers_test.go b/internal/gitaly/storage/servers_test.go index 11373d2e9..a786ffec5 100644 --- a/internal/gitaly/storage/servers_test.go +++ b/internal/gitaly/storage/servers_test.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc/metadata" ) diff --git a/internal/gitaly/storage/testhelper_test.go b/internal/gitaly/storage/testhelper_test.go index 61b45bdb5..8a8e887ca 100644 --- a/internal/gitaly/storage/testhelper_test.go +++ b/internal/gitaly/storage/testhelper_test.go @@ -3,7 +3,7 @@ package storage import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/transaction/manager.go b/internal/gitaly/transaction/manager.go index d7e2a0993..46a5acb3d 100644 --- a/internal/gitaly/transaction/manager.go +++ b/internal/gitaly/transaction/manager.go @@ -10,10 +10,10 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/gitaly/transaction/manager_test.go b/internal/gitaly/transaction/manager_test.go index 4d6536c50..f84cdaeb4 100644 --- a/internal/gitaly/transaction/manager_test.go +++ b/internal/gitaly/transaction/manager_test.go @@ -6,16 +6,16 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/gitaly/transaction/mock.go b/internal/gitaly/transaction/mock.go index 10ad6efdf..c71d8d14f 100644 --- a/internal/gitaly/transaction/mock.go +++ b/internal/gitaly/transaction/mock.go @@ -5,8 +5,8 @@ import ( "errors" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) // MockManager is a mock Manager for use in tests. diff --git a/internal/gitaly/transaction/testhelper_test.go b/internal/gitaly/transaction/testhelper_test.go index 3e17bd91e..779ce630a 100644 --- a/internal/gitaly/transaction/testhelper_test.go +++ b/internal/gitaly/transaction/testhelper_test.go @@ -3,7 +3,7 @@ package transaction import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/gitaly/transaction/voting.go b/internal/gitaly/transaction/voting.go index d5ed0683f..0abf39bca 100644 --- a/internal/gitaly/transaction/voting.go +++ b/internal/gitaly/transaction/voting.go @@ -7,9 +7,9 @@ import ( "io" "os" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) // RunOnContext runs the given function if the context identifies a transaction. diff --git a/internal/gitaly/transaction/voting_test.go b/internal/gitaly/transaction/voting_test.go index fe4ada926..8dfc57f66 100644 --- a/internal/gitaly/transaction/voting_test.go +++ b/internal/gitaly/transaction/voting_test.go @@ -8,11 +8,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "google.golang.org/grpc/peer" ) diff --git a/internal/gitlab/http_client.go b/internal/gitlab/http_client.go index 919365453..f7fcc6b10 100644 --- a/internal/gitlab/http_client.go +++ b/internal/gitlab/http_client.go @@ -14,10 +14,10 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - gitalycfgprom "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/prometheus/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + gitalycfgprom "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/prometheus/metrics" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitlab-shell/client" ) diff --git a/internal/gitlab/http_client_test.go b/internal/gitlab/http_client_test.go index a2125baa9..d309a09b5 100644 --- a/internal/gitlab/http_client_test.go +++ b/internal/gitlab/http_client_test.go @@ -9,11 +9,11 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/gitlab/test_server.go b/internal/gitlab/test_server.go index 7de3fc7ae..d10bc589a 100644 --- a/internal/gitlab/test_server.go +++ b/internal/gitlab/test_server.go @@ -17,7 +17,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) var changeLineRegex = regexp.MustCompile("^[a-f0-9]{40} [a-f0-9]{40} refs/[^ ]+$") diff --git a/internal/gitlab/testhelper_test.go b/internal/gitlab/testhelper_test.go index 69a859a86..06f676b68 100644 --- a/internal/gitlab/testhelper_test.go +++ b/internal/gitlab/testhelper_test.go @@ -3,7 +3,7 @@ package gitlab import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/grpcstats/stats_test.go b/internal/grpcstats/stats_test.go index 64171e33c..28d5cd125 100644 --- a/internal/grpcstats/stats_test.go +++ b/internal/grpcstats/stats_test.go @@ -5,7 +5,7 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc/stats" ) diff --git a/internal/grpcstats/testhelper_test.go b/internal/grpcstats/testhelper_test.go index b41bdc29e..45dee8dbb 100644 --- a/internal/grpcstats/testhelper_test.go +++ b/internal/grpcstats/testhelper_test.go @@ -3,7 +3,7 @@ package grpcstats_test import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/helper/chunk/chunker_test.go b/internal/helper/chunk/chunker_test.go index 2ef5f63eb..5b50a405c 100644 --- a/internal/helper/chunk/chunker_test.go +++ b/internal/helper/chunk/chunker_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - test "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + test "gitlab.com/gitlab-org/gitaly/internal/helper/chunk/testdata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/wrapperspb" diff --git a/internal/helper/chunk/testdata/test.pb.go b/internal/helper/chunk/testdata/test.pb.go index 68affd44b..07e79fc70 100644 --- a/internal/helper/chunk/testdata/test.pb.go +++ b/internal/helper/chunk/testdata/test.pb.go @@ -132,12 +132,11 @@ var file_helper_chunk_testdata_test_proto_rawDesc = []byte{ 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x2f, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x63, 0x68, 0x75, 0x6e, 0x6b, - 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, + 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x2f, 0x74, 0x65, 0x73, + 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/helper/chunk/testdata/test.proto b/internal/helper/chunk/testdata/test.proto index 11952a397..da1f652ba 100644 --- a/internal/helper/chunk/testdata/test.proto +++ b/internal/helper/chunk/testdata/test.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package test.chunk; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/helper/chunk/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/internal/helper/chunk/testdata"; service Test { rpc StreamOutput(StreamOutputRequest) returns (stream StreamOutputResponse) {} diff --git a/internal/helper/env/env_test.go b/internal/helper/env/env_test.go index 10e68c143..f2c5e7549 100644 --- a/internal/helper/env/env_test.go +++ b/internal/helper/env/env_test.go @@ -8,8 +8,8 @@ import ( "time" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestGetBool(t *testing.T) { diff --git a/internal/helper/error_test.go b/internal/helper/error_test.go index 3b07f1570..417418ed4 100644 --- a/internal/helper/error_test.go +++ b/internal/helper/error_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" diff --git a/internal/helper/repo.go b/internal/helper/repo.go index 4c0964110..192d1c3b6 100644 --- a/internal/helper/repo.go +++ b/internal/helper/repo.go @@ -1,7 +1,7 @@ package helper import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/git/repository" + "gitlab.com/gitlab-org/gitaly/internal/git/repository" ) // RepoPathEqual compares if two repositories are in the same location diff --git a/internal/helper/repo_test.go b/internal/helper/repo_test.go index c65665131..95e4db03b 100644 --- a/internal/helper/repo_test.go +++ b/internal/helper/repo_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/listenmux/mux_test.go b/internal/listenmux/mux_test.go index da163f01c..be791cc9c 100644 --- a/internal/listenmux/mux_test.go +++ b/internal/listenmux/mux_test.go @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/internal/log/log.go b/internal/log/log.go index 351e20b42..2f1b1abad 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -9,7 +9,7 @@ import ( grpcmwlogrus "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/stats" diff --git a/internal/log/log_test.go b/internal/log/log_test.go index 224ea8389..411f87b74 100644 --- a/internal/log/log_test.go +++ b/internal/log/log_test.go @@ -18,7 +18,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/grpcstats" + "gitlab.com/gitlab-org/gitaly/internal/grpcstats" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/stats" diff --git a/internal/metadata/featureflag/context_test.go b/internal/metadata/featureflag/context_test.go index 998c0f259..75b24564e 100644 --- a/internal/metadata/featureflag/context_test.go +++ b/internal/metadata/featureflag/context_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - gitaly_metadata "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" + gitaly_metadata "gitlab.com/gitlab-org/gitaly/internal/metadata" "google.golang.org/grpc/metadata" ) diff --git a/internal/metadata/featureflag/featureflag.go b/internal/metadata/featureflag/featureflag.go index a12914335..242f77fd9 100644 --- a/internal/metadata/featureflag/featureflag.go +++ b/internal/metadata/featureflag/featureflag.go @@ -8,7 +8,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" "google.golang.org/grpc/metadata" ) diff --git a/internal/metadata/metadata_test.go b/internal/metadata/metadata_test.go index 8f0d831be..5a35427c4 100644 --- a/internal/metadata/metadata_test.go +++ b/internal/metadata/metadata_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestOutgoingToIncoming(t *testing.T) { diff --git a/internal/middleware/cache/cache.go b/internal/middleware/cache/cache.go index aed1c74e1..137b479af 100644 --- a/internal/middleware/cache/cache.go +++ b/internal/middleware/cache/cache.go @@ -7,8 +7,8 @@ import ( "sync" "github.com/sirupsen/logrus" - diskcache "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + diskcache "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" "google.golang.org/grpc" "google.golang.org/protobuf/proto" ) diff --git a/internal/middleware/cache/cache_test.go b/internal/middleware/cache/cache_test.go index b23a5b2be..9cce24589 100644 --- a/internal/middleware/cache/cache_test.go +++ b/internal/middleware/cache/cache_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - diskcache "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/cache/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + diskcache "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/middleware/cache/testdata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/middleware/cache/prometheus.go b/internal/middleware/cache/prometheus.go index 073402d5e..c1b27452f 100644 --- a/internal/middleware/cache/prometheus.go +++ b/internal/middleware/cache/prometheus.go @@ -3,7 +3,7 @@ package cache import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" ) var ( diff --git a/internal/middleware/cache/testdata/stream.pb.go b/internal/middleware/cache/testdata/stream.pb.go index ffaebf70a..17848f35f 100644 --- a/internal/middleware/cache/testdata/stream.pb.go +++ b/internal/middleware/cache/testdata/stream.pb.go @@ -153,12 +153,12 @@ var file_middleware_cache_testdata_stream_proto_rawDesc = []byte{ 0x6f, 0x4d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x69, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, - 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, - 0x72, 0x65, 0x2f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, - 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x63, + 0x61, 0x63, 0x68, 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/middleware/cache/testdata/stream.proto b/internal/middleware/cache/testdata/stream.proto index c977b0d69..f35fc4f92 100644 --- a/internal/middleware/cache/testdata/stream.proto +++ b/internal/middleware/cache/testdata/stream.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package testdata; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/cache/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/internal/middleware/cache/testdata"; import "lint.proto"; import "shared.proto"; diff --git a/internal/middleware/commandstatshandler/commandstatshandler.go b/internal/middleware/commandstatshandler/commandstatshandler.go index 50f251b08..6d3021e6f 100644 --- a/internal/middleware/commandstatshandler/commandstatshandler.go +++ b/internal/middleware/commandstatshandler/commandstatshandler.go @@ -5,7 +5,7 @@ import ( grpcmw "github.com/grpc-ecosystem/go-grpc-middleware" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/command" "google.golang.org/grpc" ) diff --git a/internal/middleware/commandstatshandler/commandstatshandler_test.go b/internal/middleware/commandstatshandler/commandstatshandler_test.go index 9369cbb8e..1f1806111 100644 --- a/internal/middleware/commandstatshandler/commandstatshandler_test.go +++ b/internal/middleware/commandstatshandler/commandstatshandler_test.go @@ -11,16 +11,16 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/command" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/ref" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/command" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/ref" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/test/bufconn" diff --git a/internal/middleware/featureflag/featureflag_handler.go b/internal/middleware/featureflag/featureflag_handler.go index 4a1273a74..e8566ea4a 100644 --- a/internal/middleware/featureflag/featureflag_handler.go +++ b/internal/middleware/featureflag/featureflag_handler.go @@ -7,7 +7,7 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "google.golang.org/grpc" ) diff --git a/internal/middleware/featureflag/featureflag_handler_test.go b/internal/middleware/featureflag/featureflag_handler_test.go index f3b68b017..714a8f99e 100644 --- a/internal/middleware/featureflag/featureflag_handler_test.go +++ b/internal/middleware/featureflag/featureflag_handler_test.go @@ -10,7 +10,7 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "google.golang.org/grpc" ) diff --git a/internal/middleware/limithandler/concurrency_limiter.go b/internal/middleware/limithandler/concurrency_limiter.go index bec438b25..a76683ad0 100644 --- a/internal/middleware/limithandler/concurrency_limiter.go +++ b/internal/middleware/limithandler/concurrency_limiter.go @@ -9,9 +9,9 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/durationpb" ) diff --git a/internal/middleware/limithandler/concurrency_limiter_test.go b/internal/middleware/limithandler/concurrency_limiter_test.go index 6c19fec2b..d7709e946 100644 --- a/internal/middleware/limithandler/concurrency_limiter_test.go +++ b/internal/middleware/limithandler/concurrency_limiter_test.go @@ -9,9 +9,9 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/status" "google.golang.org/protobuf/types/known/durationpb" diff --git a/internal/middleware/limithandler/middleware.go b/internal/middleware/limithandler/middleware.go index 1b469031d..e6d934be9 100644 --- a/internal/middleware/limithandler/middleware.go +++ b/internal/middleware/limithandler/middleware.go @@ -5,7 +5,7 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "google.golang.org/grpc" ) diff --git a/internal/middleware/limithandler/middleware_test.go b/internal/middleware/limithandler/middleware_test.go index 7828c2ea7..550b5fecc 100644 --- a/internal/middleware/limithandler/middleware_test.go +++ b/internal/middleware/limithandler/middleware_test.go @@ -12,12 +12,12 @@ import ( promtest "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - pb "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + pb "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler/testdata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/middleware/limithandler/rate_limiter.go b/internal/middleware/limithandler/rate_limiter.go index b93727725..cae25e7dd 100644 --- a/internal/middleware/limithandler/rate_limiter.go +++ b/internal/middleware/limithandler/rate_limiter.go @@ -7,9 +7,9 @@ import ( "time" "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/log" "golang.org/x/time/rate" diff --git a/internal/middleware/limithandler/rate_limiter_test.go b/internal/middleware/limithandler/rate_limiter_test.go index 8ee9b64e6..08b600ff3 100644 --- a/internal/middleware/limithandler/rate_limiter_test.go +++ b/internal/middleware/limithandler/rate_limiter_test.go @@ -5,8 +5,8 @@ import ( "time" "github.com/stretchr/testify/assert" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestRateLimiter_pruneUnusedLimiters(t *testing.T) { diff --git a/internal/middleware/limithandler/testdata/test.pb.go b/internal/middleware/limithandler/testdata/test.pb.go index 166eb29b6..d2a6d81f9 100644 --- a/internal/middleware/limithandler/testdata/test.pb.go +++ b/internal/middleware/limithandler/testdata/test.pb.go @@ -406,12 +406,12 @@ var file_middleware_limithandler_testdata_test_proto_rawDesc = []byte{ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x2e, 0x42, 0x69, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x6c, 0x2f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, - 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, + 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/middleware/limithandler/testdata/test.proto b/internal/middleware/limithandler/testdata/test.proto index e80c1a228..47702d72a 100644 --- a/internal/middleware/limithandler/testdata/test.proto +++ b/internal/middleware/limithandler/testdata/test.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package test.limithandler; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler/testdata"; service Test { rpc Unary(UnaryRequest) returns (UnaryResponse) {} diff --git a/internal/middleware/limithandler/testhelper_test.go b/internal/middleware/limithandler/testhelper_test.go index ce533d710..4a38393b6 100644 --- a/internal/middleware/limithandler/testhelper_test.go +++ b/internal/middleware/limithandler/testhelper_test.go @@ -5,7 +5,7 @@ import ( "io" "sync/atomic" - pb "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler/testdata" + pb "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler/testdata" ) type server struct { diff --git a/internal/middleware/metadatahandler/metadatahandler.go b/internal/middleware/metadatahandler/metadatahandler.go index 8d3a0a016..22048844e 100644 --- a/internal/middleware/metadatahandler/metadatahandler.go +++ b/internal/middleware/metadatahandler/metadatahandler.go @@ -9,7 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/internal/middleware/metadatahandler/metadatahandler_test.go b/internal/middleware/metadatahandler/metadatahandler_test.go index 6bcfd218d..1c56cf6da 100644 --- a/internal/middleware/metadatahandler/metadatahandler_test.go +++ b/internal/middleware/metadatahandler/metadatahandler_test.go @@ -8,7 +8,7 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/metadata" ) diff --git a/internal/middleware/sentryhandler/sentryhandler.go b/internal/middleware/sentryhandler/sentryhandler.go index f6f877736..c761f4b8c 100644 --- a/internal/middleware/sentryhandler/sentryhandler.go +++ b/internal/middleware/sentryhandler/sentryhandler.go @@ -10,7 +10,7 @@ import ( sentry "github.com/getsentry/sentry-go" grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "google.golang.org/grpc" "google.golang.org/grpc/codes" ) diff --git a/internal/middleware/sentryhandler/sentryhandler_test.go b/internal/middleware/sentryhandler/sentryhandler_test.go index 18df67867..706ec6d01 100644 --- a/internal/middleware/sentryhandler/sentryhandler_test.go +++ b/internal/middleware/sentryhandler/sentryhandler_test.go @@ -9,7 +9,7 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) diff --git a/internal/praefect/auth_test.go b/internal/praefect/auth_test.go index 55c2f3d11..5c9f7cf95 100644 --- a/internal/praefect/auth_test.go +++ b/internal/praefect/auth_test.go @@ -8,16 +8,16 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/checks.go b/internal/praefect/checks.go index acf5efe6c..8f822c83b 100644 --- a/internal/praefect/checks.go +++ b/internal/praefect/checks.go @@ -12,12 +12,12 @@ import ( migrate "github.com/rubenv/sql-migrate" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/env" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/helper/env" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "golang.org/x/sync/errgroup" diff --git a/internal/praefect/checks_test.go b/internal/praefect/checks_test.go index 80ddb15f7..5b4dd754e 100644 --- a/internal/praefect/checks_test.go +++ b/internal/praefect/checks_test.go @@ -15,12 +15,12 @@ import ( "github.com/google/uuid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/health" diff --git a/internal/praefect/config/config.go b/internal/praefect/config/config.go index 9b5263e61..be38fcba9 100644 --- a/internal/praefect/config/config.go +++ b/internal/praefect/config/config.go @@ -8,11 +8,11 @@ import ( "github.com/pelletier/go-toml" promclient "github.com/prometheus/client_golang/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" ) // ElectionStrategy is a Praefect primary election strategy. diff --git a/internal/praefect/config/config_test.go b/internal/praefect/config/config_test.go index f98905671..7da61a14f 100644 --- a/internal/praefect/config/config_test.go +++ b/internal/praefect/config/config_test.go @@ -9,10 +9,10 @@ import ( "github.com/pelletier/go-toml" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/sentry" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/sentry" ) func TestConfigValidation(t *testing.T) { diff --git a/internal/praefect/config/log.go b/internal/praefect/config/log.go index 10a27f8d0..352eb69f2 100644 --- a/internal/praefect/config/log.go +++ b/internal/praefect/config/log.go @@ -2,7 +2,7 @@ package config import ( "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/log" ) // ConfigureLogger applies the settings from the configuration file to the diff --git a/internal/praefect/coordinator.go b/internal/praefect/coordinator.go index 77e83ec5a..0c0380795 100644 --- a/internal/praefect/coordinator.go +++ b/internal/praefect/coordinator.go @@ -11,20 +11,20 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - gitalyerrors "gitlab.com/gitlab-org/gitaly/v14/internal/errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" + gitalyerrors "gitlab.com/gitlab-org/gitaly/internal/errors" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "golang.org/x/sync/errgroup" diff --git a/internal/praefect/coordinator_pg_test.go b/internal/praefect/coordinator_pg_test.go index e35da6b5d..457e94b80 100644 --- a/internal/praefect/coordinator_pg_test.go +++ b/internal/praefect/coordinator_pg_test.go @@ -10,15 +10,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc/peer" "google.golang.org/protobuf/proto" diff --git a/internal/praefect/coordinator_test.go b/internal/praefect/coordinator_test.go index fce4d5e5b..45574f92e 100644 --- a/internal/praefect/coordinator_test.go +++ b/internal/praefect/coordinator_test.go @@ -18,29 +18,29 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - gitaly_metadata "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/helper" + gitaly_metadata "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc" diff --git a/internal/praefect/datastore/assignment.go b/internal/praefect/datastore/assignment.go index 540dff231..7e106a351 100644 --- a/internal/praefect/datastore/assignment.go +++ b/internal/praefect/datastore/assignment.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) // InvalidArgumentError tags the error as being caused by an invalid argument. diff --git a/internal/praefect/datastore/assignment_test.go b/internal/praefect/datastore/assignment_test.go index fe70cd907..b744a6fda 100644 --- a/internal/praefect/datastore/assignment_test.go +++ b/internal/praefect/datastore/assignment_test.go @@ -6,10 +6,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestAssignmentStore_GetHostAssignments(t *testing.T) { diff --git a/internal/praefect/datastore/collector.go b/internal/praefect/datastore/collector.go index cd9bbfc28..4802d49c7 100644 --- a/internal/praefect/datastore/collector.go +++ b/internal/praefect/datastore/collector.go @@ -7,7 +7,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) var ( diff --git a/internal/praefect/datastore/collector_test.go b/internal/praefect/datastore/collector_test.go index c2e733268..c74e315a0 100644 --- a/internal/praefect/datastore/collector_test.go +++ b/internal/praefect/datastore/collector_test.go @@ -16,8 +16,8 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestRepositoryStoreCollector(t *testing.T) { diff --git a/internal/praefect/datastore/glsql/postgres.go b/internal/praefect/datastore/glsql/postgres.go index 24c4093d6..27c818965 100644 --- a/internal/praefect/datastore/glsql/postgres.go +++ b/internal/praefect/datastore/glsql/postgres.go @@ -13,8 +13,8 @@ import ( "github.com/jackc/pgx/v4" "github.com/jackc/pgx/v4/stdlib" migrate "github.com/rubenv/sql-migrate" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" ) // OpenDB returns connection pool to the database. diff --git a/internal/praefect/datastore/glsql/postgres_test.go b/internal/praefect/datastore/glsql/postgres_test.go index 039145a5f..c28c88062 100644 --- a/internal/praefect/datastore/glsql/postgres_test.go +++ b/internal/praefect/datastore/glsql/postgres_test.go @@ -11,11 +11,11 @@ import ( migrate "github.com/rubenv/sql-migrate" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestOpenDB(t *testing.T) { diff --git a/internal/praefect/datastore/glsql/testhelper_test.go b/internal/praefect/datastore/glsql/testhelper_test.go index 79eda3e6e..65853fd9b 100644 --- a/internal/praefect/datastore/glsql/testhelper_test.go +++ b/internal/praefect/datastore/glsql/testhelper_test.go @@ -3,7 +3,7 @@ package glsql import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/praefect/datastore/listener.go b/internal/praefect/datastore/listener.go index 34a145b3c..44c7c06de 100644 --- a/internal/praefect/datastore/listener.go +++ b/internal/praefect/datastore/listener.go @@ -10,9 +10,9 @@ import ( "github.com/jackc/pgx/v4" promclient "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) const ( diff --git a/internal/praefect/datastore/listener_test.go b/internal/praefect/datastore/listener_test.go index d7274361f..4e91a5768 100644 --- a/internal/praefect/datastore/listener_test.go +++ b/internal/praefect/datastore/listener_test.go @@ -15,11 +15,11 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestNewListener(t *testing.T) { diff --git a/internal/praefect/datastore/memory.go b/internal/praefect/datastore/memory.go index 06d9eed86..16201b6a0 100644 --- a/internal/praefect/datastore/memory.go +++ b/internal/praefect/datastore/memory.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" ) var errDeadAckedAsFailed = errors.New("job acknowledged as failed with no attempts left, should be 'dead'") diff --git a/internal/praefect/datastore/memory_test.go b/internal/praefect/datastore/memory_test.go index 5224f79b8..a83166557 100644 --- a/internal/praefect/datastore/memory_test.go +++ b/internal/praefect/datastore/memory_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMemoryReplicationEventQueue(t *testing.T) { diff --git a/internal/praefect/datastore/postgres.go b/internal/praefect/datastore/postgres.go index 3b4cdd035..e2f36bd23 100644 --- a/internal/praefect/datastore/postgres.go +++ b/internal/praefect/datastore/postgres.go @@ -7,9 +7,9 @@ import ( "time" migrate "github.com/rubenv/sql-migrate" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" ) // MigrationStatusRow represents an entry in the schema migrations table. diff --git a/internal/praefect/datastore/postgres_test.go b/internal/praefect/datastore/postgres_test.go index f1a8f7237..0e26b07e7 100644 --- a/internal/praefect/datastore/postgres_test.go +++ b/internal/praefect/datastore/postgres_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestMigrateStatus(t *testing.T) { diff --git a/internal/praefect/datastore/queue.go b/internal/praefect/datastore/queue.go index 986564b18..e5aab642e 100644 --- a/internal/praefect/datastore/queue.go +++ b/internal/praefect/datastore/queue.go @@ -9,7 +9,7 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) // ReplicationEventQueue allows to put new events to the persistent queue and retrieve them back. diff --git a/internal/praefect/datastore/queue_bm_test.go b/internal/praefect/datastore/queue_bm_test.go index 825c083c0..4f671f500 100644 --- a/internal/praefect/datastore/queue_bm_test.go +++ b/internal/praefect/datastore/queue_bm_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func BenchmarkPostgresReplicationEventQueue_Acknowledge(b *testing.B) { diff --git a/internal/praefect/datastore/queue_test.go b/internal/praefect/datastore/queue_test.go index 03cb27bf4..ed86a5726 100644 --- a/internal/praefect/datastore/queue_test.go +++ b/internal/praefect/datastore/queue_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestPostgresReplicationEventQueue_DeleteReplicaUniqueIndex(t *testing.T) { diff --git a/internal/praefect/datastore/repository_store.go b/internal/praefect/datastore/repository_store.go index 780073155..c864a0424 100644 --- a/internal/praefect/datastore/repository_store.go +++ b/internal/praefect/datastore/repository_store.go @@ -9,8 +9,8 @@ import ( "strings" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) type storages map[string][]string diff --git a/internal/praefect/datastore/repository_store_bm_test.go b/internal/praefect/datastore/repository_store_bm_test.go index 6010d2fe3..a4bed9b1a 100644 --- a/internal/praefect/datastore/repository_store_bm_test.go +++ b/internal/praefect/datastore/repository_store_bm_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) // The test setup takes a lot of time, so it is better to run each sub-benchmark separately with limit on number of repeats. diff --git a/internal/praefect/datastore/repository_store_test.go b/internal/praefect/datastore/repository_store_test.go index 9c980376c..d52579f39 100644 --- a/internal/praefect/datastore/repository_store_test.go +++ b/internal/praefect/datastore/repository_store_test.go @@ -8,10 +8,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) // repositoryRecord represents Praefect's records related to a repository. diff --git a/internal/praefect/datastore/storage_cleanup.go b/internal/praefect/datastore/storage_cleanup.go index a9de6effd..2b6ae187d 100644 --- a/internal/praefect/datastore/storage_cleanup.go +++ b/internal/praefect/datastore/storage_cleanup.go @@ -7,7 +7,7 @@ import ( "fmt" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" ) // ClusterPath represents path on the cluster to the storage. diff --git a/internal/praefect/datastore/storage_cleanup_test.go b/internal/praefect/datastore/storage_cleanup_test.go index a590829eb..1a84a9060 100644 --- a/internal/praefect/datastore/storage_cleanup_test.go +++ b/internal/praefect/datastore/storage_cleanup_test.go @@ -6,8 +6,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestStorageCleanup_Populate(t *testing.T) { diff --git a/internal/praefect/datastore/storage_provider.go b/internal/praefect/datastore/storage_provider.go index 654209ac1..a88935511 100644 --- a/internal/praefect/datastore/storage_provider.go +++ b/internal/praefect/datastore/storage_provider.go @@ -11,7 +11,7 @@ import ( lru "github.com/hashicorp/golang-lru" "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) // ConsistentStoragesGetter returns storages which contain the latest generation of a repository. diff --git a/internal/praefect/datastore/storage_provider_test.go b/internal/praefect/datastore/storage_provider_test.go index 758a7a549..a4ea2c6d3 100644 --- a/internal/praefect/datastore/storage_provider_test.go +++ b/internal/praefect/datastore/storage_provider_test.go @@ -13,10 +13,10 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestCachingStorageProvider_GetSyncedNodes(t *testing.T) { diff --git a/internal/praefect/datastore/testhelper_test.go b/internal/praefect/datastore/testhelper_test.go index ba8977ba9..f08394097 100644 --- a/internal/praefect/datastore/testhelper_test.go +++ b/internal/praefect/datastore/testhelper_test.go @@ -3,7 +3,7 @@ package datastore import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/praefect/delete_object_pool.go b/internal/praefect/delete_object_pool.go index b31ba40c3..dc1cde8a3 100644 --- a/internal/praefect/delete_object_pool.go +++ b/internal/praefect/delete_object_pool.go @@ -4,11 +4,11 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - objectpoolsvc "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/objectpool" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + objectpoolsvc "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/objectpool" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/protobuf/proto" diff --git a/internal/praefect/delete_object_pool_test.go b/internal/praefect/delete_object_pool_test.go index 2a8c46f64..128a6ed60 100644 --- a/internal/praefect/delete_object_pool_test.go +++ b/internal/praefect/delete_object_pool_test.go @@ -8,11 +8,11 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/praefect/grpc-proxy/proxy/examples_test.go b/internal/praefect/grpc-proxy/proxy/examples_test.go index 187d27e96..d7abbddf9 100644 --- a/internal/praefect/grpc-proxy/proxy/examples_test.go +++ b/internal/praefect/grpc-proxy/proxy/examples_test.go @@ -7,8 +7,8 @@ import ( "context" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" "google.golang.org/grpc" "google.golang.org/grpc/codes" grpc_metadata "google.golang.org/grpc/metadata" diff --git a/internal/praefect/grpc-proxy/proxy/handler.go b/internal/praefect/grpc-proxy/proxy/handler.go index 58fcdc828..211e66792 100644 --- a/internal/praefect/grpc-proxy/proxy/handler.go +++ b/internal/praefect/grpc-proxy/proxy/handler.go @@ -9,7 +9,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/sentryhandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" "golang.org/x/sync/errgroup" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/grpc-proxy/proxy/handler_ext_test.go b/internal/praefect/grpc-proxy/proxy/handler_ext_test.go index da8d5d8f9..747ea4d54 100644 --- a/internal/praefect/grpc-proxy/proxy/handler_ext_test.go +++ b/internal/praefect/grpc-proxy/proxy/handler_ext_test.go @@ -22,12 +22,12 @@ import ( "github.com/stretchr/testify/require" "github.com/stretchr/testify/suite" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/fieldextractors" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/sentryhandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - pb "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + pb "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" "google.golang.org/grpc/codes" grpc_metadata "google.golang.org/grpc/metadata" diff --git a/internal/praefect/grpc-proxy/proxy/helper_test.go b/internal/praefect/grpc-proxy/proxy/helper_test.go index 5cf60d7d8..d19489fde 100644 --- a/internal/praefect/grpc-proxy/proxy/helper_test.go +++ b/internal/praefect/grpc-proxy/proxy/helper_test.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - testservice "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + testservice "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata" "google.golang.org/grpc" ) diff --git a/internal/praefect/grpc-proxy/proxy/peeker_test.go b/internal/praefect/grpc-proxy/proxy/peeker_test.go index aaa396735..0e2be5892 100644 --- a/internal/praefect/grpc-proxy/proxy/peeker_test.go +++ b/internal/praefect/grpc-proxy/proxy/peeker_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - testservice "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + testservice "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/protobuf/proto" ) diff --git a/internal/praefect/grpc-proxy/testdata/test.pb.go b/internal/praefect/grpc-proxy/testdata/test.pb.go index 61fb9cb5b..dd9755035 100644 --- a/internal/praefect/grpc-proxy/testdata/test.pb.go +++ b/internal/praefect/grpc-proxy/testdata/test.pb.go @@ -198,12 +198,12 @@ var file_praefect_grpc_proxy_testdata_test_proto_rawDesc = []byte{ 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x48, - 0x5a, 0x46, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, - 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, - 0x31, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x61, 0x65, - 0x66, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, - 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x44, + 0x5a, 0x42, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, + 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, + 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, + 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/praefect/grpc-proxy/testdata/test.proto b/internal/praefect/grpc-proxy/testdata/test.proto index 6ece93086..94e5bbac4 100644 --- a/internal/praefect/grpc-proxy/testdata/test.proto +++ b/internal/praefect/grpc-proxy/testdata/test.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package mwitkow.testproto; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata"; message Empty { } diff --git a/internal/praefect/helper_test.go b/internal/praefect/helper_test.go index 5a6365416..dbb8e06dd 100644 --- a/internal/praefect/helper_test.go +++ b/internal/praefect/helper_test.go @@ -10,19 +10,19 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - gitalycfgauth "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + gitalycfgauth "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" correlation "gitlab.com/gitlab-org/labkit/correlation/grpc" "google.golang.org/grpc" "google.golang.org/grpc/health" diff --git a/internal/praefect/info_service_test.go b/internal/praefect/info_service_test.go index c89654f6a..9bcafaa0e 100644 --- a/internal/praefect/info_service_test.go +++ b/internal/praefect/info_service_test.go @@ -5,22 +5,22 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/praefect/metrics/prometheus.go b/internal/praefect/metrics/prometheus.go index 7fdcbca42..62fb253d1 100644 --- a/internal/praefect/metrics/prometheus.go +++ b/internal/praefect/metrics/prometheus.go @@ -3,8 +3,8 @@ package metrics import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" - gitalycfgprom "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/prometheus" - "gitlab.com/gitlab-org/gitaly/v14/internal/prometheus/metrics" + gitalycfgprom "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/prometheus" + "gitlab.com/gitlab-org/gitaly/internal/prometheus/metrics" ) // RegisterReplicationDelay creates and registers a prometheus histogram diff --git a/internal/praefect/middleware/errorhandler.go b/internal/praefect/middleware/errorhandler.go index 1356a8c75..5339419a5 100644 --- a/internal/praefect/middleware/errorhandler.go +++ b/internal/praefect/middleware/errorhandler.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" "google.golang.org/grpc" ) diff --git a/internal/praefect/middleware/errorhandler_test.go b/internal/praefect/middleware/errorhandler_test.go index da16898b9..845c54ab4 100644 --- a/internal/praefect/middleware/errorhandler_test.go +++ b/internal/praefect/middleware/errorhandler_test.go @@ -8,13 +8,13 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" "google.golang.org/grpc" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/internal/praefect/middleware/helper_test.go b/internal/praefect/middleware/helper_test.go index b733100c0..8a960f906 100644 --- a/internal/praefect/middleware/helper_test.go +++ b/internal/praefect/middleware/helper_test.go @@ -3,7 +3,7 @@ package middleware import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/praefect/middleware/methodtype.go b/internal/praefect/middleware/methodtype.go index a3a0667b3..2a64bf5cf 100644 --- a/internal/praefect/middleware/methodtype.go +++ b/internal/praefect/middleware/methodtype.go @@ -4,8 +4,8 @@ import ( "context" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" "google.golang.org/grpc" ) diff --git a/internal/praefect/mock/mock.pb.go b/internal/praefect/mock/mock.pb.go index ffdd2df38..6563857a4 100644 --- a/internal/praefect/mock/mock.pb.go +++ b/internal/praefect/mock/mock.pb.go @@ -101,11 +101,10 @@ var file_praefect_mock_mock_proto_rawDesc = []byte{ 0x6d, 0x6f, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, - 0x42, 0x39, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, + 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, - 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x2f, 0x6d, 0x6f, 0x63, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, + 0x63, 0x74, 0x2f, 0x6d, 0x6f, 0x63, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/internal/praefect/mock/mock.proto b/internal/praefect/mock/mock.proto index 748befbf6..2d5374562 100644 --- a/internal/praefect/mock/mock.proto +++ b/internal/praefect/mock/mock.proto @@ -7,7 +7,7 @@ syntax = "proto3"; package mock; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock"; +option go_package = "gitlab.com/gitlab-org/gitaly/internal/praefect/mock"; import "shared.proto"; import "lint.proto"; diff --git a/internal/praefect/mocksvc_test.go b/internal/praefect/mocksvc_test.go index 69aa76ca6..cff06dbd2 100644 --- a/internal/praefect/mocksvc_test.go +++ b/internal/praefect/mocksvc_test.go @@ -3,7 +3,7 @@ package praefect import ( "context" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" "google.golang.org/protobuf/types/known/emptypb" ) diff --git a/internal/praefect/node.go b/internal/praefect/node.go index 13539b691..14fd4798b 100644 --- a/internal/praefect/node.go +++ b/internal/praefect/node.go @@ -4,12 +4,12 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" "google.golang.org/grpc" "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/internal/praefect/node_test.go b/internal/praefect/node_test.go index eebb9ba32..fd7125ef7 100644 --- a/internal/praefect/node_test.go +++ b/internal/praefect/node_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/health" diff --git a/internal/praefect/nodes/disabled_elector.go b/internal/praefect/nodes/disabled_elector.go index 047e41857..fb935852f 100644 --- a/internal/praefect/nodes/disabled_elector.go +++ b/internal/praefect/nodes/disabled_elector.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" ) // newDisabledElector returns a stub that always returns the same shard where the diff --git a/internal/praefect/nodes/health_manager.go b/internal/praefect/nodes/health_manager.go index 89ea32b29..4ad6b733f 100644 --- a/internal/praefect/nodes/health_manager.go +++ b/internal/praefect/nodes/health_manager.go @@ -8,8 +8,8 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/internal/praefect/nodes/health_manager_test.go b/internal/praefect/nodes/health_manager_test.go index 2016c26a3..94ff40315 100644 --- a/internal/praefect/nodes/health_manager_test.go +++ b/internal/praefect/nodes/health_manager_test.go @@ -7,10 +7,10 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "google.golang.org/grpc" "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/internal/praefect/nodes/init_test.go b/internal/praefect/nodes/init_test.go index 1475680ed..14cf97e9d 100644 --- a/internal/praefect/nodes/init_test.go +++ b/internal/praefect/nodes/init_test.go @@ -3,7 +3,7 @@ package nodes import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/praefect/nodes/local_elector.go b/internal/praefect/nodes/local_elector.go index 95c2c3f35..407b30582 100644 --- a/internal/praefect/nodes/local_elector.go +++ b/internal/praefect/nodes/local_elector.go @@ -6,7 +6,7 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" ) // localElector relies on an in-memory datastore to track the primary diff --git a/internal/praefect/nodes/local_elector_test.go b/internal/praefect/nodes/local_elector_test.go index 63fa84f5e..09efb0e85 100644 --- a/internal/praefect/nodes/local_elector_test.go +++ b/internal/praefect/nodes/local_elector_test.go @@ -6,9 +6,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" "google.golang.org/grpc" ) diff --git a/internal/praefect/nodes/manager.go b/internal/praefect/nodes/manager.go index e57abeb0b..d624dab61 100644 --- a/internal/praefect/nodes/manager.go +++ b/internal/praefect/nodes/manager.go @@ -12,17 +12,17 @@ import ( grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/sirupsen/logrus" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/middleware" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - prommetrics "gitlab.com/gitlab-org/gitaly/v14/internal/prometheus/metrics" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/middleware" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + prommetrics "gitlab.com/gitlab-org/gitaly/internal/prometheus/metrics" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" "google.golang.org/grpc" healthpb "google.golang.org/grpc/health/grpc_health_v1" ) diff --git a/internal/praefect/nodes/manager_test.go b/internal/praefect/nodes/manager_test.go index 9a32bf87f..19edfcb1c 100644 --- a/internal/praefect/nodes/manager_test.go +++ b/internal/praefect/nodes/manager_test.go @@ -10,11 +10,11 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" "google.golang.org/grpc" "google.golang.org/grpc/health" "google.golang.org/grpc/health/grpc_health_v1" diff --git a/internal/praefect/nodes/per_repository.go b/internal/praefect/nodes/per_repository.go index da313602c..31d59a480 100644 --- a/internal/praefect/nodes/per_repository.go +++ b/internal/praefect/nodes/per_repository.go @@ -8,8 +8,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) // ErrNoPrimary is returned if the repository does not have a primary. diff --git a/internal/praefect/nodes/per_repository_test.go b/internal/praefect/nodes/per_repository_test.go index a0229c573..c0fcaa336 100644 --- a/internal/praefect/nodes/per_repository_test.go +++ b/internal/praefect/nodes/per_repository_test.go @@ -8,10 +8,10 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestPerRepositoryElector(t *testing.T) { diff --git a/internal/praefect/nodes/ping.go b/internal/praefect/nodes/ping.go index ec0380af0..57719f6db 100644 --- a/internal/praefect/nodes/ping.go +++ b/internal/praefect/nodes/ping.go @@ -10,7 +10,7 @@ import ( gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/health/grpc_health_v1" diff --git a/internal/praefect/nodes/ping_test.go b/internal/praefect/nodes/ping_test.go index 4857f8e80..7d487c070 100644 --- a/internal/praefect/nodes/ping_test.go +++ b/internal/praefect/nodes/ping_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" ) func TestNewPingSet(t *testing.T) { diff --git a/internal/praefect/nodes/sql_elector.go b/internal/praefect/nodes/sql_elector.go index b3adf2d8c..9868ee8af 100644 --- a/internal/praefect/nodes/sql_elector.go +++ b/internal/praefect/nodes/sql_elector.go @@ -12,9 +12,9 @@ import ( "github.com/google/uuid" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/metrics" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/metrics" ) const ( diff --git a/internal/praefect/nodes/sql_elector_test.go b/internal/praefect/nodes/sql_elector_test.go index 830ca6aa2..4abefe574 100644 --- a/internal/praefect/nodes/sql_elector_test.go +++ b/internal/praefect/nodes/sql_elector_test.go @@ -9,14 +9,14 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/nodes/tracker/errors.go b/internal/praefect/nodes/tracker/errors.go index 0074dab09..5b7f1779d 100644 --- a/internal/praefect/nodes/tracker/errors.go +++ b/internal/praefect/nodes/tracker/errors.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" ) // ErrorTracker allows tracking how many read/write errors have occurred, and whether or not it has diff --git a/internal/praefect/nodes/tracker/errors_test.go b/internal/praefect/nodes/tracker/errors_test.go index 3d1a03566..5b78e1098 100644 --- a/internal/praefect/nodes/tracker/errors_test.go +++ b/internal/praefect/nodes/tracker/errors_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) var ( diff --git a/internal/praefect/protoregistry/find_oid_test.go b/internal/praefect/protoregistry/find_oid_test.go index b22846054..42233243e 100644 --- a/internal/praefect/protoregistry/find_oid_test.go +++ b/internal/praefect/protoregistry/find_oid_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" ) diff --git a/internal/praefect/protoregistry/protoregistry.go b/internal/praefect/protoregistry/protoregistry.go index d2b900b1e..4d79f63a0 100644 --- a/internal/praefect/protoregistry/protoregistry.go +++ b/internal/praefect/protoregistry/protoregistry.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/protoutil" + "gitlab.com/gitlab-org/gitaly/internal/protoutil" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/proto" "google.golang.org/protobuf/reflect/protodesc" diff --git a/internal/praefect/protoregistry/protoregistry_test.go b/internal/praefect/protoregistry/protoregistry_test.go index 89976b7c5..898e8230a 100644 --- a/internal/praefect/protoregistry/protoregistry_test.go +++ b/internal/praefect/protoregistry/protoregistry_test.go @@ -5,8 +5,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/reconciler/reconciler.go b/internal/praefect/reconciler/reconciler.go index 1908ef9ee..e3253c12b 100644 --- a/internal/praefect/reconciler/reconciler.go +++ b/internal/praefect/reconciler/reconciler.go @@ -6,10 +6,10 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/advisorylock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/advisorylock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) const logBatchSize = 25 diff --git a/internal/praefect/reconciler/reconciler_benchmark_test.go b/internal/praefect/reconciler/reconciler_benchmark_test.go index abb95d8d8..d8335ae8f 100644 --- a/internal/praefect/reconciler/reconciler_benchmark_test.go +++ b/internal/praefect/reconciler/reconciler_benchmark_test.go @@ -6,9 +6,9 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func BenchmarkReconcile(b *testing.B) { diff --git a/internal/praefect/reconciler/reconciler_test.go b/internal/praefect/reconciler/reconciler_test.go index 6390c9478..13491b44d 100644 --- a/internal/praefect/reconciler/reconciler_test.go +++ b/internal/praefect/reconciler/reconciler_test.go @@ -9,13 +9,13 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" ) func TestReconciler(t *testing.T) { diff --git a/internal/praefect/remove_repository.go b/internal/praefect/remove_repository.go index 74a033ef8..b9d0c411e 100644 --- a/internal/praefect/remove_repository.go +++ b/internal/praefect/remove_repository.go @@ -9,9 +9,9 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/protobuf/proto" diff --git a/internal/praefect/remove_repository_test.go b/internal/praefect/remove_repository_test.go index 0cc791bc3..7db27becc 100644 --- a/internal/praefect/remove_repository_test.go +++ b/internal/praefect/remove_repository_test.go @@ -7,17 +7,17 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/replicator.go b/internal/praefect/replicator.go index 1471ecef3..0770d2dff 100644 --- a/internal/praefect/replicator.go +++ b/internal/praefect/replicator.go @@ -9,13 +9,13 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - prommetrics "gitlab.com/gitlab-org/gitaly/v14/internal/prometheus/metrics" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + prommetrics "gitlab.com/gitlab-org/gitaly/internal/prometheus/metrics" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "google.golang.org/grpc" diff --git a/internal/praefect/replicator_pg_test.go b/internal/praefect/replicator_pg_test.go index 7fd5be3f2..1da832703 100644 --- a/internal/praefect/replicator_pg_test.go +++ b/internal/praefect/replicator_pg_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/praefect/replicator_test.go b/internal/praefect/replicator_test.go index dd91d20b8..db93c19b0 100644 --- a/internal/praefect/replicator_test.go +++ b/internal/praefect/replicator_test.go @@ -15,26 +15,26 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/localrepo" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/objectpool" - gconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/localrepo" + "gitlab.com/gitlab-org/gitaly/internal/git/objectpool" + gconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "gitlab.com/gitlab-org/labkit/correlation" "golang.org/x/sync/errgroup" diff --git a/internal/praefect/repocleaner/action_log_test.go b/internal/praefect/repocleaner/action_log_test.go index 00239d99f..6f36ee440 100644 --- a/internal/praefect/repocleaner/action_log_test.go +++ b/internal/praefect/repocleaner/action_log_test.go @@ -6,7 +6,7 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestLogWarnAction_Perform(t *testing.T) { diff --git a/internal/praefect/repocleaner/init_test.go b/internal/praefect/repocleaner/init_test.go index 7b5501eab..1e018c925 100644 --- a/internal/praefect/repocleaner/init_test.go +++ b/internal/praefect/repocleaner/init_test.go @@ -3,7 +3,7 @@ package repocleaner import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/praefect/repocleaner/repository.go b/internal/praefect/repocleaner/repository.go index afc8fd317..da4ce3105 100644 --- a/internal/praefect/repocleaner/repository.go +++ b/internal/praefect/repocleaner/repository.go @@ -8,9 +8,9 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/repocleaner/repository_test.go b/internal/praefect/repocleaner/repository_test.go index 6924d3069..e71be206f 100644 --- a/internal/praefect/repocleaner/repository_test.go +++ b/internal/praefect/repocleaner/repository_test.go @@ -11,19 +11,19 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" ) func TestRunner_Run(t *testing.T) { diff --git a/internal/praefect/repository_exists.go b/internal/praefect/repository_exists.go index bbafff823..cc753c9dc 100644 --- a/internal/praefect/repository_exists.go +++ b/internal/praefect/repository_exists.go @@ -3,7 +3,7 @@ package praefect import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/repository_exists_test.go b/internal/praefect/repository_exists_test.go index 2ed7ad2a0..2846288e9 100644 --- a/internal/praefect/repository_exists_test.go +++ b/internal/praefect/repository_exists_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/router_node_manager.go b/internal/praefect/router_node_manager.go index f1f3c474a..39c1c6e1e 100644 --- a/internal/praefect/router_node_manager.go +++ b/internal/praefect/router_node_manager.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" ) type nodeManagerRouter struct { diff --git a/internal/praefect/router_per_repository.go b/internal/praefect/router_per_repository.go index 6f1b4e7bd..5c287b00a 100644 --- a/internal/praefect/router_per_repository.go +++ b/internal/praefect/router_per_repository.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" "google.golang.org/grpc" ) diff --git a/internal/praefect/router_per_repository_test.go b/internal/praefect/router_per_repository_test.go index 44d8b10ce..4d671a3a7 100644 --- a/internal/praefect/router_per_repository_test.go +++ b/internal/praefect/router_per_repository_test.go @@ -7,12 +7,12 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "google.golang.org/grpc" "google.golang.org/grpc/metadata" ) diff --git a/internal/praefect/server.go b/internal/praefect/server.go index d75810246..5593e76a2 100644 --- a/internal/praefect/server.go +++ b/internal/praefect/server.go @@ -10,26 +10,26 @@ import ( grpcmwtags "github.com/grpc-ecosystem/go-grpc-middleware/tags" grpcprometheus "github.com/grpc-ecosystem/go-grpc-prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server/auth" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/fieldextractors" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/cancelhandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/metadatahandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/panichandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/sentryhandler" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/middleware" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/info" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/internal/helper/fieldextractors" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/middleware/cancelhandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/metadatahandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/panichandler" + "gitlab.com/gitlab-org/gitaly/internal/middleware/sentryhandler" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/middleware" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/info" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/server" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" diff --git a/internal/praefect/server_factory.go b/internal/praefect/server_factory.go index 847fe1f46..549469cff 100644 --- a/internal/praefect/server_factory.go +++ b/internal/praefect/server_factory.go @@ -7,12 +7,12 @@ import ( "sync" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" "google.golang.org/grpc" "google.golang.org/grpc/credentials" ) diff --git a/internal/praefect/server_factory_test.go b/internal/praefect/server_factory_test.go index fddc86ce8..6dd21ffd4 100644 --- a/internal/praefect/server_factory_test.go +++ b/internal/praefect/server_factory_test.go @@ -14,25 +14,25 @@ import ( "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/bootstrap/starter" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/internal/praefect/server_test.go b/internal/praefect/server_test.go index c3681a34c..1dc0a2efb 100644 --- a/internal/praefect/server_test.go +++ b/internal/praefect/server_test.go @@ -19,33 +19,33 @@ import ( "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/grpc-proxy/proxy" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/mock" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes/tracker" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - serversvc "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/promtest" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/txinfo" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/proxy" + "gitlab.com/gitlab-org/gitaly/internal/praefect/mock" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes/tracker" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + serversvc "gitlab.com/gitlab-org/gitaly/internal/praefect/service/server" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/promtest" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/transaction/txinfo" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/version" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/service/info/metadata.go b/internal/praefect/service/info/metadata.go index 24c716224..ad7ad1e64 100644 --- a/internal/praefect/service/info/metadata.go +++ b/internal/praefect/service/info/metadata.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/known/timestamppb" ) diff --git a/internal/praefect/service/info/replication_factor.go b/internal/praefect/service/info/replication_factor.go index b713ce79f..7948c5bf7 100644 --- a/internal/praefect/service/info/replication_factor.go +++ b/internal/praefect/service/info/replication_factor.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/service/info/repositories.go b/internal/praefect/service/info/repositories.go index 6b00a4f03..5eb63c66e 100644 --- a/internal/praefect/service/info/repositories.go +++ b/internal/praefect/service/info/repositories.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "golang.org/x/sync/errgroup" ) diff --git a/internal/praefect/service/info/server.go b/internal/praefect/service/info/server.go index 6babeac34..c6200286f 100644 --- a/internal/praefect/service/info/server.go +++ b/internal/praefect/service/info/server.go @@ -4,11 +4,11 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/commonerr" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/commonerr" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/service/server/clocksynced.go b/internal/praefect/service/server/clocksynced.go index c7edd8be3..c30a46499 100644 --- a/internal/praefect/service/server/clocksynced.go +++ b/internal/praefect/service/server/clocksynced.go @@ -4,7 +4,7 @@ import ( "context" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/service/server/info.go b/internal/praefect/service/server/info.go index 841860b52..848e203a8 100644 --- a/internal/praefect/service/server/info.go +++ b/internal/praefect/service/server/info.go @@ -6,7 +6,7 @@ import ( "github.com/google/uuid" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/praefect/service/server/server.go b/internal/praefect/service/server/server.go index b6b14f63b..d3d228c3e 100644 --- a/internal/praefect/service/server/server.go +++ b/internal/praefect/service/server/server.go @@ -1,8 +1,8 @@ package server import ( - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/service/transaction/server.go b/internal/praefect/service/transaction/server.go index fdc838fce..04085d5cf 100644 --- a/internal/praefect/service/transaction/server.go +++ b/internal/praefect/service/transaction/server.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/transaction_test.go b/internal/praefect/transaction_test.go index 9ac11f1bd..d9615411a 100644 --- a/internal/praefect/transaction_test.go +++ b/internal/praefect/transaction_test.go @@ -11,9 +11,9 @@ import ( "github.com/prometheus/client_golang/prometheus/testutil" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/codes" diff --git a/internal/praefect/transactions/manager.go b/internal/praefect/transactions/manager.go index e836ef749..2b357298b 100644 --- a/internal/praefect/transactions/manager.go +++ b/internal/praefect/transactions/manager.go @@ -11,8 +11,8 @@ import ( "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) //nolint: revive,stylecheck // This is unintentionally missing documentation. diff --git a/internal/praefect/transactions/subtransaction.go b/internal/praefect/transactions/subtransaction.go index 87b0ae1b0..8e7d86610 100644 --- a/internal/praefect/transactions/subtransaction.go +++ b/internal/praefect/transactions/subtransaction.go @@ -6,7 +6,7 @@ import ( "fmt" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) // VoteResult represents the outcome of a transaction for a single voter. diff --git a/internal/praefect/transactions/subtransaction_test.go b/internal/praefect/transactions/subtransaction_test.go index f58f9eb4f..feeb6038f 100644 --- a/internal/praefect/transactions/subtransaction_test.go +++ b/internal/praefect/transactions/subtransaction_test.go @@ -10,8 +10,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) func TestSubtransaction_cancel(t *testing.T) { diff --git a/internal/praefect/transactions/transaction.go b/internal/praefect/transactions/transaction.go index 9b6a15886..d44f83354 100644 --- a/internal/praefect/transactions/transaction.go +++ b/internal/praefect/transactions/transaction.go @@ -5,7 +5,7 @@ import ( "errors" "sync" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) var ( diff --git a/internal/praefect/transactions/transaction_test.go b/internal/praefect/transactions/transaction_test.go index d67b341d0..d502d1670 100644 --- a/internal/praefect/transactions/transaction_test.go +++ b/internal/praefect/transactions/transaction_test.go @@ -4,8 +4,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/transaction/voting" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/transaction/voting" ) func TestTransactionCancellationWithEmptyTransaction(t *testing.T) { diff --git a/internal/praefect/verifier.go b/internal/praefect/verifier.go index f1e789219..78e255249 100644 --- a/internal/praefect/verifier.go +++ b/internal/praefect/verifier.go @@ -9,8 +9,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/praefect/verifier_test.go b/internal/praefect/verifier_test.go index 674089166..3c1f7969b 100644 --- a/internal/praefect/verifier_test.go +++ b/internal/praefect/verifier_test.go @@ -13,25 +13,25 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - gitalyconfig "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/repository" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service/setup" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/nodes" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/protoregistry" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/service/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/transactions" - "gitlab.com/gitlab-org/gitaly/v14/internal/sidechannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testserver" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + gitalyconfig "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/repository" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service/setup" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/nodes" + "gitlab.com/gitlab-org/gitaly/internal/praefect/protoregistry" + "gitlab.com/gitlab-org/gitaly/internal/praefect/service/transaction" + "gitlab.com/gitlab-org/gitaly/internal/praefect/transactions" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testserver" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" ) diff --git a/internal/praefect/version.go b/internal/praefect/version.go index 5125cb95d..25758f35a 100644 --- a/internal/praefect/version.go +++ b/internal/praefect/version.go @@ -3,7 +3,7 @@ package praefect import ( "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/version" + "gitlab.com/gitlab-org/gitaly/internal/version" ) // GetVersionString returns a standard version header diff --git a/internal/safe/file_writer_test.go b/internal/safe/file_writer_test.go index c31420a7f..b7d3e4f9a 100644 --- a/internal/safe/file_writer_test.go +++ b/internal/safe/file_writer_test.go @@ -10,8 +10,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestFileWriter_successful(t *testing.T) { diff --git a/internal/safe/locking_directory_test.go b/internal/safe/locking_directory_test.go index e9280c3dd..d7eb757c2 100644 --- a/internal/safe/locking_directory_test.go +++ b/internal/safe/locking_directory_test.go @@ -9,8 +9,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestLockingDirectory(t *testing.T) { diff --git a/internal/safe/locking_file_writer_test.go b/internal/safe/locking_file_writer_test.go index 7632a9d69..6c478e7ca 100644 --- a/internal/safe/locking_file_writer_test.go +++ b/internal/safe/locking_file_writer_test.go @@ -7,10 +7,10 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/safe" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/safe" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestLockingFileWriter_lifecycle(t *testing.T) { diff --git a/internal/safe/main_test.go b/internal/safe/main_test.go index 7158dca83..cc1bee42b 100644 --- a/internal/safe/main_test.go +++ b/internal/safe/main_test.go @@ -3,7 +3,7 @@ package safe_test import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/sidechannel/conn.go b/internal/sidechannel/conn.go index 5af660fab..b67feb7b0 100644 --- a/internal/sidechannel/conn.go +++ b/internal/sidechannel/conn.go @@ -5,7 +5,7 @@ import ( "io" "net" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" "gitlab.com/gitlab-org/gitaly/v14/streamio" ) diff --git a/internal/sidechannel/proxy.go b/internal/sidechannel/proxy.go index db184ff88..9715cf2f9 100644 --- a/internal/sidechannel/proxy.go +++ b/internal/sidechannel/proxy.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/metadata" "google.golang.org/grpc" grpcMetadata "google.golang.org/grpc/metadata" ) diff --git a/internal/sidechannel/proxy_test.go b/internal/sidechannel/proxy_test.go index 136f469ee..1e2382238 100644 --- a/internal/sidechannel/proxy_test.go +++ b/internal/sidechannel/proxy_test.go @@ -9,10 +9,10 @@ import ( "github.com/sirupsen/logrus" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/metadata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/internal/sidechannel/sidechannel.go b/internal/sidechannel/sidechannel.go index a8e7088d5..090df79f8 100644 --- a/internal/sidechannel/sidechannel.go +++ b/internal/sidechannel/sidechannel.go @@ -11,9 +11,9 @@ import ( "github.com/hashicorp/yamux" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" "google.golang.org/grpc" "google.golang.org/grpc/credentials" "google.golang.org/grpc/credentials/insecure" diff --git a/internal/sidechannel/sidechannel_test.go b/internal/sidechannel/sidechannel_test.go index 6fd4628f6..12627e3da 100644 --- a/internal/sidechannel/sidechannel_test.go +++ b/internal/sidechannel/sidechannel_test.go @@ -10,9 +10,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/listenmux" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" healthpb "google.golang.org/grpc/health/grpc_health_v1" diff --git a/internal/stream/pktline.go b/internal/stream/pktline.go index d83eb3a45..ec3992c8a 100644 --- a/internal/stream/pktline.go +++ b/internal/stream/pktline.go @@ -4,7 +4,7 @@ import ( "fmt" "io" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/pktline" + "gitlab.com/gitlab-org/gitaly/internal/git/pktline" ) // Conn represents a bi-directional client side connection. diff --git a/internal/streamcache/cache.go b/internal/streamcache/cache.go index b09cb9aa5..42e0705de 100644 --- a/internal/streamcache/cache.go +++ b/internal/streamcache/cache.go @@ -36,8 +36,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" ) var ( diff --git a/internal/streamcache/cache_test.go b/internal/streamcache/cache_test.go index 783c44467..1104de2af 100644 --- a/internal/streamcache/cache_test.go +++ b/internal/streamcache/cache_test.go @@ -15,9 +15,9 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func newCache(dir string) Cache { diff --git a/internal/streamcache/filestore.go b/internal/streamcache/filestore.go index 8933bc127..82b11ee5b 100644 --- a/internal/streamcache/filestore.go +++ b/internal/streamcache/filestore.go @@ -13,8 +13,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" ) var ( diff --git a/internal/streamcache/filestore_test.go b/internal/streamcache/filestore_test.go index cf8a29506..41d14b879 100644 --- a/internal/streamcache/filestore_test.go +++ b/internal/streamcache/filestore_test.go @@ -9,8 +9,8 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/log" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestFilestoreCreate(t *testing.T) { diff --git a/internal/streamcache/pipe_test.go b/internal/streamcache/pipe_test.go index 15309c7df..6fb2cac1f 100644 --- a/internal/streamcache/pipe_test.go +++ b/internal/streamcache/pipe_test.go @@ -12,7 +12,7 @@ import ( "time" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func createPipe(t *testing.T) (*pipeReader, *pipe) { diff --git a/internal/streamcache/sendfile_test.go b/internal/streamcache/sendfile_test.go index 769198cf0..83a784243 100644 --- a/internal/streamcache/sendfile_test.go +++ b/internal/streamcache/sendfile_test.go @@ -13,7 +13,7 @@ import ( "testing/iotest" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) type wrappedFile struct{ f *os.File } diff --git a/internal/streamcache/testhelper_test.go b/internal/streamcache/testhelper_test.go index 03bcc2acf..cf9ff5f5d 100644 --- a/internal/streamcache/testhelper_test.go +++ b/internal/streamcache/testhelper_test.go @@ -3,7 +3,7 @@ package streamcache import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/supervisor/monitor.go b/internal/supervisor/monitor.go index fcf6d3dcc..3764802af 100644 --- a/internal/supervisor/monitor.go +++ b/internal/supervisor/monitor.go @@ -6,8 +6,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" - "gitlab.com/gitlab-org/gitaly/v14/internal/ps" + "gitlab.com/gitlab-org/gitaly/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/ps" ) var ( diff --git a/internal/supervisor/supervisor.go b/internal/supervisor/supervisor.go index f695b071e..eab1d4aaf 100644 --- a/internal/supervisor/supervisor.go +++ b/internal/supervisor/supervisor.go @@ -12,7 +12,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" log "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper" + "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/labkit/tracing" ) diff --git a/internal/supervisor/supervisor_test.go b/internal/supervisor/supervisor_test.go index 10c1cff6d..bcd118bb7 100644 --- a/internal/supervisor/supervisor_test.go +++ b/internal/supervisor/supervisor_test.go @@ -13,8 +13,8 @@ import ( "github.com/kelseyhightower/envconfig" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestMain(m *testing.M) { diff --git a/internal/tempdir/clean.go b/internal/tempdir/clean.go index 327423225..c031f9dbb 100644 --- a/internal/tempdir/clean.go +++ b/internal/tempdir/clean.go @@ -11,10 +11,10 @@ import ( "time" "github.com/sirupsen/logrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/dontpanic" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/dontpanic" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" ) const ( diff --git a/internal/tempdir/clean_test.go b/internal/tempdir/clean_test.go index 3d3e16c13..e5f2aa6c9 100644 --- a/internal/tempdir/clean_test.go +++ b/internal/tempdir/clean_test.go @@ -10,11 +10,11 @@ import ( "github.com/sirupsen/logrus" "github.com/sirupsen/logrus/hooks/test" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestCleanSuccess(t *testing.T) { diff --git a/internal/tempdir/tempdir.go b/internal/tempdir/tempdir.go index b34538851..7b8925598 100644 --- a/internal/tempdir/tempdir.go +++ b/internal/tempdir/tempdir.go @@ -8,7 +8,7 @@ import ( "time" "github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/tempdir/tempdir_test.go b/internal/tempdir/tempdir_test.go index d1a26d3c5..f712274eb 100644 --- a/internal/tempdir/tempdir_test.go +++ b/internal/tempdir/tempdir_test.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) func TestNewRepositorySuccess(t *testing.T) { diff --git a/internal/tempdir/testhelper_test.go b/internal/tempdir/testhelper_test.go index cdc9dc00e..d14f39036 100644 --- a/internal/tempdir/testhelper_test.go +++ b/internal/tempdir/testhelper_test.go @@ -3,7 +3,7 @@ package tempdir import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/internal/testhelper/configure.go b/internal/testhelper/configure.go index a3ec4ac64..b93b5b804 100644 --- a/internal/testhelper/configure.go +++ b/internal/testhelper/configure.go @@ -8,7 +8,7 @@ import ( "testing" log "github.com/sirupsen/logrus" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/log" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/log" ) var testDirectory string diff --git a/internal/testhelper/featureset.go b/internal/testhelper/featureset.go index 6e1ccce6f..3dc7fcd12 100644 --- a/internal/testhelper/featureset.go +++ b/internal/testhelper/featureset.go @@ -8,7 +8,7 @@ import ( "strings" "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" ) // FeatureSet is a representation of a set of features that should be disabled. diff --git a/internal/testhelper/featureset_test.go b/internal/testhelper/featureset_test.go index fdbbba5ed..223750c96 100644 --- a/internal/testhelper/featureset_test.go +++ b/internal/testhelper/featureset_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - ff "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + ff "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" "google.golang.org/grpc/metadata" ) diff --git a/internal/testhelper/grpc_test.go b/internal/testhelper/grpc_test.go index fd95bc645..2c81815be 100644 --- a/internal/testhelper/grpc_test.go +++ b/internal/testhelper/grpc_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "google.golang.org/grpc" ) diff --git a/internal/testhelper/leakage.go b/internal/testhelper/leakage.go index 946b867d2..5fa517084 100644 --- a/internal/testhelper/leakage.go +++ b/internal/testhelper/leakage.go @@ -8,8 +8,8 @@ import ( "syscall" "time" - "gitlab.com/gitlab-org/gitaly/v14/internal/command/commandcounter" - "gitlab.com/gitlab-org/gitaly/v14/internal/helper/text" + "gitlab.com/gitlab-org/gitaly/internal/command/commandcounter" + "gitlab.com/gitlab-org/gitaly/internal/helper/text" "go.uber.org/goleak" ) @@ -25,13 +25,13 @@ func mustHaveNoGoroutines() { // eventually, but the pragmatic approach is to just wait until we remove // the Ruby sidecar altogether. goleak.IgnoreTopFunction("google.golang.org/grpc.(*ccBalancerWrapper).watcher"), - goleak.IgnoreTopFunction("gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver/balancer.(*builder).monitor"), + goleak.IgnoreTopFunction("gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver/balancer.(*builder).monitor"), // labkit's logger spawns a Goroutine which cannot be closed when calling // `Initialize()`. goleak.IgnoreTopFunction("gitlab.com/gitlab-org/labkit/log.listenForSignalHangup"), // The backchannel code is somehow stock on closing its connections. I have no clue // why that is, but we should investigate. - goleak.IgnoreTopFunction("gitlab.com/gitlab-org/gitaly/v14/internal/backchannel.clientHandshake.serve.func4"), + goleak.IgnoreTopFunction("gitlab.com/gitlab-org/gitaly/internal/backchannel.clientHandshake.serve.func4"), ); err != nil { panic(fmt.Errorf("goroutines running: %w", err)) } diff --git a/internal/testhelper/testcfg/build.go b/internal/testhelper/testcfg/build.go index 8aec16f11..3e1565cfd 100644 --- a/internal/testhelper/testcfg/build.go +++ b/internal/testhelper/testcfg/build.go @@ -8,8 +8,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) var buildOnceByName sync.Map @@ -100,5 +100,5 @@ func BuildBinary(t testing.TB, targetDir, sourcePath string) string { } func gitalyCommandPath(command string) string { - return fmt.Sprintf("gitlab.com/gitlab-org/gitaly/v14/cmd/%s", command) + return fmt.Sprintf("gitlab.com/gitlab-org/gitaly/cmd/%s", command) } diff --git a/internal/testhelper/testcfg/gitaly_builder.go b/internal/testhelper/testcfg/gitaly_builder.go index 86974e4a6..1da344cdf 100644 --- a/internal/testhelper/testcfg/gitaly_builder.go +++ b/internal/testhelper/testcfg/gitaly_builder.go @@ -7,9 +7,9 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" ) diff --git a/internal/testhelper/testcfg/metadata.go b/internal/testhelper/testcfg/metadata.go index df4cb274a..15cb90cc2 100644 --- a/internal/testhelper/testcfg/metadata.go +++ b/internal/testhelper/testcfg/metadata.go @@ -6,8 +6,8 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" "google.golang.org/grpc/metadata" ) diff --git a/internal/testhelper/testdb/db.go b/internal/testhelper/testdb/db.go index f085ebc58..7eaf43836 100644 --- a/internal/testhelper/testdb/db.go +++ b/internal/testhelper/testdb/db.go @@ -17,10 +17,10 @@ import ( migrate "github.com/rubenv/sql-migrate" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/migrations" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/migrations" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) const ( diff --git a/internal/testhelper/testdb/health.go b/internal/testhelper/testdb/health.go index ab5cdce55..b4001337a 100644 --- a/internal/testhelper/testdb/health.go +++ b/internal/testhelper/testdb/health.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/datastore/glsql" + "gitlab.com/gitlab-org/gitaly/internal/praefect/datastore/glsql" ) // SetHealthyNodes sets the healthy nodes in the database as determined by the passed in map. The healthyNodes map is keyed by diff --git a/internal/testhelper/testhelper.go b/internal/testhelper/testhelper.go index 281dbc5b8..bfdfc89db 100644 --- a/internal/testhelper/testhelper.go +++ b/internal/testhelper/testhelper.go @@ -24,7 +24,7 @@ import ( log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "gitlab.com/gitlab-org/gitaly/v14/internal/metadata/featureflag" + "gitlab.com/gitlab-org/gitaly/internal/metadata/featureflag" ) const ( diff --git a/internal/testhelper/testserver/gitaly.go b/internal/testhelper/testserver/gitaly.go index 6033e7e12..cef19bf4a 100644 --- a/internal/testhelper/testserver/gitaly.go +++ b/internal/testhelper/testserver/gitaly.go @@ -10,30 +10,30 @@ import ( "github.com/stretchr/testify/require" gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" "gitlab.com/gitlab-org/gitaly/v14/client" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" - "gitlab.com/gitlab-org/gitaly/v14/internal/cache" - "gitlab.com/gitlab-org/gitaly/v14/internal/git" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/gittest" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/housekeeping" - "gitlab.com/gitlab-org/gitaly/v14/internal/git/updateref" - "gitlab.com/gitlab-org/gitaly/v14/internal/git2go" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/auth" - gitalylog "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config/log" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/hook" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/linguist" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/server" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/service" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/storage" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/transaction" - "gitlab.com/gitlab-org/gitaly/v14/internal/gitlab" - "gitlab.com/gitlab-org/gitaly/v14/internal/middleware/limithandler" - praefectconfig "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/streamcache" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testdb" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/cache" + "gitlab.com/gitlab-org/gitaly/internal/git" + "gitlab.com/gitlab-org/gitaly/internal/git/catfile" + "gitlab.com/gitlab-org/gitaly/internal/git/gittest" + "gitlab.com/gitlab-org/gitaly/internal/git/housekeeping" + "gitlab.com/gitlab-org/gitaly/internal/git/updateref" + "gitlab.com/gitlab-org/gitaly/internal/git2go" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + gitalylog "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/log" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/hook" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/linguist" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/service" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/storage" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/transaction" + "gitlab.com/gitlab-org/gitaly/internal/gitlab" + "gitlab.com/gitlab-org/gitaly/internal/middleware/limithandler" + praefectconfig "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/streamcache" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testdb" "google.golang.org/grpc" "google.golang.org/grpc/health" healthpb "google.golang.org/grpc/health/grpc_health_v1" diff --git a/internal/testhelper/testserver/praefect.go b/internal/testhelper/testserver/praefect.go index 7cad84327..72c36729a 100644 --- a/internal/testhelper/testserver/praefect.go +++ b/internal/testhelper/testserver/praefect.go @@ -9,10 +9,10 @@ import ( "github.com/pelletier/go-toml" "github.com/stretchr/testify/require" - gitalycfg "gitlab.com/gitlab-org/gitaly/v14/internal/gitaly/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/praefect/config" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper/testcfg" + gitalycfg "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" + "gitlab.com/gitlab-org/gitaly/internal/praefect/config" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper/testcfg" ) // praefectSpawnTokens limits the number of concurrent Praefect instances we spawn. With parallel diff --git a/internal/transaction/txinfo/transaction.go b/internal/transaction/txinfo/transaction.go index 1d6ddea38..b118a48dc 100644 --- a/internal/transaction/txinfo/transaction.go +++ b/internal/transaction/txinfo/transaction.go @@ -7,7 +7,7 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" "google.golang.org/grpc/metadata" ) diff --git a/internal/transaction/voting/testhelper_test.go b/internal/transaction/voting/testhelper_test.go index 59ee6c4a8..d037cdd84 100644 --- a/internal/transaction/voting/testhelper_test.go +++ b/internal/transaction/voting/testhelper_test.go @@ -3,7 +3,7 @@ package voting import ( "testing" - "gitlab.com/gitlab-org/gitaly/v14/internal/testhelper" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" ) func TestMain(m *testing.M) { diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go deleted file mode 100644 index c4a157148..000000000 --- a/proto/go/gitalypb/blob.pb.go +++ /dev/null @@ -1,1789 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: blob.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type GetBlobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Object ID (SHA1) of the blob we want to get - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - // Maximum number of bytes we want to receive. Use '-1' to get the full blob no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *GetBlobRequest) Reset() { - *x = GetBlobRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlobRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlobRequest) ProtoMessage() {} - -func (x *GetBlobRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead. -func (*GetBlobRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{0} -} - -func (x *GetBlobRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetBlobRequest) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *GetBlobRequest) GetLimit() int64 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type GetBlobResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Blob size; present only in first response message - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Chunk of blob data - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // Object ID of the actual blob returned. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` -} - -func (x *GetBlobResponse) Reset() { - *x = GetBlobResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlobResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlobResponse) ProtoMessage() {} - -func (x *GetBlobResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead. -func (*GetBlobResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{1} -} - -func (x *GetBlobResponse) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *GetBlobResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *GetBlobResponse) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -// This comment is left unintentionally blank. -type GetBlobsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Revision/Path pairs of the blobs we want to get. - RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"` - // Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *GetBlobsRequest) Reset() { - *x = GetBlobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlobsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlobsRequest) ProtoMessage() {} - -func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead. -func (*GetBlobsRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{2} -} - -func (x *GetBlobsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { - if x != nil { - return x.RevisionPaths - } - return nil -} - -func (x *GetBlobsRequest) GetLimit() int64 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type GetBlobsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Blob size; present only on the first message per blob - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Chunk of blob data, could span over multiple messages. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - // This comment is left unintentionally blank. - IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` - // This comment is left unintentionally blank. - Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` - // This comment is left unintentionally blank. - Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` -} - -func (x *GetBlobsResponse) Reset() { - *x = GetBlobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlobsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlobsResponse) ProtoMessage() {} - -func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead. -func (*GetBlobsResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{3} -} - -func (x *GetBlobsResponse) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *GetBlobsResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *GetBlobsResponse) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *GetBlobsResponse) GetIsSubmodule() bool { - if x != nil { - return x.IsSubmodule - } - return false -} - -func (x *GetBlobsResponse) GetMode() int32 { - if x != nil { - return x.Mode - } - return 0 -} - -func (x *GetBlobsResponse) GetRevision() string { - if x != nil { - return x.Revision - } - return "" -} - -func (x *GetBlobsResponse) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *GetBlobsResponse) GetType() ObjectType { - if x != nil { - return x.Type - } - return ObjectType_UNKNOWN -} - -// ListBlobsRequest is a request for the ListBlobs RPC. -type ListBlobsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which blobs should be enumerated. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Revisions is the list of revisions to retrieve blobs from. These revisions - // will be walked. Supports pseudo-revisions `--all` and `--not` as well as - // negated revisions via `^revision`. Revisions cannot start with a leading - // dash. Please consult gitrevisions(7) for more info. Must not be empty. - Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` - // Limit is the maximum number of blobs to return. If set to its default - // (`0`), then all found blobs wll be returned. - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - // BytesLimit is the maximum number of bytes to receive for each blob. If set - // to `0`, then no blob data will be sent. If `-1`, then all blob data will - // be sent without any limits. - BytesLimit int64 `protobuf:"varint,4,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` - // WithPaths determines whether paths of blobs should be returned. When - // set to `true`, paths are returned on a best-effort basis: a path will only - // exist if the blob was traversed via a tree. - WithPaths bool `protobuf:"varint,5,opt,name=with_paths,json=withPaths,proto3" json:"with_paths,omitempty"` -} - -func (x *ListBlobsRequest) Reset() { - *x = ListBlobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBlobsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBlobsRequest) ProtoMessage() {} - -func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBlobsRequest.ProtoReflect.Descriptor instead. -func (*ListBlobsRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{4} -} - -func (x *ListBlobsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListBlobsRequest) GetRevisions() []string { - if x != nil { - return x.Revisions - } - return nil -} - -func (x *ListBlobsRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *ListBlobsRequest) GetBytesLimit() int64 { - if x != nil { - return x.BytesLimit - } - return 0 -} - -func (x *ListBlobsRequest) GetWithPaths() bool { - if x != nil { - return x.WithPaths - } - return false -} - -// ListBlobsResponse is a response for the ListBlobs RPC. -type ListBlobsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Blobs is the blobs which have been found. In case blob contents were - // requested and contents of a blob exceed the maximum gRPC message size, - // then this blob will be split up into multiple blob messages which span - // across multiple responses. In that case, metadata of the blob will only be - // sent on the first such message for this specific blob. - Blobs []*ListBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` -} - -func (x *ListBlobsResponse) Reset() { - *x = ListBlobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBlobsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBlobsResponse) ProtoMessage() {} - -func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBlobsResponse.ProtoReflect.Descriptor instead. -func (*ListBlobsResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{5} -} - -func (x *ListBlobsResponse) GetBlobs() []*ListBlobsResponse_Blob { - if x != nil { - return x.Blobs - } - return nil -} - -// ListAllBlobsRequest is a request for the ListAllBlobs RPC. -type ListAllBlobsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which blobs should be enumerated. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Limit is the maximum number of blobs to return. If set to its default - // (`0`), then all found blobs wll be returned. - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - // BytesLimit is the maximum number of bytes to receive for each blob. If set - // to `0`, then no blob data will be sent. If `-1`, then all blob data will - // be sent without any limits. - BytesLimit int64 `protobuf:"varint,3,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` -} - -func (x *ListAllBlobsRequest) Reset() { - *x = ListAllBlobsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllBlobsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllBlobsRequest) ProtoMessage() {} - -func (x *ListAllBlobsRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllBlobsRequest.ProtoReflect.Descriptor instead. -func (*ListAllBlobsRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{6} -} - -func (x *ListAllBlobsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListAllBlobsRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *ListAllBlobsRequest) GetBytesLimit() int64 { - if x != nil { - return x.BytesLimit - } - return 0 -} - -// ListAllBlobsResponse is a response for the ListAllBlobs RPC. -type ListAllBlobsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Blobs is the blobs which have been found. In case blob contents were - // requested and contents of a blob exceed the maximum gRPC message size, - // then this blob will be split up into multiple blob messages which span - // across multiple responses. In that case, metadata of the blob will only be - // sent on the first such message for this specific blob. - Blobs []*ListAllBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` -} - -func (x *ListAllBlobsResponse) Reset() { - *x = ListAllBlobsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllBlobsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllBlobsResponse) ProtoMessage() {} - -func (x *ListAllBlobsResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllBlobsResponse.ProtoReflect.Descriptor instead. -func (*ListAllBlobsResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{7} -} - -func (x *ListAllBlobsResponse) GetBlobs() []*ListAllBlobsResponse_Blob { - if x != nil { - return x.Blobs - } - return nil -} - -// LFSPointer is a git blob which points to an LFS object. -type LFSPointer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Size is the size of the blob. This is not the size of the LFS object - // pointed to. - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // Data is the bare data of the LFS pointer blob. It contains the pointer to - // the LFS data in the format specified by the LFS project. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // Oid is the object ID of the blob. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` -} - -func (x *LFSPointer) Reset() { - *x = LFSPointer{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LFSPointer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LFSPointer) ProtoMessage() {} - -func (x *LFSPointer) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead. -func (*LFSPointer) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{8} -} - -func (x *LFSPointer) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *LFSPointer) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *LFSPointer) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -// This comment is left unintentionally blank. -type NewBlobObject struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - // This comment is left unintentionally blank. - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *NewBlobObject) Reset() { - *x = NewBlobObject{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NewBlobObject) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NewBlobObject) ProtoMessage() {} - -func (x *NewBlobObject) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NewBlobObject.ProtoReflect.Descriptor instead. -func (*NewBlobObject) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{9} -} - -func (x *NewBlobObject) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *NewBlobObject) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *NewBlobObject) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -// GetLFSPointersRequest is a request for the GetLFSPointers RPC. -type GetLFSPointersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository for which LFS pointers should be retrieved - // from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // BlobIds is the list of blobs to retrieve LFS pointers from. Must be a - // non-empty list of blobs IDs to fetch. - BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` -} - -func (x *GetLFSPointersRequest) Reset() { - *x = GetLFSPointersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetLFSPointersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLFSPointersRequest) ProtoMessage() {} - -func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead. -func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{10} -} - -func (x *GetLFSPointersRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetLFSPointersRequest) GetBlobIds() []string { - if x != nil { - return x.BlobIds - } - return nil -} - -// GetLFSPointersResponse is a response for the GetLFSPointers RPC. -type GetLFSPointersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` -} - -func (x *GetLFSPointersResponse) Reset() { - *x = GetLFSPointersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetLFSPointersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetLFSPointersResponse) ProtoMessage() {} - -func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead. -func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{11} -} - -func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if x != nil { - return x.LfsPointers - } - return nil -} - -// ListLFSPointersRequest is a request for the ListLFSPointers RPC. -type ListLFSPointersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository for which LFS pointers should be retrieved - // from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Revisions is the list of revisions to retrieve LFS pointers from. Must be - // a non-empty list. - Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` - // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *ListLFSPointersRequest) Reset() { - *x = ListLFSPointersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLFSPointersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLFSPointersRequest) ProtoMessage() {} - -func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead. -func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{12} -} - -func (x *ListLFSPointersRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListLFSPointersRequest) GetRevisions() []string { - if x != nil { - return x.Revisions - } - return nil -} - -func (x *ListLFSPointersRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -// ListLFSPointersResponse is a response for the ListLFSPointers RPC. -type ListLFSPointersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` -} - -func (x *ListLFSPointersResponse) Reset() { - *x = ListLFSPointersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLFSPointersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLFSPointersResponse) ProtoMessage() {} - -func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead. -func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{13} -} - -func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if x != nil { - return x.LfsPointers - } - return nil -} - -// ListAllLFSPointersRequest is a request for the ListAllLFSPointers RPC. -type ListAllLFSPointersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository for which LFS pointers should be retrieved - // from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *ListAllLFSPointersRequest) Reset() { - *x = ListAllLFSPointersRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllLFSPointersRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllLFSPointersRequest) ProtoMessage() {} - -func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead. -func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{14} -} - -func (x *ListAllLFSPointersRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListAllLFSPointersRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -// ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC. -type ListAllLFSPointersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` -} - -func (x *ListAllLFSPointersResponse) Reset() { - *x = ListAllLFSPointersResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllLFSPointersResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllLFSPointersResponse) ProtoMessage() {} - -func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead. -func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{15} -} - -func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if x != nil { - return x.LfsPointers - } - return nil -} - -// This comment is left unintentionally blank. -type GetBlobsRequest_RevisionPath struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *GetBlobsRequest_RevisionPath) Reset() { - *x = GetBlobsRequest_RevisionPath{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetBlobsRequest_RevisionPath) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} - -func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetBlobsRequest_RevisionPath.ProtoReflect.Descriptor instead. -func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *GetBlobsRequest_RevisionPath) GetRevision() string { - if x != nil { - return x.Revision - } - return "" -} - -func (x *GetBlobsRequest_RevisionPath) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -// Blob represents a Git blob object. -type ListBlobsResponse_Blob struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Oid is the object ID of the blob. Will only be set for the first - // message of each specific blob. - Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` - // Size is the size of the blob. Will only be set for the first message - // of each specific blob. - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // Data is the contents of the blob. This field is optional and depends on - // the BytesLimit in the original request. - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` - // Path is the path of the blob. May be unset depending on how the blob had - // been traversed. - Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *ListBlobsResponse_Blob) Reset() { - *x = ListBlobsResponse_Blob{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBlobsResponse_Blob) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBlobsResponse_Blob) ProtoMessage() {} - -func (x *ListBlobsResponse_Blob) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBlobsResponse_Blob.ProtoReflect.Descriptor instead. -func (*ListBlobsResponse_Blob) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{5, 0} -} - -func (x *ListBlobsResponse_Blob) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *ListBlobsResponse_Blob) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *ListBlobsResponse_Blob) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *ListBlobsResponse_Blob) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -// Blob represents a Git blob object. -type ListAllBlobsResponse_Blob struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Oid is the object ID of the blob. Will only be set for the first - // message of each specific blob. - Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` - // Size is the size of the blob. Will only be set for the first message - // of each specific blob. - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // Data is the contents of the blob. This field is optional and depends on - // the BytesLimit in the original request. - Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *ListAllBlobsResponse_Blob) Reset() { - *x = ListAllBlobsResponse_Blob{} - if protoimpl.UnsafeEnabled { - mi := &file_blob_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllBlobsResponse_Blob) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllBlobsResponse_Blob) ProtoMessage() {} - -func (x *ListAllBlobsResponse_Blob) ProtoReflect() protoreflect.Message { - mi := &file_blob_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllBlobsResponse_Blob.ProtoReflect.Descriptor instead. -func (*ListAllBlobsResponse_Blob) Descriptor() ([]byte, []int) { - return file_blob_proto_rawDescGZIP(), []int{7, 0} -} - -func (x *ListAllBlobsResponse_Blob) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *ListAllBlobsResponse_Blob) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *ListAllBlobsResponse_Blob) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -var File_blob_proto protoreflect.FileDescriptor - -var file_blob_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, - 0xee, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4b, 0x0a, - 0x0e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x72, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, - 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x1a, 0x3e, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, - 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, - 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc0, - 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, 0x69, 0x74, 0x68, 0x50, 0x61, 0x74, 0x68, - 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x1a, 0x54, 0x0a, - 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, - 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x91, 0x01, 0x0a, - 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x1a, 0x40, - 0x0a, 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x22, 0x46, 0x0a, 0x0a, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, - 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, - 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x4e, 0x65, 0x77, 0x42, - 0x6c, 0x6f, 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x22, 0x6c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, - 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, - 0x73, 0x22, 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, - 0x66, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x4c, - 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6b, 0x0a, - 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, - 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x32, - 0xdd, 0x04, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x44, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, - 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, - 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, - 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, - 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, - 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, - 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, - 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, - 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, - 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, - 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, - 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, - 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, - 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, - 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_blob_proto_rawDescOnce sync.Once - file_blob_proto_rawDescData = file_blob_proto_rawDesc -) - -func file_blob_proto_rawDescGZIP() []byte { - file_blob_proto_rawDescOnce.Do(func() { - file_blob_proto_rawDescData = protoimpl.X.CompressGZIP(file_blob_proto_rawDescData) - }) - return file_blob_proto_rawDescData -} - -var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 19) -var file_blob_proto_goTypes = []interface{}{ - (*GetBlobRequest)(nil), // 0: gitaly.GetBlobRequest - (*GetBlobResponse)(nil), // 1: gitaly.GetBlobResponse - (*GetBlobsRequest)(nil), // 2: gitaly.GetBlobsRequest - (*GetBlobsResponse)(nil), // 3: gitaly.GetBlobsResponse - (*ListBlobsRequest)(nil), // 4: gitaly.ListBlobsRequest - (*ListBlobsResponse)(nil), // 5: gitaly.ListBlobsResponse - (*ListAllBlobsRequest)(nil), // 6: gitaly.ListAllBlobsRequest - (*ListAllBlobsResponse)(nil), // 7: gitaly.ListAllBlobsResponse - (*LFSPointer)(nil), // 8: gitaly.LFSPointer - (*NewBlobObject)(nil), // 9: gitaly.NewBlobObject - (*GetLFSPointersRequest)(nil), // 10: gitaly.GetLFSPointersRequest - (*GetLFSPointersResponse)(nil), // 11: gitaly.GetLFSPointersResponse - (*ListLFSPointersRequest)(nil), // 12: gitaly.ListLFSPointersRequest - (*ListLFSPointersResponse)(nil), // 13: gitaly.ListLFSPointersResponse - (*ListAllLFSPointersRequest)(nil), // 14: gitaly.ListAllLFSPointersRequest - (*ListAllLFSPointersResponse)(nil), // 15: gitaly.ListAllLFSPointersResponse - (*GetBlobsRequest_RevisionPath)(nil), // 16: gitaly.GetBlobsRequest.RevisionPath - (*ListBlobsResponse_Blob)(nil), // 17: gitaly.ListBlobsResponse.Blob - (*ListAllBlobsResponse_Blob)(nil), // 18: gitaly.ListAllBlobsResponse.Blob - (*Repository)(nil), // 19: gitaly.Repository - (ObjectType)(0), // 20: gitaly.ObjectType -} -var file_blob_proto_depIdxs = []int32{ - 19, // 0: gitaly.GetBlobRequest.repository:type_name -> gitaly.Repository - 19, // 1: gitaly.GetBlobsRequest.repository:type_name -> gitaly.Repository - 16, // 2: gitaly.GetBlobsRequest.revision_paths:type_name -> gitaly.GetBlobsRequest.RevisionPath - 20, // 3: gitaly.GetBlobsResponse.type:type_name -> gitaly.ObjectType - 19, // 4: gitaly.ListBlobsRequest.repository:type_name -> gitaly.Repository - 17, // 5: gitaly.ListBlobsResponse.blobs:type_name -> gitaly.ListBlobsResponse.Blob - 19, // 6: gitaly.ListAllBlobsRequest.repository:type_name -> gitaly.Repository - 18, // 7: gitaly.ListAllBlobsResponse.blobs:type_name -> gitaly.ListAllBlobsResponse.Blob - 19, // 8: gitaly.GetLFSPointersRequest.repository:type_name -> gitaly.Repository - 8, // 9: gitaly.GetLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 19, // 10: gitaly.ListLFSPointersRequest.repository:type_name -> gitaly.Repository - 8, // 11: gitaly.ListLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 19, // 12: gitaly.ListAllLFSPointersRequest.repository:type_name -> gitaly.Repository - 8, // 13: gitaly.ListAllLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer - 0, // 14: gitaly.BlobService.GetBlob:input_type -> gitaly.GetBlobRequest - 2, // 15: gitaly.BlobService.GetBlobs:input_type -> gitaly.GetBlobsRequest - 4, // 16: gitaly.BlobService.ListBlobs:input_type -> gitaly.ListBlobsRequest - 6, // 17: gitaly.BlobService.ListAllBlobs:input_type -> gitaly.ListAllBlobsRequest - 10, // 18: gitaly.BlobService.GetLFSPointers:input_type -> gitaly.GetLFSPointersRequest - 12, // 19: gitaly.BlobService.ListLFSPointers:input_type -> gitaly.ListLFSPointersRequest - 14, // 20: gitaly.BlobService.ListAllLFSPointers:input_type -> gitaly.ListAllLFSPointersRequest - 1, // 21: gitaly.BlobService.GetBlob:output_type -> gitaly.GetBlobResponse - 3, // 22: gitaly.BlobService.GetBlobs:output_type -> gitaly.GetBlobsResponse - 5, // 23: gitaly.BlobService.ListBlobs:output_type -> gitaly.ListBlobsResponse - 7, // 24: gitaly.BlobService.ListAllBlobs:output_type -> gitaly.ListAllBlobsResponse - 11, // 25: gitaly.BlobService.GetLFSPointers:output_type -> gitaly.GetLFSPointersResponse - 13, // 26: gitaly.BlobService.ListLFSPointers:output_type -> gitaly.ListLFSPointersResponse - 15, // 27: gitaly.BlobService.ListAllLFSPointers:output_type -> gitaly.ListAllLFSPointersResponse - 21, // [21:28] is the sub-list for method output_type - 14, // [14:21] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name -} - -func init() { file_blob_proto_init() } -func file_blob_proto_init() { - if File_blob_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_blob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlobRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlobResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBlobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBlobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllBlobsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllBlobsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LFSPointer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NewBlobObject); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLFSPointersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetLFSPointersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLFSPointersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLFSPointersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllLFSPointersRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllLFSPointersResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetBlobsRequest_RevisionPath); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBlobsResponse_Blob); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_blob_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllBlobsResponse_Blob); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_blob_proto_rawDesc, - NumEnums: 0, - NumMessages: 19, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_blob_proto_goTypes, - DependencyIndexes: file_blob_proto_depIdxs, - MessageInfos: file_blob_proto_msgTypes, - }.Build() - File_blob_proto = out.File - file_blob_proto_rawDesc = nil - file_blob_proto_goTypes = nil - file_blob_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/blob_grpc.pb.go b/proto/go/gitalypb/blob_grpc.pb.go deleted file mode 100644 index 02dbd20b2..000000000 --- a/proto/go/gitalypb/blob_grpc.pb.go +++ /dev/null @@ -1,546 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// BlobServiceClient is the client API for BlobService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type BlobServiceClient interface { - // GetBlob returns the contents of a blob object referenced by its object - // ID. We use a stream to return a chunked arbitrarily large binary - // response - GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) - // This comment is left unintentionally blank. - GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) - // ListBlobs will list all blobs reachable from a given set of revisions by - // doing a graph walk. It is not valid to pass revisions which do not resolve - // to an existing object. - ListBlobs(ctx context.Context, in *ListBlobsRequest, opts ...grpc.CallOption) (BlobService_ListBlobsClient, error) - // ListAllBlobs retrieves all blobs pointers in the repository, including - // those not reachable by any reference. - ListAllBlobs(ctx context.Context, in *ListAllBlobsRequest, opts ...grpc.CallOption) (BlobService_ListAllBlobsClient, error) - // GetLFSPointers retrieves LFS pointers from a given set of object IDs. - // This RPC filters all requested objects and only returns those which refer - // to a valid LFS pointer. - GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) - // ListLFSPointers retrieves LFS pointers reachable from a given set of - // revisions by doing a graph walk. This includes both normal revisions like - // an object ID or branch, but also the pseudo-revisions "--all" and "--not" - // as documented in git-rev-parse(1). Revisions which don't directly or - // transitively reference any LFS pointers are ignored. It is not valid to - // pass revisions which do not resolve to an existing object. - ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) - // ListAllLFSPointers retrieves all LFS pointers in the repository, including - // those not reachable by any reference. - ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) -} - -type blobServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewBlobServiceClient(cc grpc.ClientConnInterface) BlobServiceClient { - return &blobServiceClient{cc} -} - -func (c *blobServiceClient) GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[0], "/gitaly.BlobService/GetBlob", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetBlobClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_GetBlobClient interface { - Recv() (*GetBlobResponse, error) - grpc.ClientStream -} - -type blobServiceGetBlobClient struct { - grpc.ClientStream -} - -func (x *blobServiceGetBlobClient) Recv() (*GetBlobResponse, error) { - m := new(GetBlobResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[1], "/gitaly.BlobService/GetBlobs", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetBlobsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_GetBlobsClient interface { - Recv() (*GetBlobsResponse, error) - grpc.ClientStream -} - -type blobServiceGetBlobsClient struct { - grpc.ClientStream -} - -func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) { - m := new(GetBlobsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) ListBlobs(ctx context.Context, in *ListBlobsRequest, opts ...grpc.CallOption) (BlobService_ListBlobsClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[2], "/gitaly.BlobService/ListBlobs", opts...) - if err != nil { - return nil, err - } - x := &blobServiceListBlobsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_ListBlobsClient interface { - Recv() (*ListBlobsResponse, error) - grpc.ClientStream -} - -type blobServiceListBlobsClient struct { - grpc.ClientStream -} - -func (x *blobServiceListBlobsClient) Recv() (*ListBlobsResponse, error) { - m := new(ListBlobsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) ListAllBlobs(ctx context.Context, in *ListAllBlobsRequest, opts ...grpc.CallOption) (BlobService_ListAllBlobsClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[3], "/gitaly.BlobService/ListAllBlobs", opts...) - if err != nil { - return nil, err - } - x := &blobServiceListAllBlobsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_ListAllBlobsClient interface { - Recv() (*ListAllBlobsResponse, error) - grpc.ClientStream -} - -type blobServiceListAllBlobsClient struct { - grpc.ClientStream -} - -func (x *blobServiceListAllBlobsClient) Recv() (*ListAllBlobsResponse, error) { - m := new(ListAllBlobsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[4], "/gitaly.BlobService/GetLFSPointers", opts...) - if err != nil { - return nil, err - } - x := &blobServiceGetLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_GetLFSPointersClient interface { - Recv() (*GetLFSPointersResponse, error) - grpc.ClientStream -} - -type blobServiceGetLFSPointersClient struct { - grpc.ClientStream -} - -func (x *blobServiceGetLFSPointersClient) Recv() (*GetLFSPointersResponse, error) { - m := new(GetLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[5], "/gitaly.BlobService/ListLFSPointers", opts...) - if err != nil { - return nil, err - } - x := &blobServiceListLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_ListLFSPointersClient interface { - Recv() (*ListLFSPointersResponse, error) - grpc.ClientStream -} - -type blobServiceListLFSPointersClient struct { - grpc.ClientStream -} - -func (x *blobServiceListLFSPointersClient) Recv() (*ListLFSPointersResponse, error) { - m := new(ListLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *blobServiceClient) ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) { - stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[6], "/gitaly.BlobService/ListAllLFSPointers", opts...) - if err != nil { - return nil, err - } - x := &blobServiceListAllLFSPointersClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type BlobService_ListAllLFSPointersClient interface { - Recv() (*ListAllLFSPointersResponse, error) - grpc.ClientStream -} - -type blobServiceListAllLFSPointersClient struct { - grpc.ClientStream -} - -func (x *blobServiceListAllLFSPointersClient) Recv() (*ListAllLFSPointersResponse, error) { - m := new(ListAllLFSPointersResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// BlobServiceServer is the server API for BlobService service. -// All implementations must embed UnimplementedBlobServiceServer -// for forward compatibility -type BlobServiceServer interface { - // GetBlob returns the contents of a blob object referenced by its object - // ID. We use a stream to return a chunked arbitrarily large binary - // response - GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error - // This comment is left unintentionally blank. - GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error - // ListBlobs will list all blobs reachable from a given set of revisions by - // doing a graph walk. It is not valid to pass revisions which do not resolve - // to an existing object. - ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error - // ListAllBlobs retrieves all blobs pointers in the repository, including - // those not reachable by any reference. - ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error - // GetLFSPointers retrieves LFS pointers from a given set of object IDs. - // This RPC filters all requested objects and only returns those which refer - // to a valid LFS pointer. - GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error - // ListLFSPointers retrieves LFS pointers reachable from a given set of - // revisions by doing a graph walk. This includes both normal revisions like - // an object ID or branch, but also the pseudo-revisions "--all" and "--not" - // as documented in git-rev-parse(1). Revisions which don't directly or - // transitively reference any LFS pointers are ignored. It is not valid to - // pass revisions which do not resolve to an existing object. - ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error - // ListAllLFSPointers retrieves all LFS pointers in the repository, including - // those not reachable by any reference. - ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error - mustEmbedUnimplementedBlobServiceServer() -} - -// UnimplementedBlobServiceServer must be embedded to have forward compatible implementations. -type UnimplementedBlobServiceServer struct { -} - -func (UnimplementedBlobServiceServer) GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error { - return status.Errorf(codes.Unimplemented, "method GetBlob not implemented") -} -func (UnimplementedBlobServiceServer) GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error { - return status.Errorf(codes.Unimplemented, "method GetBlobs not implemented") -} -func (UnimplementedBlobServiceServer) ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error { - return status.Errorf(codes.Unimplemented, "method ListBlobs not implemented") -} -func (UnimplementedBlobServiceServer) ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error { - return status.Errorf(codes.Unimplemented, "method ListAllBlobs not implemented") -} -func (UnimplementedBlobServiceServer) GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method GetLFSPointers not implemented") -} -func (UnimplementedBlobServiceServer) ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method ListLFSPointers not implemented") -} -func (UnimplementedBlobServiceServer) ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error { - return status.Errorf(codes.Unimplemented, "method ListAllLFSPointers not implemented") -} -func (UnimplementedBlobServiceServer) mustEmbedUnimplementedBlobServiceServer() {} - -// UnsafeBlobServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to BlobServiceServer will -// result in compilation errors. -type UnsafeBlobServiceServer interface { - mustEmbedUnimplementedBlobServiceServer() -} - -func RegisterBlobServiceServer(s grpc.ServiceRegistrar, srv BlobServiceServer) { - s.RegisterService(&BlobService_ServiceDesc, srv) -} - -func _BlobService_GetBlob_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetBlobRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).GetBlob(m, &blobServiceGetBlobServer{stream}) -} - -type BlobService_GetBlobServer interface { - Send(*GetBlobResponse) error - grpc.ServerStream -} - -type blobServiceGetBlobServer struct { - grpc.ServerStream -} - -func (x *blobServiceGetBlobServer) Send(m *GetBlobResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_GetBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetBlobsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).GetBlobs(m, &blobServiceGetBlobsServer{stream}) -} - -type BlobService_GetBlobsServer interface { - Send(*GetBlobsResponse) error - grpc.ServerStream -} - -type blobServiceGetBlobsServer struct { - grpc.ServerStream -} - -func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_ListBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListBlobsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).ListBlobs(m, &blobServiceListBlobsServer{stream}) -} - -type BlobService_ListBlobsServer interface { - Send(*ListBlobsResponse) error - grpc.ServerStream -} - -type blobServiceListBlobsServer struct { - grpc.ServerStream -} - -func (x *blobServiceListBlobsServer) Send(m *ListBlobsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_ListAllBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListAllBlobsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).ListAllBlobs(m, &blobServiceListAllBlobsServer{stream}) -} - -type BlobService_ListAllBlobsServer interface { - Send(*ListAllBlobsResponse) error - grpc.ServerStream -} - -type blobServiceListAllBlobsServer struct { - grpc.ServerStream -} - -func (x *blobServiceListAllBlobsServer) Send(m *ListAllBlobsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_GetLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).GetLFSPointers(m, &blobServiceGetLFSPointersServer{stream}) -} - -type BlobService_GetLFSPointersServer interface { - Send(*GetLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceGetLFSPointersServer struct { - grpc.ServerStream -} - -func (x *blobServiceGetLFSPointersServer) Send(m *GetLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_ListLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).ListLFSPointers(m, &blobServiceListLFSPointersServer{stream}) -} - -type BlobService_ListLFSPointersServer interface { - Send(*ListLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceListLFSPointersServer struct { - grpc.ServerStream -} - -func (x *blobServiceListLFSPointersServer) Send(m *ListLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _BlobService_ListAllLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListAllLFSPointersRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(BlobServiceServer).ListAllLFSPointers(m, &blobServiceListAllLFSPointersServer{stream}) -} - -type BlobService_ListAllLFSPointersServer interface { - Send(*ListAllLFSPointersResponse) error - grpc.ServerStream -} - -type blobServiceListAllLFSPointersServer struct { - grpc.ServerStream -} - -func (x *blobServiceListAllLFSPointersServer) Send(m *ListAllLFSPointersResponse) error { - return x.ServerStream.SendMsg(m) -} - -// BlobService_ServiceDesc is the grpc.ServiceDesc for BlobService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var BlobService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.BlobService", - HandlerType: (*BlobServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetBlob", - Handler: _BlobService_GetBlob_Handler, - ServerStreams: true, - }, - { - StreamName: "GetBlobs", - Handler: _BlobService_GetBlobs_Handler, - ServerStreams: true, - }, - { - StreamName: "ListBlobs", - Handler: _BlobService_ListBlobs_Handler, - ServerStreams: true, - }, - { - StreamName: "ListAllBlobs", - Handler: _BlobService_ListAllBlobs_Handler, - ServerStreams: true, - }, - { - StreamName: "GetLFSPointers", - Handler: _BlobService_GetLFSPointers_Handler, - ServerStreams: true, - }, - { - StreamName: "ListLFSPointers", - Handler: _BlobService_ListLFSPointers_Handler, - ServerStreams: true, - }, - { - StreamName: "ListAllLFSPointers", - Handler: _BlobService_ListAllLFSPointers_Handler, - ServerStreams: true, - }, - }, - Metadata: "blob.proto", -} diff --git a/proto/go/gitalypb/cleanup.pb.go b/proto/go/gitalypb/cleanup.pb.go deleted file mode 100644 index abbef370f..000000000 --- a/proto/go/gitalypb/cleanup.pb.go +++ /dev/null @@ -1,338 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: cleanup.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type ApplyBfgObjectMapStreamRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Only available on the first message - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner - // Each line in the file has two object SHAs, space-separated - the original - // SHA of the object, and the SHA after BFG has rewritten the object. - ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"` -} - -func (x *ApplyBfgObjectMapStreamRequest) Reset() { - *x = ApplyBfgObjectMapStreamRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cleanup_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyBfgObjectMapStreamRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyBfgObjectMapStreamRequest) ProtoMessage() {} - -func (x *ApplyBfgObjectMapStreamRequest) ProtoReflect() protoreflect.Message { - mi := &file_cleanup_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyBfgObjectMapStreamRequest.ProtoReflect.Descriptor instead. -func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int) { - return file_cleanup_proto_rawDescGZIP(), []int{0} -} - -func (x *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte { - if x != nil { - return x.ObjectMap - } - return nil -} - -// This comment is left unintentionally blank. -type ApplyBfgObjectMapStreamResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` -} - -func (x *ApplyBfgObjectMapStreamResponse) Reset() { - *x = ApplyBfgObjectMapStreamResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cleanup_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyBfgObjectMapStreamResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyBfgObjectMapStreamResponse) ProtoMessage() {} - -func (x *ApplyBfgObjectMapStreamResponse) ProtoReflect() protoreflect.Message { - mi := &file_cleanup_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyBfgObjectMapStreamResponse.ProtoReflect.Descriptor instead. -func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int) { - return file_cleanup_proto_rawDescGZIP(), []int{1} -} - -func (x *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry { - if x != nil { - return x.Entries - } - return nil -} - -// We send back each parsed entry in the request's object map so the client -// can take action -type ApplyBfgObjectMapStreamResponse_Entry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` - // This comment is left unintentionally blank. - OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` - // This comment is left unintentionally blank. - NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` -} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset() { - *x = ApplyBfgObjectMapStreamResponse_Entry{} - if protoimpl.UnsafeEnabled { - mi := &file_cleanup_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage() {} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect() protoreflect.Message { - mi := &file_cleanup_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyBfgObjectMapStreamResponse_Entry.ProtoReflect.Descriptor instead. -func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int) { - return file_cleanup_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType { - if x != nil { - return x.Type - } - return ObjectType_UNKNOWN -} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string { - if x != nil { - return x.OldOid - } - return "" -} - -func (x *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string { - if x != nil { - return x.NewOid - } - return "" -} - -var File_cleanup_proto protoreflect.FileDescriptor - -var file_cleanup_proto_rawDesc = []byte{ - 0x0a, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, - 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x79, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, - 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x22, 0xcd, 0x01, 0x0a, - 0x1f, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, - 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x47, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, - 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, - 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x61, 0x0a, 0x05, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, - 0x64, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, - 0x4f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x4f, 0x69, 0x64, 0x32, 0x88, 0x01, 0x0a, - 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x76, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, - 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, - 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_cleanup_proto_rawDescOnce sync.Once - file_cleanup_proto_rawDescData = file_cleanup_proto_rawDesc -) - -func file_cleanup_proto_rawDescGZIP() []byte { - file_cleanup_proto_rawDescOnce.Do(func() { - file_cleanup_proto_rawDescData = protoimpl.X.CompressGZIP(file_cleanup_proto_rawDescData) - }) - return file_cleanup_proto_rawDescData -} - -var file_cleanup_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_cleanup_proto_goTypes = []interface{}{ - (*ApplyBfgObjectMapStreamRequest)(nil), // 0: gitaly.ApplyBfgObjectMapStreamRequest - (*ApplyBfgObjectMapStreamResponse)(nil), // 1: gitaly.ApplyBfgObjectMapStreamResponse - (*ApplyBfgObjectMapStreamResponse_Entry)(nil), // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry - (*Repository)(nil), // 3: gitaly.Repository - (ObjectType)(0), // 4: gitaly.ObjectType -} -var file_cleanup_proto_depIdxs = []int32{ - 3, // 0: gitaly.ApplyBfgObjectMapStreamRequest.repository:type_name -> gitaly.Repository - 2, // 1: gitaly.ApplyBfgObjectMapStreamResponse.entries:type_name -> gitaly.ApplyBfgObjectMapStreamResponse.Entry - 4, // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry.type:type_name -> gitaly.ObjectType - 0, // 3: gitaly.CleanupService.ApplyBfgObjectMapStream:input_type -> gitaly.ApplyBfgObjectMapStreamRequest - 1, // 4: gitaly.CleanupService.ApplyBfgObjectMapStream:output_type -> gitaly.ApplyBfgObjectMapStreamResponse - 4, // [4:5] is the sub-list for method output_type - 3, // [3:4] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_cleanup_proto_init() } -func file_cleanup_proto_init() { - if File_cleanup_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_cleanup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyBfgObjectMapStreamRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cleanup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyBfgObjectMapStreamResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cleanup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyBfgObjectMapStreamResponse_Entry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cleanup_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_cleanup_proto_goTypes, - DependencyIndexes: file_cleanup_proto_depIdxs, - MessageInfos: file_cleanup_proto_msgTypes, - }.Build() - File_cleanup_proto = out.File - file_cleanup_proto_rawDesc = nil - file_cleanup_proto_goTypes = nil - file_cleanup_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/cleanup_grpc.pb.go b/proto/go/gitalypb/cleanup_grpc.pb.go deleted file mode 100644 index dce610b19..000000000 --- a/proto/go/gitalypb/cleanup_grpc.pb.go +++ /dev/null @@ -1,135 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// CleanupServiceClient is the client API for CleanupService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type CleanupServiceClient interface { - // This comment is left unintentionally blank. - ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) -} - -type cleanupServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewCleanupServiceClient(cc grpc.ClientConnInterface) CleanupServiceClient { - return &cleanupServiceClient{cc} -} - -func (c *cleanupServiceClient) ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &CleanupService_ServiceDesc.Streams[0], "/gitaly.CleanupService/ApplyBfgObjectMapStream", opts...) - if err != nil { - return nil, err - } - x := &cleanupServiceApplyBfgObjectMapStreamClient{stream} - return x, nil -} - -type CleanupService_ApplyBfgObjectMapStreamClient interface { - Send(*ApplyBfgObjectMapStreamRequest) error - Recv() (*ApplyBfgObjectMapStreamResponse, error) - grpc.ClientStream -} - -type cleanupServiceApplyBfgObjectMapStreamClient struct { - grpc.ClientStream -} - -func (x *cleanupServiceApplyBfgObjectMapStreamClient) Send(m *ApplyBfgObjectMapStreamRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *cleanupServiceApplyBfgObjectMapStreamClient) Recv() (*ApplyBfgObjectMapStreamResponse, error) { - m := new(ApplyBfgObjectMapStreamResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// CleanupServiceServer is the server API for CleanupService service. -// All implementations must embed UnimplementedCleanupServiceServer -// for forward compatibility -type CleanupServiceServer interface { - // This comment is left unintentionally blank. - ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error - mustEmbedUnimplementedCleanupServiceServer() -} - -// UnimplementedCleanupServiceServer must be embedded to have forward compatible implementations. -type UnimplementedCleanupServiceServer struct { -} - -func (UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error { - return status.Errorf(codes.Unimplemented, "method ApplyBfgObjectMapStream not implemented") -} -func (UnimplementedCleanupServiceServer) mustEmbedUnimplementedCleanupServiceServer() {} - -// UnsafeCleanupServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to CleanupServiceServer will -// result in compilation errors. -type UnsafeCleanupServiceServer interface { - mustEmbedUnimplementedCleanupServiceServer() -} - -func RegisterCleanupServiceServer(s grpc.ServiceRegistrar, srv CleanupServiceServer) { - s.RegisterService(&CleanupService_ServiceDesc, srv) -} - -func _CleanupService_ApplyBfgObjectMapStream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(CleanupServiceServer).ApplyBfgObjectMapStream(&cleanupServiceApplyBfgObjectMapStreamServer{stream}) -} - -type CleanupService_ApplyBfgObjectMapStreamServer interface { - Send(*ApplyBfgObjectMapStreamResponse) error - Recv() (*ApplyBfgObjectMapStreamRequest, error) - grpc.ServerStream -} - -type cleanupServiceApplyBfgObjectMapStreamServer struct { - grpc.ServerStream -} - -func (x *cleanupServiceApplyBfgObjectMapStreamServer) Send(m *ApplyBfgObjectMapStreamResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *cleanupServiceApplyBfgObjectMapStreamServer) Recv() (*ApplyBfgObjectMapStreamRequest, error) { - m := new(ApplyBfgObjectMapStreamRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// CleanupService_ServiceDesc is the grpc.ServiceDesc for CleanupService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var CleanupService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.CleanupService", - HandlerType: (*CleanupServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "ApplyBfgObjectMapStream", - Handler: _CleanupService_ApplyBfgObjectMapStream_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "cleanup.proto", -} diff --git a/proto/go/gitalypb/commit.pb.go b/proto/go/gitalypb/commit.pb.go deleted file mode 100644 index a2c9d0a20..000000000 --- a/proto/go/gitalypb/commit.pb.go +++ /dev/null @@ -1,5431 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: commit.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Order is the order in which commits shoud be traversed. -type ListCommitsRequest_Order int32 - -const ( - // NONE defaults to reverse chronological order. - ListCommitsRequest_NONE ListCommitsRequest_Order = 0 - // TOPO order will cause no parents to be shown before all of its children - // are shown. Furthermore, multiple lines of history will not be - // intermixed. - ListCommitsRequest_TOPO ListCommitsRequest_Order = 1 - // DATE order will cause no parents to be shown before all of its children - // are shown. Otherwise, commits are shown in commit timestamp order. This - // can cause history to be shown intermixed. - ListCommitsRequest_DATE ListCommitsRequest_Order = 2 -) - -// Enum value maps for ListCommitsRequest_Order. -var ( - ListCommitsRequest_Order_name = map[int32]string{ - 0: "NONE", - 1: "TOPO", - 2: "DATE", - } - ListCommitsRequest_Order_value = map[string]int32{ - "NONE": 0, - "TOPO": 1, - "DATE": 2, - } -) - -func (x ListCommitsRequest_Order) Enum() *ListCommitsRequest_Order { - p := new(ListCommitsRequest_Order) - *p = x - return p -} - -func (x ListCommitsRequest_Order) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ListCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[0].Descriptor() -} - -func (ListCommitsRequest_Order) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[0] -} - -func (x ListCommitsRequest_Order) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ListCommitsRequest_Order.Descriptor instead. -func (ListCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{0, 0} -} - -// TODO: Replace this enum with ObjectType in shared.proto -type TreeEntryResponse_ObjectType int32 - -const ( - // This comment is left unintentionally blank. - TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 - // This comment is left unintentionally blank. - TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 - // This comment is left unintentionally blank. - TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 - // This comment is left unintentionally blank. - TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 -) - -// Enum value maps for TreeEntryResponse_ObjectType. -var ( - TreeEntryResponse_ObjectType_name = map[int32]string{ - 0: "COMMIT", - 1: "BLOB", - 2: "TREE", - 3: "TAG", - } - TreeEntryResponse_ObjectType_value = map[string]int32{ - "COMMIT": 0, - "BLOB": 1, - "TREE": 2, - "TAG": 3, - } -) - -func (x TreeEntryResponse_ObjectType) Enum() *TreeEntryResponse_ObjectType { - p := new(TreeEntryResponse_ObjectType) - *p = x - return p -} - -func (x TreeEntryResponse_ObjectType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TreeEntryResponse_ObjectType) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[1].Descriptor() -} - -func (TreeEntryResponse_ObjectType) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[1] -} - -func (x TreeEntryResponse_ObjectType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TreeEntryResponse_ObjectType.Descriptor instead. -func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{9, 0} -} - -// TODO: Replace this enum with ObjectType in shared.proto -type TreeEntry_EntryType int32 - -const ( - // This comment is left unintentionally blank. - TreeEntry_BLOB TreeEntry_EntryType = 0 - // This comment is left unintentionally blank. - TreeEntry_TREE TreeEntry_EntryType = 1 - // This comment is left unintentionally blank. - TreeEntry_COMMIT TreeEntry_EntryType = 3 -) - -// Enum value maps for TreeEntry_EntryType. -var ( - TreeEntry_EntryType_name = map[int32]string{ - 0: "BLOB", - 1: "TREE", - 3: "COMMIT", - } - TreeEntry_EntryType_value = map[string]int32{ - "BLOB": 0, - "TREE": 1, - "COMMIT": 3, - } -) - -func (x TreeEntry_EntryType) Enum() *TreeEntry_EntryType { - p := new(TreeEntry_EntryType) - *p = x - return p -} - -func (x TreeEntry_EntryType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (TreeEntry_EntryType) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[2].Descriptor() -} - -func (TreeEntry_EntryType) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[2] -} - -func (x TreeEntry_EntryType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use TreeEntry_EntryType.Descriptor instead. -func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{14, 0} -} - -// This comment is left unintentionally blank. -type GetTreeEntriesRequest_SortBy int32 - -const ( - // This comment is left unintentionally blank. - GetTreeEntriesRequest_DEFAULT GetTreeEntriesRequest_SortBy = 0 // Preserve order of git ls-tree - // This comment is left unintentionally blank. - GetTreeEntriesRequest_TREES_FIRST GetTreeEntriesRequest_SortBy = 1 // trees, blobs, submodules -) - -// Enum value maps for GetTreeEntriesRequest_SortBy. -var ( - GetTreeEntriesRequest_SortBy_name = map[int32]string{ - 0: "DEFAULT", - 1: "TREES_FIRST", - } - GetTreeEntriesRequest_SortBy_value = map[string]int32{ - "DEFAULT": 0, - "TREES_FIRST": 1, - } -) - -func (x GetTreeEntriesRequest_SortBy) Enum() *GetTreeEntriesRequest_SortBy { - p := new(GetTreeEntriesRequest_SortBy) - *p = x - return p -} - -func (x GetTreeEntriesRequest_SortBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GetTreeEntriesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[3].Descriptor() -} - -func (GetTreeEntriesRequest_SortBy) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[3] -} - -func (x GetTreeEntriesRequest_SortBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GetTreeEntriesRequest_SortBy.Descriptor instead. -func (GetTreeEntriesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{15, 0} -} - -// This comment is left unintentionally blank. -type FindAllCommitsRequest_Order int32 - -const ( - // This comment is left unintentionally blank. - FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 - // This comment is left unintentionally blank. - FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 - // This comment is left unintentionally blank. - FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 -) - -// Enum value maps for FindAllCommitsRequest_Order. -var ( - FindAllCommitsRequest_Order_name = map[int32]string{ - 0: "NONE", - 1: "TOPO", - 2: "DATE", - } - FindAllCommitsRequest_Order_value = map[string]int32{ - "NONE": 0, - "TOPO": 1, - "DATE": 2, - } -) - -func (x FindAllCommitsRequest_Order) Enum() *FindAllCommitsRequest_Order { - p := new(FindAllCommitsRequest_Order) - *p = x - return p -} - -func (x FindAllCommitsRequest_Order) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FindAllCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[4].Descriptor() -} - -func (FindAllCommitsRequest_Order) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[4] -} - -func (x FindAllCommitsRequest_Order) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FindAllCommitsRequest_Order.Descriptor instead. -func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{25, 0} -} - -// This comment is left unintentionally blank. -type FindCommitsRequest_Order int32 - -const ( - // This comment is left unintentionally blank. - FindCommitsRequest_NONE FindCommitsRequest_Order = 0 - // This comment is left unintentionally blank. - FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 -) - -// Enum value maps for FindCommitsRequest_Order. -var ( - FindCommitsRequest_Order_name = map[int32]string{ - 0: "NONE", - 1: "TOPO", - } - FindCommitsRequest_Order_value = map[string]int32{ - "NONE": 0, - "TOPO": 1, - } -) - -func (x FindCommitsRequest_Order) Enum() *FindCommitsRequest_Order { - p := new(FindCommitsRequest_Order) - *p = x - return p -} - -func (x FindCommitsRequest_Order) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FindCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { - return file_commit_proto_enumTypes[5].Descriptor() -} - -func (FindCommitsRequest_Order) Type() protoreflect.EnumType { - return &file_commit_proto_enumTypes[5] -} - -func (x FindCommitsRequest_Order) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FindCommitsRequest_Order.Descriptor instead. -func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{27, 0} -} - -// ListCommitsRequest is a request for the ListCommits RPC. -type ListCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which commits should be searched for. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Revisions is the set of revisions which should be walked to enumerate - // commits. Accepts all notation as documented in gitrevisions(7) as well as - // the pseudo-revisions `--not` and `--all` as documented in git-rev-list(1). - // Must not be empty. - Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` - // PaginationParams allows implementation of pagination. The page token is - // the last commit OID that was sent. It's expected to be the full object ID - // to guard against ambigious OIDs. - PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` - // Order is the order in which commits should be traversed. Please refer to - // the enum's documentation for further information. - Order ListCommitsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=gitaly.ListCommitsRequest_Order" json:"order,omitempty"` - // Reverse will cause all commits to be listed in reverse. - Reverse bool `protobuf:"varint,11,opt,name=reverse,proto3" json:"reverse,omitempty"` - // MaxParents will skip all commits which have more than the specified number - // of parents. If set to `0`, no filtering by parents will happen. If set to - // `1`, all merge commits will be omitted. - MaxParents uint32 `protobuf:"varint,5,opt,name=max_parents,json=maxParents,proto3" json:"max_parents,omitempty"` - // DisableWalk will disable walking the graph. As a result, only commits - // which are immediately referenced by Revisions will be returned. - DisableWalk bool `protobuf:"varint,6,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` - // FirstParent will cause the graph walk to only go down the first-parent - // chain of commits. Merge commits will thus only cause the mainline to be - // enumerated. - FirstParent bool `protobuf:"varint,7,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` - // After will only list commits which are more recent than the specified date. - After *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=after,proto3" json:"after,omitempty"` - // After will only list commits which are older than the specified date. - Before *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=before,proto3" json:"before,omitempty"` - // Author will only list commits whose author matches the given pattern, - // which is a regular expression. - Author []byte `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"` -} - -func (x *ListCommitsRequest) Reset() { - *x = ListCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsRequest) ProtoMessage() {} - -func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead. -func (*ListCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{0} -} - -func (x *ListCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListCommitsRequest) GetRevisions() []string { - if x != nil { - return x.Revisions - } - return nil -} - -func (x *ListCommitsRequest) GetPaginationParams() *PaginationParameter { - if x != nil { - return x.PaginationParams - } - return nil -} - -func (x *ListCommitsRequest) GetOrder() ListCommitsRequest_Order { - if x != nil { - return x.Order - } - return ListCommitsRequest_NONE -} - -func (x *ListCommitsRequest) GetReverse() bool { - if x != nil { - return x.Reverse - } - return false -} - -func (x *ListCommitsRequest) GetMaxParents() uint32 { - if x != nil { - return x.MaxParents - } - return 0 -} - -func (x *ListCommitsRequest) GetDisableWalk() bool { - if x != nil { - return x.DisableWalk - } - return false -} - -func (x *ListCommitsRequest) GetFirstParent() bool { - if x != nil { - return x.FirstParent - } - return false -} - -func (x *ListCommitsRequest) GetAfter() *timestamppb.Timestamp { - if x != nil { - return x.After - } - return nil -} - -func (x *ListCommitsRequest) GetBefore() *timestamppb.Timestamp { - if x != nil { - return x.Before - } - return nil -} - -func (x *ListCommitsRequest) GetAuthor() []byte { - if x != nil { - return x.Author - } - return nil -} - -// ListCommitsResponse is a response for the ListCommits RPC. -type ListCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Commits is the list of commits found. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *ListCommitsResponse) Reset() { - *x = ListCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsResponse) ProtoMessage() {} - -func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead. -func (*ListCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{1} -} - -func (x *ListCommitsResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// ListAllCommitsRequest is a request for the ListAllCommits RPC. -type ListAllCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which commits should be searched for. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // PaginationParams allows implementation of pagination. The page token is - // the last commit OID that was sent. It's expected to be the full object ID - // to guard against ambigious OIDs. - PaginationParams *PaginationParameter `protobuf:"bytes,2,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` -} - -func (x *ListAllCommitsRequest) Reset() { - *x = ListAllCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllCommitsRequest) ProtoMessage() {} - -func (x *ListAllCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllCommitsRequest.ProtoReflect.Descriptor instead. -func (*ListAllCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{2} -} - -func (x *ListAllCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListAllCommitsRequest) GetPaginationParams() *PaginationParameter { - if x != nil { - return x.PaginationParams - } - return nil -} - -// ListAllCommitsResponse is a response for the ListAllCommits RPC. -type ListAllCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Commits is the list of commits found. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *ListAllCommitsResponse) Reset() { - *x = ListAllCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListAllCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListAllCommitsResponse) ProtoMessage() {} - -func (x *ListAllCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListAllCommitsResponse.ProtoReflect.Descriptor instead. -func (*ListAllCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{3} -} - -func (x *ListAllCommitsResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type CommitStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` -} - -func (x *CommitStatsRequest) Reset() { - *x = CommitStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitStatsRequest) ProtoMessage() {} - -func (x *CommitStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitStatsRequest.ProtoReflect.Descriptor instead. -func (*CommitStatsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{4} -} - -func (x *CommitStatsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitStatsRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -// This comment is left unintentionally blank. -type CommitStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // OID is the commit. Empty means not found - Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` - // This comment is left unintentionally blank. - Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` - // This comment is left unintentionally blank. - Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` -} - -func (x *CommitStatsResponse) Reset() { - *x = CommitStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitStatsResponse) ProtoMessage() {} - -func (x *CommitStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitStatsResponse.ProtoReflect.Descriptor instead. -func (*CommitStatsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{5} -} - -func (x *CommitStatsResponse) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *CommitStatsResponse) GetAdditions() int32 { - if x != nil { - return x.Additions - } - return 0 -} - -func (x *CommitStatsResponse) GetDeletions() int32 { - if x != nil { - return x.Deletions - } - return 0 -} - -// This comment is left unintentionally blank. -type CommitIsAncestorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` - // This comment is left unintentionally blank. - ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` -} - -func (x *CommitIsAncestorRequest) Reset() { - *x = CommitIsAncestorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitIsAncestorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitIsAncestorRequest) ProtoMessage() {} - -func (x *CommitIsAncestorRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitIsAncestorRequest.ProtoReflect.Descriptor instead. -func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{6} -} - -func (x *CommitIsAncestorRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitIsAncestorRequest) GetAncestorId() string { - if x != nil { - return x.AncestorId - } - return "" -} - -func (x *CommitIsAncestorRequest) GetChildId() string { - if x != nil { - return x.ChildId - } - return "" -} - -// This comment is left unintentionally blank. -type CommitIsAncestorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *CommitIsAncestorResponse) Reset() { - *x = CommitIsAncestorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitIsAncestorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitIsAncestorResponse) ProtoMessage() {} - -func (x *CommitIsAncestorResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitIsAncestorResponse.ProtoReflect.Descriptor instead. -func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{7} -} - -func (x *CommitIsAncestorResponse) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -// This comment is left unintentionally blank. -type TreeEntryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // commit ID or refname - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // entry path relative to repository root - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // Limit is the maximum number of bytes to fetch. If object is bigger, remaining bytes are not sent - // 0 means there is no limit. - Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` - // MaxSize is the maximum allowed object size. If bigger, a FailedPrecondition error is returned - // 0 means there is no maximum size. - MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` -} - -func (x *TreeEntryRequest) Reset() { - *x = TreeEntryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TreeEntryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TreeEntryRequest) ProtoMessage() {} - -func (x *TreeEntryRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TreeEntryRequest.ProtoReflect.Descriptor instead. -func (*TreeEntryRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{8} -} - -func (x *TreeEntryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *TreeEntryRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *TreeEntryRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *TreeEntryRequest) GetLimit() int64 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *TreeEntryRequest) GetMaxSize() int64 { - if x != nil { - return x.MaxSize - } - return 0 -} - -// This comment is left unintentionally blank. -type TreeEntryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"` - // SHA1 object ID - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - // This comment is left unintentionally blank. - Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` - // file mode - Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` - // raw object contents - Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *TreeEntryResponse) Reset() { - *x = TreeEntryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TreeEntryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TreeEntryResponse) ProtoMessage() {} - -func (x *TreeEntryResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TreeEntryResponse.ProtoReflect.Descriptor instead. -func (*TreeEntryResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{9} -} - -func (x *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { - if x != nil { - return x.Type - } - return TreeEntryResponse_COMMIT -} - -func (x *TreeEntryResponse) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *TreeEntryResponse) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *TreeEntryResponse) GetMode() int32 { - if x != nil { - return x.Mode - } - return 0 -} - -func (x *TreeEntryResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type CountCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - After *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` - // This comment is left unintentionally blank. - Before *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` - // all and revision are mutually exclusive - All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` - // This comment is left unintentionally blank. - FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` - // This comment is left unintentionally blank. - GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` -} - -func (x *CountCommitsRequest) Reset() { - *x = CountCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountCommitsRequest) ProtoMessage() {} - -func (x *CountCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountCommitsRequest.ProtoReflect.Descriptor instead. -func (*CountCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{10} -} - -func (x *CountCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CountCommitsRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *CountCommitsRequest) GetAfter() *timestamppb.Timestamp { - if x != nil { - return x.After - } - return nil -} - -func (x *CountCommitsRequest) GetBefore() *timestamppb.Timestamp { - if x != nil { - return x.Before - } - return nil -} - -func (x *CountCommitsRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *CountCommitsRequest) GetMaxCount() int32 { - if x != nil { - return x.MaxCount - } - return 0 -} - -func (x *CountCommitsRequest) GetAll() bool { - if x != nil { - return x.All - } - return false -} - -func (x *CountCommitsRequest) GetFirstParent() bool { - if x != nil { - return x.FirstParent - } - return false -} - -func (x *CountCommitsRequest) GetGlobalOptions() *GlobalOptions { - if x != nil { - return x.GlobalOptions - } - return nil -} - -// This comment is left unintentionally blank. -type CountCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` -} - -func (x *CountCommitsResponse) Reset() { - *x = CountCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountCommitsResponse) ProtoMessage() {} - -func (x *CountCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountCommitsResponse.ProtoReflect.Descriptor instead. -func (*CountCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{11} -} - -func (x *CountCommitsResponse) GetCount() int32 { - if x != nil { - return x.Count - } - return 0 -} - -// This comment is left unintentionally blank. -type CountDivergingCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - // This comment is left unintentionally blank. - To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - // This comment is left unintentionally blank. - MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` -} - -func (x *CountDivergingCommitsRequest) Reset() { - *x = CountDivergingCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountDivergingCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountDivergingCommitsRequest) ProtoMessage() {} - -func (x *CountDivergingCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountDivergingCommitsRequest.ProtoReflect.Descriptor instead. -func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{12} -} - -func (x *CountDivergingCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CountDivergingCommitsRequest) GetFrom() []byte { - if x != nil { - return x.From - } - return nil -} - -func (x *CountDivergingCommitsRequest) GetTo() []byte { - if x != nil { - return x.To - } - return nil -} - -func (x *CountDivergingCommitsRequest) GetMaxCount() int32 { - if x != nil { - return x.MaxCount - } - return 0 -} - -// This comment is left unintentionally blank. -type CountDivergingCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` - // This comment is left unintentionally blank. - RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` -} - -func (x *CountDivergingCommitsResponse) Reset() { - *x = CountDivergingCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CountDivergingCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CountDivergingCommitsResponse) ProtoMessage() {} - -func (x *CountDivergingCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CountDivergingCommitsResponse.ProtoReflect.Descriptor instead. -func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{13} -} - -func (x *CountDivergingCommitsResponse) GetLeftCount() int32 { - if x != nil { - return x.LeftCount - } - return 0 -} - -func (x *CountDivergingCommitsResponse) GetRightCount() int32 { - if x != nil { - return x.RightCount - } - return 0 -} - -// This comment is left unintentionally blank. -type TreeEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // OID of the object this tree entry points to - Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` - // OID of the tree attached to commit_oid - RootOid string `protobuf:"bytes,2,opt,name=root_oid,json=rootOid,proto3" json:"root_oid,omitempty"` - // Path relative to repository root - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"` - // File mode e.g. 0644 - Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` - // The commit object via which this entry was retrieved - CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` - // Relative path of the first subdir that doesn't have only one directory descendant - FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` -} - -func (x *TreeEntry) Reset() { - *x = TreeEntry{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *TreeEntry) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*TreeEntry) ProtoMessage() {} - -func (x *TreeEntry) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead. -func (*TreeEntry) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{14} -} - -func (x *TreeEntry) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *TreeEntry) GetRootOid() string { - if x != nil { - return x.RootOid - } - return "" -} - -func (x *TreeEntry) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *TreeEntry) GetType() TreeEntry_EntryType { - if x != nil { - return x.Type - } - return TreeEntry_BLOB -} - -func (x *TreeEntry) GetMode() int32 { - if x != nil { - return x.Mode - } - return 0 -} - -func (x *TreeEntry) GetCommitOid() string { - if x != nil { - return x.CommitOid - } - return "" -} - -func (x *TreeEntry) GetFlatPath() []byte { - if x != nil { - return x.FlatPath - } - return nil -} - -// This comment is left unintentionally blank. -type GetTreeEntriesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` - // This comment is left unintentionally blank. - Sort GetTreeEntriesRequest_SortBy `protobuf:"varint,5,opt,name=sort,proto3,enum=gitaly.GetTreeEntriesRequest_SortBy" json:"sort,omitempty"` - // The page token is the last commit OID that was sent. It's expected to be the - // full object ID to guard against ambigious OIDs. - PaginationParams *PaginationParameter `protobuf:"bytes,6,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` -} - -func (x *GetTreeEntriesRequest) Reset() { - *x = GetTreeEntriesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTreeEntriesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTreeEntriesRequest) ProtoMessage() {} - -func (x *GetTreeEntriesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTreeEntriesRequest.ProtoReflect.Descriptor instead. -func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{15} -} - -func (x *GetTreeEntriesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetTreeEntriesRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *GetTreeEntriesRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *GetTreeEntriesRequest) GetRecursive() bool { - if x != nil { - return x.Recursive - } - return false -} - -func (x *GetTreeEntriesRequest) GetSort() GetTreeEntriesRequest_SortBy { - if x != nil { - return x.Sort - } - return GetTreeEntriesRequest_DEFAULT -} - -func (x *GetTreeEntriesRequest) GetPaginationParams() *PaginationParameter { - if x != nil { - return x.PaginationParams - } - return nil -} - -// This comment is left unintentionally blank. -type GetTreeEntriesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` - // This comment is left unintentionally blank. - PaginationCursor *PaginationCursor `protobuf:"bytes,2,opt,name=pagination_cursor,json=paginationCursor,proto3" json:"pagination_cursor,omitempty"` -} - -func (x *GetTreeEntriesResponse) Reset() { - *x = GetTreeEntriesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTreeEntriesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTreeEntriesResponse) ProtoMessage() {} - -func (x *GetTreeEntriesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTreeEntriesResponse.ProtoReflect.Descriptor instead. -func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{16} -} - -func (x *GetTreeEntriesResponse) GetEntries() []*TreeEntry { - if x != nil { - return x.Entries - } - return nil -} - -func (x *GetTreeEntriesResponse) GetPaginationCursor() *PaginationCursor { - if x != nil { - return x.PaginationCursor - } - return nil -} - -// This comment is left unintentionally blank. -type ListFilesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` -} - -func (x *ListFilesRequest) Reset() { - *x = ListFilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListFilesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesRequest) ProtoMessage() {} - -func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. -func (*ListFilesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{17} -} - -func (x *ListFilesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListFilesRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -// A single 'page' of the paginated response -type ListFilesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Remember to force encoding utf-8 on the client side - Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` -} - -func (x *ListFilesResponse) Reset() { - *x = ListFilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListFilesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListFilesResponse) ProtoMessage() {} - -func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. -func (*ListFilesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{18} -} - -func (x *ListFilesResponse) GetPaths() [][]byte { - if x != nil { - return x.Paths - } - return nil -} - -// This comment is left unintentionally blank. -type FindCommitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` -} - -func (x *FindCommitRequest) Reset() { - *x = FindCommitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindCommitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindCommitRequest) ProtoMessage() {} - -func (x *FindCommitRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindCommitRequest.ProtoReflect.Descriptor instead. -func (*FindCommitRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{19} -} - -func (x *FindCommitRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindCommitRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *FindCommitRequest) GetTrailers() bool { - if x != nil { - return x.Trailers - } - return false -} - -// This comment is left unintentionally blank. -type FindCommitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // commit is nil when the commit was not found - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` -} - -func (x *FindCommitResponse) Reset() { - *x = FindCommitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindCommitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindCommitResponse) ProtoMessage() {} - -func (x *FindCommitResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindCommitResponse.ProtoReflect.Descriptor instead. -func (*FindCommitResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{20} -} - -func (x *FindCommitResponse) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -// This comment is left unintentionally blank. -type ListCommitsByOidRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED -} - -func (x *ListCommitsByOidRequest) Reset() { - *x = ListCommitsByOidRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsByOidRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsByOidRequest) ProtoMessage() {} - -func (x *ListCommitsByOidRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsByOidRequest.ProtoReflect.Descriptor instead. -func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{21} -} - -func (x *ListCommitsByOidRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListCommitsByOidRequest) GetOid() []string { - if x != nil { - return x.Oid - } - return nil -} - -// This comment is left unintentionally blank. -type ListCommitsByOidResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *ListCommitsByOidResponse) Reset() { - *x = ListCommitsByOidResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsByOidResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsByOidResponse) ProtoMessage() {} - -func (x *ListCommitsByOidResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsByOidResponse.ProtoReflect.Descriptor instead. -func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{22} -} - -func (x *ListCommitsByOidResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type ListCommitsByRefNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` -} - -func (x *ListCommitsByRefNameRequest) Reset() { - *x = ListCommitsByRefNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsByRefNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsByRefNameRequest) ProtoMessage() {} - -func (x *ListCommitsByRefNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsByRefNameRequest.ProtoReflect.Descriptor instead. -func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{23} -} - -func (x *ListCommitsByRefNameRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListCommitsByRefNameRequest) GetRefNames() [][]byte { - if x != nil { - return x.RefNames - } - return nil -} - -// This comment is left unintentionally blank. -type ListCommitsByRefNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` -} - -func (x *ListCommitsByRefNameResponse) Reset() { - *x = ListCommitsByRefNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsByRefNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsByRefNameResponse) ProtoMessage() {} - -func (x *ListCommitsByRefNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsByRefNameResponse.ProtoReflect.Descriptor instead. -func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{24} -} - -func (x *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef { - if x != nil { - return x.CommitRefs - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // When nil, return all commits reachable by any branch in the repo - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` - // This comment is left unintentionally blank. - Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` - // This comment is left unintentionally blank. - Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` -} - -func (x *FindAllCommitsRequest) Reset() { - *x = FindAllCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllCommitsRequest) ProtoMessage() {} - -func (x *FindAllCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllCommitsRequest.ProtoReflect.Descriptor instead. -func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{25} -} - -func (x *FindAllCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindAllCommitsRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *FindAllCommitsRequest) GetMaxCount() int32 { - if x != nil { - return x.MaxCount - } - return 0 -} - -func (x *FindAllCommitsRequest) GetSkip() int32 { - if x != nil { - return x.Skip - } - return 0 -} - -func (x *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { - if x != nil { - return x.Order - } - return FindAllCommitsRequest_NONE -} - -// A single 'page' of the result set -type FindAllCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *FindAllCommitsResponse) Reset() { - *x = FindAllCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllCommitsResponse) ProtoMessage() {} - -func (x *FindAllCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllCommitsResponse.ProtoReflect.Descriptor instead. -func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{26} -} - -func (x *FindAllCommitsResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type FindCommitsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - // This comment is left unintentionally blank. - Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` - // This comment is left unintentionally blank. - Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` - // This comment is left unintentionally blank. - Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"` - // This comment is left unintentionally blank. - SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"` - // This comment is left unintentionally blank. - DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` - // This comment is left unintentionally blank. - After *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` - // This comment is left unintentionally blank. - Before *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"` - // all and revision are mutually exclusive - All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` - // This comment is left unintentionally blank. - FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` - // This comment is left unintentionally blank. - Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` - // This comment is left unintentionally blank. - Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` - // This comment is left unintentionally blank. - GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - // This comment is left unintentionally blank. - Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` -} - -func (x *FindCommitsRequest) Reset() { - *x = FindCommitsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindCommitsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindCommitsRequest) ProtoMessage() {} - -func (x *FindCommitsRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindCommitsRequest.ProtoReflect.Descriptor instead. -func (*FindCommitsRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{27} -} - -func (x *FindCommitsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindCommitsRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *FindCommitsRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *FindCommitsRequest) GetOffset() int32 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *FindCommitsRequest) GetPaths() [][]byte { - if x != nil { - return x.Paths - } - return nil -} - -func (x *FindCommitsRequest) GetFollow() bool { - if x != nil { - return x.Follow - } - return false -} - -func (x *FindCommitsRequest) GetSkipMerges() bool { - if x != nil { - return x.SkipMerges - } - return false -} - -func (x *FindCommitsRequest) GetDisableWalk() bool { - if x != nil { - return x.DisableWalk - } - return false -} - -func (x *FindCommitsRequest) GetAfter() *timestamppb.Timestamp { - if x != nil { - return x.After - } - return nil -} - -func (x *FindCommitsRequest) GetBefore() *timestamppb.Timestamp { - if x != nil { - return x.Before - } - return nil -} - -func (x *FindCommitsRequest) GetAll() bool { - if x != nil { - return x.All - } - return false -} - -func (x *FindCommitsRequest) GetFirstParent() bool { - if x != nil { - return x.FirstParent - } - return false -} - -func (x *FindCommitsRequest) GetAuthor() []byte { - if x != nil { - return x.Author - } - return nil -} - -func (x *FindCommitsRequest) GetOrder() FindCommitsRequest_Order { - if x != nil { - return x.Order - } - return FindCommitsRequest_NONE -} - -func (x *FindCommitsRequest) GetGlobalOptions() *GlobalOptions { - if x != nil { - return x.GlobalOptions - } - return nil -} - -func (x *FindCommitsRequest) GetTrailers() bool { - if x != nil { - return x.Trailers - } - return false -} - -// A single 'page' of the result set -type FindCommitsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *FindCommitsResponse) Reset() { - *x = FindCommitsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindCommitsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindCommitsResponse) ProtoMessage() {} - -func (x *FindCommitsResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindCommitsResponse.ProtoReflect.Descriptor instead. -func (*FindCommitsResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{28} -} - -func (x *FindCommitsResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type CommitLanguagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` -} - -func (x *CommitLanguagesRequest) Reset() { - *x = CommitLanguagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitLanguagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitLanguagesRequest) ProtoMessage() {} - -func (x *CommitLanguagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitLanguagesRequest.ProtoReflect.Descriptor instead. -func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{29} -} - -func (x *CommitLanguagesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitLanguagesRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -// This comment is left unintentionally blank. -type CommitLanguagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` -} - -func (x *CommitLanguagesResponse) Reset() { - *x = CommitLanguagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitLanguagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitLanguagesResponse) ProtoMessage() {} - -func (x *CommitLanguagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitLanguagesResponse.ProtoReflect.Descriptor instead. -func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{30} -} - -func (x *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { - if x != nil { - return x.Languages - } - return nil -} - -// This comment is left unintentionally blank. -type RawBlameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // Comma-separated range of line numbers to perform the blame on: "1,1000". - // Optional - if no range is provided, the whole file will be blamed. - Range []byte `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` -} - -func (x *RawBlameRequest) Reset() { - *x = RawBlameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawBlameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawBlameRequest) ProtoMessage() {} - -func (x *RawBlameRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawBlameRequest.ProtoReflect.Descriptor instead. -func (*RawBlameRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{31} -} - -func (x *RawBlameRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RawBlameRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *RawBlameRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *RawBlameRequest) GetRange() []byte { - if x != nil { - return x.Range - } - return nil -} - -// This comment is left unintentionally blank. -type RawBlameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *RawBlameResponse) Reset() { - *x = RawBlameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawBlameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawBlameResponse) ProtoMessage() {} - -func (x *RawBlameResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawBlameResponse.ProtoReflect.Descriptor instead. -func (*RawBlameResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{32} -} - -func (x *RawBlameResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type LastCommitForPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - // This comment is left unintentionally blank. - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecate after Rails stops using this - // This comment is left unintentionally blank. - GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` -} - -func (x *LastCommitForPathRequest) Reset() { - *x = LastCommitForPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LastCommitForPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LastCommitForPathRequest) ProtoMessage() {} - -func (x *LastCommitForPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LastCommitForPathRequest.ProtoReflect.Descriptor instead. -func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{33} -} - -func (x *LastCommitForPathRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *LastCommitForPathRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *LastCommitForPathRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *LastCommitForPathRequest) GetLiteralPathspec() bool { - if x != nil { - return x.LiteralPathspec - } - return false -} - -func (x *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions { - if x != nil { - return x.GlobalOptions - } - return nil -} - -// This comment is left unintentionally blank. -type LastCommitForPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // commit is nil when the commit was not found - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` -} - -func (x *LastCommitForPathResponse) Reset() { - *x = LastCommitForPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LastCommitForPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LastCommitForPathResponse) ProtoMessage() {} - -func (x *LastCommitForPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LastCommitForPathResponse.ProtoReflect.Descriptor instead. -func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{34} -} - -func (x *LastCommitForPathResponse) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -// This comment is left unintentionally blank. -type ListLastCommitsForTreeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` - // This comment is left unintentionally blank. - Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` - // This comment is left unintentionally blank. - // - // Deprecated: Do not use. - LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` - // This comment is left unintentionally blank. - GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` -} - -func (x *ListLastCommitsForTreeRequest) Reset() { - *x = ListLastCommitsForTreeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLastCommitsForTreeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLastCommitsForTreeRequest) ProtoMessage() {} - -func (x *ListLastCommitsForTreeRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListLastCommitsForTreeRequest.ProtoReflect.Descriptor instead. -func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{35} -} - -func (x *ListLastCommitsForTreeRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListLastCommitsForTreeRequest) GetRevision() string { - if x != nil { - return x.Revision - } - return "" -} - -func (x *ListLastCommitsForTreeRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *ListLastCommitsForTreeRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *ListLastCommitsForTreeRequest) GetOffset() int32 { - if x != nil { - return x.Offset - } - return 0 -} - -// Deprecated: Do not use. -func (x *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool { - if x != nil { - return x.LiteralPathspec - } - return false -} - -func (x *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions { - if x != nil { - return x.GlobalOptions - } - return nil -} - -// This comment is left unintentionally blank. -type ListLastCommitsForTreeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *ListLastCommitsForTreeResponse) Reset() { - *x = ListLastCommitsForTreeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLastCommitsForTreeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLastCommitsForTreeResponse) ProtoMessage() {} - -func (x *ListLastCommitsForTreeResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListLastCommitsForTreeResponse.ProtoReflect.Descriptor instead. -func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{36} -} - -func (x *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type CommitsByMessageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` - // This comment is left unintentionally blank. - Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` - // This comment is left unintentionally blank. - GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` -} - -func (x *CommitsByMessageRequest) Reset() { - *x = CommitsByMessageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitsByMessageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitsByMessageRequest) ProtoMessage() {} - -func (x *CommitsByMessageRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitsByMessageRequest.ProtoReflect.Descriptor instead. -func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{37} -} - -func (x *CommitsByMessageRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitsByMessageRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *CommitsByMessageRequest) GetOffset() int32 { - if x != nil { - return x.Offset - } - return 0 -} - -func (x *CommitsByMessageRequest) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *CommitsByMessageRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *CommitsByMessageRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -func (x *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions { - if x != nil { - return x.GlobalOptions - } - return nil -} - -// One 'page' of the paginated response of CommitsByMessage -type CommitsByMessageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *CommitsByMessageResponse) Reset() { - *x = CommitsByMessageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitsByMessageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitsByMessageResponse) ProtoMessage() {} - -func (x *CommitsByMessageResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitsByMessageResponse.ProtoReflect.Descriptor instead. -func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{38} -} - -func (x *CommitsByMessageResponse) GetCommits() []*GitCommit { - if x != nil { - return x.Commits - } - return nil -} - -// This comment is left unintentionally blank. -type FilterShasWithSignaturesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` -} - -func (x *FilterShasWithSignaturesRequest) Reset() { - *x = FilterShasWithSignaturesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FilterShasWithSignaturesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FilterShasWithSignaturesRequest) ProtoMessage() {} - -func (x *FilterShasWithSignaturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FilterShasWithSignaturesRequest.ProtoReflect.Descriptor instead. -func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{39} -} - -func (x *FilterShasWithSignaturesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FilterShasWithSignaturesRequest) GetShas() [][]byte { - if x != nil { - return x.Shas - } - return nil -} - -// This comment is left unintentionally blank. -type FilterShasWithSignaturesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` -} - -func (x *FilterShasWithSignaturesResponse) Reset() { - *x = FilterShasWithSignaturesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FilterShasWithSignaturesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FilterShasWithSignaturesResponse) ProtoMessage() {} - -func (x *FilterShasWithSignaturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FilterShasWithSignaturesResponse.ProtoReflect.Descriptor instead. -func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{40} -} - -func (x *FilterShasWithSignaturesResponse) GetShas() [][]byte { - if x != nil { - return x.Shas - } - return nil -} - -// This comment is left unintentionally blank. -type ExtractCommitSignatureRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` -} - -func (x *ExtractCommitSignatureRequest) Reset() { - *x = ExtractCommitSignatureRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractCommitSignatureRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractCommitSignatureRequest) ProtoMessage() {} - -func (x *ExtractCommitSignatureRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtractCommitSignatureRequest.ProtoReflect.Descriptor instead. -func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{41} -} - -func (x *ExtractCommitSignatureRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ExtractCommitSignatureRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -// Either of the 'signature' and 'signed_text' fields may be present. It -// is up to the caller to stitch them together. -type ExtractCommitSignatureResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - // This comment is left unintentionally blank. - SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` -} - -func (x *ExtractCommitSignatureResponse) Reset() { - *x = ExtractCommitSignatureResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExtractCommitSignatureResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExtractCommitSignatureResponse) ProtoMessage() {} - -func (x *ExtractCommitSignatureResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExtractCommitSignatureResponse.ProtoReflect.Descriptor instead. -func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{42} -} - -func (x *ExtractCommitSignatureResponse) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *ExtractCommitSignatureResponse) GetSignedText() []byte { - if x != nil { - return x.SignedText - } - return nil -} - -// This comment is left unintentionally blank. -type GetCommitSignaturesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` -} - -func (x *GetCommitSignaturesRequest) Reset() { - *x = GetCommitSignaturesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCommitSignaturesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCommitSignaturesRequest) ProtoMessage() {} - -func (x *GetCommitSignaturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCommitSignaturesRequest.ProtoReflect.Descriptor instead. -func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{43} -} - -func (x *GetCommitSignaturesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetCommitSignaturesRequest) GetCommitIds() []string { - if x != nil { - return x.CommitIds - } - return nil -} - -// This comment is left unintentionally blank. -type GetCommitSignaturesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Only present for a new commit signature data. - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // See ExtractCommitSignatureResponse above for how these fields should be handled. - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` - // This comment is left unintentionally blank. - SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` -} - -func (x *GetCommitSignaturesResponse) Reset() { - *x = GetCommitSignaturesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCommitSignaturesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCommitSignaturesResponse) ProtoMessage() {} - -func (x *GetCommitSignaturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCommitSignaturesResponse.ProtoReflect.Descriptor instead. -func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{44} -} - -func (x *GetCommitSignaturesResponse) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *GetCommitSignaturesResponse) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *GetCommitSignaturesResponse) GetSignedText() []byte { - if x != nil { - return x.SignedText - } - return nil -} - -// This comment is left unintentionally blank. -type GetCommitMessagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` -} - -func (x *GetCommitMessagesRequest) Reset() { - *x = GetCommitMessagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCommitMessagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCommitMessagesRequest) ProtoMessage() {} - -func (x *GetCommitMessagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCommitMessagesRequest.ProtoReflect.Descriptor instead. -func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{45} -} - -func (x *GetCommitMessagesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetCommitMessagesRequest) GetCommitIds() []string { - if x != nil { - return x.CommitIds - } - return nil -} - -// This comment is left unintentionally blank. -type GetCommitMessagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Only present for a new commit message - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // This comment is left unintentionally blank. - Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` -} - -func (x *GetCommitMessagesResponse) Reset() { - *x = GetCommitMessagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetCommitMessagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetCommitMessagesResponse) ProtoMessage() {} - -func (x *GetCommitMessagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetCommitMessagesResponse.ProtoReflect.Descriptor instead. -func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{46} -} - -func (x *GetCommitMessagesResponse) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *GetCommitMessagesResponse) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -// CheckObjectsExistRequest is a request for the CheckObjectsExist RPC. Only -// the initial request must contain a repository, the repository of all -// subsequent requests will be ignored. -type CheckObjectsExistRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which existence of objects and refs - // are checked. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Revisions contains the revisions that shall be checked for existence. This accepts all revisions - // as documented in gitrevisions(7) - Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` -} - -func (x *CheckObjectsExistRequest) Reset() { - *x = CheckObjectsExistRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CheckObjectsExistRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CheckObjectsExistRequest) ProtoMessage() {} - -func (x *CheckObjectsExistRequest) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CheckObjectsExistRequest.ProtoReflect.Descriptor instead. -func (*CheckObjectsExistRequest) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{47} -} - -func (x *CheckObjectsExistRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CheckObjectsExistRequest) GetRevisions() [][]byte { - if x != nil { - return x.Revisions - } - return nil -} - -// This comment is left unintentionally blank. -type CheckObjectsExistResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Revisions []*CheckObjectsExistResponse_RevisionExistence `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` -} - -func (x *CheckObjectsExistResponse) Reset() { - *x = CheckObjectsExistResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CheckObjectsExistResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CheckObjectsExistResponse) ProtoMessage() {} - -func (x *CheckObjectsExistResponse) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CheckObjectsExistResponse.ProtoReflect.Descriptor instead. -func (*CheckObjectsExistResponse) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{48} -} - -func (x *CheckObjectsExistResponse) GetRevisions() []*CheckObjectsExistResponse_RevisionExistence { - if x != nil { - return x.Revisions - } - return nil -} - -// This comment is left unintentionally blank. -type ListCommitsByRefNameResponse_CommitForRef struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - // This comment is left unintentionally blank. - RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` -} - -func (x *ListCommitsByRefNameResponse_CommitForRef) Reset() { - *x = ListCommitsByRefNameResponse_CommitForRef{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListCommitsByRefNameResponse_CommitForRef) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage() {} - -func (x *ListCommitsByRefNameResponse_CommitForRef) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListCommitsByRefNameResponse_CommitForRef.ProtoReflect.Descriptor instead. -func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{24, 0} -} - -func (x *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -func (x *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte { - if x != nil { - return x.RefName - } - return nil -} - -// This comment is left unintentionally blank. -type CommitLanguagesResponse_Language struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` - // This comment is left unintentionally blank. - Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` - // This comment is left unintentionally blank. - FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` - // This comment is left unintentionally blank. - Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` -} - -func (x *CommitLanguagesResponse_Language) Reset() { - *x = CommitLanguagesResponse_Language{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitLanguagesResponse_Language) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitLanguagesResponse_Language) ProtoMessage() {} - -func (x *CommitLanguagesResponse_Language) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitLanguagesResponse_Language.ProtoReflect.Descriptor instead. -func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{30, 0} -} - -func (x *CommitLanguagesResponse_Language) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CommitLanguagesResponse_Language) GetShare() float32 { - if x != nil { - return x.Share - } - return 0 -} - -func (x *CommitLanguagesResponse_Language) GetColor() string { - if x != nil { - return x.Color - } - return "" -} - -func (x *CommitLanguagesResponse_Language) GetFileCount() uint32 { - if x != nil { - return x.FileCount - } - return 0 -} - -func (x *CommitLanguagesResponse_Language) GetBytes() uint64 { - if x != nil { - return x.Bytes - } - return 0 -} - -// This comment is left unintentionally blank. -type ListLastCommitsForTreeResponse_CommitForTree struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` - // This comment is left unintentionally blank. - PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` -} - -func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset() { - *x = ListLastCommitsForTreeResponse_CommitForTree{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListLastCommitsForTreeResponse_CommitForTree) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} - -func (x *ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListLastCommitsForTreeResponse_CommitForTree.ProtoReflect.Descriptor instead. -func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{36, 0} -} - -func (x *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -func (x *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { - if x != nil { - return x.PathBytes - } - return nil -} - -// This comment is left unintentionally blank. -type CheckObjectsExistResponse_RevisionExistence struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` -} - -func (x *CheckObjectsExistResponse_RevisionExistence) Reset() { - *x = CheckObjectsExistResponse_RevisionExistence{} - if protoimpl.UnsafeEnabled { - mi := &file_commit_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CheckObjectsExistResponse_RevisionExistence) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CheckObjectsExistResponse_RevisionExistence) ProtoMessage() {} - -func (x *CheckObjectsExistResponse_RevisionExistence) ProtoReflect() protoreflect.Message { - mi := &file_commit_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CheckObjectsExistResponse_RevisionExistence.ProtoReflect.Descriptor instead. -func (*CheckObjectsExistResponse_RevisionExistence) Descriptor() ([]byte, []int) { - return file_commit_proto_rawDescGZIP(), []int{48, 0} -} - -func (x *CheckObjectsExistResponse_RevisionExistence) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *CheckObjectsExistResponse_RevisionExistence) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -var File_commit_proto protoreflect.FileDescriptor - -var file_commit_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x94, 0x04, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x6f, 0x72, - 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, - 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x61, 0x6c, 0x6b, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x61, 0x6c, 0x6b, - 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, - 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x22, 0x25, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, - 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x12, 0x08, - 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x22, 0x42, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, - 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4c, 0x69, - 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x22, 0x6a, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, - 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, - 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x69, - 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x69, - 0x6c, 0x64, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, - 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x65, 0x65, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6d, - 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, - 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x65, 0x65, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, - 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, 0x12, 0x08, - 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, - 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x03, 0x22, 0xf5, 0x02, 0x0a, 0x13, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, - 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, - 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, - 0x6c, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x2c, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x22, 0xab, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, - 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, - 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, - 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, - 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, - 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, - 0x5f, 0x0a, 0x1d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, - 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x22, 0xfa, 0x01, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6f, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, - 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, - 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4f, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x6c, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, - 0x22, 0x2b, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, - 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, 0x10, - 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x22, 0xcb, 0x02, - 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, - 0x38, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, - 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, - 0x74, 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, - 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, - 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, - 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x0b, 0x0a, - 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x52, - 0x45, 0x45, 0x53, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x01, 0x22, 0x8c, 0x01, 0x0a, 0x16, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, - 0x69, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x68, 0x0a, 0x10, 0x4c, 0x69, - 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, - 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, - 0x85, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x74, - 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, - 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x3f, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, - 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x65, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, - 0x47, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, - 0x4f, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, - 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x74, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xce, - 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, - 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x52, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, - 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x66, 0x73, 0x1a, 0x54, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, - 0x52, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x19, - 0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, - 0x80, 0x02, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, - 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x25, 0x0a, 0x05, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, - 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, - 0x10, 0x02, 0x22, 0x45, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0xec, 0x04, 0x0a, 0x12, 0x46, 0x69, - 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, - 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x05, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, - 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, - 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, - 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x6b, 0x69, 0x70, 0x4d, 0x65, 0x72, - 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, - 0x61, 0x6c, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, - 0x6c, 0x65, 0x57, 0x61, 0x6c, 0x6b, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, - 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x61, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x21, - 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x05, 0x6f, 0x72, 0x64, - 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, - 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x52, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x1b, 0x0a, 0x05, 0x4f, - 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, - 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x22, 0x42, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x6e, 0x0a, 0x16, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xe2, 0x01, 0x0a, - 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x61, 0x6e, - 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, - 0x1a, 0x7f, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, - 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, - 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, - 0x73, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, - 0x14, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, - 0x72, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xed, 0x01, - 0x0a, 0x18, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, - 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, - 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, - 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, - 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, - 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x46, 0x0a, - 0x19, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, - 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0xa4, 0x02, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, - 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, - 0x2d, 0x0a, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, - 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x6c, - 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, - 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd7, 0x01, 0x0a, - 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x4e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, - 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, - 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x1a, - 0x65, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, - 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x70, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, - 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x85, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, - 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, - 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x47, - 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x1f, 0x46, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, 0x22, 0x36, 0x0a, 0x20, 0x46, 0x69, 0x6c, 0x74, - 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x68, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, - 0x22, 0x76, 0x0a, 0x1d, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x72, - 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, - 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x75, 0x0a, 0x1a, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, - 0x22, 0x79, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, - 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, - 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x73, 0x0a, 0x18, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, - 0x22, 0x52, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, - 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x22, 0x72, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x19, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, - 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x32, 0xf1, 0x10, 0x0a, 0x0d, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0b, - 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, - 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, - 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, - 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, - 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4a, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, - 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x6c, 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x74, - 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, - 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, - 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, - 0x12, 0x4a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, - 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4e, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x59, 0x0a, 0x0e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x12, 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x12, 0x17, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x11, 0x4c, - 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x61, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x71, 0x0a, - 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, - 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, - 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, - 0x42, 0x79, 0x4f, 0x69, 0x64, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, - 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, - 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, - 0x79, 0x0a, 0x18, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, - 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, - 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, - 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, - 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, - 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_commit_proto_rawDescOnce sync.Once - file_commit_proto_rawDescData = file_commit_proto_rawDesc -) - -func file_commit_proto_rawDescGZIP() []byte { - file_commit_proto_rawDescOnce.Do(func() { - file_commit_proto_rawDescData = protoimpl.X.CompressGZIP(file_commit_proto_rawDescData) - }) - return file_commit_proto_rawDescData -} - -var file_commit_proto_enumTypes = make([]protoimpl.EnumInfo, 6) -var file_commit_proto_msgTypes = make([]protoimpl.MessageInfo, 53) -var file_commit_proto_goTypes = []interface{}{ - (ListCommitsRequest_Order)(0), // 0: gitaly.ListCommitsRequest.Order - (TreeEntryResponse_ObjectType)(0), // 1: gitaly.TreeEntryResponse.ObjectType - (TreeEntry_EntryType)(0), // 2: gitaly.TreeEntry.EntryType - (GetTreeEntriesRequest_SortBy)(0), // 3: gitaly.GetTreeEntriesRequest.SortBy - (FindAllCommitsRequest_Order)(0), // 4: gitaly.FindAllCommitsRequest.Order - (FindCommitsRequest_Order)(0), // 5: gitaly.FindCommitsRequest.Order - (*ListCommitsRequest)(nil), // 6: gitaly.ListCommitsRequest - (*ListCommitsResponse)(nil), // 7: gitaly.ListCommitsResponse - (*ListAllCommitsRequest)(nil), // 8: gitaly.ListAllCommitsRequest - (*ListAllCommitsResponse)(nil), // 9: gitaly.ListAllCommitsResponse - (*CommitStatsRequest)(nil), // 10: gitaly.CommitStatsRequest - (*CommitStatsResponse)(nil), // 11: gitaly.CommitStatsResponse - (*CommitIsAncestorRequest)(nil), // 12: gitaly.CommitIsAncestorRequest - (*CommitIsAncestorResponse)(nil), // 13: gitaly.CommitIsAncestorResponse - (*TreeEntryRequest)(nil), // 14: gitaly.TreeEntryRequest - (*TreeEntryResponse)(nil), // 15: gitaly.TreeEntryResponse - (*CountCommitsRequest)(nil), // 16: gitaly.CountCommitsRequest - (*CountCommitsResponse)(nil), // 17: gitaly.CountCommitsResponse - (*CountDivergingCommitsRequest)(nil), // 18: gitaly.CountDivergingCommitsRequest - (*CountDivergingCommitsResponse)(nil), // 19: gitaly.CountDivergingCommitsResponse - (*TreeEntry)(nil), // 20: gitaly.TreeEntry - (*GetTreeEntriesRequest)(nil), // 21: gitaly.GetTreeEntriesRequest - (*GetTreeEntriesResponse)(nil), // 22: gitaly.GetTreeEntriesResponse - (*ListFilesRequest)(nil), // 23: gitaly.ListFilesRequest - (*ListFilesResponse)(nil), // 24: gitaly.ListFilesResponse - (*FindCommitRequest)(nil), // 25: gitaly.FindCommitRequest - (*FindCommitResponse)(nil), // 26: gitaly.FindCommitResponse - (*ListCommitsByOidRequest)(nil), // 27: gitaly.ListCommitsByOidRequest - (*ListCommitsByOidResponse)(nil), // 28: gitaly.ListCommitsByOidResponse - (*ListCommitsByRefNameRequest)(nil), // 29: gitaly.ListCommitsByRefNameRequest - (*ListCommitsByRefNameResponse)(nil), // 30: gitaly.ListCommitsByRefNameResponse - (*FindAllCommitsRequest)(nil), // 31: gitaly.FindAllCommitsRequest - (*FindAllCommitsResponse)(nil), // 32: gitaly.FindAllCommitsResponse - (*FindCommitsRequest)(nil), // 33: gitaly.FindCommitsRequest - (*FindCommitsResponse)(nil), // 34: gitaly.FindCommitsResponse - (*CommitLanguagesRequest)(nil), // 35: gitaly.CommitLanguagesRequest - (*CommitLanguagesResponse)(nil), // 36: gitaly.CommitLanguagesResponse - (*RawBlameRequest)(nil), // 37: gitaly.RawBlameRequest - (*RawBlameResponse)(nil), // 38: gitaly.RawBlameResponse - (*LastCommitForPathRequest)(nil), // 39: gitaly.LastCommitForPathRequest - (*LastCommitForPathResponse)(nil), // 40: gitaly.LastCommitForPathResponse - (*ListLastCommitsForTreeRequest)(nil), // 41: gitaly.ListLastCommitsForTreeRequest - (*ListLastCommitsForTreeResponse)(nil), // 42: gitaly.ListLastCommitsForTreeResponse - (*CommitsByMessageRequest)(nil), // 43: gitaly.CommitsByMessageRequest - (*CommitsByMessageResponse)(nil), // 44: gitaly.CommitsByMessageResponse - (*FilterShasWithSignaturesRequest)(nil), // 45: gitaly.FilterShasWithSignaturesRequest - (*FilterShasWithSignaturesResponse)(nil), // 46: gitaly.FilterShasWithSignaturesResponse - (*ExtractCommitSignatureRequest)(nil), // 47: gitaly.ExtractCommitSignatureRequest - (*ExtractCommitSignatureResponse)(nil), // 48: gitaly.ExtractCommitSignatureResponse - (*GetCommitSignaturesRequest)(nil), // 49: gitaly.GetCommitSignaturesRequest - (*GetCommitSignaturesResponse)(nil), // 50: gitaly.GetCommitSignaturesResponse - (*GetCommitMessagesRequest)(nil), // 51: gitaly.GetCommitMessagesRequest - (*GetCommitMessagesResponse)(nil), // 52: gitaly.GetCommitMessagesResponse - (*CheckObjectsExistRequest)(nil), // 53: gitaly.CheckObjectsExistRequest - (*CheckObjectsExistResponse)(nil), // 54: gitaly.CheckObjectsExistResponse - (*ListCommitsByRefNameResponse_CommitForRef)(nil), // 55: gitaly.ListCommitsByRefNameResponse.CommitForRef - (*CommitLanguagesResponse_Language)(nil), // 56: gitaly.CommitLanguagesResponse.Language - (*ListLastCommitsForTreeResponse_CommitForTree)(nil), // 57: gitaly.ListLastCommitsForTreeResponse.CommitForTree - (*CheckObjectsExistResponse_RevisionExistence)(nil), // 58: gitaly.CheckObjectsExistResponse.RevisionExistence - (*Repository)(nil), // 59: gitaly.Repository - (*PaginationParameter)(nil), // 60: gitaly.PaginationParameter - (*timestamppb.Timestamp)(nil), // 61: google.protobuf.Timestamp - (*GitCommit)(nil), // 62: gitaly.GitCommit - (*GlobalOptions)(nil), // 63: gitaly.GlobalOptions - (*PaginationCursor)(nil), // 64: gitaly.PaginationCursor -} -var file_commit_proto_depIdxs = []int32{ - 59, // 0: gitaly.ListCommitsRequest.repository:type_name -> gitaly.Repository - 60, // 1: gitaly.ListCommitsRequest.pagination_params:type_name -> gitaly.PaginationParameter - 0, // 2: gitaly.ListCommitsRequest.order:type_name -> gitaly.ListCommitsRequest.Order - 61, // 3: gitaly.ListCommitsRequest.after:type_name -> google.protobuf.Timestamp - 61, // 4: gitaly.ListCommitsRequest.before:type_name -> google.protobuf.Timestamp - 62, // 5: gitaly.ListCommitsResponse.commits:type_name -> gitaly.GitCommit - 59, // 6: gitaly.ListAllCommitsRequest.repository:type_name -> gitaly.Repository - 60, // 7: gitaly.ListAllCommitsRequest.pagination_params:type_name -> gitaly.PaginationParameter - 62, // 8: gitaly.ListAllCommitsResponse.commits:type_name -> gitaly.GitCommit - 59, // 9: gitaly.CommitStatsRequest.repository:type_name -> gitaly.Repository - 59, // 10: gitaly.CommitIsAncestorRequest.repository:type_name -> gitaly.Repository - 59, // 11: gitaly.TreeEntryRequest.repository:type_name -> gitaly.Repository - 1, // 12: gitaly.TreeEntryResponse.type:type_name -> gitaly.TreeEntryResponse.ObjectType - 59, // 13: gitaly.CountCommitsRequest.repository:type_name -> gitaly.Repository - 61, // 14: gitaly.CountCommitsRequest.after:type_name -> google.protobuf.Timestamp - 61, // 15: gitaly.CountCommitsRequest.before:type_name -> google.protobuf.Timestamp - 63, // 16: gitaly.CountCommitsRequest.global_options:type_name -> gitaly.GlobalOptions - 59, // 17: gitaly.CountDivergingCommitsRequest.repository:type_name -> gitaly.Repository - 2, // 18: gitaly.TreeEntry.type:type_name -> gitaly.TreeEntry.EntryType - 59, // 19: gitaly.GetTreeEntriesRequest.repository:type_name -> gitaly.Repository - 3, // 20: gitaly.GetTreeEntriesRequest.sort:type_name -> gitaly.GetTreeEntriesRequest.SortBy - 60, // 21: gitaly.GetTreeEntriesRequest.pagination_params:type_name -> gitaly.PaginationParameter - 20, // 22: gitaly.GetTreeEntriesResponse.entries:type_name -> gitaly.TreeEntry - 64, // 23: gitaly.GetTreeEntriesResponse.pagination_cursor:type_name -> gitaly.PaginationCursor - 59, // 24: gitaly.ListFilesRequest.repository:type_name -> gitaly.Repository - 59, // 25: gitaly.FindCommitRequest.repository:type_name -> gitaly.Repository - 62, // 26: gitaly.FindCommitResponse.commit:type_name -> gitaly.GitCommit - 59, // 27: gitaly.ListCommitsByOidRequest.repository:type_name -> gitaly.Repository - 62, // 28: gitaly.ListCommitsByOidResponse.commits:type_name -> gitaly.GitCommit - 59, // 29: gitaly.ListCommitsByRefNameRequest.repository:type_name -> gitaly.Repository - 55, // 30: gitaly.ListCommitsByRefNameResponse.commit_refs:type_name -> gitaly.ListCommitsByRefNameResponse.CommitForRef - 59, // 31: gitaly.FindAllCommitsRequest.repository:type_name -> gitaly.Repository - 4, // 32: gitaly.FindAllCommitsRequest.order:type_name -> gitaly.FindAllCommitsRequest.Order - 62, // 33: gitaly.FindAllCommitsResponse.commits:type_name -> gitaly.GitCommit - 59, // 34: gitaly.FindCommitsRequest.repository:type_name -> gitaly.Repository - 61, // 35: gitaly.FindCommitsRequest.after:type_name -> google.protobuf.Timestamp - 61, // 36: gitaly.FindCommitsRequest.before:type_name -> google.protobuf.Timestamp - 5, // 37: gitaly.FindCommitsRequest.order:type_name -> gitaly.FindCommitsRequest.Order - 63, // 38: gitaly.FindCommitsRequest.global_options:type_name -> gitaly.GlobalOptions - 62, // 39: gitaly.FindCommitsResponse.commits:type_name -> gitaly.GitCommit - 59, // 40: gitaly.CommitLanguagesRequest.repository:type_name -> gitaly.Repository - 56, // 41: gitaly.CommitLanguagesResponse.languages:type_name -> gitaly.CommitLanguagesResponse.Language - 59, // 42: gitaly.RawBlameRequest.repository:type_name -> gitaly.Repository - 59, // 43: gitaly.LastCommitForPathRequest.repository:type_name -> gitaly.Repository - 63, // 44: gitaly.LastCommitForPathRequest.global_options:type_name -> gitaly.GlobalOptions - 62, // 45: gitaly.LastCommitForPathResponse.commit:type_name -> gitaly.GitCommit - 59, // 46: gitaly.ListLastCommitsForTreeRequest.repository:type_name -> gitaly.Repository - 63, // 47: gitaly.ListLastCommitsForTreeRequest.global_options:type_name -> gitaly.GlobalOptions - 57, // 48: gitaly.ListLastCommitsForTreeResponse.commits:type_name -> gitaly.ListLastCommitsForTreeResponse.CommitForTree - 59, // 49: gitaly.CommitsByMessageRequest.repository:type_name -> gitaly.Repository - 63, // 50: gitaly.CommitsByMessageRequest.global_options:type_name -> gitaly.GlobalOptions - 62, // 51: gitaly.CommitsByMessageResponse.commits:type_name -> gitaly.GitCommit - 59, // 52: gitaly.FilterShasWithSignaturesRequest.repository:type_name -> gitaly.Repository - 59, // 53: gitaly.ExtractCommitSignatureRequest.repository:type_name -> gitaly.Repository - 59, // 54: gitaly.GetCommitSignaturesRequest.repository:type_name -> gitaly.Repository - 59, // 55: gitaly.GetCommitMessagesRequest.repository:type_name -> gitaly.Repository - 59, // 56: gitaly.CheckObjectsExistRequest.repository:type_name -> gitaly.Repository - 58, // 57: gitaly.CheckObjectsExistResponse.revisions:type_name -> gitaly.CheckObjectsExistResponse.RevisionExistence - 62, // 58: gitaly.ListCommitsByRefNameResponse.CommitForRef.commit:type_name -> gitaly.GitCommit - 62, // 59: gitaly.ListLastCommitsForTreeResponse.CommitForTree.commit:type_name -> gitaly.GitCommit - 6, // 60: gitaly.CommitService.ListCommits:input_type -> gitaly.ListCommitsRequest - 8, // 61: gitaly.CommitService.ListAllCommits:input_type -> gitaly.ListAllCommitsRequest - 12, // 62: gitaly.CommitService.CommitIsAncestor:input_type -> gitaly.CommitIsAncestorRequest - 14, // 63: gitaly.CommitService.TreeEntry:input_type -> gitaly.TreeEntryRequest - 16, // 64: gitaly.CommitService.CountCommits:input_type -> gitaly.CountCommitsRequest - 18, // 65: gitaly.CommitService.CountDivergingCommits:input_type -> gitaly.CountDivergingCommitsRequest - 21, // 66: gitaly.CommitService.GetTreeEntries:input_type -> gitaly.GetTreeEntriesRequest - 23, // 67: gitaly.CommitService.ListFiles:input_type -> gitaly.ListFilesRequest - 25, // 68: gitaly.CommitService.FindCommit:input_type -> gitaly.FindCommitRequest - 10, // 69: gitaly.CommitService.CommitStats:input_type -> gitaly.CommitStatsRequest - 31, // 70: gitaly.CommitService.FindAllCommits:input_type -> gitaly.FindAllCommitsRequest - 33, // 71: gitaly.CommitService.FindCommits:input_type -> gitaly.FindCommitsRequest - 35, // 72: gitaly.CommitService.CommitLanguages:input_type -> gitaly.CommitLanguagesRequest - 37, // 73: gitaly.CommitService.RawBlame:input_type -> gitaly.RawBlameRequest - 39, // 74: gitaly.CommitService.LastCommitForPath:input_type -> gitaly.LastCommitForPathRequest - 41, // 75: gitaly.CommitService.ListLastCommitsForTree:input_type -> gitaly.ListLastCommitsForTreeRequest - 43, // 76: gitaly.CommitService.CommitsByMessage:input_type -> gitaly.CommitsByMessageRequest - 27, // 77: gitaly.CommitService.ListCommitsByOid:input_type -> gitaly.ListCommitsByOidRequest - 29, // 78: gitaly.CommitService.ListCommitsByRefName:input_type -> gitaly.ListCommitsByRefNameRequest - 45, // 79: gitaly.CommitService.FilterShasWithSignatures:input_type -> gitaly.FilterShasWithSignaturesRequest - 49, // 80: gitaly.CommitService.GetCommitSignatures:input_type -> gitaly.GetCommitSignaturesRequest - 51, // 81: gitaly.CommitService.GetCommitMessages:input_type -> gitaly.GetCommitMessagesRequest - 53, // 82: gitaly.CommitService.CheckObjectsExist:input_type -> gitaly.CheckObjectsExistRequest - 7, // 83: gitaly.CommitService.ListCommits:output_type -> gitaly.ListCommitsResponse - 9, // 84: gitaly.CommitService.ListAllCommits:output_type -> gitaly.ListAllCommitsResponse - 13, // 85: gitaly.CommitService.CommitIsAncestor:output_type -> gitaly.CommitIsAncestorResponse - 15, // 86: gitaly.CommitService.TreeEntry:output_type -> gitaly.TreeEntryResponse - 17, // 87: gitaly.CommitService.CountCommits:output_type -> gitaly.CountCommitsResponse - 19, // 88: gitaly.CommitService.CountDivergingCommits:output_type -> gitaly.CountDivergingCommitsResponse - 22, // 89: gitaly.CommitService.GetTreeEntries:output_type -> gitaly.GetTreeEntriesResponse - 24, // 90: gitaly.CommitService.ListFiles:output_type -> gitaly.ListFilesResponse - 26, // 91: gitaly.CommitService.FindCommit:output_type -> gitaly.FindCommitResponse - 11, // 92: gitaly.CommitService.CommitStats:output_type -> gitaly.CommitStatsResponse - 32, // 93: gitaly.CommitService.FindAllCommits:output_type -> gitaly.FindAllCommitsResponse - 34, // 94: gitaly.CommitService.FindCommits:output_type -> gitaly.FindCommitsResponse - 36, // 95: gitaly.CommitService.CommitLanguages:output_type -> gitaly.CommitLanguagesResponse - 38, // 96: gitaly.CommitService.RawBlame:output_type -> gitaly.RawBlameResponse - 40, // 97: gitaly.CommitService.LastCommitForPath:output_type -> gitaly.LastCommitForPathResponse - 42, // 98: gitaly.CommitService.ListLastCommitsForTree:output_type -> gitaly.ListLastCommitsForTreeResponse - 44, // 99: gitaly.CommitService.CommitsByMessage:output_type -> gitaly.CommitsByMessageResponse - 28, // 100: gitaly.CommitService.ListCommitsByOid:output_type -> gitaly.ListCommitsByOidResponse - 30, // 101: gitaly.CommitService.ListCommitsByRefName:output_type -> gitaly.ListCommitsByRefNameResponse - 46, // 102: gitaly.CommitService.FilterShasWithSignatures:output_type -> gitaly.FilterShasWithSignaturesResponse - 50, // 103: gitaly.CommitService.GetCommitSignatures:output_type -> gitaly.GetCommitSignaturesResponse - 52, // 104: gitaly.CommitService.GetCommitMessages:output_type -> gitaly.GetCommitMessagesResponse - 54, // 105: gitaly.CommitService.CheckObjectsExist:output_type -> gitaly.CheckObjectsExistResponse - 83, // [83:106] is the sub-list for method output_type - 60, // [60:83] is the sub-list for method input_type - 60, // [60:60] is the sub-list for extension type_name - 60, // [60:60] is the sub-list for extension extendee - 0, // [0:60] is the sub-list for field type_name -} - -func init() { file_commit_proto_init() } -func file_commit_proto_init() { - if File_commit_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_commit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListAllCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitIsAncestorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitIsAncestorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TreeEntryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TreeEntryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountDivergingCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CountDivergingCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TreeEntry); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTreeEntriesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTreeEntriesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListFilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindCommitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindCommitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsByOidRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsByOidResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsByRefNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsByRefNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindCommitsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindCommitsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitLanguagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitLanguagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawBlameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawBlameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LastCommitForPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LastCommitForPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLastCommitsForTreeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLastCommitsForTreeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitsByMessageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitsByMessageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterShasWithSignaturesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FilterShasWithSignaturesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractCommitSignatureRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExtractCommitSignatureResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCommitSignaturesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCommitSignaturesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCommitMessagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetCommitMessagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckObjectsExistRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckObjectsExistResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListCommitsByRefNameResponse_CommitForRef); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitLanguagesResponse_Language); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListLastCommitsForTreeResponse_CommitForTree); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_commit_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CheckObjectsExistResponse_RevisionExistence); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_commit_proto_rawDesc, - NumEnums: 6, - NumMessages: 53, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_commit_proto_goTypes, - DependencyIndexes: file_commit_proto_depIdxs, - EnumInfos: file_commit_proto_enumTypes, - MessageInfos: file_commit_proto_msgTypes, - }.Build() - File_commit_proto = out.File - file_commit_proto_rawDesc = nil - file_commit_proto_goTypes = nil - file_commit_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/commit_grpc.pb.go b/proto/go/gitalypb/commit_grpc.pb.go deleted file mode 100644 index 54ce4ad3f..000000000 --- a/proto/go/gitalypb/commit_grpc.pb.go +++ /dev/null @@ -1,1394 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// CommitServiceClient is the client API for CommitService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type CommitServiceClient interface { - // ListCommits lists all commits reachable via a set of references by doing a - // graph walk. This deprecates FindAllCommits and FindCommits (except Follow - // is not yet supported). Any unknown revisions will cause the RPC to fail. - ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (CommitService_ListCommitsClient, error) - // ListAllCommits lists all commits present in the repository, including - // those not reachable by any reference. - ListAllCommits(ctx context.Context, in *ListAllCommitsRequest, opts ...grpc.CallOption) (CommitService_ListAllCommitsClient, error) - // This comment is left unintentionally blank. - CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) - // This comment is left unintentionally blank. - TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) - // This comment is left unintentionally blank. - CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) - // This comment is left unintentionally blank. - CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) - // This comment is left unintentionally blank. - GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) - // This comment is left unintentionally blank. - ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) - // This comment is left unintentionally blank. - FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) - // This comment is left unintentionally blank. - CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) - // Use a stream to paginate the result set - FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) - // This comment is left unintentionally blank. - FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) - // This comment is left unintentionally blank. - CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) - // This comment is left unintentionally blank. - RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) - // This comment is left unintentionally blank. - LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) - // This comment is left unintentionally blank. - ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) - // This comment is left unintentionally blank. - CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) - // This comment is left unintentionally blank. - ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) - // This comment is left unintentionally blank. - ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) - // This comment is left unintentionally blank. - FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) - // This comment is left unintentionally blank. - GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) - // This comment is left unintentionally blank. - GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) - // CheckObjectsExist will check for the existence of revisions against a - // repository. It returns two sets of data. An array containing the revisions - // fromm the input that it found on the repository, and an array that contains all - // revisions from the input it did not find on the repository. - CheckObjectsExist(ctx context.Context, opts ...grpc.CallOption) (CommitService_CheckObjectsExistClient, error) -} - -type commitServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewCommitServiceClient(cc grpc.ClientConnInterface) CommitServiceClient { - return &commitServiceClient{cc} -} - -func (c *commitServiceClient) ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (CommitService_ListCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[0], "/gitaly.CommitService/ListCommits", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListCommitsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListCommitsClient interface { - Recv() (*ListCommitsResponse, error) - grpc.ClientStream -} - -type commitServiceListCommitsClient struct { - grpc.ClientStream -} - -func (x *commitServiceListCommitsClient) Recv() (*ListCommitsResponse, error) { - m := new(ListCommitsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) ListAllCommits(ctx context.Context, in *ListAllCommitsRequest, opts ...grpc.CallOption) (CommitService_ListAllCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[1], "/gitaly.CommitService/ListAllCommits", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListAllCommitsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListAllCommitsClient interface { - Recv() (*ListAllCommitsResponse, error) - grpc.ClientStream -} - -type commitServiceListAllCommitsClient struct { - grpc.ClientStream -} - -func (x *commitServiceListAllCommitsClient) Recv() (*ListAllCommitsResponse, error) { - m := new(ListAllCommitsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) { - out := new(CommitIsAncestorResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitIsAncestor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[2], "/gitaly.CommitService/TreeEntry", opts...) - if err != nil { - return nil, err - } - x := &commitServiceTreeEntryClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_TreeEntryClient interface { - Recv() (*TreeEntryResponse, error) - grpc.ClientStream -} - -type commitServiceTreeEntryClient struct { - grpc.ClientStream -} - -func (x *commitServiceTreeEntryClient) Recv() (*TreeEntryResponse, error) { - m := new(TreeEntryResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) { - out := new(CountCommitsResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountCommits", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) { - out := new(CountDivergingCommitsResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountDivergingCommits", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[3], "/gitaly.CommitService/GetTreeEntries", opts...) - if err != nil { - return nil, err - } - x := &commitServiceGetTreeEntriesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_GetTreeEntriesClient interface { - Recv() (*GetTreeEntriesResponse, error) - grpc.ClientStream -} - -type commitServiceGetTreeEntriesClient struct { - grpc.ClientStream -} - -func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) { - m := new(GetTreeEntriesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[4], "/gitaly.CommitService/ListFiles", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListFilesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListFilesClient interface { - Recv() (*ListFilesResponse, error) - grpc.ClientStream -} - -type commitServiceListFilesClient struct { - grpc.ClientStream -} - -func (x *commitServiceListFilesClient) Recv() (*ListFilesResponse, error) { - m := new(ListFilesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) { - out := new(FindCommitResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/FindCommit", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) { - out := new(CommitStatsResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitStats", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[5], "/gitaly.CommitService/FindAllCommits", opts...) - if err != nil { - return nil, err - } - x := &commitServiceFindAllCommitsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_FindAllCommitsClient interface { - Recv() (*FindAllCommitsResponse, error) - grpc.ClientStream -} - -type commitServiceFindAllCommitsClient struct { - grpc.ClientStream -} - -func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, error) { - m := new(FindAllCommitsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[6], "/gitaly.CommitService/FindCommits", opts...) - if err != nil { - return nil, err - } - x := &commitServiceFindCommitsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_FindCommitsClient interface { - Recv() (*FindCommitsResponse, error) - grpc.ClientStream -} - -type commitServiceFindCommitsClient struct { - grpc.ClientStream -} - -func (x *commitServiceFindCommitsClient) Recv() (*FindCommitsResponse, error) { - m := new(FindCommitsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) { - out := new(CommitLanguagesResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitLanguages", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[7], "/gitaly.CommitService/RawBlame", opts...) - if err != nil { - return nil, err - } - x := &commitServiceRawBlameClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_RawBlameClient interface { - Recv() (*RawBlameResponse, error) - grpc.ClientStream -} - -type commitServiceRawBlameClient struct { - grpc.ClientStream -} - -func (x *commitServiceRawBlameClient) Recv() (*RawBlameResponse, error) { - m := new(RawBlameResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) { - out := new(LastCommitForPathResponse) - err := c.cc.Invoke(ctx, "/gitaly.CommitService/LastCommitForPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *commitServiceClient) ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[8], "/gitaly.CommitService/ListLastCommitsForTree", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListLastCommitsForTreeClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListLastCommitsForTreeClient interface { - Recv() (*ListLastCommitsForTreeResponse, error) - grpc.ClientStream -} - -type commitServiceListLastCommitsForTreeClient struct { - grpc.ClientStream -} - -func (x *commitServiceListLastCommitsForTreeClient) Recv() (*ListLastCommitsForTreeResponse, error) { - m := new(ListLastCommitsForTreeResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[9], "/gitaly.CommitService/CommitsByMessage", opts...) - if err != nil { - return nil, err - } - x := &commitServiceCommitsByMessageClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_CommitsByMessageClient interface { - Recv() (*CommitsByMessageResponse, error) - grpc.ClientStream -} - -type commitServiceCommitsByMessageClient struct { - grpc.ClientStream -} - -func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, error) { - m := new(CommitsByMessageResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[10], "/gitaly.CommitService/ListCommitsByOid", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListCommitsByOidClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListCommitsByOidClient interface { - Recv() (*ListCommitsByOidResponse, error) - grpc.ClientStream -} - -type commitServiceListCommitsByOidClient struct { - grpc.ClientStream -} - -func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse, error) { - m := new(ListCommitsByOidResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[11], "/gitaly.CommitService/ListCommitsByRefName", opts...) - if err != nil { - return nil, err - } - x := &commitServiceListCommitsByRefNameClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_ListCommitsByRefNameClient interface { - Recv() (*ListCommitsByRefNameResponse, error) - grpc.ClientStream -} - -type commitServiceListCommitsByRefNameClient struct { - grpc.ClientStream -} - -func (x *commitServiceListCommitsByRefNameClient) Recv() (*ListCommitsByRefNameResponse, error) { - m := new(ListCommitsByRefNameResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[12], "/gitaly.CommitService/FilterShasWithSignatures", opts...) - if err != nil { - return nil, err - } - x := &commitServiceFilterShasWithSignaturesClient{stream} - return x, nil -} - -type CommitService_FilterShasWithSignaturesClient interface { - Send(*FilterShasWithSignaturesRequest) error - Recv() (*FilterShasWithSignaturesResponse, error) - grpc.ClientStream -} - -type commitServiceFilterShasWithSignaturesClient struct { - grpc.ClientStream -} - -func (x *commitServiceFilterShasWithSignaturesClient) Send(m *FilterShasWithSignaturesRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSignaturesResponse, error) { - m := new(FilterShasWithSignaturesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[13], "/gitaly.CommitService/GetCommitSignatures", opts...) - if err != nil { - return nil, err - } - x := &commitServiceGetCommitSignaturesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_GetCommitSignaturesClient interface { - Recv() (*GetCommitSignaturesResponse, error) - grpc.ClientStream -} - -type commitServiceGetCommitSignaturesClient struct { - grpc.ClientStream -} - -func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesResponse, error) { - m := new(GetCommitSignaturesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[14], "/gitaly.CommitService/GetCommitMessages", opts...) - if err != nil { - return nil, err - } - x := &commitServiceGetCommitMessagesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type CommitService_GetCommitMessagesClient interface { - Recv() (*GetCommitMessagesResponse, error) - grpc.ClientStream -} - -type commitServiceGetCommitMessagesClient struct { - grpc.ClientStream -} - -func (x *commitServiceGetCommitMessagesClient) Recv() (*GetCommitMessagesResponse, error) { - m := new(GetCommitMessagesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *commitServiceClient) CheckObjectsExist(ctx context.Context, opts ...grpc.CallOption) (CommitService_CheckObjectsExistClient, error) { - stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[15], "/gitaly.CommitService/CheckObjectsExist", opts...) - if err != nil { - return nil, err - } - x := &commitServiceCheckObjectsExistClient{stream} - return x, nil -} - -type CommitService_CheckObjectsExistClient interface { - Send(*CheckObjectsExistRequest) error - Recv() (*CheckObjectsExistResponse, error) - grpc.ClientStream -} - -type commitServiceCheckObjectsExistClient struct { - grpc.ClientStream -} - -func (x *commitServiceCheckObjectsExistClient) Send(m *CheckObjectsExistRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *commitServiceCheckObjectsExistClient) Recv() (*CheckObjectsExistResponse, error) { - m := new(CheckObjectsExistResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// CommitServiceServer is the server API for CommitService service. -// All implementations must embed UnimplementedCommitServiceServer -// for forward compatibility -type CommitServiceServer interface { - // ListCommits lists all commits reachable via a set of references by doing a - // graph walk. This deprecates FindAllCommits and FindCommits (except Follow - // is not yet supported). Any unknown revisions will cause the RPC to fail. - ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error - // ListAllCommits lists all commits present in the repository, including - // those not reachable by any reference. - ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error - // This comment is left unintentionally blank. - CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) - // This comment is left unintentionally blank. - TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error - // This comment is left unintentionally blank. - CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) - // This comment is left unintentionally blank. - CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) - // This comment is left unintentionally blank. - GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error - // This comment is left unintentionally blank. - ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error - // This comment is left unintentionally blank. - FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) - // This comment is left unintentionally blank. - CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) - // Use a stream to paginate the result set - FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error - // This comment is left unintentionally blank. - FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error - // This comment is left unintentionally blank. - CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) - // This comment is left unintentionally blank. - RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error - // This comment is left unintentionally blank. - LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) - // This comment is left unintentionally blank. - ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error - // This comment is left unintentionally blank. - CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error - // This comment is left unintentionally blank. - ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error - // This comment is left unintentionally blank. - ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error - // This comment is left unintentionally blank. - FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error - // This comment is left unintentionally blank. - GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error - // This comment is left unintentionally blank. - GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error - // CheckObjectsExist will check for the existence of revisions against a - // repository. It returns two sets of data. An array containing the revisions - // fromm the input that it found on the repository, and an array that contains all - // revisions from the input it did not find on the repository. - CheckObjectsExist(CommitService_CheckObjectsExistServer) error - mustEmbedUnimplementedCommitServiceServer() -} - -// UnimplementedCommitServiceServer must be embedded to have forward compatible implementations. -type UnimplementedCommitServiceServer struct { -} - -func (UnimplementedCommitServiceServer) ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error { - return status.Errorf(codes.Unimplemented, "method ListCommits not implemented") -} -func (UnimplementedCommitServiceServer) ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error { - return status.Errorf(codes.Unimplemented, "method ListAllCommits not implemented") -} -func (UnimplementedCommitServiceServer) CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CommitIsAncestor not implemented") -} -func (UnimplementedCommitServiceServer) TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error { - return status.Errorf(codes.Unimplemented, "method TreeEntry not implemented") -} -func (UnimplementedCommitServiceServer) CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CountCommits not implemented") -} -func (UnimplementedCommitServiceServer) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CountDivergingCommits not implemented") -} -func (UnimplementedCommitServiceServer) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error { - return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") -} -func (UnimplementedCommitServiceServer) ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error { - return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") -} -func (UnimplementedCommitServiceServer) FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindCommit not implemented") -} -func (UnimplementedCommitServiceServer) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CommitStats not implemented") -} -func (UnimplementedCommitServiceServer) FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllCommits not implemented") -} -func (UnimplementedCommitServiceServer) FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error { - return status.Errorf(codes.Unimplemented, "method FindCommits not implemented") -} -func (UnimplementedCommitServiceServer) CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CommitLanguages not implemented") -} -func (UnimplementedCommitServiceServer) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error { - return status.Errorf(codes.Unimplemented, "method RawBlame not implemented") -} -func (UnimplementedCommitServiceServer) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LastCommitForPath not implemented") -} -func (UnimplementedCommitServiceServer) ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error { - return status.Errorf(codes.Unimplemented, "method ListLastCommitsForTree not implemented") -} -func (UnimplementedCommitServiceServer) CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error { - return status.Errorf(codes.Unimplemented, "method CommitsByMessage not implemented") -} -func (UnimplementedCommitServiceServer) ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error { - return status.Errorf(codes.Unimplemented, "method ListCommitsByOid not implemented") -} -func (UnimplementedCommitServiceServer) ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error { - return status.Errorf(codes.Unimplemented, "method ListCommitsByRefName not implemented") -} -func (UnimplementedCommitServiceServer) FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error { - return status.Errorf(codes.Unimplemented, "method FilterShasWithSignatures not implemented") -} -func (UnimplementedCommitServiceServer) GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error { - return status.Errorf(codes.Unimplemented, "method GetCommitSignatures not implemented") -} -func (UnimplementedCommitServiceServer) GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error { - return status.Errorf(codes.Unimplemented, "method GetCommitMessages not implemented") -} -func (UnimplementedCommitServiceServer) CheckObjectsExist(CommitService_CheckObjectsExistServer) error { - return status.Errorf(codes.Unimplemented, "method CheckObjectsExist not implemented") -} -func (UnimplementedCommitServiceServer) mustEmbedUnimplementedCommitServiceServer() {} - -// UnsafeCommitServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to CommitServiceServer will -// result in compilation errors. -type UnsafeCommitServiceServer interface { - mustEmbedUnimplementedCommitServiceServer() -} - -func RegisterCommitServiceServer(s grpc.ServiceRegistrar, srv CommitServiceServer) { - s.RegisterService(&CommitService_ServiceDesc, srv) -} - -func _CommitService_ListCommits_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListCommitsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListCommits(m, &commitServiceListCommitsServer{stream}) -} - -type CommitService_ListCommitsServer interface { - Send(*ListCommitsResponse) error - grpc.ServerStream -} - -type commitServiceListCommitsServer struct { - grpc.ServerStream -} - -func (x *commitServiceListCommitsServer) Send(m *ListCommitsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_ListAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListAllCommitsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListAllCommits(m, &commitServiceListAllCommitsServer{stream}) -} - -type CommitService_ListAllCommitsServer interface { - Send(*ListAllCommitsResponse) error - grpc.ServerStream -} - -type commitServiceListAllCommitsServer struct { - grpc.ServerStream -} - -func (x *commitServiceListAllCommitsServer) Send(m *ListAllCommitsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_CommitIsAncestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitIsAncestorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).CommitIsAncestor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/CommitIsAncestor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).CommitIsAncestor(ctx, req.(*CommitIsAncestorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_TreeEntry_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(TreeEntryRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).TreeEntry(m, &commitServiceTreeEntryServer{stream}) -} - -type CommitService_TreeEntryServer interface { - Send(*TreeEntryResponse) error - grpc.ServerStream -} - -type commitServiceTreeEntryServer struct { - grpc.ServerStream -} - -func (x *commitServiceTreeEntryServer) Send(m *TreeEntryResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_CountCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CountCommitsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).CountCommits(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/CountCommits", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).CountCommits(ctx, req.(*CountCommitsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_CountDivergingCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CountDivergingCommitsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).CountDivergingCommits(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/CountDivergingCommits", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).CountDivergingCommits(ctx, req.(*CountDivergingCommitsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_GetTreeEntries_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetTreeEntriesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).GetTreeEntries(m, &commitServiceGetTreeEntriesServer{stream}) -} - -type CommitService_GetTreeEntriesServer interface { - Send(*GetTreeEntriesResponse) error - grpc.ServerStream -} - -type commitServiceGetTreeEntriesServer struct { - grpc.ServerStream -} - -func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_ListFiles_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListFilesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListFiles(m, &commitServiceListFilesServer{stream}) -} - -type CommitService_ListFilesServer interface { - Send(*ListFilesResponse) error - grpc.ServerStream -} - -type commitServiceListFilesServer struct { - grpc.ServerStream -} - -func (x *commitServiceListFilesServer) Send(m *ListFilesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_FindCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindCommitRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).FindCommit(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/FindCommit", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).FindCommit(ctx, req.(*FindCommitRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_CommitStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitStatsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).CommitStats(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/CommitStats", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).CommitStats(ctx, req.(*CommitStatsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_FindAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllCommitsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).FindAllCommits(m, &commitServiceFindAllCommitsServer{stream}) -} - -type CommitService_FindAllCommitsServer interface { - Send(*FindAllCommitsResponse) error - grpc.ServerStream -} - -type commitServiceFindAllCommitsServer struct { - grpc.ServerStream -} - -func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_FindCommits_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindCommitsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).FindCommits(m, &commitServiceFindCommitsServer{stream}) -} - -type CommitService_FindCommitsServer interface { - Send(*FindCommitsResponse) error - grpc.ServerStream -} - -type commitServiceFindCommitsServer struct { - grpc.ServerStream -} - -func (x *commitServiceFindCommitsServer) Send(m *FindCommitsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_CommitLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CommitLanguagesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).CommitLanguages(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/CommitLanguages", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).CommitLanguages(ctx, req.(*CommitLanguagesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_RawBlame_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(RawBlameRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).RawBlame(m, &commitServiceRawBlameServer{stream}) -} - -type CommitService_RawBlameServer interface { - Send(*RawBlameResponse) error - grpc.ServerStream -} - -type commitServiceRawBlameServer struct { - grpc.ServerStream -} - -func (x *commitServiceRawBlameServer) Send(m *RawBlameResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_LastCommitForPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LastCommitForPathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(CommitServiceServer).LastCommitForPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.CommitService/LastCommitForPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(CommitServiceServer).LastCommitForPath(ctx, req.(*LastCommitForPathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _CommitService_ListLastCommitsForTree_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListLastCommitsForTreeRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListLastCommitsForTree(m, &commitServiceListLastCommitsForTreeServer{stream}) -} - -type CommitService_ListLastCommitsForTreeServer interface { - Send(*ListLastCommitsForTreeResponse) error - grpc.ServerStream -} - -type commitServiceListLastCommitsForTreeServer struct { - grpc.ServerStream -} - -func (x *commitServiceListLastCommitsForTreeServer) Send(m *ListLastCommitsForTreeResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_CommitsByMessage_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CommitsByMessageRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).CommitsByMessage(m, &commitServiceCommitsByMessageServer{stream}) -} - -type CommitService_CommitsByMessageServer interface { - Send(*CommitsByMessageResponse) error - grpc.ServerStream -} - -type commitServiceCommitsByMessageServer struct { - grpc.ServerStream -} - -func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_ListCommitsByOid_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListCommitsByOidRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListCommitsByOid(m, &commitServiceListCommitsByOidServer{stream}) -} - -type CommitService_ListCommitsByOidServer interface { - Send(*ListCommitsByOidResponse) error - grpc.ServerStream -} - -type commitServiceListCommitsByOidServer struct { - grpc.ServerStream -} - -func (x *commitServiceListCommitsByOidServer) Send(m *ListCommitsByOidResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_ListCommitsByRefName_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListCommitsByRefNameRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).ListCommitsByRefName(m, &commitServiceListCommitsByRefNameServer{stream}) -} - -type CommitService_ListCommitsByRefNameServer interface { - Send(*ListCommitsByRefNameResponse) error - grpc.ServerStream -} - -type commitServiceListCommitsByRefNameServer struct { - grpc.ServerStream -} - -func (x *commitServiceListCommitsByRefNameServer) Send(m *ListCommitsByRefNameResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_FilterShasWithSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(CommitServiceServer).FilterShasWithSignatures(&commitServiceFilterShasWithSignaturesServer{stream}) -} - -type CommitService_FilterShasWithSignaturesServer interface { - Send(*FilterShasWithSignaturesResponse) error - Recv() (*FilterShasWithSignaturesRequest, error) - grpc.ServerStream -} - -type commitServiceFilterShasWithSignaturesServer struct { - grpc.ServerStream -} - -func (x *commitServiceFilterShasWithSignaturesServer) Send(m *FilterShasWithSignaturesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *commitServiceFilterShasWithSignaturesServer) Recv() (*FilterShasWithSignaturesRequest, error) { - m := new(FilterShasWithSignaturesRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _CommitService_GetCommitSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetCommitSignaturesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).GetCommitSignatures(m, &commitServiceGetCommitSignaturesServer{stream}) -} - -type CommitService_GetCommitSignaturesServer interface { - Send(*GetCommitSignaturesResponse) error - grpc.ServerStream -} - -type commitServiceGetCommitSignaturesServer struct { - grpc.ServerStream -} - -func (x *commitServiceGetCommitSignaturesServer) Send(m *GetCommitSignaturesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_GetCommitMessages_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetCommitMessagesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(CommitServiceServer).GetCommitMessages(m, &commitServiceGetCommitMessagesServer{stream}) -} - -type CommitService_GetCommitMessagesServer interface { - Send(*GetCommitMessagesResponse) error - grpc.ServerStream -} - -type commitServiceGetCommitMessagesServer struct { - grpc.ServerStream -} - -func (x *commitServiceGetCommitMessagesServer) Send(m *GetCommitMessagesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _CommitService_CheckObjectsExist_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(CommitServiceServer).CheckObjectsExist(&commitServiceCheckObjectsExistServer{stream}) -} - -type CommitService_CheckObjectsExistServer interface { - Send(*CheckObjectsExistResponse) error - Recv() (*CheckObjectsExistRequest, error) - grpc.ServerStream -} - -type commitServiceCheckObjectsExistServer struct { - grpc.ServerStream -} - -func (x *commitServiceCheckObjectsExistServer) Send(m *CheckObjectsExistResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *commitServiceCheckObjectsExistServer) Recv() (*CheckObjectsExistRequest, error) { - m := new(CheckObjectsExistRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// CommitService_ServiceDesc is the grpc.ServiceDesc for CommitService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var CommitService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.CommitService", - HandlerType: (*CommitServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CommitIsAncestor", - Handler: _CommitService_CommitIsAncestor_Handler, - }, - { - MethodName: "CountCommits", - Handler: _CommitService_CountCommits_Handler, - }, - { - MethodName: "CountDivergingCommits", - Handler: _CommitService_CountDivergingCommits_Handler, - }, - { - MethodName: "FindCommit", - Handler: _CommitService_FindCommit_Handler, - }, - { - MethodName: "CommitStats", - Handler: _CommitService_CommitStats_Handler, - }, - { - MethodName: "CommitLanguages", - Handler: _CommitService_CommitLanguages_Handler, - }, - { - MethodName: "LastCommitForPath", - Handler: _CommitService_LastCommitForPath_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListCommits", - Handler: _CommitService_ListCommits_Handler, - ServerStreams: true, - }, - { - StreamName: "ListAllCommits", - Handler: _CommitService_ListAllCommits_Handler, - ServerStreams: true, - }, - { - StreamName: "TreeEntry", - Handler: _CommitService_TreeEntry_Handler, - ServerStreams: true, - }, - { - StreamName: "GetTreeEntries", - Handler: _CommitService_GetTreeEntries_Handler, - ServerStreams: true, - }, - { - StreamName: "ListFiles", - Handler: _CommitService_ListFiles_Handler, - ServerStreams: true, - }, - { - StreamName: "FindAllCommits", - Handler: _CommitService_FindAllCommits_Handler, - ServerStreams: true, - }, - { - StreamName: "FindCommits", - Handler: _CommitService_FindCommits_Handler, - ServerStreams: true, - }, - { - StreamName: "RawBlame", - Handler: _CommitService_RawBlame_Handler, - ServerStreams: true, - }, - { - StreamName: "ListLastCommitsForTree", - Handler: _CommitService_ListLastCommitsForTree_Handler, - ServerStreams: true, - }, - { - StreamName: "CommitsByMessage", - Handler: _CommitService_CommitsByMessage_Handler, - ServerStreams: true, - }, - { - StreamName: "ListCommitsByOid", - Handler: _CommitService_ListCommitsByOid_Handler, - ServerStreams: true, - }, - { - StreamName: "ListCommitsByRefName", - Handler: _CommitService_ListCommitsByRefName_Handler, - ServerStreams: true, - }, - { - StreamName: "FilterShasWithSignatures", - Handler: _CommitService_FilterShasWithSignatures_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "GetCommitSignatures", - Handler: _CommitService_GetCommitSignatures_Handler, - ServerStreams: true, - }, - { - StreamName: "GetCommitMessages", - Handler: _CommitService_GetCommitMessages_Handler, - ServerStreams: true, - }, - { - StreamName: "CheckObjectsExist", - Handler: _CommitService_CheckObjectsExist_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "commit.proto", -} diff --git a/proto/go/gitalypb/conflicts.pb.go b/proto/go/gitalypb/conflicts.pb.go deleted file mode 100644 index 48dcc1f3f..000000000 --- a/proto/go/gitalypb/conflicts.pb.go +++ /dev/null @@ -1,860 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: conflicts.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type ListConflictFilesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` - // This comment is left unintentionally blank. - TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` - // AllowTreeConflicts will not cause the request to fail in case there are - // tree conflicts. If set to true, then responses may contain conflict files - // where some of the paths are unset. - AllowTreeConflicts bool `protobuf:"varint,4,opt,name=allow_tree_conflicts,json=allowTreeConflicts,proto3" json:"allow_tree_conflicts,omitempty"` -} - -func (x *ListConflictFilesRequest) Reset() { - *x = ListConflictFilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListConflictFilesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListConflictFilesRequest) ProtoMessage() {} - -func (x *ListConflictFilesRequest) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListConflictFilesRequest.ProtoReflect.Descriptor instead. -func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{0} -} - -func (x *ListConflictFilesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListConflictFilesRequest) GetOurCommitOid() string { - if x != nil { - return x.OurCommitOid - } - return "" -} - -func (x *ListConflictFilesRequest) GetTheirCommitOid() string { - if x != nil { - return x.TheirCommitOid - } - return "" -} - -func (x *ListConflictFilesRequest) GetAllowTreeConflicts() bool { - if x != nil { - return x.AllowTreeConflicts - } - return false -} - -// This comment is left unintentionally blank. -type ConflictFileHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` - // This comment is left unintentionally blank. - TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` - // This comment is left unintentionally blank. - OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` - // This comment is left unintentionally blank. - OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` - // This comment is left unintentionally blank. - AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"` -} - -func (x *ConflictFileHeader) Reset() { - *x = ConflictFileHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConflictFileHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConflictFileHeader) ProtoMessage() {} - -func (x *ConflictFileHeader) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConflictFileHeader.ProtoReflect.Descriptor instead. -func (*ConflictFileHeader) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{1} -} - -func (x *ConflictFileHeader) GetCommitOid() string { - if x != nil { - return x.CommitOid - } - return "" -} - -func (x *ConflictFileHeader) GetTheirPath() []byte { - if x != nil { - return x.TheirPath - } - return nil -} - -func (x *ConflictFileHeader) GetOurPath() []byte { - if x != nil { - return x.OurPath - } - return nil -} - -func (x *ConflictFileHeader) GetOurMode() int32 { - if x != nil { - return x.OurMode - } - return 0 -} - -func (x *ConflictFileHeader) GetAncestorPath() []byte { - if x != nil { - return x.AncestorPath - } - return nil -} - -// This comment is left unintentionally blank. -type ConflictFile struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to ConflictFilePayload: - // *ConflictFile_Header - // *ConflictFile_Content - ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` -} - -func (x *ConflictFile) Reset() { - *x = ConflictFile{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConflictFile) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConflictFile) ProtoMessage() {} - -func (x *ConflictFile) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConflictFile.ProtoReflect.Descriptor instead. -func (*ConflictFile) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{2} -} - -func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload { - if m != nil { - return m.ConflictFilePayload - } - return nil -} - -func (x *ConflictFile) GetHeader() *ConflictFileHeader { - if x, ok := x.GetConflictFilePayload().(*ConflictFile_Header); ok { - return x.Header - } - return nil -} - -func (x *ConflictFile) GetContent() []byte { - if x, ok := x.GetConflictFilePayload().(*ConflictFile_Content); ok { - return x.Content - } - return nil -} - -type isConflictFile_ConflictFilePayload interface { - isConflictFile_ConflictFilePayload() -} - -type ConflictFile_Header struct { - // This comment is left unintentionally blank. - Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type ConflictFile_Content struct { - // This comment is left unintentionally blank. - Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` -} - -func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {} - -func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {} - -// This comment is left unintentionally blank. -type ListConflictFilesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` -} - -func (x *ListConflictFilesResponse) Reset() { - *x = ListConflictFilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListConflictFilesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListConflictFilesResponse) ProtoMessage() {} - -func (x *ListConflictFilesResponse) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListConflictFilesResponse.ProtoReflect.Descriptor instead. -func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{3} -} - -func (x *ListConflictFilesResponse) GetFiles() []*ConflictFile { - if x != nil { - return x.Files - } - return nil -} - -// ResolveConflictsRequestHeader is the first message that must be sent for -// each ResolveConflicts call. -type ResolveConflictsRequestHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which conflicts shall be resolved and - // where SourceBranch shall be updated with the resolved conflict. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // OurCommitOid is the OID of the commit representing the local commit. - OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` - // TargetRepository is the repository from which TheirCommitOid shall be - // retrieved. - TargetRepository *Repository `protobuf:"bytes,3,opt,name=target_repository,json=targetRepository,proto3" json:"target_repository,omitempty"` - // TheirCommitOid is the OID of the commit representing the remote commit - // which is to be merged into the local commit. - TheirCommitOid string `protobuf:"bytes,4,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` - // SourceBranch is the branch on which the new commit shall be created. - SourceBranch []byte `protobuf:"bytes,5,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` - // TargetBranch identifies the branch which will be fetched from - // TargetRepository in case TheirCommitOid does not exist in Repository. - TargetBranch []byte `protobuf:"bytes,6,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` - // CommitMessage is the message of the newly created merge commit. - CommitMessage []byte `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` - // User is the user used as author and committer of the newly created merge - // commit. - User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` - // timestamp is the optional timestamp to use for the commit as committer - // date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *ResolveConflictsRequestHeader) Reset() { - *x = ResolveConflictsRequestHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResolveConflictsRequestHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResolveConflictsRequestHeader) ProtoMessage() {} - -func (x *ResolveConflictsRequestHeader) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResolveConflictsRequestHeader.ProtoReflect.Descriptor instead. -func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{4} -} - -func (x *ResolveConflictsRequestHeader) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetOurCommitOid() string { - if x != nil { - return x.OurCommitOid - } - return "" -} - -func (x *ResolveConflictsRequestHeader) GetTargetRepository() *Repository { - if x != nil { - return x.TargetRepository - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetTheirCommitOid() string { - if x != nil { - return x.TheirCommitOid - } - return "" -} - -func (x *ResolveConflictsRequestHeader) GetSourceBranch() []byte { - if x != nil { - return x.SourceBranch - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetTargetBranch() []byte { - if x != nil { - return x.TargetBranch - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetCommitMessage() []byte { - if x != nil { - return x.CommitMessage - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *ResolveConflictsRequestHeader) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// ResolveConflictsRequest is a request for the ResolveConflicts RPC. -type ResolveConflictsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // RequestPayload is the payload part of the request. The first message sent - // must always be a ResolveConflictsRequestHeader, whereas all remaining - // requests must be FilesJson requests. - // - // Types that are assignable to ResolveConflictsRequestPayload: - // *ResolveConflictsRequest_Header - // *ResolveConflictsRequest_FilesJson - ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"` -} - -func (x *ResolveConflictsRequest) Reset() { - *x = ResolveConflictsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResolveConflictsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResolveConflictsRequest) ProtoMessage() {} - -func (x *ResolveConflictsRequest) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResolveConflictsRequest.ProtoReflect.Descriptor instead. -func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{5} -} - -func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload { - if m != nil { - return m.ResolveConflictsRequestPayload - } - return nil -} - -func (x *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader { - if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok { - return x.Header - } - return nil -} - -func (x *ResolveConflictsRequest) GetFilesJson() []byte { - if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok { - return x.FilesJson - } - return nil -} - -type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { - isResolveConflictsRequest_ResolveConflictsRequestPayload() -} - -type ResolveConflictsRequest_Header struct { - // Header is the initial message specifying parameters of the RPC call. - Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type ResolveConflictsRequest_FilesJson struct { - // FilesJson is a JSON-encoded list of conflicts resolutions. - FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` -} - -func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} - -func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() { -} - -// ResolveConflictsResponse is a response of the ResolveConflicts RPC. Conflict -// resolution may have failed even if the RPC has returned OK. The user must -// check ResolutionError to verify whether the merge commit was correctly -// computed or not. -type ResolveConflictsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ResolutionError contains a description of why conflict resolution has - // failed. - ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` -} - -func (x *ResolveConflictsResponse) Reset() { - *x = ResolveConflictsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_conflicts_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResolveConflictsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResolveConflictsResponse) ProtoMessage() {} - -func (x *ResolveConflictsResponse) ProtoReflect() protoreflect.Message { - mi := &file_conflicts_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResolveConflictsResponse.ProtoReflect.Descriptor instead. -func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { - return file_conflicts_proto_rawDescGZIP(), []int{6} -} - -func (x *ResolveConflictsResponse) GetResolutionError() string { - if x != nil { - return x.ResolutionError - } - return "" -} - -var File_conflicts_proto protoreflect.FileDescriptor - -var file_conflicts_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, - 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, - 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, - 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x61, - 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, - 0x54, 0x72, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x22, 0xb3, 0x01, - 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x4f, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x70, 0x61, 0x74, - 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x68, 0x65, 0x69, 0x72, 0x50, 0x61, - 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x75, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, - 0x08, 0x6f, 0x75, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x6f, 0x75, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6e, 0x63, 0x65, - 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x4a, 0x04, 0x08, - 0x01, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, - 0x69, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, - 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, - 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x17, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, - 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x47, - 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xb7, 0x03, 0x0a, 0x1d, 0x52, 0x65, 0x73, 0x6f, - 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x11, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, - 0x65, 0x69, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x4f, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x25, - 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x22, 0xa0, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, - 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, - 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1f, - 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, - 0x23, 0x0a, 0x21, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, - 0x69, 0x63, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, - 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x45, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, - 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd7, 0x01, 0x0a, 0x10, - 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x01, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_conflicts_proto_rawDescOnce sync.Once - file_conflicts_proto_rawDescData = file_conflicts_proto_rawDesc -) - -func file_conflicts_proto_rawDescGZIP() []byte { - file_conflicts_proto_rawDescOnce.Do(func() { - file_conflicts_proto_rawDescData = protoimpl.X.CompressGZIP(file_conflicts_proto_rawDescData) - }) - return file_conflicts_proto_rawDescData -} - -var file_conflicts_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_conflicts_proto_goTypes = []interface{}{ - (*ListConflictFilesRequest)(nil), // 0: gitaly.ListConflictFilesRequest - (*ConflictFileHeader)(nil), // 1: gitaly.ConflictFileHeader - (*ConflictFile)(nil), // 2: gitaly.ConflictFile - (*ListConflictFilesResponse)(nil), // 3: gitaly.ListConflictFilesResponse - (*ResolveConflictsRequestHeader)(nil), // 4: gitaly.ResolveConflictsRequestHeader - (*ResolveConflictsRequest)(nil), // 5: gitaly.ResolveConflictsRequest - (*ResolveConflictsResponse)(nil), // 6: gitaly.ResolveConflictsResponse - (*Repository)(nil), // 7: gitaly.Repository - (*User)(nil), // 8: gitaly.User - (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp -} -var file_conflicts_proto_depIdxs = []int32{ - 7, // 0: gitaly.ListConflictFilesRequest.repository:type_name -> gitaly.Repository - 1, // 1: gitaly.ConflictFile.header:type_name -> gitaly.ConflictFileHeader - 2, // 2: gitaly.ListConflictFilesResponse.files:type_name -> gitaly.ConflictFile - 7, // 3: gitaly.ResolveConflictsRequestHeader.repository:type_name -> gitaly.Repository - 7, // 4: gitaly.ResolveConflictsRequestHeader.target_repository:type_name -> gitaly.Repository - 8, // 5: gitaly.ResolveConflictsRequestHeader.user:type_name -> gitaly.User - 9, // 6: gitaly.ResolveConflictsRequestHeader.timestamp:type_name -> google.protobuf.Timestamp - 4, // 7: gitaly.ResolveConflictsRequest.header:type_name -> gitaly.ResolveConflictsRequestHeader - 0, // 8: gitaly.ConflictsService.ListConflictFiles:input_type -> gitaly.ListConflictFilesRequest - 5, // 9: gitaly.ConflictsService.ResolveConflicts:input_type -> gitaly.ResolveConflictsRequest - 3, // 10: gitaly.ConflictsService.ListConflictFiles:output_type -> gitaly.ListConflictFilesResponse - 6, // 11: gitaly.ConflictsService.ResolveConflicts:output_type -> gitaly.ResolveConflictsResponse - 10, // [10:12] is the sub-list for method output_type - 8, // [8:10] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_conflicts_proto_init() } -func file_conflicts_proto_init() { - if File_conflicts_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_conflicts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListConflictFilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConflictFileHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConflictFile); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListConflictFilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResolveConflictsRequestHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResolveConflictsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_conflicts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResolveConflictsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_conflicts_proto_msgTypes[2].OneofWrappers = []interface{}{ - (*ConflictFile_Header)(nil), - (*ConflictFile_Content)(nil), - } - file_conflicts_proto_msgTypes[5].OneofWrappers = []interface{}{ - (*ResolveConflictsRequest_Header)(nil), - (*ResolveConflictsRequest_FilesJson)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_conflicts_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_conflicts_proto_goTypes, - DependencyIndexes: file_conflicts_proto_depIdxs, - MessageInfos: file_conflicts_proto_msgTypes, - }.Build() - File_conflicts_proto = out.File - file_conflicts_proto_rawDesc = nil - file_conflicts_proto_goTypes = nil - file_conflicts_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/conflicts_grpc.pb.go b/proto/go/gitalypb/conflicts_grpc.pb.go deleted file mode 100644 index f50ae2a56..000000000 --- a/proto/go/gitalypb/conflicts_grpc.pb.go +++ /dev/null @@ -1,208 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// ConflictsServiceClient is the client API for ConflictsService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ConflictsServiceClient interface { - // ListConflictFiles returns all conflicting files which result from a merge - // of two specified commit objects. - ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) - // ResolveConflicts tries to resolve a conflicting merge with a set of - // user-provided merge resolutions. If resolving the conflict succeeds, the - // result will be a new merge commit. - ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) -} - -type conflictsServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewConflictsServiceClient(cc grpc.ClientConnInterface) ConflictsServiceClient { - return &conflictsServiceClient{cc} -} - -func (c *conflictsServiceClient) ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) { - stream, err := c.cc.NewStream(ctx, &ConflictsService_ServiceDesc.Streams[0], "/gitaly.ConflictsService/ListConflictFiles", opts...) - if err != nil { - return nil, err - } - x := &conflictsServiceListConflictFilesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type ConflictsService_ListConflictFilesClient interface { - Recv() (*ListConflictFilesResponse, error) - grpc.ClientStream -} - -type conflictsServiceListConflictFilesClient struct { - grpc.ClientStream -} - -func (x *conflictsServiceListConflictFilesClient) Recv() (*ListConflictFilesResponse, error) { - m := new(ListConflictFilesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *conflictsServiceClient) ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) { - stream, err := c.cc.NewStream(ctx, &ConflictsService_ServiceDesc.Streams[1], "/gitaly.ConflictsService/ResolveConflicts", opts...) - if err != nil { - return nil, err - } - x := &conflictsServiceResolveConflictsClient{stream} - return x, nil -} - -type ConflictsService_ResolveConflictsClient interface { - Send(*ResolveConflictsRequest) error - CloseAndRecv() (*ResolveConflictsResponse, error) - grpc.ClientStream -} - -type conflictsServiceResolveConflictsClient struct { - grpc.ClientStream -} - -func (x *conflictsServiceResolveConflictsClient) Send(m *ResolveConflictsRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *conflictsServiceResolveConflictsClient) CloseAndRecv() (*ResolveConflictsResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(ResolveConflictsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// ConflictsServiceServer is the server API for ConflictsService service. -// All implementations must embed UnimplementedConflictsServiceServer -// for forward compatibility -type ConflictsServiceServer interface { - // ListConflictFiles returns all conflicting files which result from a merge - // of two specified commit objects. - ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error - // ResolveConflicts tries to resolve a conflicting merge with a set of - // user-provided merge resolutions. If resolving the conflict succeeds, the - // result will be a new merge commit. - ResolveConflicts(ConflictsService_ResolveConflictsServer) error - mustEmbedUnimplementedConflictsServiceServer() -} - -// UnimplementedConflictsServiceServer must be embedded to have forward compatible implementations. -type UnimplementedConflictsServiceServer struct { -} - -func (UnimplementedConflictsServiceServer) ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error { - return status.Errorf(codes.Unimplemented, "method ListConflictFiles not implemented") -} -func (UnimplementedConflictsServiceServer) ResolveConflicts(ConflictsService_ResolveConflictsServer) error { - return status.Errorf(codes.Unimplemented, "method ResolveConflicts not implemented") -} -func (UnimplementedConflictsServiceServer) mustEmbedUnimplementedConflictsServiceServer() {} - -// UnsafeConflictsServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ConflictsServiceServer will -// result in compilation errors. -type UnsafeConflictsServiceServer interface { - mustEmbedUnimplementedConflictsServiceServer() -} - -func RegisterConflictsServiceServer(s grpc.ServiceRegistrar, srv ConflictsServiceServer) { - s.RegisterService(&ConflictsService_ServiceDesc, srv) -} - -func _ConflictsService_ListConflictFiles_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListConflictFilesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ConflictsServiceServer).ListConflictFiles(m, &conflictsServiceListConflictFilesServer{stream}) -} - -type ConflictsService_ListConflictFilesServer interface { - Send(*ListConflictFilesResponse) error - grpc.ServerStream -} - -type conflictsServiceListConflictFilesServer struct { - grpc.ServerStream -} - -func (x *conflictsServiceListConflictFilesServer) Send(m *ListConflictFilesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _ConflictsService_ResolveConflicts_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ConflictsServiceServer).ResolveConflicts(&conflictsServiceResolveConflictsServer{stream}) -} - -type ConflictsService_ResolveConflictsServer interface { - SendAndClose(*ResolveConflictsResponse) error - Recv() (*ResolveConflictsRequest, error) - grpc.ServerStream -} - -type conflictsServiceResolveConflictsServer struct { - grpc.ServerStream -} - -func (x *conflictsServiceResolveConflictsServer) SendAndClose(m *ResolveConflictsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *conflictsServiceResolveConflictsServer) Recv() (*ResolveConflictsRequest, error) { - m := new(ResolveConflictsRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// ConflictsService_ServiceDesc is the grpc.ServiceDesc for ConflictsService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ConflictsService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.ConflictsService", - HandlerType: (*ConflictsServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "ListConflictFiles", - Handler: _ConflictsService_ListConflictFiles_Handler, - ServerStreams: true, - }, - { - StreamName: "ResolveConflicts", - Handler: _ConflictsService_ResolveConflicts_Handler, - ClientStreams: true, - }, - }, - Metadata: "conflicts.proto", -} diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go deleted file mode 100644 index cc2114b9c..000000000 --- a/proto/go/gitalypb/diff.pb.go +++ /dev/null @@ -1,1746 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: diff.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type CommitDiffRequest_DiffMode int32 - -const ( - // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. - CommitDiffRequest_DEFAULT CommitDiffRequest_DiffMode = 0 - // WORDDIFF is a word diff and computes the diff for whitespace separated words instead of for whole lines. - CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 -) - -// Enum value maps for CommitDiffRequest_DiffMode. -var ( - CommitDiffRequest_DiffMode_name = map[int32]string{ - 0: "DEFAULT", - 1: "WORDDIFF", - } - CommitDiffRequest_DiffMode_value = map[string]int32{ - "DEFAULT": 0, - "WORDDIFF": 1, - } -) - -func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode { - p := new(CommitDiffRequest_DiffMode) - *p = x - return p -} - -func (x CommitDiffRequest_DiffMode) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor { - return file_diff_proto_enumTypes[0].Descriptor() -} - -func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType { - return &file_diff_proto_enumTypes[0] -} - -func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CommitDiffRequest_DiffMode.Descriptor instead. -func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{0, 0} -} - -// This comment is left unintentionally blank. -type ChangedPaths_Status int32 - -const ( - // This comment is left unintentionally blank. - ChangedPaths_ADDED ChangedPaths_Status = 0 - // This comment is left unintentionally blank. - ChangedPaths_MODIFIED ChangedPaths_Status = 1 - // This comment is left unintentionally blank. - ChangedPaths_DELETED ChangedPaths_Status = 2 - // This comment is left unintentionally blank. - ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 - // This comment is left unintentionally blank. - ChangedPaths_COPIED ChangedPaths_Status = 4 -) - -// Enum value maps for ChangedPaths_Status. -var ( - ChangedPaths_Status_name = map[int32]string{ - 0: "ADDED", - 1: "MODIFIED", - 2: "DELETED", - 3: "TYPE_CHANGE", - 4: "COPIED", - } - ChangedPaths_Status_value = map[string]int32{ - "ADDED": 0, - "MODIFIED": 1, - "DELETED": 2, - "TYPE_CHANGE": 3, - "COPIED": 4, - } -) - -func (x ChangedPaths_Status) Enum() *ChangedPaths_Status { - p := new(ChangedPaths_Status) - *p = x - return p -} - -func (x ChangedPaths_Status) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor { - return file_diff_proto_enumTypes[1].Descriptor() -} - -func (ChangedPaths_Status) Type() protoreflect.EnumType { - return &file_diff_proto_enumTypes[1] -} - -func (x ChangedPaths_Status) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ChangedPaths_Status.Descriptor instead. -func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{14, 0} -} - -// This comment is left unintentionally blank. -type CommitDiffRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - // This comment is left unintentionally blank. - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - // This comment is left unintentionally blank. - IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange,proto3" json:"ignore_whitespace_change,omitempty"` - // This comment is left unintentionally blank. - Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` - // This comment is left unintentionally blank. - CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"` - // This comment is left unintentionally blank. - EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"` - // These limits are only enforced when enforce_limits == true. - MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"` - // This comment is left unintentionally blank. - MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` - // This comment is left unintentionally blank. - MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` - // Limitation of a single diff patch, - // patches surpassing this limit are pruned by default. - // If this is 0 you will get back empty patches. - MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes,proto3" json:"max_patch_bytes,omitempty"` - // These limits are only enforced if collapse_diffs == true. - SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles,proto3" json:"safe_max_files,omitempty"` - // This comment is left unintentionally blank. - SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` - // This comment is left unintentionally blank. - SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` - // DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. - DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"` -} - -func (x *CommitDiffRequest) Reset() { - *x = CommitDiffRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitDiffRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitDiffRequest) ProtoMessage() {} - -func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitDiffRequest.ProtoReflect.Descriptor instead. -func (*CommitDiffRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{0} -} - -func (x *CommitDiffRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitDiffRequest) GetLeftCommitId() string { - if x != nil { - return x.LeftCommitId - } - return "" -} - -func (x *CommitDiffRequest) GetRightCommitId() string { - if x != nil { - return x.RightCommitId - } - return "" -} - -func (x *CommitDiffRequest) GetIgnoreWhitespaceChange() bool { - if x != nil { - return x.IgnoreWhitespaceChange - } - return false -} - -func (x *CommitDiffRequest) GetPaths() [][]byte { - if x != nil { - return x.Paths - } - return nil -} - -func (x *CommitDiffRequest) GetCollapseDiffs() bool { - if x != nil { - return x.CollapseDiffs - } - return false -} - -func (x *CommitDiffRequest) GetEnforceLimits() bool { - if x != nil { - return x.EnforceLimits - } - return false -} - -func (x *CommitDiffRequest) GetMaxFiles() int32 { - if x != nil { - return x.MaxFiles - } - return 0 -} - -func (x *CommitDiffRequest) GetMaxLines() int32 { - if x != nil { - return x.MaxLines - } - return 0 -} - -func (x *CommitDiffRequest) GetMaxBytes() int32 { - if x != nil { - return x.MaxBytes - } - return 0 -} - -func (x *CommitDiffRequest) GetMaxPatchBytes() int32 { - if x != nil { - return x.MaxPatchBytes - } - return 0 -} - -func (x *CommitDiffRequest) GetSafeMaxFiles() int32 { - if x != nil { - return x.SafeMaxFiles - } - return 0 -} - -func (x *CommitDiffRequest) GetSafeMaxLines() int32 { - if x != nil { - return x.SafeMaxLines - } - return 0 -} - -func (x *CommitDiffRequest) GetSafeMaxBytes() int32 { - if x != nil { - return x.SafeMaxBytes - } - return 0 -} - -func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode { - if x != nil { - return x.DiffMode - } - return CommitDiffRequest_DEFAULT -} - -// A CommitDiffResponse corresponds to a single changed file in a commit. -type CommitDiffResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` - // This comment is left unintentionally blank. - ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` - // Blob ID as returned via `git diff --full-index` - FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` - // This comment is left unintentionally blank. - ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` - // This comment is left unintentionally blank. - OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` - // This comment is left unintentionally blank. - NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` - // This comment is left unintentionally blank. - Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"` - // This comment is left unintentionally blank. - RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"` - // This comment is left unintentionally blank. - EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"` - // Indicates the diff file at which we overflow according to the limitations sent, - // in which case only this attribute will be set. - OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker,proto3" json:"overflow_marker,omitempty"` - // Indicates the patch surpassed a "safe" limit and was therefore pruned, but - // the client may still request the full patch on a separate request. - Collapsed bool `protobuf:"varint,12,opt,name=collapsed,proto3" json:"collapsed,omitempty"` - // Indicates the patch was pruned since it surpassed a hard limit, and can - // therefore not be expanded. - TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` -} - -func (x *CommitDiffResponse) Reset() { - *x = CommitDiffResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitDiffResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitDiffResponse) ProtoMessage() {} - -func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitDiffResponse.ProtoReflect.Descriptor instead. -func (*CommitDiffResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{1} -} - -func (x *CommitDiffResponse) GetFromPath() []byte { - if x != nil { - return x.FromPath - } - return nil -} - -func (x *CommitDiffResponse) GetToPath() []byte { - if x != nil { - return x.ToPath - } - return nil -} - -func (x *CommitDiffResponse) GetFromId() string { - if x != nil { - return x.FromId - } - return "" -} - -func (x *CommitDiffResponse) GetToId() string { - if x != nil { - return x.ToId - } - return "" -} - -func (x *CommitDiffResponse) GetOldMode() int32 { - if x != nil { - return x.OldMode - } - return 0 -} - -func (x *CommitDiffResponse) GetNewMode() int32 { - if x != nil { - return x.NewMode - } - return 0 -} - -func (x *CommitDiffResponse) GetBinary() bool { - if x != nil { - return x.Binary - } - return false -} - -func (x *CommitDiffResponse) GetRawPatchData() []byte { - if x != nil { - return x.RawPatchData - } - return nil -} - -func (x *CommitDiffResponse) GetEndOfPatch() bool { - if x != nil { - return x.EndOfPatch - } - return false -} - -func (x *CommitDiffResponse) GetOverflowMarker() bool { - if x != nil { - return x.OverflowMarker - } - return false -} - -func (x *CommitDiffResponse) GetCollapsed() bool { - if x != nil { - return x.Collapsed - } - return false -} - -func (x *CommitDiffResponse) GetTooLarge() bool { - if x != nil { - return x.TooLarge - } - return false -} - -// This comment is left unintentionally blank. -type CommitDeltaRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - // This comment is left unintentionally blank. - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - // This comment is left unintentionally blank. - Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` -} - -func (x *CommitDeltaRequest) Reset() { - *x = CommitDeltaRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitDeltaRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitDeltaRequest) ProtoMessage() {} - -func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitDeltaRequest.ProtoReflect.Descriptor instead. -func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{2} -} - -func (x *CommitDeltaRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CommitDeltaRequest) GetLeftCommitId() string { - if x != nil { - return x.LeftCommitId - } - return "" -} - -func (x *CommitDeltaRequest) GetRightCommitId() string { - if x != nil { - return x.RightCommitId - } - return "" -} - -func (x *CommitDeltaRequest) GetPaths() [][]byte { - if x != nil { - return x.Paths - } - return nil -} - -// This comment is left unintentionally blank. -type CommitDelta struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` - // This comment is left unintentionally blank. - ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` - // Blob ID as returned via `git diff --full-index` - FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` - // This comment is left unintentionally blank. - ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` - // This comment is left unintentionally blank. - OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` - // This comment is left unintentionally blank. - NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` -} - -func (x *CommitDelta) Reset() { - *x = CommitDelta{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitDelta) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitDelta) ProtoMessage() {} - -func (x *CommitDelta) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitDelta.ProtoReflect.Descriptor instead. -func (*CommitDelta) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{3} -} - -func (x *CommitDelta) GetFromPath() []byte { - if x != nil { - return x.FromPath - } - return nil -} - -func (x *CommitDelta) GetToPath() []byte { - if x != nil { - return x.ToPath - } - return nil -} - -func (x *CommitDelta) GetFromId() string { - if x != nil { - return x.FromId - } - return "" -} - -func (x *CommitDelta) GetToId() string { - if x != nil { - return x.ToId - } - return "" -} - -func (x *CommitDelta) GetOldMode() int32 { - if x != nil { - return x.OldMode - } - return 0 -} - -func (x *CommitDelta) GetNewMode() int32 { - if x != nil { - return x.NewMode - } - return 0 -} - -// This comment is left unintentionally blank. -type CommitDeltaResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` -} - -func (x *CommitDeltaResponse) Reset() { - *x = CommitDeltaResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitDeltaResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitDeltaResponse) ProtoMessage() {} - -func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitDeltaResponse.ProtoReflect.Descriptor instead. -func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{4} -} - -func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta { - if x != nil { - return x.Deltas - } - return nil -} - -// This comment is left unintentionally blank. -type RawDiffRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - // This comment is left unintentionally blank. - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` -} - -func (x *RawDiffRequest) Reset() { - *x = RawDiffRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawDiffRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawDiffRequest) ProtoMessage() {} - -func (x *RawDiffRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawDiffRequest.ProtoReflect.Descriptor instead. -func (*RawDiffRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{5} -} - -func (x *RawDiffRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RawDiffRequest) GetLeftCommitId() string { - if x != nil { - return x.LeftCommitId - } - return "" -} - -func (x *RawDiffRequest) GetRightCommitId() string { - if x != nil { - return x.RightCommitId - } - return "" -} - -// This comment is left unintentionally blank. -type RawDiffResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *RawDiffResponse) Reset() { - *x = RawDiffResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawDiffResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawDiffResponse) ProtoMessage() {} - -func (x *RawDiffResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawDiffResponse.ProtoReflect.Descriptor instead. -func (*RawDiffResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{6} -} - -func (x *RawDiffResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type RawPatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - // This comment is left unintentionally blank. - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` -} - -func (x *RawPatchRequest) Reset() { - *x = RawPatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawPatchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawPatchRequest) ProtoMessage() {} - -func (x *RawPatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawPatchRequest.ProtoReflect.Descriptor instead. -func (*RawPatchRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{7} -} - -func (x *RawPatchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RawPatchRequest) GetLeftCommitId() string { - if x != nil { - return x.LeftCommitId - } - return "" -} - -func (x *RawPatchRequest) GetRightCommitId() string { - if x != nil { - return x.RightCommitId - } - return "" -} - -// This comment is left unintentionally blank. -type RawPatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *RawPatchResponse) Reset() { - *x = RawPatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RawPatchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RawPatchResponse) ProtoMessage() {} - -func (x *RawPatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RawPatchResponse.ProtoReflect.Descriptor instead. -func (*RawPatchResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{8} -} - -func (x *RawPatchResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type DiffStatsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - // This comment is left unintentionally blank. - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` -} - -func (x *DiffStatsRequest) Reset() { - *x = DiffStatsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiffStatsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiffStatsRequest) ProtoMessage() {} - -func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiffStatsRequest.ProtoReflect.Descriptor instead. -func (*DiffStatsRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{9} -} - -func (x *DiffStatsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *DiffStatsRequest) GetLeftCommitId() string { - if x != nil { - return x.LeftCommitId - } - return "" -} - -func (x *DiffStatsRequest) GetRightCommitId() string { - if x != nil { - return x.RightCommitId - } - return "" -} - -// This comment is left unintentionally blank. -type DiffStats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` - // This comment is left unintentionally blank. - Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` - // This comment is left unintentionally blank. - OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` -} - -func (x *DiffStats) Reset() { - *x = DiffStats{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiffStats) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiffStats) ProtoMessage() {} - -func (x *DiffStats) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiffStats.ProtoReflect.Descriptor instead. -func (*DiffStats) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{10} -} - -func (x *DiffStats) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *DiffStats) GetAdditions() int32 { - if x != nil { - return x.Additions - } - return 0 -} - -func (x *DiffStats) GetDeletions() int32 { - if x != nil { - return x.Deletions - } - return 0 -} - -func (x *DiffStats) GetOldPath() []byte { - if x != nil { - return x.OldPath - } - return nil -} - -// This comment is left unintentionally blank. -type DiffStatsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` -} - -func (x *DiffStatsResponse) Reset() { - *x = DiffStatsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiffStatsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiffStatsResponse) ProtoMessage() {} - -func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiffStatsResponse.ProtoReflect.Descriptor instead. -func (*DiffStatsResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{11} -} - -func (x *DiffStatsResponse) GetStats() []*DiffStats { - if x != nil { - return x.Stats - } - return nil -} - -// Given a list of commits, return the files changed. Each commit is compared -// to its parent. Merge commits will show files which are different to all of -// its parents. -type FindChangedPathsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` -} - -func (x *FindChangedPathsRequest) Reset() { - *x = FindChangedPathsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindChangedPathsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindChangedPathsRequest) ProtoMessage() {} - -func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindChangedPathsRequest.ProtoReflect.Descriptor instead. -func (*FindChangedPathsRequest) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{12} -} - -func (x *FindChangedPathsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindChangedPathsRequest) GetCommits() []string { - if x != nil { - return x.Commits - } - return nil -} - -// Returns a list of files that have been changed in the commits given -type FindChangedPathsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` -} - -func (x *FindChangedPathsResponse) Reset() { - *x = FindChangedPathsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindChangedPathsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindChangedPathsResponse) ProtoMessage() {} - -func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindChangedPathsResponse.ProtoReflect.Descriptor instead. -func (*FindChangedPathsResponse) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{13} -} - -func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths { - if x != nil { - return x.Paths - } - return nil -} - -// Includes the path of the file, and the status of the change -type ChangedPaths struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` -} - -func (x *ChangedPaths) Reset() { - *x = ChangedPaths{} - if protoimpl.UnsafeEnabled { - mi := &file_diff_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangedPaths) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangedPaths) ProtoMessage() {} - -func (x *ChangedPaths) ProtoReflect() protoreflect.Message { - mi := &file_diff_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangedPaths.ProtoReflect.Descriptor instead. -func (*ChangedPaths) Descriptor() ([]byte, []int) { - return file_diff_proto_rawDescGZIP(), []int{14} -} - -func (x *ChangedPaths) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *ChangedPaths) GetStatus() ChangedPaths_Status { - if x != nil { - return x.Status - } - return ChangedPaths_ADDED -} - -var File_diff_proto protoreflect.FileDescriptor - -var file_diff_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, - 0x05, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, - 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, - 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, - 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, - 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, - 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x73, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x44, 0x69, - 0x66, 0x66, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x6c, - 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x66, - 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, - 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, - 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, - 0x69, 0x6e, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, - 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, - 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, - 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, - 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, - 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, - 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, - 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, - 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, - 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, - 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, - 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x64, - 0x69, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, - 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, - 0x64, 0x65, 0x52, 0x08, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x25, 0x0a, 0x08, - 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, - 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x4f, 0x52, 0x44, 0x44, 0x49, 0x46, - 0x46, 0x10, 0x01, 0x22, 0xf8, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, - 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, - 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, - 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, - 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, - 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, - 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, - 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x07, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, - 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, - 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x74, - 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, - 0x61, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, - 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, - 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, - 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, - 0x6f, 0x6f, 0x5f, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, - 0x74, 0x6f, 0x6f, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xb2, - 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, - 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, - 0x74, 0x68, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, - 0x6c, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, - 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, - 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, - 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x42, 0x0a, - 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, - 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, - 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, - 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0f, - 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, - 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, - 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, - 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, - 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3c, 0x0a, 0x11, - 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, - 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x6d, 0x0a, 0x17, 0x46, 0x69, - 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x18, 0x46, 0x69, 0x6e, - 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2e, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x00, - 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, - 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, - 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x04, 0x32, 0xea, 0x03, 0x0a, 0x0b, 0x44, 0x69, 0x66, - 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x07, 0x52, 0x61, 0x77, - 0x44, 0x69, 0x66, 0x66, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, - 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, - 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, - 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, - 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, - 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, - 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, - 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_diff_proto_rawDescOnce sync.Once - file_diff_proto_rawDescData = file_diff_proto_rawDesc -) - -func file_diff_proto_rawDescGZIP() []byte { - file_diff_proto_rawDescOnce.Do(func() { - file_diff_proto_rawDescData = protoimpl.X.CompressGZIP(file_diff_proto_rawDescData) - }) - return file_diff_proto_rawDescData -} - -var file_diff_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_diff_proto_msgTypes = make([]protoimpl.MessageInfo, 15) -var file_diff_proto_goTypes = []interface{}{ - (CommitDiffRequest_DiffMode)(0), // 0: gitaly.CommitDiffRequest.DiffMode - (ChangedPaths_Status)(0), // 1: gitaly.ChangedPaths.Status - (*CommitDiffRequest)(nil), // 2: gitaly.CommitDiffRequest - (*CommitDiffResponse)(nil), // 3: gitaly.CommitDiffResponse - (*CommitDeltaRequest)(nil), // 4: gitaly.CommitDeltaRequest - (*CommitDelta)(nil), // 5: gitaly.CommitDelta - (*CommitDeltaResponse)(nil), // 6: gitaly.CommitDeltaResponse - (*RawDiffRequest)(nil), // 7: gitaly.RawDiffRequest - (*RawDiffResponse)(nil), // 8: gitaly.RawDiffResponse - (*RawPatchRequest)(nil), // 9: gitaly.RawPatchRequest - (*RawPatchResponse)(nil), // 10: gitaly.RawPatchResponse - (*DiffStatsRequest)(nil), // 11: gitaly.DiffStatsRequest - (*DiffStats)(nil), // 12: gitaly.DiffStats - (*DiffStatsResponse)(nil), // 13: gitaly.DiffStatsResponse - (*FindChangedPathsRequest)(nil), // 14: gitaly.FindChangedPathsRequest - (*FindChangedPathsResponse)(nil), // 15: gitaly.FindChangedPathsResponse - (*ChangedPaths)(nil), // 16: gitaly.ChangedPaths - (*Repository)(nil), // 17: gitaly.Repository -} -var file_diff_proto_depIdxs = []int32{ - 17, // 0: gitaly.CommitDiffRequest.repository:type_name -> gitaly.Repository - 0, // 1: gitaly.CommitDiffRequest.diff_mode:type_name -> gitaly.CommitDiffRequest.DiffMode - 17, // 2: gitaly.CommitDeltaRequest.repository:type_name -> gitaly.Repository - 5, // 3: gitaly.CommitDeltaResponse.deltas:type_name -> gitaly.CommitDelta - 17, // 4: gitaly.RawDiffRequest.repository:type_name -> gitaly.Repository - 17, // 5: gitaly.RawPatchRequest.repository:type_name -> gitaly.Repository - 17, // 6: gitaly.DiffStatsRequest.repository:type_name -> gitaly.Repository - 12, // 7: gitaly.DiffStatsResponse.stats:type_name -> gitaly.DiffStats - 17, // 8: gitaly.FindChangedPathsRequest.repository:type_name -> gitaly.Repository - 16, // 9: gitaly.FindChangedPathsResponse.paths:type_name -> gitaly.ChangedPaths - 1, // 10: gitaly.ChangedPaths.status:type_name -> gitaly.ChangedPaths.Status - 2, // 11: gitaly.DiffService.CommitDiff:input_type -> gitaly.CommitDiffRequest - 4, // 12: gitaly.DiffService.CommitDelta:input_type -> gitaly.CommitDeltaRequest - 7, // 13: gitaly.DiffService.RawDiff:input_type -> gitaly.RawDiffRequest - 9, // 14: gitaly.DiffService.RawPatch:input_type -> gitaly.RawPatchRequest - 11, // 15: gitaly.DiffService.DiffStats:input_type -> gitaly.DiffStatsRequest - 14, // 16: gitaly.DiffService.FindChangedPaths:input_type -> gitaly.FindChangedPathsRequest - 3, // 17: gitaly.DiffService.CommitDiff:output_type -> gitaly.CommitDiffResponse - 6, // 18: gitaly.DiffService.CommitDelta:output_type -> gitaly.CommitDeltaResponse - 8, // 19: gitaly.DiffService.RawDiff:output_type -> gitaly.RawDiffResponse - 10, // 20: gitaly.DiffService.RawPatch:output_type -> gitaly.RawPatchResponse - 13, // 21: gitaly.DiffService.DiffStats:output_type -> gitaly.DiffStatsResponse - 15, // 22: gitaly.DiffService.FindChangedPaths:output_type -> gitaly.FindChangedPathsResponse - 17, // [17:23] is the sub-list for method output_type - 11, // [11:17] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name -} - -func init() { file_diff_proto_init() } -func file_diff_proto_init() { - if File_diff_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_diff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitDiffRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitDiffResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitDeltaRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitDelta); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitDeltaResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawDiffRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawDiffResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawPatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RawPatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiffStatsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiffStats); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiffStatsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindChangedPathsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindChangedPathsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_diff_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangedPaths); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_diff_proto_rawDesc, - NumEnums: 2, - NumMessages: 15, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_diff_proto_goTypes, - DependencyIndexes: file_diff_proto_depIdxs, - EnumInfos: file_diff_proto_enumTypes, - MessageInfos: file_diff_proto_msgTypes, - }.Build() - File_diff_proto = out.File - file_diff_proto_rawDesc = nil - file_diff_proto_goTypes = nil - file_diff_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/diff_grpc.pb.go b/proto/go/gitalypb/diff_grpc.pb.go deleted file mode 100644 index c946202b6..000000000 --- a/proto/go/gitalypb/diff_grpc.pb.go +++ /dev/null @@ -1,455 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// DiffServiceClient is the client API for DiffService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type DiffServiceClient interface { - // Returns stream of CommitDiffResponse with patches chunked over messages - CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) - // Return a stream so we can divide the response in chunks of deltas - CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) - // This comment is left unintentionally blank. - RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) - // This comment is left unintentionally blank. - RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) - // This comment is left unintentionally blank. - DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) - // Return a list of files changed along with the status of each file - FindChangedPaths(ctx context.Context, in *FindChangedPathsRequest, opts ...grpc.CallOption) (DiffService_FindChangedPathsClient, error) -} - -type diffServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewDiffServiceClient(cc grpc.ClientConnInterface) DiffServiceClient { - return &diffServiceClient{cc} -} - -func (c *diffServiceClient) CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[0], "/gitaly.DiffService/CommitDiff", opts...) - if err != nil { - return nil, err - } - x := &diffServiceCommitDiffClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_CommitDiffClient interface { - Recv() (*CommitDiffResponse, error) - grpc.ClientStream -} - -type diffServiceCommitDiffClient struct { - grpc.ClientStream -} - -func (x *diffServiceCommitDiffClient) Recv() (*CommitDiffResponse, error) { - m := new(CommitDiffResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *diffServiceClient) CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[1], "/gitaly.DiffService/CommitDelta", opts...) - if err != nil { - return nil, err - } - x := &diffServiceCommitDeltaClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_CommitDeltaClient interface { - Recv() (*CommitDeltaResponse, error) - grpc.ClientStream -} - -type diffServiceCommitDeltaClient struct { - grpc.ClientStream -} - -func (x *diffServiceCommitDeltaClient) Recv() (*CommitDeltaResponse, error) { - m := new(CommitDeltaResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *diffServiceClient) RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[2], "/gitaly.DiffService/RawDiff", opts...) - if err != nil { - return nil, err - } - x := &diffServiceRawDiffClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_RawDiffClient interface { - Recv() (*RawDiffResponse, error) - grpc.ClientStream -} - -type diffServiceRawDiffClient struct { - grpc.ClientStream -} - -func (x *diffServiceRawDiffClient) Recv() (*RawDiffResponse, error) { - m := new(RawDiffResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *diffServiceClient) RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[3], "/gitaly.DiffService/RawPatch", opts...) - if err != nil { - return nil, err - } - x := &diffServiceRawPatchClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_RawPatchClient interface { - Recv() (*RawPatchResponse, error) - grpc.ClientStream -} - -type diffServiceRawPatchClient struct { - grpc.ClientStream -} - -func (x *diffServiceRawPatchClient) Recv() (*RawPatchResponse, error) { - m := new(RawPatchResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *diffServiceClient) DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[4], "/gitaly.DiffService/DiffStats", opts...) - if err != nil { - return nil, err - } - x := &diffServiceDiffStatsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_DiffStatsClient interface { - Recv() (*DiffStatsResponse, error) - grpc.ClientStream -} - -type diffServiceDiffStatsClient struct { - grpc.ClientStream -} - -func (x *diffServiceDiffStatsClient) Recv() (*DiffStatsResponse, error) { - m := new(DiffStatsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *diffServiceClient) FindChangedPaths(ctx context.Context, in *FindChangedPathsRequest, opts ...grpc.CallOption) (DiffService_FindChangedPathsClient, error) { - stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[5], "/gitaly.DiffService/FindChangedPaths", opts...) - if err != nil { - return nil, err - } - x := &diffServiceFindChangedPathsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type DiffService_FindChangedPathsClient interface { - Recv() (*FindChangedPathsResponse, error) - grpc.ClientStream -} - -type diffServiceFindChangedPathsClient struct { - grpc.ClientStream -} - -func (x *diffServiceFindChangedPathsClient) Recv() (*FindChangedPathsResponse, error) { - m := new(FindChangedPathsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// DiffServiceServer is the server API for DiffService service. -// All implementations must embed UnimplementedDiffServiceServer -// for forward compatibility -type DiffServiceServer interface { - // Returns stream of CommitDiffResponse with patches chunked over messages - CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error - // Return a stream so we can divide the response in chunks of deltas - CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error - // This comment is left unintentionally blank. - RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error - // This comment is left unintentionally blank. - RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error - // This comment is left unintentionally blank. - DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error - // Return a list of files changed along with the status of each file - FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error - mustEmbedUnimplementedDiffServiceServer() -} - -// UnimplementedDiffServiceServer must be embedded to have forward compatible implementations. -type UnimplementedDiffServiceServer struct { -} - -func (UnimplementedDiffServiceServer) CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error { - return status.Errorf(codes.Unimplemented, "method CommitDiff not implemented") -} -func (UnimplementedDiffServiceServer) CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error { - return status.Errorf(codes.Unimplemented, "method CommitDelta not implemented") -} -func (UnimplementedDiffServiceServer) RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error { - return status.Errorf(codes.Unimplemented, "method RawDiff not implemented") -} -func (UnimplementedDiffServiceServer) RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error { - return status.Errorf(codes.Unimplemented, "method RawPatch not implemented") -} -func (UnimplementedDiffServiceServer) DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error { - return status.Errorf(codes.Unimplemented, "method DiffStats not implemented") -} -func (UnimplementedDiffServiceServer) FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error { - return status.Errorf(codes.Unimplemented, "method FindChangedPaths not implemented") -} -func (UnimplementedDiffServiceServer) mustEmbedUnimplementedDiffServiceServer() {} - -// UnsafeDiffServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to DiffServiceServer will -// result in compilation errors. -type UnsafeDiffServiceServer interface { - mustEmbedUnimplementedDiffServiceServer() -} - -func RegisterDiffServiceServer(s grpc.ServiceRegistrar, srv DiffServiceServer) { - s.RegisterService(&DiffService_ServiceDesc, srv) -} - -func _DiffService_CommitDiff_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CommitDiffRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).CommitDiff(m, &diffServiceCommitDiffServer{stream}) -} - -type DiffService_CommitDiffServer interface { - Send(*CommitDiffResponse) error - grpc.ServerStream -} - -type diffServiceCommitDiffServer struct { - grpc.ServerStream -} - -func (x *diffServiceCommitDiffServer) Send(m *CommitDiffResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _DiffService_CommitDelta_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CommitDeltaRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).CommitDelta(m, &diffServiceCommitDeltaServer{stream}) -} - -type DiffService_CommitDeltaServer interface { - Send(*CommitDeltaResponse) error - grpc.ServerStream -} - -type diffServiceCommitDeltaServer struct { - grpc.ServerStream -} - -func (x *diffServiceCommitDeltaServer) Send(m *CommitDeltaResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _DiffService_RawDiff_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(RawDiffRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).RawDiff(m, &diffServiceRawDiffServer{stream}) -} - -type DiffService_RawDiffServer interface { - Send(*RawDiffResponse) error - grpc.ServerStream -} - -type diffServiceRawDiffServer struct { - grpc.ServerStream -} - -func (x *diffServiceRawDiffServer) Send(m *RawDiffResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _DiffService_RawPatch_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(RawPatchRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).RawPatch(m, &diffServiceRawPatchServer{stream}) -} - -type DiffService_RawPatchServer interface { - Send(*RawPatchResponse) error - grpc.ServerStream -} - -type diffServiceRawPatchServer struct { - grpc.ServerStream -} - -func (x *diffServiceRawPatchServer) Send(m *RawPatchResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _DiffService_DiffStats_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(DiffStatsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).DiffStats(m, &diffServiceDiffStatsServer{stream}) -} - -type DiffService_DiffStatsServer interface { - Send(*DiffStatsResponse) error - grpc.ServerStream -} - -type diffServiceDiffStatsServer struct { - grpc.ServerStream -} - -func (x *diffServiceDiffStatsServer) Send(m *DiffStatsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _DiffService_FindChangedPaths_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindChangedPathsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(DiffServiceServer).FindChangedPaths(m, &diffServiceFindChangedPathsServer{stream}) -} - -type DiffService_FindChangedPathsServer interface { - Send(*FindChangedPathsResponse) error - grpc.ServerStream -} - -type diffServiceFindChangedPathsServer struct { - grpc.ServerStream -} - -func (x *diffServiceFindChangedPathsServer) Send(m *FindChangedPathsResponse) error { - return x.ServerStream.SendMsg(m) -} - -// DiffService_ServiceDesc is the grpc.ServiceDesc for DiffService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var DiffService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.DiffService", - HandlerType: (*DiffServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "CommitDiff", - Handler: _DiffService_CommitDiff_Handler, - ServerStreams: true, - }, - { - StreamName: "CommitDelta", - Handler: _DiffService_CommitDelta_Handler, - ServerStreams: true, - }, - { - StreamName: "RawDiff", - Handler: _DiffService_RawDiff_Handler, - ServerStreams: true, - }, - { - StreamName: "RawPatch", - Handler: _DiffService_RawPatch_Handler, - ServerStreams: true, - }, - { - StreamName: "DiffStats", - Handler: _DiffService_DiffStats_Handler, - ServerStreams: true, - }, - { - StreamName: "FindChangedPaths", - Handler: _DiffService_FindChangedPaths_Handler, - ServerStreams: true, - }, - }, - Metadata: "diff.proto", -} diff --git a/proto/go/gitalypb/errors.pb.go b/proto/go/gitalypb/errors.pb.go deleted file mode 100644 index 4131727c6..000000000 --- a/proto/go/gitalypb/errors.pb.go +++ /dev/null @@ -1,623 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: errors.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - durationpb "google.golang.org/protobuf/types/known/durationpb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// AccessCheckError is an error returned by GitLab's `/internal/allowed` -// endpoint. -type AccessCheckError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ErrorMessage is the error message as returned by the endpoint. - ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - // Protocol is the protocol used. - Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` - // UserId is the user ID as which changes had been pushed. - UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // Changes is the set of changes which have failed the access check. - Changes []byte `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"` -} - -func (x *AccessCheckError) Reset() { - *x = AccessCheckError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AccessCheckError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AccessCheckError) ProtoMessage() {} - -func (x *AccessCheckError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AccessCheckError.ProtoReflect.Descriptor instead. -func (*AccessCheckError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{0} -} - -func (x *AccessCheckError) GetErrorMessage() string { - if x != nil { - return x.ErrorMessage - } - return "" -} - -func (x *AccessCheckError) GetProtocol() string { - if x != nil { - return x.Protocol - } - return "" -} - -func (x *AccessCheckError) GetUserId() string { - if x != nil { - return x.UserId - } - return "" -} - -func (x *AccessCheckError) GetChanges() []byte { - if x != nil { - return x.Changes - } - return nil -} - -// NotAncestorError is an error returned when parent_revision is not an ancestor -// of the child_revision. -type NotAncestorError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ParentRevision is the revision checked against ChildRevision for whether it - // is an ancestor of ChildRevision - ParentRevision []byte `protobuf:"bytes,1,opt,name=parent_revision,json=parentRevision,proto3" json:"parent_revision,omitempty"` - // ChildRevision is the revision checked against ParentRevision for whether - // it is a descendent of ChildRevision. - ChildRevision []byte `protobuf:"bytes,2,opt,name=child_revision,json=childRevision,proto3" json:"child_revision,omitempty"` -} - -func (x *NotAncestorError) Reset() { - *x = NotAncestorError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NotAncestorError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NotAncestorError) ProtoMessage() {} - -func (x *NotAncestorError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NotAncestorError.ProtoReflect.Descriptor instead. -func (*NotAncestorError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{1} -} - -func (x *NotAncestorError) GetParentRevision() []byte { - if x != nil { - return x.ParentRevision - } - return nil -} - -func (x *NotAncestorError) GetChildRevision() []byte { - if x != nil { - return x.ChildRevision - } - return nil -} - -// ChangesAlreadyAppliedError is an error returned when the operation would -// have resulted in no changes because these changes have already been applied. -type ChangesAlreadyAppliedError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ChangesAlreadyAppliedError) Reset() { - *x = ChangesAlreadyAppliedError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ChangesAlreadyAppliedError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ChangesAlreadyAppliedError) ProtoMessage() {} - -func (x *ChangesAlreadyAppliedError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ChangesAlreadyAppliedError.ProtoReflect.Descriptor instead. -func (*ChangesAlreadyAppliedError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{2} -} - -// MergeConflictError is an error returned in the case when merging two commits -// fails due to a merge conflict. -type MergeConflictError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ConflictingFiles is the set of files which have been conflicting. If this - // field is empty, then there has still been a merge conflict, but it wasn't - // able to determine which files have been conflicting. - ConflictingFiles [][]byte `protobuf:"bytes,1,rep,name=conflicting_files,json=conflictingFiles,proto3" json:"conflicting_files,omitempty"` -} - -func (x *MergeConflictError) Reset() { - *x = MergeConflictError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MergeConflictError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MergeConflictError) ProtoMessage() {} - -func (x *MergeConflictError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MergeConflictError.ProtoReflect.Descriptor instead. -func (*MergeConflictError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{3} -} - -func (x *MergeConflictError) GetConflictingFiles() [][]byte { - if x != nil { - return x.ConflictingFiles - } - return nil -} - -// ReferenceUpdateError is an error returned when updating a reference has -// failed. -type ReferenceUpdateError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ReferenceName is the name of the reference that failed to be updated. - ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` - // OldOid is the object ID the reference should have pointed to before the update. - OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` - // NewOid is the object ID the reference should have pointed to after the update. - NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` -} - -func (x *ReferenceUpdateError) Reset() { - *x = ReferenceUpdateError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReferenceUpdateError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReferenceUpdateError) ProtoMessage() {} - -func (x *ReferenceUpdateError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReferenceUpdateError.ProtoReflect.Descriptor instead. -func (*ReferenceUpdateError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{4} -} - -func (x *ReferenceUpdateError) GetReferenceName() []byte { - if x != nil { - return x.ReferenceName - } - return nil -} - -func (x *ReferenceUpdateError) GetOldOid() string { - if x != nil { - return x.OldOid - } - return "" -} - -func (x *ReferenceUpdateError) GetNewOid() string { - if x != nil { - return x.NewOid - } - return "" -} - -// ResolveRevisionError is an error returned when resolving a specific revision -// has failed. -type ResolveRevisionError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Revision is the name of the revision that was tried to be resolved. - Revision []byte `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` -} - -func (x *ResolveRevisionError) Reset() { - *x = ResolveRevisionError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResolveRevisionError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResolveRevisionError) ProtoMessage() {} - -func (x *ResolveRevisionError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ResolveRevisionError.ProtoReflect.Descriptor instead. -func (*ResolveRevisionError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{5} -} - -func (x *ResolveRevisionError) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -// LimitError is an error returned when Gitaly enforces request limits. -type LimitError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ErrorMessage provides context into why a limit was enforced. - ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` - // RetryAfter provides the duration after which a retry is safe. - // 0 indicates non-retryable. - RetryAfter *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"` -} - -func (x *LimitError) Reset() { - *x = LimitError{} - if protoimpl.UnsafeEnabled { - mi := &file_errors_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LimitError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LimitError) ProtoMessage() {} - -func (x *LimitError) ProtoReflect() protoreflect.Message { - mi := &file_errors_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LimitError.ProtoReflect.Descriptor instead. -func (*LimitError) Descriptor() ([]byte, []int) { - return file_errors_proto_rawDescGZIP(), []int{6} -} - -func (x *LimitError) GetErrorMessage() string { - if x != nil { - return x.ErrorMessage - } - return "" -} - -func (x *LimitError) GetRetryAfter() *durationpb.Duration { - if x != nil { - return x.RetryAfter - } - return nil -} - -var File_errors_proto protoreflect.FileDescriptor - -var file_errors_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, - 0x62, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, - 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, - 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x41, 0x0a, 0x12, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x6c, - 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x22, 0x6f, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x4f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, - 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, - 0x65, 0x77, 0x4f, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, - 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x0a, 0x4c, 0x69, 0x6d, - 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, - 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0b, - 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, - 0x74, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, - 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, - 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_errors_proto_rawDescOnce sync.Once - file_errors_proto_rawDescData = file_errors_proto_rawDesc -) - -func file_errors_proto_rawDescGZIP() []byte { - file_errors_proto_rawDescOnce.Do(func() { - file_errors_proto_rawDescData = protoimpl.X.CompressGZIP(file_errors_proto_rawDescData) - }) - return file_errors_proto_rawDescData -} - -var file_errors_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_errors_proto_goTypes = []interface{}{ - (*AccessCheckError)(nil), // 0: gitaly.AccessCheckError - (*NotAncestorError)(nil), // 1: gitaly.NotAncestorError - (*ChangesAlreadyAppliedError)(nil), // 2: gitaly.ChangesAlreadyAppliedError - (*MergeConflictError)(nil), // 3: gitaly.MergeConflictError - (*ReferenceUpdateError)(nil), // 4: gitaly.ReferenceUpdateError - (*ResolveRevisionError)(nil), // 5: gitaly.ResolveRevisionError - (*LimitError)(nil), // 6: gitaly.LimitError - (*durationpb.Duration)(nil), // 7: google.protobuf.Duration -} -var file_errors_proto_depIdxs = []int32{ - 7, // 0: gitaly.LimitError.retry_after:type_name -> google.protobuf.Duration - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_errors_proto_init() } -func file_errors_proto_init() { - if File_errors_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_errors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AccessCheckError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NotAncestorError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ChangesAlreadyAppliedError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MergeConflictError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReferenceUpdateError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResolveRevisionError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_errors_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LimitError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_errors_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_errors_proto_goTypes, - DependencyIndexes: file_errors_proto_depIdxs, - MessageInfos: file_errors_proto_msgTypes, - }.Build() - File_errors_proto = out.File - file_errors_proto_rawDesc = nil - file_errors_proto_goTypes = nil - file_errors_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/hook.pb.go b/proto/go/gitalypb/hook.pb.go deleted file mode 100644 index 8fd4fe4c3..000000000 --- a/proto/go/gitalypb/hook.pb.go +++ /dev/null @@ -1,1104 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: hook.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type ReferenceTransactionHookRequest_State int32 - -const ( - // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_PREPARED ReferenceTransactionHookRequest_State = 0 - // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_COMMITTED ReferenceTransactionHookRequest_State = 1 - // This comment is left unintentionally blank. - ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 -) - -// Enum value maps for ReferenceTransactionHookRequest_State. -var ( - ReferenceTransactionHookRequest_State_name = map[int32]string{ - 0: "PREPARED", - 1: "COMMITTED", - 2: "ABORTED", - } - ReferenceTransactionHookRequest_State_value = map[string]int32{ - "PREPARED": 0, - "COMMITTED": 1, - "ABORTED": 2, - } -) - -func (x ReferenceTransactionHookRequest_State) Enum() *ReferenceTransactionHookRequest_State { - p := new(ReferenceTransactionHookRequest_State) - *p = x - return p -} - -func (x ReferenceTransactionHookRequest_State) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor { - return file_hook_proto_enumTypes[0].Descriptor() -} - -func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType { - return &file_hook_proto_enumTypes[0] -} - -func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ReferenceTransactionHookRequest_State.Descriptor instead. -func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{6, 0} -} - -// This comment is left unintentionally blank. -type PreReceiveHookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` - // This comment is left unintentionally blank. - Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` - // This comment is left unintentionally blank. - GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` -} - -func (x *PreReceiveHookRequest) Reset() { - *x = PreReceiveHookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PreReceiveHookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PreReceiveHookRequest) ProtoMessage() {} - -func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PreReceiveHookRequest.ProtoReflect.Descriptor instead. -func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{0} -} - -func (x *PreReceiveHookRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string { - if x != nil { - return x.EnvironmentVariables - } - return nil -} - -func (x *PreReceiveHookRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -func (x *PreReceiveHookRequest) GetGitPushOptions() []string { - if x != nil { - return x.GitPushOptions - } - return nil -} - -// This comment is left unintentionally blank. -type PreReceiveHookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // This comment is left unintentionally blank. - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This comment is left unintentionally blank. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *PreReceiveHookResponse) Reset() { - *x = PreReceiveHookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PreReceiveHookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PreReceiveHookResponse) ProtoMessage() {} - -func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PreReceiveHookResponse.ProtoReflect.Descriptor instead. -func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{1} -} - -func (x *PreReceiveHookResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *PreReceiveHookResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type PostReceiveHookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` - // This comment is left unintentionally blank. - Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` - // This comment is left unintentionally blank. - GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` -} - -func (x *PostReceiveHookRequest) Reset() { - *x = PostReceiveHookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostReceiveHookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostReceiveHookRequest) ProtoMessage() {} - -func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostReceiveHookRequest.ProtoReflect.Descriptor instead. -func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{2} -} - -func (x *PostReceiveHookRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string { - if x != nil { - return x.EnvironmentVariables - } - return nil -} - -func (x *PostReceiveHookRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -func (x *PostReceiveHookRequest) GetGitPushOptions() []string { - if x != nil { - return x.GitPushOptions - } - return nil -} - -// This comment is left unintentionally blank. -type PostReceiveHookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // This comment is left unintentionally blank. - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This comment is left unintentionally blank. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *PostReceiveHookResponse) Reset() { - *x = PostReceiveHookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostReceiveHookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostReceiveHookResponse) ProtoMessage() {} - -func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostReceiveHookResponse.ProtoReflect.Descriptor instead. -func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{3} -} - -func (x *PostReceiveHookResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *PostReceiveHookResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type UpdateHookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` - // This comment is left unintentionally blank. - Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` - // This comment is left unintentionally blank. - OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` - // This comment is left unintentionally blank. - NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` -} - -func (x *UpdateHookRequest) Reset() { - *x = UpdateHookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateHookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateHookRequest) ProtoMessage() {} - -func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead. -func (*UpdateHookRequest) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{4} -} - -func (x *UpdateHookRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UpdateHookRequest) GetEnvironmentVariables() []string { - if x != nil { - return x.EnvironmentVariables - } - return nil -} - -func (x *UpdateHookRequest) GetRef() []byte { - if x != nil { - return x.Ref - } - return nil -} - -func (x *UpdateHookRequest) GetOldValue() string { - if x != nil { - return x.OldValue - } - return "" -} - -func (x *UpdateHookRequest) GetNewValue() string { - if x != nil { - return x.NewValue - } - return "" -} - -// This comment is left unintentionally blank. -type UpdateHookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // This comment is left unintentionally blank. - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This comment is left unintentionally blank. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *UpdateHookResponse) Reset() { - *x = UpdateHookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateHookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateHookResponse) ProtoMessage() {} - -func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateHookResponse.ProtoReflect.Descriptor instead. -func (*UpdateHookResponse) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{5} -} - -func (x *UpdateHookResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *UpdateHookResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *UpdateHookResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type ReferenceTransactionHookRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` - // This comment is left unintentionally blank. - Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` - // This comment is left unintentionally blank. - State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"` -} - -func (x *ReferenceTransactionHookRequest) Reset() { - *x = ReferenceTransactionHookRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReferenceTransactionHookRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReferenceTransactionHookRequest) ProtoMessage() {} - -func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReferenceTransactionHookRequest.ProtoReflect.Descriptor instead. -func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{6} -} - -func (x *ReferenceTransactionHookRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { - if x != nil { - return x.EnvironmentVariables - } - return nil -} - -func (x *ReferenceTransactionHookRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { - if x != nil { - return x.State - } - return ReferenceTransactionHookRequest_PREPARED -} - -// This comment is left unintentionally blank. -type ReferenceTransactionHookResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // This comment is left unintentionally blank. - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This comment is left unintentionally blank. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *ReferenceTransactionHookResponse) Reset() { - *x = ReferenceTransactionHookResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReferenceTransactionHookResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReferenceTransactionHookResponse) ProtoMessage() {} - -func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReferenceTransactionHookResponse.ProtoReflect.Descriptor instead. -func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{7} -} - -func (x *ReferenceTransactionHookResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *ReferenceTransactionHookResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type PackObjectsHookWithSidechannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // args contains the arguments passed to the pack-objects hook, without the leading "git" - Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` -} - -func (x *PackObjectsHookWithSidechannelRequest) Reset() { - *x = PackObjectsHookWithSidechannelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PackObjectsHookWithSidechannelRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PackObjectsHookWithSidechannelRequest) ProtoMessage() {} - -func (x *PackObjectsHookWithSidechannelRequest) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PackObjectsHookWithSidechannelRequest.ProtoReflect.Descriptor instead. -func (*PackObjectsHookWithSidechannelRequest) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{8} -} - -func (x *PackObjectsHookWithSidechannelRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PackObjectsHookWithSidechannelRequest) GetArgs() []string { - if x != nil { - return x.Args - } - return nil -} - -// This comment is left unintentionally blank. -type PackObjectsHookWithSidechannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PackObjectsHookWithSidechannelResponse) Reset() { - *x = PackObjectsHookWithSidechannelResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_hook_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PackObjectsHookWithSidechannelResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PackObjectsHookWithSidechannelResponse) ProtoMessage() {} - -func (x *PackObjectsHookWithSidechannelResponse) ProtoReflect() protoreflect.Message { - mi := &file_hook_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PackObjectsHookWithSidechannelResponse.ProtoReflect.Descriptor instead. -func (*PackObjectsHookWithSidechannelResponse) Descriptor() ([]byte, []int) { - return file_hook_proto_rawDescGZIP(), []int{9} -} - -var File_hook_proto protoreflect.FileDescriptor - -var file_hook_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, - 0x01, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, - 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, - 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x52, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, - 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, - 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc7, 0x01, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, - 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, - 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, - 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x7e, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, - 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, - 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, - 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x22, 0xce, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x79, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, - 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9e, 0x02, 0x0a, - 0x1f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, - 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, - 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, - 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, - 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x31, 0x0a, 0x05, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x01, - 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x87, 0x01, - 0x0a, 0x20, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, - 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, - 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, - 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x75, 0x0a, 0x25, 0x50, 0x61, 0x63, 0x6b, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, - 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, - 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x28, - 0x0a, 0x26, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, - 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x9e, 0x04, 0x0a, 0x0b, 0x48, 0x6f, 0x6f, - 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x52, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, - 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, - 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, - 0x6f, 0x6f, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, - 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x18, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, - 0x12, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, - 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, - 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, - 0x87, 0x01, 0x0a, 0x1e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, - 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x12, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, - 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, - 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, - 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, - 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_hook_proto_rawDescOnce sync.Once - file_hook_proto_rawDescData = file_hook_proto_rawDesc -) - -func file_hook_proto_rawDescGZIP() []byte { - file_hook_proto_rawDescOnce.Do(func() { - file_hook_proto_rawDescData = protoimpl.X.CompressGZIP(file_hook_proto_rawDescData) - }) - return file_hook_proto_rawDescData -} - -var file_hook_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_hook_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_hook_proto_goTypes = []interface{}{ - (ReferenceTransactionHookRequest_State)(0), // 0: gitaly.ReferenceTransactionHookRequest.State - (*PreReceiveHookRequest)(nil), // 1: gitaly.PreReceiveHookRequest - (*PreReceiveHookResponse)(nil), // 2: gitaly.PreReceiveHookResponse - (*PostReceiveHookRequest)(nil), // 3: gitaly.PostReceiveHookRequest - (*PostReceiveHookResponse)(nil), // 4: gitaly.PostReceiveHookResponse - (*UpdateHookRequest)(nil), // 5: gitaly.UpdateHookRequest - (*UpdateHookResponse)(nil), // 6: gitaly.UpdateHookResponse - (*ReferenceTransactionHookRequest)(nil), // 7: gitaly.ReferenceTransactionHookRequest - (*ReferenceTransactionHookResponse)(nil), // 8: gitaly.ReferenceTransactionHookResponse - (*PackObjectsHookWithSidechannelRequest)(nil), // 9: gitaly.PackObjectsHookWithSidechannelRequest - (*PackObjectsHookWithSidechannelResponse)(nil), // 10: gitaly.PackObjectsHookWithSidechannelResponse - (*Repository)(nil), // 11: gitaly.Repository - (*ExitStatus)(nil), // 12: gitaly.ExitStatus -} -var file_hook_proto_depIdxs = []int32{ - 11, // 0: gitaly.PreReceiveHookRequest.repository:type_name -> gitaly.Repository - 12, // 1: gitaly.PreReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus - 11, // 2: gitaly.PostReceiveHookRequest.repository:type_name -> gitaly.Repository - 12, // 3: gitaly.PostReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus - 11, // 4: gitaly.UpdateHookRequest.repository:type_name -> gitaly.Repository - 12, // 5: gitaly.UpdateHookResponse.exit_status:type_name -> gitaly.ExitStatus - 11, // 6: gitaly.ReferenceTransactionHookRequest.repository:type_name -> gitaly.Repository - 0, // 7: gitaly.ReferenceTransactionHookRequest.state:type_name -> gitaly.ReferenceTransactionHookRequest.State - 12, // 8: gitaly.ReferenceTransactionHookResponse.exit_status:type_name -> gitaly.ExitStatus - 11, // 9: gitaly.PackObjectsHookWithSidechannelRequest.repository:type_name -> gitaly.Repository - 1, // 10: gitaly.HookService.PreReceiveHook:input_type -> gitaly.PreReceiveHookRequest - 3, // 11: gitaly.HookService.PostReceiveHook:input_type -> gitaly.PostReceiveHookRequest - 5, // 12: gitaly.HookService.UpdateHook:input_type -> gitaly.UpdateHookRequest - 7, // 13: gitaly.HookService.ReferenceTransactionHook:input_type -> gitaly.ReferenceTransactionHookRequest - 9, // 14: gitaly.HookService.PackObjectsHookWithSidechannel:input_type -> gitaly.PackObjectsHookWithSidechannelRequest - 2, // 15: gitaly.HookService.PreReceiveHook:output_type -> gitaly.PreReceiveHookResponse - 4, // 16: gitaly.HookService.PostReceiveHook:output_type -> gitaly.PostReceiveHookResponse - 6, // 17: gitaly.HookService.UpdateHook:output_type -> gitaly.UpdateHookResponse - 8, // 18: gitaly.HookService.ReferenceTransactionHook:output_type -> gitaly.ReferenceTransactionHookResponse - 10, // 19: gitaly.HookService.PackObjectsHookWithSidechannel:output_type -> gitaly.PackObjectsHookWithSidechannelResponse - 15, // [15:20] is the sub-list for method output_type - 10, // [10:15] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_hook_proto_init() } -func file_hook_proto_init() { - if File_hook_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_hook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PreReceiveHookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PreReceiveHookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostReceiveHookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostReceiveHookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateHookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateHookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReferenceTransactionHookRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReferenceTransactionHookResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackObjectsHookWithSidechannelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_hook_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackObjectsHookWithSidechannelResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_hook_proto_rawDesc, - NumEnums: 1, - NumMessages: 10, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_hook_proto_goTypes, - DependencyIndexes: file_hook_proto_depIdxs, - EnumInfos: file_hook_proto_enumTypes, - MessageInfos: file_hook_proto_msgTypes, - }.Build() - File_hook_proto = out.File - file_hook_proto_rawDesc = nil - file_hook_proto_goTypes = nil - file_hook_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/hook_grpc.pb.go b/proto/go/gitalypb/hook_grpc.pb.go deleted file mode 100644 index a87c5f932..000000000 --- a/proto/go/gitalypb/hook_grpc.pb.go +++ /dev/null @@ -1,381 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// HookServiceClient is the client API for HookService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type HookServiceClient interface { - // This comment is left unintentionally blank. - PreReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PreReceiveHookClient, error) - // This comment is left unintentionally blank. - PostReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PostReceiveHookClient, error) - // This comment is left unintentionally blank. - UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (HookService_UpdateHookClient, error) - // This comment is left unintentionally blank. - ReferenceTransactionHook(ctx context.Context, opts ...grpc.CallOption) (HookService_ReferenceTransactionHookClient, error) - // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses - // a unix socket side channel. - PackObjectsHookWithSidechannel(ctx context.Context, in *PackObjectsHookWithSidechannelRequest, opts ...grpc.CallOption) (*PackObjectsHookWithSidechannelResponse, error) -} - -type hookServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient { - return &hookServiceClient{cc} -} - -func (c *hookServiceClient) PreReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PreReceiveHookClient, error) { - stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[0], "/gitaly.HookService/PreReceiveHook", opts...) - if err != nil { - return nil, err - } - x := &hookServicePreReceiveHookClient{stream} - return x, nil -} - -type HookService_PreReceiveHookClient interface { - Send(*PreReceiveHookRequest) error - Recv() (*PreReceiveHookResponse, error) - grpc.ClientStream -} - -type hookServicePreReceiveHookClient struct { - grpc.ClientStream -} - -func (x *hookServicePreReceiveHookClient) Send(m *PreReceiveHookRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *hookServicePreReceiveHookClient) Recv() (*PreReceiveHookResponse, error) { - m := new(PreReceiveHookResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *hookServiceClient) PostReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PostReceiveHookClient, error) { - stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[1], "/gitaly.HookService/PostReceiveHook", opts...) - if err != nil { - return nil, err - } - x := &hookServicePostReceiveHookClient{stream} - return x, nil -} - -type HookService_PostReceiveHookClient interface { - Send(*PostReceiveHookRequest) error - Recv() (*PostReceiveHookResponse, error) - grpc.ClientStream -} - -type hookServicePostReceiveHookClient struct { - grpc.ClientStream -} - -func (x *hookServicePostReceiveHookClient) Send(m *PostReceiveHookRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *hookServicePostReceiveHookClient) Recv() (*PostReceiveHookResponse, error) { - m := new(PostReceiveHookResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *hookServiceClient) UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (HookService_UpdateHookClient, error) { - stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[2], "/gitaly.HookService/UpdateHook", opts...) - if err != nil { - return nil, err - } - x := &hookServiceUpdateHookClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type HookService_UpdateHookClient interface { - Recv() (*UpdateHookResponse, error) - grpc.ClientStream -} - -type hookServiceUpdateHookClient struct { - grpc.ClientStream -} - -func (x *hookServiceUpdateHookClient) Recv() (*UpdateHookResponse, error) { - m := new(UpdateHookResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *hookServiceClient) ReferenceTransactionHook(ctx context.Context, opts ...grpc.CallOption) (HookService_ReferenceTransactionHookClient, error) { - stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[3], "/gitaly.HookService/ReferenceTransactionHook", opts...) - if err != nil { - return nil, err - } - x := &hookServiceReferenceTransactionHookClient{stream} - return x, nil -} - -type HookService_ReferenceTransactionHookClient interface { - Send(*ReferenceTransactionHookRequest) error - Recv() (*ReferenceTransactionHookResponse, error) - grpc.ClientStream -} - -type hookServiceReferenceTransactionHookClient struct { - grpc.ClientStream -} - -func (x *hookServiceReferenceTransactionHookClient) Send(m *ReferenceTransactionHookRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *hookServiceReferenceTransactionHookClient) Recv() (*ReferenceTransactionHookResponse, error) { - m := new(ReferenceTransactionHookResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *hookServiceClient) PackObjectsHookWithSidechannel(ctx context.Context, in *PackObjectsHookWithSidechannelRequest, opts ...grpc.CallOption) (*PackObjectsHookWithSidechannelResponse, error) { - out := new(PackObjectsHookWithSidechannelResponse) - err := c.cc.Invoke(ctx, "/gitaly.HookService/PackObjectsHookWithSidechannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// HookServiceServer is the server API for HookService service. -// All implementations must embed UnimplementedHookServiceServer -// for forward compatibility -type HookServiceServer interface { - // This comment is left unintentionally blank. - PreReceiveHook(HookService_PreReceiveHookServer) error - // This comment is left unintentionally blank. - PostReceiveHook(HookService_PostReceiveHookServer) error - // This comment is left unintentionally blank. - UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error - // This comment is left unintentionally blank. - ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error - // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses - // a unix socket side channel. - PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error) - mustEmbedUnimplementedHookServiceServer() -} - -// UnimplementedHookServiceServer must be embedded to have forward compatible implementations. -type UnimplementedHookServiceServer struct { -} - -func (UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error { - return status.Errorf(codes.Unimplemented, "method PreReceiveHook not implemented") -} -func (UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error { - return status.Errorf(codes.Unimplemented, "method PostReceiveHook not implemented") -} -func (UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error { - return status.Errorf(codes.Unimplemented, "method UpdateHook not implemented") -} -func (UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error { - return status.Errorf(codes.Unimplemented, "method ReferenceTransactionHook not implemented") -} -func (UnimplementedHookServiceServer) PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PackObjectsHookWithSidechannel not implemented") -} -func (UnimplementedHookServiceServer) mustEmbedUnimplementedHookServiceServer() {} - -// UnsafeHookServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to HookServiceServer will -// result in compilation errors. -type UnsafeHookServiceServer interface { - mustEmbedUnimplementedHookServiceServer() -} - -func RegisterHookServiceServer(s grpc.ServiceRegistrar, srv HookServiceServer) { - s.RegisterService(&HookService_ServiceDesc, srv) -} - -func _HookService_PreReceiveHook_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(HookServiceServer).PreReceiveHook(&hookServicePreReceiveHookServer{stream}) -} - -type HookService_PreReceiveHookServer interface { - Send(*PreReceiveHookResponse) error - Recv() (*PreReceiveHookRequest, error) - grpc.ServerStream -} - -type hookServicePreReceiveHookServer struct { - grpc.ServerStream -} - -func (x *hookServicePreReceiveHookServer) Send(m *PreReceiveHookResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *hookServicePreReceiveHookServer) Recv() (*PreReceiveHookRequest, error) { - m := new(PreReceiveHookRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _HookService_PostReceiveHook_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(HookServiceServer).PostReceiveHook(&hookServicePostReceiveHookServer{stream}) -} - -type HookService_PostReceiveHookServer interface { - Send(*PostReceiveHookResponse) error - Recv() (*PostReceiveHookRequest, error) - grpc.ServerStream -} - -type hookServicePostReceiveHookServer struct { - grpc.ServerStream -} - -func (x *hookServicePostReceiveHookServer) Send(m *PostReceiveHookResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *hookServicePostReceiveHookServer) Recv() (*PostReceiveHookRequest, error) { - m := new(PostReceiveHookRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _HookService_UpdateHook_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(UpdateHookRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(HookServiceServer).UpdateHook(m, &hookServiceUpdateHookServer{stream}) -} - -type HookService_UpdateHookServer interface { - Send(*UpdateHookResponse) error - grpc.ServerStream -} - -type hookServiceUpdateHookServer struct { - grpc.ServerStream -} - -func (x *hookServiceUpdateHookServer) Send(m *UpdateHookResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _HookService_ReferenceTransactionHook_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(HookServiceServer).ReferenceTransactionHook(&hookServiceReferenceTransactionHookServer{stream}) -} - -type HookService_ReferenceTransactionHookServer interface { - Send(*ReferenceTransactionHookResponse) error - Recv() (*ReferenceTransactionHookRequest, error) - grpc.ServerStream -} - -type hookServiceReferenceTransactionHookServer struct { - grpc.ServerStream -} - -func (x *hookServiceReferenceTransactionHookServer) Send(m *ReferenceTransactionHookResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *hookServiceReferenceTransactionHookServer) Recv() (*ReferenceTransactionHookRequest, error) { - m := new(ReferenceTransactionHookRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _HookService_PackObjectsHookWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PackObjectsHookWithSidechannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(HookServiceServer).PackObjectsHookWithSidechannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.HookService/PackObjectsHookWithSidechannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(HookServiceServer).PackObjectsHookWithSidechannel(ctx, req.(*PackObjectsHookWithSidechannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// HookService_ServiceDesc is the grpc.ServiceDesc for HookService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var HookService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.HookService", - HandlerType: (*HookServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "PackObjectsHookWithSidechannel", - Handler: _HookService_PackObjectsHookWithSidechannel_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "PreReceiveHook", - Handler: _HookService_PreReceiveHook_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "PostReceiveHook", - Handler: _HookService_PostReceiveHook_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "UpdateHook", - Handler: _HookService_UpdateHook_Handler, - ServerStreams: true, - }, - { - StreamName: "ReferenceTransactionHook", - Handler: _HookService_ReferenceTransactionHook_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "hook.proto", -} diff --git a/proto/go/gitalypb/internal.pb.go b/proto/go/gitalypb/internal.pb.go deleted file mode 100644 index ed3f6bcd4..000000000 --- a/proto/go/gitalypb/internal.pb.go +++ /dev/null @@ -1,244 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: internal.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type WalkReposRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` -} - -func (x *WalkReposRequest) Reset() { - *x = WalkReposRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WalkReposRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WalkReposRequest) ProtoMessage() {} - -func (x *WalkReposRequest) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WalkReposRequest.ProtoReflect.Descriptor instead. -func (*WalkReposRequest) Descriptor() ([]byte, []int) { - return file_internal_proto_rawDescGZIP(), []int{0} -} - -func (x *WalkReposRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -// This comment is left unintentionally blank. -type WalkReposResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // modification_time is the modification time of the repository directory. - // This can be used as a proxy for when the repository was last - // modified. - ModificationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"` -} - -func (x *WalkReposResponse) Reset() { - *x = WalkReposResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_internal_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WalkReposResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WalkReposResponse) ProtoMessage() {} - -func (x *WalkReposResponse) ProtoReflect() protoreflect.Message { - mi := &file_internal_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WalkReposResponse.ProtoReflect.Descriptor instead. -func (*WalkReposResponse) Descriptor() ([]byte, []int) { - return file_internal_proto_rawDescGZIP(), []int{1} -} - -func (x *WalkReposResponse) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *WalkReposResponse) GetModificationTime() *timestamppb.Timestamp { - if x != nil { - return x.ModificationTime - } - return nil -} - -var File_internal_proto protoreflect.FileDescriptor - -var file_internal_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x10, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x47, 0x0a, - 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x32, 0x5e, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x47, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x12, 0x4c, 0x0a, 0x09, 0x57, 0x61, 0x6c, 0x6b, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, - 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, - 0x08, 0x02, 0x10, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_internal_proto_rawDescOnce sync.Once - file_internal_proto_rawDescData = file_internal_proto_rawDesc -) - -func file_internal_proto_rawDescGZIP() []byte { - file_internal_proto_rawDescOnce.Do(func() { - file_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_proto_rawDescData) - }) - return file_internal_proto_rawDescData -} - -var file_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_internal_proto_goTypes = []interface{}{ - (*WalkReposRequest)(nil), // 0: gitaly.WalkReposRequest - (*WalkReposResponse)(nil), // 1: gitaly.WalkReposResponse - (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp -} -var file_internal_proto_depIdxs = []int32{ - 2, // 0: gitaly.WalkReposResponse.modification_time:type_name -> google.protobuf.Timestamp - 0, // 1: gitaly.InternalGitaly.WalkRepos:input_type -> gitaly.WalkReposRequest - 1, // 2: gitaly.InternalGitaly.WalkRepos:output_type -> gitaly.WalkReposResponse - 2, // [2:3] is the sub-list for method output_type - 1, // [1:2] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_internal_proto_init() } -func file_internal_proto_init() { - if File_internal_proto != nil { - return - } - file_lint_proto_init() - if !protoimpl.UnsafeEnabled { - file_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WalkReposRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WalkReposResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_internal_proto_rawDesc, - NumEnums: 0, - NumMessages: 2, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_internal_proto_goTypes, - DependencyIndexes: file_internal_proto_depIdxs, - MessageInfos: file_internal_proto_msgTypes, - }.Build() - File_internal_proto = out.File - file_internal_proto_rawDesc = nil - file_internal_proto_goTypes = nil - file_internal_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/internal_grpc.pb.go b/proto/go/gitalypb/internal_grpc.pb.go deleted file mode 100644 index 6b5b3564c..000000000 --- a/proto/go/gitalypb/internal_grpc.pb.go +++ /dev/null @@ -1,132 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// InternalGitalyClient is the client API for InternalGitaly service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type InternalGitalyClient interface { - // WalkRepos walks the storage and streams back all known git repos on the - // requested storage - WalkRepos(ctx context.Context, in *WalkReposRequest, opts ...grpc.CallOption) (InternalGitaly_WalkReposClient, error) -} - -type internalGitalyClient struct { - cc grpc.ClientConnInterface -} - -func NewInternalGitalyClient(cc grpc.ClientConnInterface) InternalGitalyClient { - return &internalGitalyClient{cc} -} - -func (c *internalGitalyClient) WalkRepos(ctx context.Context, in *WalkReposRequest, opts ...grpc.CallOption) (InternalGitaly_WalkReposClient, error) { - stream, err := c.cc.NewStream(ctx, &InternalGitaly_ServiceDesc.Streams[0], "/gitaly.InternalGitaly/WalkRepos", opts...) - if err != nil { - return nil, err - } - x := &internalGitalyWalkReposClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type InternalGitaly_WalkReposClient interface { - Recv() (*WalkReposResponse, error) - grpc.ClientStream -} - -type internalGitalyWalkReposClient struct { - grpc.ClientStream -} - -func (x *internalGitalyWalkReposClient) Recv() (*WalkReposResponse, error) { - m := new(WalkReposResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// InternalGitalyServer is the server API for InternalGitaly service. -// All implementations must embed UnimplementedInternalGitalyServer -// for forward compatibility -type InternalGitalyServer interface { - // WalkRepos walks the storage and streams back all known git repos on the - // requested storage - WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error - mustEmbedUnimplementedInternalGitalyServer() -} - -// UnimplementedInternalGitalyServer must be embedded to have forward compatible implementations. -type UnimplementedInternalGitalyServer struct { -} - -func (UnimplementedInternalGitalyServer) WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error { - return status.Errorf(codes.Unimplemented, "method WalkRepos not implemented") -} -func (UnimplementedInternalGitalyServer) mustEmbedUnimplementedInternalGitalyServer() {} - -// UnsafeInternalGitalyServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to InternalGitalyServer will -// result in compilation errors. -type UnsafeInternalGitalyServer interface { - mustEmbedUnimplementedInternalGitalyServer() -} - -func RegisterInternalGitalyServer(s grpc.ServiceRegistrar, srv InternalGitalyServer) { - s.RegisterService(&InternalGitaly_ServiceDesc, srv) -} - -func _InternalGitaly_WalkRepos_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(WalkReposRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(InternalGitalyServer).WalkRepos(m, &internalGitalyWalkReposServer{stream}) -} - -type InternalGitaly_WalkReposServer interface { - Send(*WalkReposResponse) error - grpc.ServerStream -} - -type internalGitalyWalkReposServer struct { - grpc.ServerStream -} - -func (x *internalGitalyWalkReposServer) Send(m *WalkReposResponse) error { - return x.ServerStream.SendMsg(m) -} - -// InternalGitaly_ServiceDesc is the grpc.ServiceDesc for InternalGitaly service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var InternalGitaly_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.InternalGitaly", - HandlerType: (*InternalGitalyServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "WalkRepos", - Handler: _InternalGitaly_WalkRepos_Handler, - ServerStreams: true, - }, - }, - Metadata: "internal.proto", -} diff --git a/proto/go/gitalypb/lint.pb.go b/proto/go/gitalypb/lint.pb.go deleted file mode 100644 index 08d2ad0ae..000000000 --- a/proto/go/gitalypb/lint.pb.go +++ /dev/null @@ -1,438 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: lint.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - descriptorpb "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type OperationMsg_Operation int32 - -const ( - // This comment is left unintentionally blank. - OperationMsg_UNKNOWN OperationMsg_Operation = 0 - // This comment is left unintentionally blank. - OperationMsg_MUTATOR OperationMsg_Operation = 1 - // This comment is left unintentionally blank. - OperationMsg_ACCESSOR OperationMsg_Operation = 2 - // This comment is left unintentionally blank. - OperationMsg_MAINTENANCE OperationMsg_Operation = 3 -) - -// Enum value maps for OperationMsg_Operation. -var ( - OperationMsg_Operation_name = map[int32]string{ - 0: "UNKNOWN", - 1: "MUTATOR", - 2: "ACCESSOR", - 3: "MAINTENANCE", - } - OperationMsg_Operation_value = map[string]int32{ - "UNKNOWN": 0, - "MUTATOR": 1, - "ACCESSOR": 2, - "MAINTENANCE": 3, - } -) - -func (x OperationMsg_Operation) Enum() *OperationMsg_Operation { - p := new(OperationMsg_Operation) - *p = x - return p -} - -func (x OperationMsg_Operation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OperationMsg_Operation) Descriptor() protoreflect.EnumDescriptor { - return file_lint_proto_enumTypes[0].Descriptor() -} - -func (OperationMsg_Operation) Type() protoreflect.EnumType { - return &file_lint_proto_enumTypes[0] -} - -func (x OperationMsg_Operation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use OperationMsg_Operation.Descriptor instead. -func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int) { - return file_lint_proto_rawDescGZIP(), []int{0, 0} -} - -// This comment is left unintentionally blank. -type OperationMsg_Scope int32 - -const ( - // This comment is left unintentionally blank. - OperationMsg_REPOSITORY OperationMsg_Scope = 0 - // This comment is left unintentionally blank. - OperationMsg_STORAGE OperationMsg_Scope = 2 -) - -// Enum value maps for OperationMsg_Scope. -var ( - OperationMsg_Scope_name = map[int32]string{ - 0: "REPOSITORY", - 2: "STORAGE", - } - OperationMsg_Scope_value = map[string]int32{ - "REPOSITORY": 0, - "STORAGE": 2, - } -) - -func (x OperationMsg_Scope) Enum() *OperationMsg_Scope { - p := new(OperationMsg_Scope) - *p = x - return p -} - -func (x OperationMsg_Scope) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (OperationMsg_Scope) Descriptor() protoreflect.EnumDescriptor { - return file_lint_proto_enumTypes[1].Descriptor() -} - -func (OperationMsg_Scope) Type() protoreflect.EnumType { - return &file_lint_proto_enumTypes[1] -} - -func (x OperationMsg_Scope) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use OperationMsg_Scope.Descriptor instead. -func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int) { - return file_lint_proto_rawDescGZIP(), []int{0, 1} -} - -// This comment is left unintentionally blank. -type OperationMsg struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"` - // Scope level indicates what level an RPC interacts with a server: - // - REPOSITORY: scoped to only a single repo - // - SERVER: affects the entire server and potentially all repos - // - STORAGE: scoped to a specific storage location and all repos within - ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` -} - -func (x *OperationMsg) Reset() { - *x = OperationMsg{} - if protoimpl.UnsafeEnabled { - mi := &file_lint_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OperationMsg) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OperationMsg) ProtoMessage() {} - -func (x *OperationMsg) ProtoReflect() protoreflect.Message { - mi := &file_lint_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OperationMsg.ProtoReflect.Descriptor instead. -func (*OperationMsg) Descriptor() ([]byte, []int) { - return file_lint_proto_rawDescGZIP(), []int{0} -} - -func (x *OperationMsg) GetOp() OperationMsg_Operation { - if x != nil { - return x.Op - } - return OperationMsg_UNKNOWN -} - -func (x *OperationMsg) GetScopeLevel() OperationMsg_Scope { - if x != nil { - return x.ScopeLevel - } - return OperationMsg_REPOSITORY -} - -var file_lint_proto_extTypes = []protoimpl.ExtensionInfo{ - { - ExtendedType: (*descriptorpb.ServiceOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 82302, - Name: "gitaly.intercepted", - Tag: "varint,82302,opt,name=intercepted", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*OperationMsg)(nil), - Field: 82303, - Name: "gitaly.op_type", - Tag: "bytes,82303,opt,name=op_type", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.MethodOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 82304, - Name: "gitaly.intercepted_method", - Tag: "varint,82304,opt,name=intercepted_method", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91233, - Name: "gitaly.storage", - Tag: "varint,91233,opt,name=storage", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91234, - Name: "gitaly.repository", - Tag: "varint,91234,opt,name=repository", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91235, - Name: "gitaly.target_repository", - Tag: "varint,91235,opt,name=target_repository", - Filename: "lint.proto", - }, - { - ExtendedType: (*descriptorpb.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91236, - Name: "gitaly.additional_repository", - Tag: "varint,91236,opt,name=additional_repository", - Filename: "lint.proto", - }, -} - -// Extension fields to descriptorpb.ServiceOptions. -var ( - // intercepted indicates whether the proxy intercepts and handles the call - // instead of proxying. Intercepted services do not require scope or operation - // annotations. - // - // optional bool intercepted = 82302; - E_Intercepted = &file_lint_proto_extTypes[0] -) - -// Extension fields to descriptorpb.MethodOptions. -var ( - // Random high number.. - // - // optional gitaly.OperationMsg op_type = 82303; - E_OpType = &file_lint_proto_extTypes[1] - // intercepted_method indicates whether the proxy intercepts and handles the method call - // instead of proxying. Intercepted methods do not require operation type annotations. - // - // optional bool intercepted_method = 82304; - E_InterceptedMethod = &file_lint_proto_extTypes[2] -) - -// Extension fields to descriptorpb.FieldOptions. -var ( - // Used to mark field containing name of affected storage. - // - // optional bool storage = 91233; - E_Storage = &file_lint_proto_extTypes[3] // Random high number.. - // If this operation modifies a repository, this annotations - // will specify the location of the Repository field within - // the request message. - // - // Repository annotation is used mark field used as repository - // when parent message is marked as target or additional repository - // - // optional bool repository = 91234; - E_Repository = &file_lint_proto_extTypes[4] - // Used to mark target repository - // - // optional bool target_repository = 91235; - E_TargetRepository = &file_lint_proto_extTypes[5] - // Used to mark additional repository - // - // optional bool additional_repository = 91236; - E_AdditionalRepository = &file_lint_proto_extTypes[6] -) - -var File_lint_proto protoreflect.FileDescriptor - -var file_lint_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x70, 0x65, - 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, - 0x73, 0x67, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4c, - 0x65, 0x76, 0x65, 0x6c, 0x22, 0x44, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, - 0x0a, 0x07, 0x4d, 0x55, 0x54, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, - 0x43, 0x43, 0x45, 0x53, 0x53, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x41, 0x49, - 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x22, 0x32, 0x0a, 0x05, 0x53, 0x63, - 0x6f, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, - 0x59, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x02, - 0x22, 0x04, 0x08, 0x01, 0x10, 0x01, 0x2a, 0x06, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x3a, 0x43, - 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfe, - 0x82, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, - 0x74, 0x65, 0x64, 0x3a, 0x4f, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xff, - 0x82, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x52, 0x06, 0x6f, 0x70, - 0x54, 0x79, 0x70, 0x65, 0x3a, 0x4f, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, - 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x80, 0x83, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x4d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3a, 0x39, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0xe1, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x3a, 0x3f, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe2, 0xc8, - 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x3a, 0x4c, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe3, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x3a, - 0x54, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, - 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe4, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, - 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, -} - -var ( - file_lint_proto_rawDescOnce sync.Once - file_lint_proto_rawDescData = file_lint_proto_rawDesc -) - -func file_lint_proto_rawDescGZIP() []byte { - file_lint_proto_rawDescOnce.Do(func() { - file_lint_proto_rawDescData = protoimpl.X.CompressGZIP(file_lint_proto_rawDescData) - }) - return file_lint_proto_rawDescData -} - -var file_lint_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_lint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_lint_proto_goTypes = []interface{}{ - (OperationMsg_Operation)(0), // 0: gitaly.OperationMsg.Operation - (OperationMsg_Scope)(0), // 1: gitaly.OperationMsg.Scope - (*OperationMsg)(nil), // 2: gitaly.OperationMsg - (*descriptorpb.ServiceOptions)(nil), // 3: google.protobuf.ServiceOptions - (*descriptorpb.MethodOptions)(nil), // 4: google.protobuf.MethodOptions - (*descriptorpb.FieldOptions)(nil), // 5: google.protobuf.FieldOptions -} -var file_lint_proto_depIdxs = []int32{ - 0, // 0: gitaly.OperationMsg.op:type_name -> gitaly.OperationMsg.Operation - 1, // 1: gitaly.OperationMsg.scope_level:type_name -> gitaly.OperationMsg.Scope - 3, // 2: gitaly.intercepted:extendee -> google.protobuf.ServiceOptions - 4, // 3: gitaly.op_type:extendee -> google.protobuf.MethodOptions - 4, // 4: gitaly.intercepted_method:extendee -> google.protobuf.MethodOptions - 5, // 5: gitaly.storage:extendee -> google.protobuf.FieldOptions - 5, // 6: gitaly.repository:extendee -> google.protobuf.FieldOptions - 5, // 7: gitaly.target_repository:extendee -> google.protobuf.FieldOptions - 5, // 8: gitaly.additional_repository:extendee -> google.protobuf.FieldOptions - 2, // 9: gitaly.op_type:type_name -> gitaly.OperationMsg - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 9, // [9:10] is the sub-list for extension type_name - 2, // [2:9] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_lint_proto_init() } -func file_lint_proto_init() { - if File_lint_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_lint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperationMsg); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_lint_proto_rawDesc, - NumEnums: 2, - NumMessages: 1, - NumExtensions: 7, - NumServices: 0, - }, - GoTypes: file_lint_proto_goTypes, - DependencyIndexes: file_lint_proto_depIdxs, - EnumInfos: file_lint_proto_enumTypes, - MessageInfos: file_lint_proto_msgTypes, - ExtensionInfos: file_lint_proto_extTypes, - }.Build() - File_lint_proto = out.File - file_lint_proto_rawDesc = nil - file_lint_proto_goTypes = nil - file_lint_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/namespace.pb.go b/proto/go/gitalypb/namespace.pb.go deleted file mode 100644 index 135661650..000000000 --- a/proto/go/gitalypb/namespace.pb.go +++ /dev/null @@ -1,658 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: namespace.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type AddNamespaceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *AddNamespaceRequest) Reset() { - *x = AddNamespaceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddNamespaceRequest) ProtoMessage() {} - -func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddNamespaceRequest.ProtoReflect.Descriptor instead. -func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{0} -} - -func (x *AddNamespaceRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *AddNamespaceRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// This comment is left unintentionally blank. -type RemoveNamespaceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *RemoveNamespaceRequest) Reset() { - *x = RemoveNamespaceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveNamespaceRequest) ProtoMessage() {} - -func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead. -func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{1} -} - -func (x *RemoveNamespaceRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *RemoveNamespaceRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// This comment is left unintentionally blank. -type RenameNamespaceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - // This comment is left unintentionally blank. - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` -} - -func (x *RenameNamespaceRequest) Reset() { - *x = RenameNamespaceRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameNamespaceRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameNamespaceRequest) ProtoMessage() {} - -func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameNamespaceRequest.ProtoReflect.Descriptor instead. -func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{2} -} - -func (x *RenameNamespaceRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *RenameNamespaceRequest) GetFrom() string { - if x != nil { - return x.From - } - return "" -} - -func (x *RenameNamespaceRequest) GetTo() string { - if x != nil { - return x.To - } - return "" -} - -// This comment is left unintentionally blank. -type NamespaceExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *NamespaceExistsRequest) Reset() { - *x = NamespaceExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NamespaceExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceExistsRequest) ProtoMessage() {} - -func (x *NamespaceExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceExistsRequest.ProtoReflect.Descriptor instead. -func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{3} -} - -func (x *NamespaceExistsRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *NamespaceExistsRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -// This comment is left unintentionally blank. -type NamespaceExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` -} - -func (x *NamespaceExistsResponse) Reset() { - *x = NamespaceExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *NamespaceExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*NamespaceExistsResponse) ProtoMessage() {} - -func (x *NamespaceExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use NamespaceExistsResponse.ProtoReflect.Descriptor instead. -func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{4} -} - -func (x *NamespaceExistsResponse) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -// This comment is left unintentionally blank. -type AddNamespaceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *AddNamespaceResponse) Reset() { - *x = AddNamespaceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddNamespaceResponse) ProtoMessage() {} - -func (x *AddNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddNamespaceResponse.ProtoReflect.Descriptor instead. -func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{5} -} - -// This comment is left unintentionally blank. -type RemoveNamespaceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RemoveNamespaceResponse) Reset() { - *x = RemoveNamespaceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveNamespaceResponse) ProtoMessage() {} - -func (x *RemoveNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveNamespaceResponse.ProtoReflect.Descriptor instead. -func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{6} -} - -// This comment is left unintentionally blank. -type RenameNamespaceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RenameNamespaceResponse) Reset() { - *x = RenameNamespaceResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_namespace_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameNamespaceResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameNamespaceResponse) ProtoMessage() {} - -func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message { - mi := &file_namespace_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameNamespaceResponse.ProtoReflect.Descriptor instead. -func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { - return file_namespace_proto_rawDescGZIP(), []int{7} -} - -var File_namespace_proto protoreflect.FileDescriptor - -var file_namespace_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x16, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, - 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x65, 0x0a, 0x16, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, - 0x0a, 0x17, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x22, 0x16, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, - 0x81, 0x03, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, - 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6d, - 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, - 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, - 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, - 0x02, 0x10, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, - 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, -} - -var ( - file_namespace_proto_rawDescOnce sync.Once - file_namespace_proto_rawDescData = file_namespace_proto_rawDesc -) - -func file_namespace_proto_rawDescGZIP() []byte { - file_namespace_proto_rawDescOnce.Do(func() { - file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData) - }) - return file_namespace_proto_rawDescData -} - -var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_namespace_proto_goTypes = []interface{}{ - (*AddNamespaceRequest)(nil), // 0: gitaly.AddNamespaceRequest - (*RemoveNamespaceRequest)(nil), // 1: gitaly.RemoveNamespaceRequest - (*RenameNamespaceRequest)(nil), // 2: gitaly.RenameNamespaceRequest - (*NamespaceExistsRequest)(nil), // 3: gitaly.NamespaceExistsRequest - (*NamespaceExistsResponse)(nil), // 4: gitaly.NamespaceExistsResponse - (*AddNamespaceResponse)(nil), // 5: gitaly.AddNamespaceResponse - (*RemoveNamespaceResponse)(nil), // 6: gitaly.RemoveNamespaceResponse - (*RenameNamespaceResponse)(nil), // 7: gitaly.RenameNamespaceResponse -} -var file_namespace_proto_depIdxs = []int32{ - 0, // 0: gitaly.NamespaceService.AddNamespace:input_type -> gitaly.AddNamespaceRequest - 1, // 1: gitaly.NamespaceService.RemoveNamespace:input_type -> gitaly.RemoveNamespaceRequest - 2, // 2: gitaly.NamespaceService.RenameNamespace:input_type -> gitaly.RenameNamespaceRequest - 3, // 3: gitaly.NamespaceService.NamespaceExists:input_type -> gitaly.NamespaceExistsRequest - 5, // 4: gitaly.NamespaceService.AddNamespace:output_type -> gitaly.AddNamespaceResponse - 6, // 5: gitaly.NamespaceService.RemoveNamespace:output_type -> gitaly.RemoveNamespaceResponse - 7, // 6: gitaly.NamespaceService.RenameNamespace:output_type -> gitaly.RenameNamespaceResponse - 4, // 7: gitaly.NamespaceService.NamespaceExists:output_type -> gitaly.NamespaceExistsResponse - 4, // [4:8] is the sub-list for method output_type - 0, // [0:4] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name -} - -func init() { file_namespace_proto_init() } -func file_namespace_proto_init() { - if File_namespace_proto != nil { - return - } - file_lint_proto_init() - if !protoimpl.UnsafeEnabled { - file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddNamespaceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveNamespaceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameNamespaceRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamespaceExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*NamespaceExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddNamespaceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveNamespaceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_namespace_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameNamespaceResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_namespace_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_namespace_proto_goTypes, - DependencyIndexes: file_namespace_proto_depIdxs, - MessageInfos: file_namespace_proto_msgTypes, - }.Build() - File_namespace_proto = out.File - file_namespace_proto_rawDesc = nil - file_namespace_proto_goTypes = nil - file_namespace_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/namespace_grpc.pb.go b/proto/go/gitalypb/namespace_grpc.pb.go deleted file mode 100644 index b7d1b33ab..000000000 --- a/proto/go/gitalypb/namespace_grpc.pb.go +++ /dev/null @@ -1,217 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// NamespaceServiceClient is the client API for NamespaceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type NamespaceServiceClient interface { - // This comment is left unintentionally blank. - AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) - // This comment is left unintentionally blank. - RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) - // This comment is left unintentionally blank. - RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) - // This comment is left unintentionally blank. - NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) -} - -type namespaceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { - return &namespaceServiceClient{cc} -} - -func (c *namespaceServiceClient) AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) { - out := new(AddNamespaceResponse) - err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/AddNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) { - out := new(RemoveNamespaceResponse) - err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/RemoveNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) { - out := new(RenameNamespaceResponse) - err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/RenameNamespace", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *namespaceServiceClient) NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) { - out := new(NamespaceExistsResponse) - err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/NamespaceExists", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// NamespaceServiceServer is the server API for NamespaceService service. -// All implementations must embed UnimplementedNamespaceServiceServer -// for forward compatibility -type NamespaceServiceServer interface { - // This comment is left unintentionally blank. - AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) - // This comment is left unintentionally blank. - RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) - // This comment is left unintentionally blank. - RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) - // This comment is left unintentionally blank. - NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) - mustEmbedUnimplementedNamespaceServiceServer() -} - -// UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations. -type UnimplementedNamespaceServiceServer struct { -} - -func (UnimplementedNamespaceServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddNamespace not implemented") -} -func (UnimplementedNamespaceServiceServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveNamespace not implemented") -} -func (UnimplementedNamespaceServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameNamespace not implemented") -} -func (UnimplementedNamespaceServiceServer) NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method NamespaceExists not implemented") -} -func (UnimplementedNamespaceServiceServer) mustEmbedUnimplementedNamespaceServiceServer() {} - -// UnsafeNamespaceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to NamespaceServiceServer will -// result in compilation errors. -type UnsafeNamespaceServiceServer interface { - mustEmbedUnimplementedNamespaceServiceServer() -} - -func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer) { - s.RegisterService(&NamespaceService_ServiceDesc, srv) -} - -func _NamespaceService_AddNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).AddNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.NamespaceService/AddNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).AddNamespace(ctx, req.(*AddNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_RemoveNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).RemoveNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.NamespaceService/RemoveNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).RemoveNamespace(ctx, req.(*RemoveNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_RenameNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameNamespaceRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).RenameNamespace(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.NamespaceService/RenameNamespace", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).RenameNamespace(ctx, req.(*RenameNamespaceRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _NamespaceService_NamespaceExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NamespaceExistsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(NamespaceServiceServer).NamespaceExists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.NamespaceService/NamespaceExists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(NamespaceServiceServer).NamespaceExists(ctx, req.(*NamespaceExistsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var NamespaceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.NamespaceService", - HandlerType: (*NamespaceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "AddNamespace", - Handler: _NamespaceService_AddNamespace_Handler, - }, - { - MethodName: "RemoveNamespace", - Handler: _NamespaceService_RemoveNamespace_Handler, - }, - { - MethodName: "RenameNamespace", - Handler: _NamespaceService_RenameNamespace_Handler, - }, - { - MethodName: "NamespaceExists", - Handler: _NamespaceService_NamespaceExists_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "namespace.proto", -} diff --git a/proto/go/gitalypb/objectpool.pb.go b/proto/go/gitalypb/objectpool.pb.go deleted file mode 100644 index 461d6a992..000000000 --- a/proto/go/gitalypb/objectpool.pb.go +++ /dev/null @@ -1,1073 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: objectpool.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// Creates an object pool from the repository. The client is responsible for -// joining this pool later with this repository. -type CreateObjectPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - // This comment is left unintentionally blank. - Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` -} - -func (x *CreateObjectPoolRequest) Reset() { - *x = CreateObjectPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateObjectPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateObjectPoolRequest) ProtoMessage() {} - -func (x *CreateObjectPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateObjectPoolRequest.ProtoReflect.Descriptor instead. -func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateObjectPoolRequest) GetObjectPool() *ObjectPool { - if x != nil { - return x.ObjectPool - } - return nil -} - -func (x *CreateObjectPoolRequest) GetOrigin() *Repository { - if x != nil { - return x.Origin - } - return nil -} - -// This comment is left unintentionally blank. -type CreateObjectPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateObjectPoolResponse) Reset() { - *x = CreateObjectPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateObjectPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateObjectPoolResponse) ProtoMessage() {} - -func (x *CreateObjectPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateObjectPoolResponse.ProtoReflect.Descriptor instead. -func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{1} -} - -// Removes the directory from disk, caller is responsible for leaving the object -// pool before calling this RPC -type DeleteObjectPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` -} - -func (x *DeleteObjectPoolRequest) Reset() { - *x = DeleteObjectPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteObjectPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteObjectPoolRequest) ProtoMessage() {} - -func (x *DeleteObjectPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteObjectPoolRequest.ProtoReflect.Descriptor instead. -func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{2} -} - -func (x *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool { - if x != nil { - return x.ObjectPool - } - return nil -} - -// This comment is left unintentionally blank. -type DeleteObjectPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteObjectPoolResponse) Reset() { - *x = DeleteObjectPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteObjectPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteObjectPoolResponse) ProtoMessage() {} - -func (x *DeleteObjectPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteObjectPoolResponse.ProtoReflect.Descriptor instead. -func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{3} -} - -// This comment is left unintentionally blank. -type LinkRepositoryToObjectPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *LinkRepositoryToObjectPoolRequest) Reset() { - *x = LinkRepositoryToObjectPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LinkRepositoryToObjectPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {} - -func (x *LinkRepositoryToObjectPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LinkRepositoryToObjectPoolRequest.ProtoReflect.Descriptor instead. -func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{4} -} - -func (x *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool { - if x != nil { - return x.ObjectPool - } - return nil -} - -func (x *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type LinkRepositoryToObjectPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *LinkRepositoryToObjectPoolResponse) Reset() { - *x = LinkRepositoryToObjectPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LinkRepositoryToObjectPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {} - -func (x *LinkRepositoryToObjectPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LinkRepositoryToObjectPoolResponse.ProtoReflect.Descriptor instead. -func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{5} -} - -// This comment is left unintentionally blank. -type ReduplicateRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *ReduplicateRepositoryRequest) Reset() { - *x = ReduplicateRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReduplicateRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReduplicateRepositoryRequest) ProtoMessage() {} - -func (x *ReduplicateRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReduplicateRepositoryRequest.ProtoReflect.Descriptor instead. -func (*ReduplicateRepositoryRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{6} -} - -func (x *ReduplicateRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type ReduplicateRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ReduplicateRepositoryResponse) Reset() { - *x = ReduplicateRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReduplicateRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReduplicateRepositoryResponse) ProtoMessage() {} - -func (x *ReduplicateRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReduplicateRepositoryResponse.ProtoReflect.Descriptor instead. -func (*ReduplicateRepositoryResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{7} -} - -// This comment is left unintentionally blank. -type DisconnectGitAlternatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *DisconnectGitAlternatesRequest) Reset() { - *x = DisconnectGitAlternatesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DisconnectGitAlternatesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectGitAlternatesRequest) ProtoMessage() {} - -func (x *DisconnectGitAlternatesRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectGitAlternatesRequest.ProtoReflect.Descriptor instead. -func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{8} -} - -func (x *DisconnectGitAlternatesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type DisconnectGitAlternatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DisconnectGitAlternatesResponse) Reset() { - *x = DisconnectGitAlternatesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DisconnectGitAlternatesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DisconnectGitAlternatesResponse) ProtoMessage() {} - -func (x *DisconnectGitAlternatesResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DisconnectGitAlternatesResponse.ProtoReflect.Descriptor instead. -func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{9} -} - -// This comment is left unintentionally blank. -type FetchIntoObjectPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` - // This comment is left unintentionally blank. - ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - // This comment is left unintentionally blank. - Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"` -} - -func (x *FetchIntoObjectPoolRequest) Reset() { - *x = FetchIntoObjectPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchIntoObjectPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchIntoObjectPoolRequest) ProtoMessage() {} - -func (x *FetchIntoObjectPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchIntoObjectPoolRequest.ProtoReflect.Descriptor instead. -func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{10} -} - -func (x *FetchIntoObjectPoolRequest) GetOrigin() *Repository { - if x != nil { - return x.Origin - } - return nil -} - -func (x *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool { - if x != nil { - return x.ObjectPool - } - return nil -} - -func (x *FetchIntoObjectPoolRequest) GetRepack() bool { - if x != nil { - return x.Repack - } - return false -} - -// This comment is left unintentionally blank. -type FetchIntoObjectPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *FetchIntoObjectPoolResponse) Reset() { - *x = FetchIntoObjectPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchIntoObjectPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchIntoObjectPoolResponse) ProtoMessage() {} - -func (x *FetchIntoObjectPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchIntoObjectPoolResponse.ProtoReflect.Descriptor instead. -func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{11} -} - -// This comment is left unintentionally blank. -type GetObjectPoolRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *GetObjectPoolRequest) Reset() { - *x = GetObjectPoolRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetObjectPoolRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetObjectPoolRequest) ProtoMessage() {} - -func (x *GetObjectPoolRequest) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetObjectPoolRequest.ProtoReflect.Descriptor instead. -func (*GetObjectPoolRequest) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{12} -} - -func (x *GetObjectPoolRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type GetObjectPoolResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` -} - -func (x *GetObjectPoolResponse) Reset() { - *x = GetObjectPoolResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_objectpool_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetObjectPoolResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetObjectPoolResponse) ProtoMessage() {} - -func (x *GetObjectPoolResponse) ProtoReflect() protoreflect.Message { - mi := &file_objectpool_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetObjectPoolResponse.ProtoReflect.Descriptor instead. -func (*GetObjectPoolResponse) Descriptor() ([]byte, []int) { - return file_objectpool_proto_rawDescGZIP(), []int{13} -} - -func (x *GetObjectPoolResponse) GetObjectPool() *ObjectPool { - if x != nil { - return x.ObjectPool - } - return nil -} - -var File_objectpool_proto protoreflect.FileDescriptor - -var file_objectpool_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x30, 0x0a, 0x06, 0x6f, - 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x1a, 0x0a, - 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x17, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, - 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x22, - 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, - 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x21, - 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x24, 0x0a, 0x22, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x0a, 0x1c, - 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, 0x1e, 0x44, 0x69, 0x73, 0x63, 0x6f, - 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x22, 0x21, 0x0a, 0x1f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x01, 0x0a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, - 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, - 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x22, 0x1d, 0x0a, 0x1b, 0x46, 0x65, - 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, - 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x47, - 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, - 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x0a, 0x6f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x32, 0xee, 0x05, 0x0a, 0x11, 0x4f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, - 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, - 0x6f, 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, - 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, - 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x7b, 0x0a, - 0x1a, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, - 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x29, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x6c, 0x0a, 0x15, 0x52, 0x65, - 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x64, - 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x72, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, - 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x74, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, - 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, - 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, 0x0a, 0x13, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, - 0x6f, 0x6f, 0x6c, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, - 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, - 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, - 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_objectpool_proto_rawDescOnce sync.Once - file_objectpool_proto_rawDescData = file_objectpool_proto_rawDesc -) - -func file_objectpool_proto_rawDescGZIP() []byte { - file_objectpool_proto_rawDescOnce.Do(func() { - file_objectpool_proto_rawDescData = protoimpl.X.CompressGZIP(file_objectpool_proto_rawDescData) - }) - return file_objectpool_proto_rawDescData -} - -var file_objectpool_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_objectpool_proto_goTypes = []interface{}{ - (*CreateObjectPoolRequest)(nil), // 0: gitaly.CreateObjectPoolRequest - (*CreateObjectPoolResponse)(nil), // 1: gitaly.CreateObjectPoolResponse - (*DeleteObjectPoolRequest)(nil), // 2: gitaly.DeleteObjectPoolRequest - (*DeleteObjectPoolResponse)(nil), // 3: gitaly.DeleteObjectPoolResponse - (*LinkRepositoryToObjectPoolRequest)(nil), // 4: gitaly.LinkRepositoryToObjectPoolRequest - (*LinkRepositoryToObjectPoolResponse)(nil), // 5: gitaly.LinkRepositoryToObjectPoolResponse - (*ReduplicateRepositoryRequest)(nil), // 6: gitaly.ReduplicateRepositoryRequest - (*ReduplicateRepositoryResponse)(nil), // 7: gitaly.ReduplicateRepositoryResponse - (*DisconnectGitAlternatesRequest)(nil), // 8: gitaly.DisconnectGitAlternatesRequest - (*DisconnectGitAlternatesResponse)(nil), // 9: gitaly.DisconnectGitAlternatesResponse - (*FetchIntoObjectPoolRequest)(nil), // 10: gitaly.FetchIntoObjectPoolRequest - (*FetchIntoObjectPoolResponse)(nil), // 11: gitaly.FetchIntoObjectPoolResponse - (*GetObjectPoolRequest)(nil), // 12: gitaly.GetObjectPoolRequest - (*GetObjectPoolResponse)(nil), // 13: gitaly.GetObjectPoolResponse - (*ObjectPool)(nil), // 14: gitaly.ObjectPool - (*Repository)(nil), // 15: gitaly.Repository -} -var file_objectpool_proto_depIdxs = []int32{ - 14, // 0: gitaly.CreateObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool - 15, // 1: gitaly.CreateObjectPoolRequest.origin:type_name -> gitaly.Repository - 14, // 2: gitaly.DeleteObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool - 14, // 3: gitaly.LinkRepositoryToObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool - 15, // 4: gitaly.LinkRepositoryToObjectPoolRequest.repository:type_name -> gitaly.Repository - 15, // 5: gitaly.ReduplicateRepositoryRequest.repository:type_name -> gitaly.Repository - 15, // 6: gitaly.DisconnectGitAlternatesRequest.repository:type_name -> gitaly.Repository - 15, // 7: gitaly.FetchIntoObjectPoolRequest.origin:type_name -> gitaly.Repository - 14, // 8: gitaly.FetchIntoObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool - 15, // 9: gitaly.GetObjectPoolRequest.repository:type_name -> gitaly.Repository - 14, // 10: gitaly.GetObjectPoolResponse.object_pool:type_name -> gitaly.ObjectPool - 0, // 11: gitaly.ObjectPoolService.CreateObjectPool:input_type -> gitaly.CreateObjectPoolRequest - 2, // 12: gitaly.ObjectPoolService.DeleteObjectPool:input_type -> gitaly.DeleteObjectPoolRequest - 4, // 13: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:input_type -> gitaly.LinkRepositoryToObjectPoolRequest - 6, // 14: gitaly.ObjectPoolService.ReduplicateRepository:input_type -> gitaly.ReduplicateRepositoryRequest - 8, // 15: gitaly.ObjectPoolService.DisconnectGitAlternates:input_type -> gitaly.DisconnectGitAlternatesRequest - 10, // 16: gitaly.ObjectPoolService.FetchIntoObjectPool:input_type -> gitaly.FetchIntoObjectPoolRequest - 12, // 17: gitaly.ObjectPoolService.GetObjectPool:input_type -> gitaly.GetObjectPoolRequest - 1, // 18: gitaly.ObjectPoolService.CreateObjectPool:output_type -> gitaly.CreateObjectPoolResponse - 3, // 19: gitaly.ObjectPoolService.DeleteObjectPool:output_type -> gitaly.DeleteObjectPoolResponse - 5, // 20: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:output_type -> gitaly.LinkRepositoryToObjectPoolResponse - 7, // 21: gitaly.ObjectPoolService.ReduplicateRepository:output_type -> gitaly.ReduplicateRepositoryResponse - 9, // 22: gitaly.ObjectPoolService.DisconnectGitAlternates:output_type -> gitaly.DisconnectGitAlternatesResponse - 11, // 23: gitaly.ObjectPoolService.FetchIntoObjectPool:output_type -> gitaly.FetchIntoObjectPoolResponse - 13, // 24: gitaly.ObjectPoolService.GetObjectPool:output_type -> gitaly.GetObjectPoolResponse - 18, // [18:25] is the sub-list for method output_type - 11, // [11:18] is the sub-list for method input_type - 11, // [11:11] is the sub-list for extension type_name - 11, // [11:11] is the sub-list for extension extendee - 0, // [0:11] is the sub-list for field type_name -} - -func init() { file_objectpool_proto_init() } -func file_objectpool_proto_init() { - if File_objectpool_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_objectpool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateObjectPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateObjectPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteObjectPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteObjectPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkRepositoryToObjectPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LinkRepositoryToObjectPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReduplicateRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReduplicateRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectGitAlternatesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DisconnectGitAlternatesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchIntoObjectPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchIntoObjectPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectPoolRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_objectpool_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectPoolResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_objectpool_proto_rawDesc, - NumEnums: 0, - NumMessages: 14, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_objectpool_proto_goTypes, - DependencyIndexes: file_objectpool_proto_depIdxs, - MessageInfos: file_objectpool_proto_msgTypes, - }.Build() - File_objectpool_proto = out.File - file_objectpool_proto_rawDesc = nil - file_objectpool_proto_goTypes = nil - file_objectpool_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/objectpool_grpc.pb.go b/proto/go/gitalypb/objectpool_grpc.pb.go deleted file mode 100644 index c052d4ec3..000000000 --- a/proto/go/gitalypb/objectpool_grpc.pb.go +++ /dev/null @@ -1,331 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// ObjectPoolServiceClient is the client API for ObjectPoolService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ObjectPoolServiceClient interface { - // This comment is left unintentionally blank. - CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) - // This comment is left unintentionally blank. - DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) - // Repositories are assumed to be stored on the same disk - LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) - // This comment is left unintentionally blank. - ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) - // This comment is left unintentionally blank. - DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) - // This comment is left unintentionally blank. - FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) - // This comment is left unintentionally blank. - GetObjectPool(ctx context.Context, in *GetObjectPoolRequest, opts ...grpc.CallOption) (*GetObjectPoolResponse, error) -} - -type objectPoolServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewObjectPoolServiceClient(cc grpc.ClientConnInterface) ObjectPoolServiceClient { - return &objectPoolServiceClient{cc} -} - -func (c *objectPoolServiceClient) CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) { - out := new(CreateObjectPoolResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/CreateObjectPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) { - out := new(DeleteObjectPoolResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/DeleteObjectPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) { - out := new(LinkRepositoryToObjectPoolResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) { - out := new(ReduplicateRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/ReduplicateRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) { - out := new(DisconnectGitAlternatesResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/DisconnectGitAlternates", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) { - out := new(FetchIntoObjectPoolResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/FetchIntoObjectPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *objectPoolServiceClient) GetObjectPool(ctx context.Context, in *GetObjectPoolRequest, opts ...grpc.CallOption) (*GetObjectPoolResponse, error) { - out := new(GetObjectPoolResponse) - err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/GetObjectPool", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ObjectPoolServiceServer is the server API for ObjectPoolService service. -// All implementations must embed UnimplementedObjectPoolServiceServer -// for forward compatibility -type ObjectPoolServiceServer interface { - // This comment is left unintentionally blank. - CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) - // This comment is left unintentionally blank. - DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) - // Repositories are assumed to be stored on the same disk - LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) - // This comment is left unintentionally blank. - ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) - // This comment is left unintentionally blank. - DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) - // This comment is left unintentionally blank. - FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) - // This comment is left unintentionally blank. - GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) - mustEmbedUnimplementedObjectPoolServiceServer() -} - -// UnimplementedObjectPoolServiceServer must be embedded to have forward compatible implementations. -type UnimplementedObjectPoolServiceServer struct { -} - -func (UnimplementedObjectPoolServiceServer) CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateObjectPool not implemented") -} -func (UnimplementedObjectPoolServiceServer) DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteObjectPool not implemented") -} -func (UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method LinkRepositoryToObjectPool not implemented") -} -func (UnimplementedObjectPoolServiceServer) ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReduplicateRepository not implemented") -} -func (UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DisconnectGitAlternates not implemented") -} -func (UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FetchIntoObjectPool not implemented") -} -func (UnimplementedObjectPoolServiceServer) GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetObjectPool not implemented") -} -func (UnimplementedObjectPoolServiceServer) mustEmbedUnimplementedObjectPoolServiceServer() {} - -// UnsafeObjectPoolServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ObjectPoolServiceServer will -// result in compilation errors. -type UnsafeObjectPoolServiceServer interface { - mustEmbedUnimplementedObjectPoolServiceServer() -} - -func RegisterObjectPoolServiceServer(s grpc.ServiceRegistrar, srv ObjectPoolServiceServer) { - s.RegisterService(&ObjectPoolService_ServiceDesc, srv) -} - -func _ObjectPoolService_CreateObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateObjectPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/CreateObjectPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, req.(*CreateObjectPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_DeleteObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteObjectPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/DeleteObjectPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, req.(*DeleteObjectPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_LinkRepositoryToObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LinkRepositoryToObjectPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, req.(*LinkRepositoryToObjectPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_ReduplicateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReduplicateRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).ReduplicateRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/ReduplicateRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).ReduplicateRepository(ctx, req.(*ReduplicateRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_DisconnectGitAlternates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DisconnectGitAlternatesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).DisconnectGitAlternates(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/DisconnectGitAlternates", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).DisconnectGitAlternates(ctx, req.(*DisconnectGitAlternatesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_FetchIntoObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchIntoObjectPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).FetchIntoObjectPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/FetchIntoObjectPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).FetchIntoObjectPool(ctx, req.(*FetchIntoObjectPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ObjectPoolService_GetObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetObjectPoolRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ObjectPoolServiceServer).GetObjectPool(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ObjectPoolService/GetObjectPool", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ObjectPoolServiceServer).GetObjectPool(ctx, req.(*GetObjectPoolRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ObjectPoolService_ServiceDesc is the grpc.ServiceDesc for ObjectPoolService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ObjectPoolService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.ObjectPoolService", - HandlerType: (*ObjectPoolServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "CreateObjectPool", - Handler: _ObjectPoolService_CreateObjectPool_Handler, - }, - { - MethodName: "DeleteObjectPool", - Handler: _ObjectPoolService_DeleteObjectPool_Handler, - }, - { - MethodName: "LinkRepositoryToObjectPool", - Handler: _ObjectPoolService_LinkRepositoryToObjectPool_Handler, - }, - { - MethodName: "ReduplicateRepository", - Handler: _ObjectPoolService_ReduplicateRepository_Handler, - }, - { - MethodName: "DisconnectGitAlternates", - Handler: _ObjectPoolService_DisconnectGitAlternates_Handler, - }, - { - MethodName: "FetchIntoObjectPool", - Handler: _ObjectPoolService_FetchIntoObjectPool_Handler, - }, - { - MethodName: "GetObjectPool", - Handler: _ObjectPoolService_GetObjectPool_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "objectpool.proto", -} diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go deleted file mode 100644 index 67c8676e1..000000000 --- a/proto/go/gitalypb/operations.pb.go +++ /dev/null @@ -1,5006 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: operations.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// CreateTreeError represents an error which happened when computing the -// cherry-pick. -type UserCherryPickResponse_CreateTreeError int32 - -const ( - // NONE denotes that no error occurred. - UserCherryPickResponse_NONE UserCherryPickResponse_CreateTreeError = 0 - // EMPTY denotes that the cherry-pick would've resulted in an empty commit, - // typically because it has already been applied to the target branch. - UserCherryPickResponse_EMPTY UserCherryPickResponse_CreateTreeError = 1 - // CONFLICT denotes that the cherry-pick resulted in a conflict. - UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2 -) - -// Enum value maps for UserCherryPickResponse_CreateTreeError. -var ( - UserCherryPickResponse_CreateTreeError_name = map[int32]string{ - 0: "NONE", - 1: "EMPTY", - 2: "CONFLICT", - } - UserCherryPickResponse_CreateTreeError_value = map[string]int32{ - "NONE": 0, - "EMPTY": 1, - "CONFLICT": 2, - } -) - -func (x UserCherryPickResponse_CreateTreeError) Enum() *UserCherryPickResponse_CreateTreeError { - p := new(UserCherryPickResponse_CreateTreeError) - *p = x - return p -} - -func (x UserCherryPickResponse_CreateTreeError) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserCherryPickResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { - return file_operations_proto_enumTypes[0].Descriptor() -} - -func (UserCherryPickResponse_CreateTreeError) Type() protoreflect.EnumType { - return &file_operations_proto_enumTypes[0] -} - -func (x UserCherryPickResponse_CreateTreeError) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserCherryPickResponse_CreateTreeError.Descriptor instead. -func (UserCherryPickResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{19, 0} -} - -// CreateTreeError represents an error which happened when computing the -// revert. -type UserRevertResponse_CreateTreeError int32 - -const ( - // NONE denotes that no error occurred. - UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0 - // EMPTY denotes that the revert would've resulted in an empty commit, - // typically because it has already been applied to the target branch. - UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1 - // CONFLICT denotes that the revert resulted in a conflict. - UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 -) - -// Enum value maps for UserRevertResponse_CreateTreeError. -var ( - UserRevertResponse_CreateTreeError_name = map[int32]string{ - 0: "NONE", - 1: "EMPTY", - 2: "CONFLICT", - } - UserRevertResponse_CreateTreeError_value = map[string]int32{ - "NONE": 0, - "EMPTY": 1, - "CONFLICT": 2, - } -) - -func (x UserRevertResponse_CreateTreeError) Enum() *UserRevertResponse_CreateTreeError { - p := new(UserRevertResponse_CreateTreeError) - *p = x - return p -} - -func (x UserRevertResponse_CreateTreeError) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserRevertResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { - return file_operations_proto_enumTypes[1].Descriptor() -} - -func (UserRevertResponse_CreateTreeError) Type() protoreflect.EnumType { - return &file_operations_proto_enumTypes[1] -} - -func (x UserRevertResponse_CreateTreeError) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserRevertResponse_CreateTreeError.Descriptor instead. -func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{22, 0} -} - -// This comment is left unintentionally blank. -type UserCommitFilesActionHeader_ActionType int32 - -const ( - // CREATE creates a new file. - UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 - // CREATE_DIR creates a new directory. - UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 - // UPDATE updates an existing file. - UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 - // MOVE moves an existing file to a new path. - UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 - // DELETE deletes an existing file. - UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 - // CHMOD changes the permissions of an existing file. - UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 -) - -// Enum value maps for UserCommitFilesActionHeader_ActionType. -var ( - UserCommitFilesActionHeader_ActionType_name = map[int32]string{ - 0: "CREATE", - 1: "CREATE_DIR", - 2: "UPDATE", - 3: "MOVE", - 4: "DELETE", - 5: "CHMOD", - } - UserCommitFilesActionHeader_ActionType_value = map[string]int32{ - "CREATE": 0, - "CREATE_DIR": 1, - "UPDATE": 2, - "MOVE": 3, - "DELETE": 4, - "CHMOD": 5, - } -) - -func (x UserCommitFilesActionHeader_ActionType) Enum() *UserCommitFilesActionHeader_ActionType { - p := new(UserCommitFilesActionHeader_ActionType) - *p = x - return p -} - -func (x UserCommitFilesActionHeader_ActionType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (UserCommitFilesActionHeader_ActionType) Descriptor() protoreflect.EnumDescriptor { - return file_operations_proto_enumTypes[2].Descriptor() -} - -func (UserCommitFilesActionHeader_ActionType) Type() protoreflect.EnumType { - return &file_operations_proto_enumTypes[2] -} - -func (x UserCommitFilesActionHeader_ActionType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use UserCommitFilesActionHeader_ActionType.Descriptor instead. -func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{23, 0} -} - -// This comment is left unintentionally blank. -type UserCreateBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // This comment is left unintentionally blank. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - // This comment is left unintentionally blank. - StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` -} - -func (x *UserCreateBranchRequest) Reset() { - *x = UserCreateBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCreateBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCreateBranchRequest) ProtoMessage() {} - -func (x *UserCreateBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCreateBranchRequest.ProtoReflect.Descriptor instead. -func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{0} -} - -func (x *UserCreateBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserCreateBranchRequest) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserCreateBranchRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserCreateBranchRequest) GetStartPoint() []byte { - if x != nil { - return x.StartPoint - } - return nil -} - -// This comment is left unintentionally blank. -type UserCreateBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` - // Error returned by the pre-receive hook. If no error was thrown, - // it's the empty string ("") - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserCreateBranchResponse) Reset() { - *x = UserCreateBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCreateBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCreateBranchResponse) ProtoMessage() {} - -func (x *UserCreateBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCreateBranchResponse.ProtoReflect.Descriptor instead. -func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{1} -} - -func (x *UserCreateBranchResponse) GetBranch() *Branch { - if x != nil { - return x.Branch - } - return nil -} - -func (x *UserCreateBranchResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserUpdateBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // This comment is left unintentionally blank. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - // This comment is left unintentionally blank. - Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` - // This comment is left unintentionally blank. - Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` -} - -func (x *UserUpdateBranchRequest) Reset() { - *x = UserUpdateBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserUpdateBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserUpdateBranchRequest) ProtoMessage() {} - -func (x *UserUpdateBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserUpdateBranchRequest.ProtoReflect.Descriptor instead. -func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{2} -} - -func (x *UserUpdateBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserUpdateBranchRequest) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserUpdateBranchRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserUpdateBranchRequest) GetNewrev() []byte { - if x != nil { - return x.Newrev - } - return nil -} - -func (x *UserUpdateBranchRequest) GetOldrev() []byte { - if x != nil { - return x.Oldrev - } - return nil -} - -// This comment is left unintentionally blank. -type UserUpdateBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserUpdateBranchResponse) Reset() { - *x = UserUpdateBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserUpdateBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserUpdateBranchResponse) ProtoMessage() {} - -func (x *UserUpdateBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserUpdateBranchResponse.ProtoReflect.Descriptor instead. -func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{3} -} - -func (x *UserUpdateBranchResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserDeleteBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // This comment is left unintentionally blank. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` -} - -func (x *UserDeleteBranchRequest) Reset() { - *x = UserDeleteBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserDeleteBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserDeleteBranchRequest) ProtoMessage() {} - -func (x *UserDeleteBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserDeleteBranchRequest.ProtoReflect.Descriptor instead. -func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{4} -} - -func (x *UserDeleteBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserDeleteBranchRequest) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserDeleteBranchRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -// This comment is left unintentionally blank. -type UserDeleteBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserDeleteBranchResponse) Reset() { - *x = UserDeleteBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserDeleteBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserDeleteBranchResponse) ProtoMessage() {} - -func (x *UserDeleteBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserDeleteBranchResponse.ProtoReflect.Descriptor instead. -func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{5} -} - -func (x *UserDeleteBranchResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserDeleteTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - // This comment is left unintentionally blank. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` -} - -func (x *UserDeleteTagRequest) Reset() { - *x = UserDeleteTagRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserDeleteTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserDeleteTagRequest) ProtoMessage() {} - -func (x *UserDeleteTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserDeleteTagRequest.ProtoReflect.Descriptor instead. -func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{6} -} - -func (x *UserDeleteTagRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserDeleteTagRequest) GetTagName() []byte { - if x != nil { - return x.TagName - } - return nil -} - -func (x *UserDeleteTagRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -// This comment is left unintentionally blank. -type UserDeleteTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserDeleteTagResponse) Reset() { - *x = UserDeleteTagResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserDeleteTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserDeleteTagResponse) ProtoMessage() {} - -func (x *UserDeleteTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserDeleteTagResponse.ProtoReflect.Descriptor instead. -func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{7} -} - -func (x *UserDeleteTagResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserCreateTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the tag shall be created. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // tag_name is the name of the tag that shall be created. - TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - // user is the user as which the tag shall be created. - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - // target_revision is the revision which the tag should point to. - TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"` - // message is the message of the tag. If it is empty, a lightweight tag is - // created. Otherwise, an annotated tag is created. - Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - // timestamp is the optional timestamp to use for the created tag tags. If - // it's not set, the current time will be used. It's only used if an - // annotated tag is being created. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserCreateTagRequest) Reset() { - *x = UserCreateTagRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCreateTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCreateTagRequest) ProtoMessage() {} - -func (x *UserCreateTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCreateTagRequest.ProtoReflect.Descriptor instead. -func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{8} -} - -func (x *UserCreateTagRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserCreateTagRequest) GetTagName() []byte { - if x != nil { - return x.TagName - } - return nil -} - -func (x *UserCreateTagRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserCreateTagRequest) GetTargetRevision() []byte { - if x != nil { - return x.TargetRevision - } - return nil -} - -func (x *UserCreateTagRequest) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *UserCreateTagRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserCreateTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // tag is the newly created tag. - Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` - // exists denotes whether the tag has existed already. - Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` - // pre_receive_error contains an error message if updating the tag failed - // because of a pre-receive error. - PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserCreateTagResponse) Reset() { - *x = UserCreateTagResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCreateTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCreateTagResponse) ProtoMessage() {} - -func (x *UserCreateTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCreateTagResponse.ProtoReflect.Descriptor instead. -func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{9} -} - -func (x *UserCreateTagResponse) GetTag() *Tag { - if x != nil { - return x.Tag - } - return nil -} - -func (x *UserCreateTagResponse) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -func (x *UserCreateTagResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserMergeBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository to compute the merge for. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user to compute the merge as. Its name and mail address are - // used as author and committer of the merge. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit_id is the object ID (hash) of the object that shall be merged into - // the target branch. - CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // branch is the branch into which the given commit shall be merged and whose - // reference is going to be updated. - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // message is the message to use for the merge commit. - Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - // timestamp is the optional timestamp to use for the merge commit. If it's - // not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // apply must only be set in the second message. Only if this second message - // is sent and if apply is set to true will the branch be updated to point to - // the merge commit. - Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` -} - -func (x *UserMergeBranchRequest) Reset() { - *x = UserMergeBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserMergeBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMergeBranchRequest) ProtoMessage() {} - -func (x *UserMergeBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMergeBranchRequest.ProtoReflect.Descriptor instead. -func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{10} -} - -func (x *UserMergeBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserMergeBranchRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserMergeBranchRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *UserMergeBranchRequest) GetBranch() []byte { - if x != nil { - return x.Branch - } - return nil -} - -func (x *UserMergeBranchRequest) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *UserMergeBranchRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -func (x *UserMergeBranchRequest) GetApply() bool { - if x != nil { - return x.Apply - } - return false -} - -// This comment is left unintentionally blank. -type UserMergeBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // First message - // The merge commit the branch will be updated to. The caller can still abort the merge. - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // Second message - // If set, the merge has been applied to the branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // PreReceiveError is never set. Instead, we return a proper gRPC error with - // UserMergeBranchError details set to an AccessCheckError. - // - // Deprecated: Do not use. - PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserMergeBranchResponse) Reset() { - *x = UserMergeBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserMergeBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMergeBranchResponse) ProtoMessage() {} - -func (x *UserMergeBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMergeBranchResponse.ProtoReflect.Descriptor instead. -func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{11} -} - -func (x *UserMergeBranchResponse) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -// Deprecated: Do not use. -func (x *UserMergeBranchResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// UserMergeBranchError includes error descriptions which may be set as error -// details in case UserMergeBranch fails. -type UserMergeBranchError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Error: - // *UserMergeBranchError_AccessCheck - // *UserMergeBranchError_ReferenceUpdate - Error isUserMergeBranchError_Error `protobuf_oneof:"error"` -} - -func (x *UserMergeBranchError) Reset() { - *x = UserMergeBranchError{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserMergeBranchError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMergeBranchError) ProtoMessage() {} - -func (x *UserMergeBranchError) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMergeBranchError.ProtoReflect.Descriptor instead. -func (*UserMergeBranchError) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{12} -} - -func (m *UserMergeBranchError) GetError() isUserMergeBranchError_Error { - if m != nil { - return m.Error - } - return nil -} - -func (x *UserMergeBranchError) GetAccessCheck() *AccessCheckError { - if x, ok := x.GetError().(*UserMergeBranchError_AccessCheck); ok { - return x.AccessCheck - } - return nil -} - -func (x *UserMergeBranchError) GetReferenceUpdate() *ReferenceUpdateError { - if x, ok := x.GetError().(*UserMergeBranchError_ReferenceUpdate); ok { - return x.ReferenceUpdate - } - return nil -} - -type isUserMergeBranchError_Error interface { - isUserMergeBranchError_Error() -} - -type UserMergeBranchError_AccessCheck struct { - // AccessCheckError is set if the RPC failed because `/internal/allowed` failed. - AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` -} - -type UserMergeBranchError_ReferenceUpdate struct { - // ReferenceUpdateError is set if the RPC failed because updating the - // reference to the new object ID has failed. - ReferenceUpdate *ReferenceUpdateError `protobuf:"bytes,2,opt,name=reference_update,json=referenceUpdate,proto3,oneof"` -} - -func (*UserMergeBranchError_AccessCheck) isUserMergeBranchError_Error() {} - -func (*UserMergeBranchError_ReferenceUpdate) isUserMergeBranchError_Error() {} - -// This comment is left unintentionally blank. -type UserMergeToRefRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the merge shall be computed. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user as which the merge commit shall be created. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // source_sha is the object ID of the second parent of the computed merge. - SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"` - // branch contains the name of the branch which should be used as the first - // parent of the computed merge. It is deprecated in favor of - // `first_parent_ref` and will be ignored in case it is set. - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // target_ref contains the fully qualified reference which should be updated - // with the computed merge commit. - TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` - // message is the message to use for the merge commit. - Message []byte `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` - // first_parent_ref is the name of the reference which should be used as the - // first parent of the computed merge. Overrides `branch`. - FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"` - // Allow conflicts to occur. Any conflict markers will be part of the merge commit. - // When tree-based conflicts occur, no conflict markers will be added to the - // file on the merge commit. The `Their` side of the conflict will be kept and - // `Our` and `Ancestor` will be ignored. - AllowConflicts bool `protobuf:"varint,8,opt,name=allow_conflicts,json=allowConflicts,proto3" json:"allow_conflicts,omitempty"` - // timestamp is the optional timestamp to use for the merge commit. If it's - // not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserMergeToRefRequest) Reset() { - *x = UserMergeToRefRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserMergeToRefRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMergeToRefRequest) ProtoMessage() {} - -func (x *UserMergeToRefRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMergeToRefRequest.ProtoReflect.Descriptor instead. -func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{13} -} - -func (x *UserMergeToRefRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserMergeToRefRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserMergeToRefRequest) GetSourceSha() string { - if x != nil { - return x.SourceSha - } - return "" -} - -func (x *UserMergeToRefRequest) GetBranch() []byte { - if x != nil { - return x.Branch - } - return nil -} - -func (x *UserMergeToRefRequest) GetTargetRef() []byte { - if x != nil { - return x.TargetRef - } - return nil -} - -func (x *UserMergeToRefRequest) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *UserMergeToRefRequest) GetFirstParentRef() []byte { - if x != nil { - return x.FirstParentRef - } - return nil -} - -func (x *UserMergeToRefRequest) GetAllowConflicts() bool { - if x != nil { - return x.AllowConflicts - } - return false -} - -func (x *UserMergeToRefRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserMergeToRefResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // commit_id is the object ID of the computed merge commit. - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // PreReceiveError is never set because this RPC does not perform - // authentication via `/internal/allowed`. - // - // Deprecated: Do not use. - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserMergeToRefResponse) Reset() { - *x = UserMergeToRefResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserMergeToRefResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserMergeToRefResponse) ProtoMessage() {} - -func (x *UserMergeToRefResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserMergeToRefResponse.ProtoReflect.Descriptor instead. -func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{14} -} - -func (x *UserMergeToRefResponse) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -// Deprecated: Do not use. -func (x *UserMergeToRefResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// OperationBranchUpdate contains the details of a branch update. -type OperationBranchUpdate struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // commit_id is set to the OID of the created commit if a branch was created or updated. - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // repo_created indicates whether the branch created was the first one in the repository. - // Used for cache invalidation in GitLab. - RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"` - // branch_created indicates whether the branch already existed in the repository - // and was updated or whether it was created. Used for cache invalidation in GitLab. - BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` -} - -func (x *OperationBranchUpdate) Reset() { - *x = OperationBranchUpdate{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OperationBranchUpdate) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OperationBranchUpdate) ProtoMessage() {} - -func (x *OperationBranchUpdate) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OperationBranchUpdate.ProtoReflect.Descriptor instead. -func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{15} -} - -func (x *OperationBranchUpdate) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *OperationBranchUpdate) GetRepoCreated() bool { - if x != nil { - return x.RepoCreated - } - return false -} - -func (x *OperationBranchUpdate) GetBranchCreated() bool { - if x != nil { - return x.BranchCreated - } - return false -} - -// UserFFBranchRequest contains parameters for the UserFFBranch RPC. -type UserFFBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository for which to perform the fast-forward merge. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user which to perform the fast-forward merge as. This is used - // for authorization checks. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit_id is the commit ID to update the branch to. - CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // branch is the name of the branch that shall be update. This must be the - // branch name only and not a fully qualified reference, e.g. "master" - // instead of "refs/heads/master". - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` -} - -func (x *UserFFBranchRequest) Reset() { - *x = UserFFBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserFFBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserFFBranchRequest) ProtoMessage() {} - -func (x *UserFFBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserFFBranchRequest.ProtoReflect.Descriptor instead. -func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{16} -} - -func (x *UserFFBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserFFBranchRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserFFBranchRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *UserFFBranchRequest) GetBranch() []byte { - if x != nil { - return x.Branch - } - return nil -} - -// This comment is left unintentionally blank. -type UserFFBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // This comment is left unintentionally blank. - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserFFBranchResponse) Reset() { - *x = UserFFBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserFFBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserFFBranchResponse) ProtoMessage() {} - -func (x *UserFFBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserFFBranchResponse.ProtoReflect.Descriptor instead. -func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{17} -} - -func (x *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -func (x *UserFFBranchResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserCherryPickRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository into which the cherry-pick shall be - // performed. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user to perform the cherry-pick as. This is used for - // authorization checks and as the committer of the computed cherry-pick. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit is the commit to cherry-pick onto the given branch. - Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` - // branch_name is the name of the branch onto which the cherry-pick shall be - // executed. - BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // message is the message to use for the cherry-picked commit. - Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - // start_branch_name is is used in case the branch_name branch does not - // exist. In that case, it will be created from the start_branch_name. - StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` - // start_repository is used in case the branch_name branch does not exist. In - // that case, it will be created from start_branch_name in the - // start_repository. - StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` - // dry_run will compute the cherry-pick, but not update the target branch. - DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - // timestamp is the optional timestamp to use for the created cherry-picked - // commit's committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserCherryPickRequest) Reset() { - *x = UserCherryPickRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCherryPickRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCherryPickRequest) ProtoMessage() {} - -func (x *UserCherryPickRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCherryPickRequest.ProtoReflect.Descriptor instead. -func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{18} -} - -func (x *UserCherryPickRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserCherryPickRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserCherryPickRequest) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -func (x *UserCherryPickRequest) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserCherryPickRequest) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *UserCherryPickRequest) GetStartBranchName() []byte { - if x != nil { - return x.StartBranchName - } - return nil -} - -func (x *UserCherryPickRequest) GetStartRepository() *Repository { - if x != nil { - return x.StartRepository - } - return nil -} - -func (x *UserCherryPickRequest) GetDryRun() bool { - if x != nil { - return x.DryRun - } - return false -} - -func (x *UserCherryPickRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserCherryPickResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // branch_update represents details about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // create_tree_error contains the error message if creation of the tree - // failed. - CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` - // commit_error contains the error message if updating the reference failed. - CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` - // pre_receive_error contains the error message if the pre-receive hook - // failed. - PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - // create_tree_error_code contains the error code if creation of the tree - // failed. - CreateTreeErrorCode UserCherryPickResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserCherryPickResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` -} - -func (x *UserCherryPickResponse) Reset() { - *x = UserCherryPickResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCherryPickResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCherryPickResponse) ProtoMessage() {} - -func (x *UserCherryPickResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCherryPickResponse.ProtoReflect.Descriptor instead. -func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{19} -} - -func (x *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -func (x *UserCherryPickResponse) GetCreateTreeError() string { - if x != nil { - return x.CreateTreeError - } - return "" -} - -func (x *UserCherryPickResponse) GetCommitError() string { - if x != nil { - return x.CommitError - } - return "" -} - -func (x *UserCherryPickResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -func (x *UserCherryPickResponse) GetCreateTreeErrorCode() UserCherryPickResponse_CreateTreeError { - if x != nil { - return x.CreateTreeErrorCode - } - return UserCherryPickResponse_NONE -} - -// UserCherryPickError is an error returned by the UserCherryPick RPC. -type UserCherryPickError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Error: - // *UserCherryPickError_CherryPickConflict - // *UserCherryPickError_TargetBranchDiverged - // *UserCherryPickError_ChangesAlreadyApplied - // *UserCherryPickError_AccessCheck - Error isUserCherryPickError_Error `protobuf_oneof:"error"` -} - -func (x *UserCherryPickError) Reset() { - *x = UserCherryPickError{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCherryPickError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCherryPickError) ProtoMessage() {} - -func (x *UserCherryPickError) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCherryPickError.ProtoReflect.Descriptor instead. -func (*UserCherryPickError) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{20} -} - -func (m *UserCherryPickError) GetError() isUserCherryPickError_Error { - if m != nil { - return m.Error - } - return nil -} - -func (x *UserCherryPickError) GetCherryPickConflict() *MergeConflictError { - if x, ok := x.GetError().(*UserCherryPickError_CherryPickConflict); ok { - return x.CherryPickConflict - } - return nil -} - -func (x *UserCherryPickError) GetTargetBranchDiverged() *NotAncestorError { - if x, ok := x.GetError().(*UserCherryPickError_TargetBranchDiverged); ok { - return x.TargetBranchDiverged - } - return nil -} - -func (x *UserCherryPickError) GetChangesAlreadyApplied() *ChangesAlreadyAppliedError { - if x, ok := x.GetError().(*UserCherryPickError_ChangesAlreadyApplied); ok { - return x.ChangesAlreadyApplied - } - return nil -} - -func (x *UserCherryPickError) GetAccessCheck() *AccessCheckError { - if x, ok := x.GetError().(*UserCherryPickError_AccessCheck); ok { - return x.AccessCheck - } - return nil -} - -type isUserCherryPickError_Error interface { - isUserCherryPickError_Error() -} - -type UserCherryPickError_CherryPickConflict struct { - // CherryPickConflict is returned if there is a conflict when applying the cherry - // pick. - CherryPickConflict *MergeConflictError `protobuf:"bytes,1,opt,name=cherry_pick_conflict,json=cherryPickConflict,proto3,oneof"` -} - -type UserCherryPickError_TargetBranchDiverged struct { - // TargetBranchDiverged is returned whenever the tip commit of the branch we're - // about to apply the new commit on is not a direct ancestor of the newly created - // cherry-picked commit. This may happen either due to a race where the reference - // is modified while we compute the cherry-picked commit, or alternatively if the - // commit fetched from the start branch of the remote repository is not an ancestor - // of of the local target branch. - TargetBranchDiverged *NotAncestorError `protobuf:"bytes,2,opt,name=target_branch_diverged,json=targetBranchDiverged,proto3,oneof"` -} - -type UserCherryPickError_ChangesAlreadyApplied struct { - // ChangesAlreadyApplied is returned if the result after applying the cherry pick is empty. - ChangesAlreadyApplied *ChangesAlreadyAppliedError `protobuf:"bytes,3,opt,name=changes_already_applied,json=changesAlreadyApplied,proto3,oneof"` -} - -type UserCherryPickError_AccessCheck struct { - // AccessCheck is returned in case GitLab's `/internal/allowed` endpoint rejected - // the change. - AccessCheck *AccessCheckError `protobuf:"bytes,4,opt,name=access_check,json=accessCheck,proto3,oneof"` -} - -func (*UserCherryPickError_CherryPickConflict) isUserCherryPickError_Error() {} - -func (*UserCherryPickError_TargetBranchDiverged) isUserCherryPickError_Error() {} - -func (*UserCherryPickError_ChangesAlreadyApplied) isUserCherryPickError_Error() {} - -func (*UserCherryPickError_AccessCheck) isUserCherryPickError_Error() {} - -// This comment is left unintentionally blank. -type UserRevertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the revert shall be applied. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user to perform the revert as. This is used both for - // authorization and as author/committer for the revert commit. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit iis the commit to revert. - Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` - // branch_name is the name of the branch onto which the reverted commit shall - // be committed. - BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // message is the message to use for the revert commit. - Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` - // start_branch_name is is used in case the branch_name branch does not - // exist. In that case, it will be created from the start_branch_name. - StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` - // start_repository is used in case the branch_name branch does not exist. In - // that case, it will be created from start_branch_name in the - // start_repository. - StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` - // dry_run will compute the revert, but not update the target branch. - DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` - // timestamp is the optional timestamp to use for the created cherry-picked - // commit's committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserRevertRequest) Reset() { - *x = UserRevertRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRevertRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRevertRequest) ProtoMessage() {} - -func (x *UserRevertRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRevertRequest.ProtoReflect.Descriptor instead. -func (*UserRevertRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{21} -} - -func (x *UserRevertRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserRevertRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserRevertRequest) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -func (x *UserRevertRequest) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserRevertRequest) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *UserRevertRequest) GetStartBranchName() []byte { - if x != nil { - return x.StartBranchName - } - return nil -} - -func (x *UserRevertRequest) GetStartRepository() *Repository { - if x != nil { - return x.StartRepository - } - return nil -} - -func (x *UserRevertRequest) GetDryRun() bool { - if x != nil { - return x.DryRun - } - return false -} - -func (x *UserRevertRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserRevertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // branch_update represents details about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // create_tree_error contains the error message if creation of the tree - // failed. - CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` - // commit_error contains the error message if updating the reference failed. - CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` - // pre_receive_error contains the error message if the pre-receive hook - // failed. - PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - // create_tree_error_code contains the error code if creation of the tree - // failed. - CreateTreeErrorCode UserRevertResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserRevertResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` -} - -func (x *UserRevertResponse) Reset() { - *x = UserRevertResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRevertResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRevertResponse) ProtoMessage() {} - -func (x *UserRevertResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRevertResponse.ProtoReflect.Descriptor instead. -func (*UserRevertResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{22} -} - -func (x *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -func (x *UserRevertResponse) GetCreateTreeError() string { - if x != nil { - return x.CreateTreeError - } - return "" -} - -func (x *UserRevertResponse) GetCommitError() string { - if x != nil { - return x.CommitError - } - return "" -} - -func (x *UserRevertResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -func (x *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError { - if x != nil { - return x.CreateTreeErrorCode - } - return UserRevertResponse_NONE -} - -// UserCommitFilesActionHeader contains the details of the action to be performed. -type UserCommitFilesActionHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // action is the type of the action taken to build a commit. Not all fields are - // used for all of the actions. - Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"` - // file_path refers to the file or directory being modified. The meaning differs for each - // action: - // 1. CREATE: path of the file to create - // 2. CREATE_DIR: path of the directory to create - // 3. UPDATE: path of the file to update - // 4. MOVE: the new path of the moved file - // 5. DELETE: path of the file to delete - // 6. CHMOD: path of the file to modify permissions for - FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` - // previous_path is used in MOVE action to specify the path of the file to move. - PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"` - // base64_content indicates the content of the file is base64 encoded. The encoding - // must be the standard base64 encoding defined in RFC 4648. Only used for CREATE and - // UPDATE actions. - Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content,proto3" json:"base64_content,omitempty"` - // execute_filemode determines whether the file is created with execute permissions. - // The field is only used in CREATE and CHMOD actions. - ExecuteFilemode bool `protobuf:"varint,5,opt,name=execute_filemode,json=executeFilemode,proto3" json:"execute_filemode,omitempty"` - // Move actions that change the file path, but not its content, should set - // infer_content to true instead of populating the content field. Ignored for - // other action types. - InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"` -} - -func (x *UserCommitFilesActionHeader) Reset() { - *x = UserCommitFilesActionHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCommitFilesActionHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCommitFilesActionHeader) ProtoMessage() {} - -func (x *UserCommitFilesActionHeader) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCommitFilesActionHeader.ProtoReflect.Descriptor instead. -func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{23} -} - -func (x *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType { - if x != nil { - return x.Action - } - return UserCommitFilesActionHeader_CREATE -} - -func (x *UserCommitFilesActionHeader) GetFilePath() []byte { - if x != nil { - return x.FilePath - } - return nil -} - -func (x *UserCommitFilesActionHeader) GetPreviousPath() []byte { - if x != nil { - return x.PreviousPath - } - return nil -} - -func (x *UserCommitFilesActionHeader) GetBase64Content() bool { - if x != nil { - return x.Base64Content - } - return false -} - -func (x *UserCommitFilesActionHeader) GetExecuteFilemode() bool { - if x != nil { - return x.ExecuteFilemode - } - return false -} - -func (x *UserCommitFilesActionHeader) GetInferContent() bool { - if x != nil { - return x.InferContent - } - return false -} - -// UserCommitFilesAction is the request message used to stream in the actions to build a commit. -type UserCommitFilesAction struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to UserCommitFilesActionPayload: - // *UserCommitFilesAction_Header - // *UserCommitFilesAction_Content - UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"` -} - -func (x *UserCommitFilesAction) Reset() { - *x = UserCommitFilesAction{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCommitFilesAction) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCommitFilesAction) ProtoMessage() {} - -func (x *UserCommitFilesAction) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCommitFilesAction.ProtoReflect.Descriptor instead. -func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{24} -} - -func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload { - if m != nil { - return m.UserCommitFilesActionPayload - } - return nil -} - -func (x *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader { - if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok { - return x.Header - } - return nil -} - -func (x *UserCommitFilesAction) GetContent() []byte { - if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok { - return x.Content - } - return nil -} - -type isUserCommitFilesAction_UserCommitFilesActionPayload interface { - isUserCommitFilesAction_UserCommitFilesActionPayload() -} - -type UserCommitFilesAction_Header struct { - // header contains the details of action being performed. Header must be sent before the - // content if content is used by the action. - Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type UserCommitFilesAction_Content struct { - // content is the content of the file streamed in one or more messages. Only used with CREATE - // and UPDATE actions. - Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` -} - -func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {} - -func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {} - -// UserCommitFilesRequestHeader is the header of the UserCommitFiles that defines the commit details, -// parent and other information related to the call. -type UserCommitFilesRequestHeader struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the target repository where to apply the commit. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user peforming the call. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // branch_name is the name of the branch to point to the new commit. If start_sha and start_branch_name - // are not defined, the commit of branch_name is used as the parent commit. - BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - // commit_message is the message to use in the commit. - CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` - // commit_author_name is the commit author's name. If not provided, the user's name is - // used instead. - CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"` - // commit_author_email is the commit author's email. If not provided, the user's email is - // used instead. - CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"` - // start_branch_name specifies the branch whose commit to use as the parent commit. Takes priority - // over branch_name. Optional. - StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` - // start_repository specifies which contains the parent commit. If not specified, repository itself - // is used to look up the parent commit. Optional. - StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` - // force determines whether to force update the target branch specified by branch_name to - // point to the new commit. - Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"` - // start_sha specifies the SHA of the commit to use as the parent of new commit. Takes priority - // over start_branch_name and branc_name. Optional. - StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` - // timestamp is the optional timestamp to use for the commits as author and - // committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserCommitFilesRequestHeader) Reset() { - *x = UserCommitFilesRequestHeader{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCommitFilesRequestHeader) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCommitFilesRequestHeader) ProtoMessage() {} - -func (x *UserCommitFilesRequestHeader) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCommitFilesRequestHeader.ProtoReflect.Descriptor instead. -func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{25} -} - -func (x *UserCommitFilesRequestHeader) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetBranchName() []byte { - if x != nil { - return x.BranchName - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetCommitMessage() []byte { - if x != nil { - return x.CommitMessage - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte { - if x != nil { - return x.CommitAuthorName - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte { - if x != nil { - return x.CommitAuthorEmail - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetStartBranchName() []byte { - if x != nil { - return x.StartBranchName - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetStartRepository() *Repository { - if x != nil { - return x.StartRepository - } - return nil -} - -func (x *UserCommitFilesRequestHeader) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -func (x *UserCommitFilesRequestHeader) GetStartSha() string { - if x != nil { - return x.StartSha - } - return "" -} - -func (x *UserCommitFilesRequestHeader) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// UserCommitFiles is the request of UserCommitFiles. -type UserCommitFilesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to UserCommitFilesRequestPayload: - // *UserCommitFilesRequest_Header - // *UserCommitFilesRequest_Action - UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"` -} - -func (x *UserCommitFilesRequest) Reset() { - *x = UserCommitFilesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCommitFilesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCommitFilesRequest) ProtoMessage() {} - -func (x *UserCommitFilesRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCommitFilesRequest.ProtoReflect.Descriptor instead. -func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{26} -} - -func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload { - if m != nil { - return m.UserCommitFilesRequestPayload - } - return nil -} - -func (x *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader { - if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok { - return x.Header - } - return nil -} - -func (x *UserCommitFilesRequest) GetAction() *UserCommitFilesAction { - if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok { - return x.Action - } - return nil -} - -type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface { - isUserCommitFilesRequest_UserCommitFilesRequestPayload() -} - -type UserCommitFilesRequest_Header struct { - // header defines the details of where to commit, the details and which commit to use as the parent. - // header must always be sent as the first request of the stream. - Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type UserCommitFilesRequest_Action struct { - // action contains an action to build a commit. There can be multiple actions per stream. - Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` -} - -func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} - -func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} - -// UserCommitFilesResponse is the response object of UserCommitFiles. -type UserCommitFilesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // branch_update contains the details of the commit and the branch update. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // index_error is set to the error message when an invalid action was attempted, such as - // trying to create a file that already existed. - IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` - // pre_receive_error is set when the pre-receive hook errored. - PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` -} - -func (x *UserCommitFilesResponse) Reset() { - *x = UserCommitFilesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserCommitFilesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserCommitFilesResponse) ProtoMessage() {} - -func (x *UserCommitFilesResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserCommitFilesResponse.ProtoReflect.Descriptor instead. -func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{27} -} - -func (x *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -func (x *UserCommitFilesResponse) GetIndexError() string { - if x != nil { - return x.IndexError - } - return "" -} - -func (x *UserCommitFilesResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -// This comment is left unintentionally blank. -type UserRebaseConfirmableRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to UserRebaseConfirmableRequestPayload: - // *UserRebaseConfirmableRequest_Header_ - // *UserRebaseConfirmableRequest_Apply - UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"` -} - -func (x *UserRebaseConfirmableRequest) Reset() { - *x = UserRebaseConfirmableRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRebaseConfirmableRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRebaseConfirmableRequest) ProtoMessage() {} - -func (x *UserRebaseConfirmableRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRebaseConfirmableRequest.ProtoReflect.Descriptor instead. -func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{28} -} - -func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload { - if m != nil { - return m.UserRebaseConfirmableRequestPayload - } - return nil -} - -func (x *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header { - if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok { - return x.Header - } - return nil -} - -func (x *UserRebaseConfirmableRequest) GetApply() bool { - if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok { - return x.Apply - } - return false -} - -type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface { - isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() -} - -type UserRebaseConfirmableRequest_Header_ struct { - // For each request stream there must be first a request with a header - // containing details about the rebase to perform. - Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type UserRebaseConfirmableRequest_Apply struct { - // A second request must be made to confirm that the rebase should - // be applied to the branch. - Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` -} - -func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { -} - -func (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { -} - -// This comment is left unintentionally blank. -type UserRebaseConfirmableResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to UserRebaseConfirmableResponsePayload: - // *UserRebaseConfirmableResponse_RebaseSha - // *UserRebaseConfirmableResponse_RebaseApplied - UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"` - // pre_receive_error contains an error message if the rebase failed because - // of an error raised by hooks. - PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - // git_error contains an error message if git operations have failed. - GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` -} - -func (x *UserRebaseConfirmableResponse) Reset() { - *x = UserRebaseConfirmableResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRebaseConfirmableResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRebaseConfirmableResponse) ProtoMessage() {} - -func (x *UserRebaseConfirmableResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRebaseConfirmableResponse.ProtoReflect.Descriptor instead. -func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{29} -} - -func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload { - if m != nil { - return m.UserRebaseConfirmableResponsePayload - } - return nil -} - -func (x *UserRebaseConfirmableResponse) GetRebaseSha() string { - if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok { - return x.RebaseSha - } - return "" -} - -func (x *UserRebaseConfirmableResponse) GetRebaseApplied() bool { - if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok { - return x.RebaseApplied - } - return false -} - -func (x *UserRebaseConfirmableResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -func (x *UserRebaseConfirmableResponse) GetGitError() string { - if x != nil { - return x.GitError - } - return "" -} - -type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface { - isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() -} - -type UserRebaseConfirmableResponse_RebaseSha struct { - // The first response will contain the rebase commit the branch will - // be updated to. The caller can still abort the rebase. - RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` -} - -type UserRebaseConfirmableResponse_RebaseApplied struct { - // The second response confirms that the rebase has been applied to - // the branch. - RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` -} - -func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { -} - -func (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { -} - -// This comment is left unintentionally blank. -type UserSquashRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository into which the squashed commit shall be - // written. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is used for authorization checks. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // start_sha is the object ID of the start commit of the range which shall be - // squashed. Must be an ancestor of end_sha. - StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` - // end_sha is the object ID of the end commit of the range which shall be - // squashed. - EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha,proto3" json:"end_sha,omitempty"` - // author will be used as the author of the squashed commit. - Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` - // commit_message is the message to be used for the squashed commit. - CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` - // timestamp is the optional timestamp to use for the squashed commit as - // committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserSquashRequest) Reset() { - *x = UserSquashRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserSquashRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSquashRequest) ProtoMessage() {} - -func (x *UserSquashRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserSquashRequest.ProtoReflect.Descriptor instead. -func (*UserSquashRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{30} -} - -func (x *UserSquashRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserSquashRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserSquashRequest) GetStartSha() string { - if x != nil { - return x.StartSha - } - return "" -} - -func (x *UserSquashRequest) GetEndSha() string { - if x != nil { - return x.EndSha - } - return "" -} - -func (x *UserSquashRequest) GetAuthor() *User { - if x != nil { - return x.Author - } - return nil -} - -func (x *UserSquashRequest) GetCommitMessage() []byte { - if x != nil { - return x.CommitMessage - } - return nil -} - -func (x *UserSquashRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserSquashResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // squash_sha is the object ID of the squashed commit. - SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` - // GitError is not used anymore. Instead, this RPC always returns a real - // error with an optional UserRebaseConfirmableError, which may be set on - // special errors. - // - // Deprecated: Do not use. - GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` -} - -func (x *UserSquashResponse) Reset() { - *x = UserSquashResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserSquashResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSquashResponse) ProtoMessage() {} - -func (x *UserSquashResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserSquashResponse.ProtoReflect.Descriptor instead. -func (*UserSquashResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{31} -} - -func (x *UserSquashResponse) GetSquashSha() string { - if x != nil { - return x.SquashSha - } - return "" -} - -// Deprecated: Do not use. -func (x *UserSquashResponse) GetGitError() string { - if x != nil { - return x.GitError - } - return "" -} - -// This comment is left unintentionally blank. -type UserRebaseConfirmableError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Error: - // *UserRebaseConfirmableError_RebaseConflict - // *UserRebaseConfirmableError_AccessCheck - Error isUserRebaseConfirmableError_Error `protobuf_oneof:"error"` -} - -func (x *UserRebaseConfirmableError) Reset() { - *x = UserRebaseConfirmableError{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRebaseConfirmableError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRebaseConfirmableError) ProtoMessage() {} - -func (x *UserRebaseConfirmableError) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRebaseConfirmableError.ProtoReflect.Descriptor instead. -func (*UserRebaseConfirmableError) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{32} -} - -func (m *UserRebaseConfirmableError) GetError() isUserRebaseConfirmableError_Error { - if m != nil { - return m.Error - } - return nil -} - -func (x *UserRebaseConfirmableError) GetRebaseConflict() *MergeConflictError { - if x, ok := x.GetError().(*UserRebaseConfirmableError_RebaseConflict); ok { - return x.RebaseConflict - } - return nil -} - -func (x *UserRebaseConfirmableError) GetAccessCheck() *AccessCheckError { - if x, ok := x.GetError().(*UserRebaseConfirmableError_AccessCheck); ok { - return x.AccessCheck - } - return nil -} - -type isUserRebaseConfirmableError_Error interface { - isUserRebaseConfirmableError_Error() -} - -type UserRebaseConfirmableError_RebaseConflict struct { - // RebaseConflict is returned in case rebasing commits on top of the start - // commit fails with a merge conflict and in case merge squashing commits - // fails with a merge conflict. - RebaseConflict *MergeConflictError `protobuf:"bytes,1,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` -} - -type UserRebaseConfirmableError_AccessCheck struct { - // AccessCheckError is returned in case GitLab's `/internal/allowed` endpoint rejected - // the change. - AccessCheck *AccessCheckError `protobuf:"bytes,2,opt,name=access_check,json=accessCheck,proto3,oneof"` -} - -func (*UserRebaseConfirmableError_RebaseConflict) isUserRebaseConfirmableError_Error() {} - -func (*UserRebaseConfirmableError_AccessCheck) isUserRebaseConfirmableError_Error() {} - -// UserSquashError is an error that may be returned when the UserSquash RPC -// fails. -type UserSquashError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Error: - // *UserSquashError_ResolveRevision - // *UserSquashError_RebaseConflict - Error isUserSquashError_Error `protobuf_oneof:"error"` -} - -func (x *UserSquashError) Reset() { - *x = UserSquashError{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserSquashError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserSquashError) ProtoMessage() {} - -func (x *UserSquashError) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserSquashError.ProtoReflect.Descriptor instead. -func (*UserSquashError) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{33} -} - -func (m *UserSquashError) GetError() isUserSquashError_Error { - if m != nil { - return m.Error - } - return nil -} - -func (x *UserSquashError) GetResolveRevision() *ResolveRevisionError { - if x, ok := x.GetError().(*UserSquashError_ResolveRevision); ok { - return x.ResolveRevision - } - return nil -} - -func (x *UserSquashError) GetRebaseConflict() *MergeConflictError { - if x, ok := x.GetError().(*UserSquashError_RebaseConflict); ok { - return x.RebaseConflict - } - return nil -} - -type isUserSquashError_Error interface { - isUserSquashError_Error() -} - -type UserSquashError_ResolveRevision struct { - // ResolveRevision is returned in case resolving either the start or end - // revision has failed. - ResolveRevision *ResolveRevisionError `protobuf:"bytes,1,opt,name=resolve_revision,json=resolveRevision,proto3,oneof"` -} - -type UserSquashError_RebaseConflict struct { - // RebaseConflict is returned in case rebasing commits on top of the start - // commit fails with a merge conflict. - RebaseConflict *MergeConflictError `protobuf:"bytes,2,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` -} - -func (*UserSquashError_ResolveRevision) isUserSquashError_Error() {} - -func (*UserSquashError_RebaseConflict) isUserSquashError_Error() {} - -// This comment is left unintentionally blank. -type UserApplyPatchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to UserApplyPatchRequestPayload: - // *UserApplyPatchRequest_Header_ - // *UserApplyPatchRequest_Patches - UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"` -} - -func (x *UserApplyPatchRequest) Reset() { - *x = UserApplyPatchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserApplyPatchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserApplyPatchRequest) ProtoMessage() {} - -func (x *UserApplyPatchRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserApplyPatchRequest.ProtoReflect.Descriptor instead. -func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{34} -} - -func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload { - if m != nil { - return m.UserApplyPatchRequestPayload - } - return nil -} - -func (x *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header { - if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok { - return x.Header - } - return nil -} - -func (x *UserApplyPatchRequest) GetPatches() []byte { - if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok { - return x.Patches - } - return nil -} - -type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface { - isUserApplyPatchRequest_UserApplyPatchRequestPayload() -} - -type UserApplyPatchRequest_Header_ struct { - // header must be sent as the first message and contains information about - // how to apply the patches. - Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} - -type UserApplyPatchRequest_Patches struct { - // patches contains the patch data. - Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"` -} - -func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} - -func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} - -// This comment is left unintentionally blank. -type UserApplyPatchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // branch_update contains information about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` -} - -func (x *UserApplyPatchResponse) Reset() { - *x = UserApplyPatchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserApplyPatchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserApplyPatchResponse) ProtoMessage() {} - -func (x *UserApplyPatchResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserApplyPatchResponse.ProtoReflect.Descriptor instead. -func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{35} -} - -func (x *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -// This comment is left unintentionally blank. -type UserUpdateSubmoduleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the submodule shall be updated. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is used both for authorization and as author/committer of the - // resulting commit. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit_sha is the object ID the submodule shall be updated to. - CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` - // branch is the branch which shall be updated. This is the unqualified name - // of the branch, it must not have a "refs/heads/" prefix. - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // submodule is the path to the submodule which shall be updated. - Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` - // commit_message is the message updating the submodule. - CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` - // timestamp is the optional timestamp to use for the commit updating the - // submodule as committer date. If it's not set, the current time will be - // used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserUpdateSubmoduleRequest) Reset() { - *x = UserUpdateSubmoduleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserUpdateSubmoduleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserUpdateSubmoduleRequest) ProtoMessage() {} - -func (x *UserUpdateSubmoduleRequest) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserUpdateSubmoduleRequest.ProtoReflect.Descriptor instead. -func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{36} -} - -func (x *UserUpdateSubmoduleRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserUpdateSubmoduleRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserUpdateSubmoduleRequest) GetCommitSha() string { - if x != nil { - return x.CommitSha - } - return "" -} - -func (x *UserUpdateSubmoduleRequest) GetBranch() []byte { - if x != nil { - return x.Branch - } - return nil -} - -func (x *UserUpdateSubmoduleRequest) GetSubmodule() []byte { - if x != nil { - return x.Submodule - } - return nil -} - -func (x *UserUpdateSubmoduleRequest) GetCommitMessage() []byte { - if x != nil { - return x.CommitMessage - } - return nil -} - -func (x *UserUpdateSubmoduleRequest) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// This comment is left unintentionally blank. -type UserUpdateSubmoduleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // branch_update contains information about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // pre_receive_error contains an error message if the pre-receive hook - // rejects the update. - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - // commit_error contains an error message if committing the update fails. - CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` -} - -func (x *UserUpdateSubmoduleResponse) Reset() { - *x = UserUpdateSubmoduleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserUpdateSubmoduleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserUpdateSubmoduleResponse) ProtoMessage() {} - -func (x *UserUpdateSubmoduleResponse) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserUpdateSubmoduleResponse.ProtoReflect.Descriptor instead. -func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{37} -} - -func (x *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate { - if x != nil { - return x.BranchUpdate - } - return nil -} - -func (x *UserUpdateSubmoduleResponse) GetPreReceiveError() string { - if x != nil { - return x.PreReceiveError - } - return "" -} - -func (x *UserUpdateSubmoduleResponse) GetCommitError() string { - if x != nil { - return x.CommitError - } - return "" -} - -// Header contains information to compute the rebase and must be sent as -// first message. -type UserRebaseConfirmableRequest_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the rebase will be computed and - // applied. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user to compute the rebase as. It will be used as - // "committer" of rebased commits. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // RebaseId does nothing anymore. - // - // Deprecated: Do not use. - RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` - // branch is the branch onto which the rebase shall happen. - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // branch_sha is the expected object ID which branch currently points to. - // This is used as a safety guard to avoid races when branch has been - // updated meanwhile. - BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` - // remote_repository is the repository which contains the branch which - // shall be rebased onto the local branch. - RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` - // remote_branch contains the branch name which shall re rebased onto the - // local branch. - RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` - // git_push_options contain options which shall be passed to the git hooks - // when the local branch gets updated. - GitPushOptions []string `protobuf:"bytes,8,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - // timestamp is the optional timestamp to use for the rebased commits as - // committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserRebaseConfirmableRequest_Header) Reset() { - *x = UserRebaseConfirmableRequest_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserRebaseConfirmableRequest_Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} - -func (x *UserRebaseConfirmableRequest_Header) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserRebaseConfirmableRequest_Header.ProtoReflect.Descriptor instead. -func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{28, 0} -} - -func (x *UserRebaseConfirmableRequest_Header) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserRebaseConfirmableRequest_Header) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -// Deprecated: Do not use. -func (x *UserRebaseConfirmableRequest_Header) GetRebaseId() string { - if x != nil { - return x.RebaseId - } - return "" -} - -func (x *UserRebaseConfirmableRequest_Header) GetBranch() []byte { - if x != nil { - return x.Branch - } - return nil -} - -func (x *UserRebaseConfirmableRequest_Header) GetBranchSha() string { - if x != nil { - return x.BranchSha - } - return "" -} - -func (x *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository { - if x != nil { - return x.RemoteRepository - } - return nil -} - -func (x *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte { - if x != nil { - return x.RemoteBranch - } - return nil -} - -func (x *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string { - if x != nil { - return x.GitPushOptions - } - return nil -} - -func (x *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -// Header contains information about how to apply the patches. -type UserApplyPatchRequest_Header struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository to which the patches shall be applied to. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is used for authentication. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // target_branch is the branch onto which the patches shall be applied. - TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` - // timestamp is the optional timestamp to use for the squashed commit as - // committer date. If it's not set, the current time will be used. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` -} - -func (x *UserApplyPatchRequest_Header) Reset() { - *x = UserApplyPatchRequest_Header{} - if protoimpl.UnsafeEnabled { - mi := &file_operations_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UserApplyPatchRequest_Header) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UserApplyPatchRequest_Header) ProtoMessage() {} - -func (x *UserApplyPatchRequest_Header) ProtoReflect() protoreflect.Message { - mi := &file_operations_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UserApplyPatchRequest_Header.ProtoReflect.Descriptor instead. -func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { - return file_operations_proto_rawDescGZIP(), []int{34, 0} -} - -func (x *UserApplyPatchRequest_Header) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UserApplyPatchRequest_Header) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *UserApplyPatchRequest_Header) GetTargetBranch() []byte { - if x != nil { - return x.TargetBranch - } - return nil -} - -func (x *UserApplyPatchRequest_Header) GetTimestamp() *timestamppb.Timestamp { - if x != nil { - return x.Timestamp - } - return nil -} - -var File_operations_proto protoreflect.FileDescriptor - -var file_operations_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0c, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, - 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, - 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x6e, 0x0a, - 0x18, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, - 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc6, 0x01, - 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x77, 0x72, 0x65, 0x76, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x72, 0x65, 0x76, 0x12, 0x16, - 0x0a, 0x06, 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, - 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, - 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x96, - 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x8d, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, - 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, - 0x43, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, - 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x22, 0x8a, 0x02, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x22, 0x7a, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, - 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x74, 0x61, - 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, - 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x93, 0x02, - 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, - 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, - 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x70, - 0x70, 0x6c, 0x79, 0x22, 0xb0, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0d, - 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x12, 0x2e, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, - 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x4d, - 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, - 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, - 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x49, - 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, - 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x22, 0xf0, 0x02, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, - 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, - 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x73, - 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x66, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x6c, 0x6c, - 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x65, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, - 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x11, - 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x70, 0x72, 0x65, - 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x15, - 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xa6, 0x01, 0x0a, - 0x13, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, - 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, - 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, - 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, - 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, - 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x97, - 0x03, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, - 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, - 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, - 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, - 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xf2, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x12, 0x63, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, - 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, - 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, 0x22, 0xdd, 0x02, - 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x14, 0x63, 0x68, 0x65, 0x72, 0x72, 0x79, 0x5f, - 0x70, 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, 0x72, - 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, - 0x00, 0x52, 0x12, 0x63, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x6f, 0x6e, - 0x66, 0x6c, 0x69, 0x63, 0x74, 0x12, 0x50, 0x0a, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, - 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4e, - 0x6f, 0x74, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, - 0x00, 0x52, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, - 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x64, 0x12, 0x5c, 0x0a, 0x17, 0x63, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, - 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x15, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x70, - 0x70, 0x6c, 0x69, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, - 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x93, 0x03, - 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, - 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, - 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x22, 0xea, 0x02, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, - 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, - 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, - 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, - 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, - 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, - 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, - 0x22, 0xf5, 0x02, 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x12, 0x46, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, - 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x72, - 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, - 0x73, 0x65, 0x36, 0x34, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x65, - 0x63, 0x75, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, - 0x69, 0x6e, 0x66, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x22, 0x55, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, - 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, - 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x56, 0x45, 0x10, - 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x12, 0x09, 0x0a, - 0x05, 0x43, 0x48, 0x4d, 0x4f, 0x44, 0x10, 0x05, 0x22, 0x96, 0x01, 0x0a, 0x15, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x22, 0x0a, - 0x20, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x6c, - 0x65, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, - 0x64, 0x22, 0xf8, 0x03, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, - 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, - 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, - 0x68, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, - 0x68, 0x61, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xb6, 0x01, 0x0a, - 0x16, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, - 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x23, 0x0a, 0x21, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, - 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x64, 0x65, - 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, - 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x22, 0xb1, 0x04, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x05, 0x61, 0x70, - 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x61, 0x70, 0x70, - 0x6c, 0x79, 0x1a, 0x86, 0x03, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x09, 0x72, 0x65, 0x62, - 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, - 0x52, 0x08, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x68, 0x61, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x68, - 0x61, 0x12, 0x3f, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x62, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, - 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x29, 0x0a, 0x27, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, - 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x1d, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x72, 0x65, 0x62, 0x61, - 0x73, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, - 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x53, 0x68, 0x61, 0x12, 0x27, 0x0a, 0x0e, 0x72, 0x65, 0x62, - 0x61, 0x73, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, - 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, - 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, - 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x2a, 0x0a, 0x28, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, - 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xc3, 0x02, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, - 0x72, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, - 0x61, 0x72, 0x74, 0x53, 0x68, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x68, - 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x12, - 0x24, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, - 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, - 0x10, 0x05, 0x52, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x22, 0x6d, 0x0a, - 0x12, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, - 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x53, - 0x68, 0x61, 0x12, 0x1f, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, - 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xab, 0x01, 0x0a, - 0x1a, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x0f, 0x72, - 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, - 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, - 0x63, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, - 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, - 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xac, 0x01, 0x0a, 0x0f, 0x55, - 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x49, - 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, - 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0f, 0x72, 0x65, 0x62, - 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, 0x72, 0x67, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, - 0x52, 0x0e, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, - 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xdd, 0x02, 0x0a, 0x15, 0x55, 0x73, - 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x1a, - 0xc3, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, - 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x22, 0x0a, 0x20, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x70, - 0x70, 0x6c, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x5c, 0x0a, 0x16, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xae, 0x02, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x72, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, - 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x68, 0x61, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x68, - 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x75, - 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, - 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc9, 0x01, 0x0a, 0x1b, 0x55, 0x73, 0x65, - 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, - 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, - 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, - 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x03, 0x10, - 0x04, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x32, 0xed, 0x0a, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, - 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, - 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, - 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, - 0x6f, 0x52, 0x65, 0x66, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x55, - 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1e, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x55, - 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1b, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x57, - 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, - 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, - 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, - 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x70, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, - 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, - 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, - 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x76, 0x65, 0x72, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, - 0x73, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, - 0x74, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x66, 0x0a, 0x13, - 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, - 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_operations_proto_rawDescOnce sync.Once - file_operations_proto_rawDescData = file_operations_proto_rawDesc -) - -func file_operations_proto_rawDescGZIP() []byte { - file_operations_proto_rawDescOnce.Do(func() { - file_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_operations_proto_rawDescData) - }) - return file_operations_proto_rawDescData -} - -var file_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 40) -var file_operations_proto_goTypes = []interface{}{ - (UserCherryPickResponse_CreateTreeError)(0), // 0: gitaly.UserCherryPickResponse.CreateTreeError - (UserRevertResponse_CreateTreeError)(0), // 1: gitaly.UserRevertResponse.CreateTreeError - (UserCommitFilesActionHeader_ActionType)(0), // 2: gitaly.UserCommitFilesActionHeader.ActionType - (*UserCreateBranchRequest)(nil), // 3: gitaly.UserCreateBranchRequest - (*UserCreateBranchResponse)(nil), // 4: gitaly.UserCreateBranchResponse - (*UserUpdateBranchRequest)(nil), // 5: gitaly.UserUpdateBranchRequest - (*UserUpdateBranchResponse)(nil), // 6: gitaly.UserUpdateBranchResponse - (*UserDeleteBranchRequest)(nil), // 7: gitaly.UserDeleteBranchRequest - (*UserDeleteBranchResponse)(nil), // 8: gitaly.UserDeleteBranchResponse - (*UserDeleteTagRequest)(nil), // 9: gitaly.UserDeleteTagRequest - (*UserDeleteTagResponse)(nil), // 10: gitaly.UserDeleteTagResponse - (*UserCreateTagRequest)(nil), // 11: gitaly.UserCreateTagRequest - (*UserCreateTagResponse)(nil), // 12: gitaly.UserCreateTagResponse - (*UserMergeBranchRequest)(nil), // 13: gitaly.UserMergeBranchRequest - (*UserMergeBranchResponse)(nil), // 14: gitaly.UserMergeBranchResponse - (*UserMergeBranchError)(nil), // 15: gitaly.UserMergeBranchError - (*UserMergeToRefRequest)(nil), // 16: gitaly.UserMergeToRefRequest - (*UserMergeToRefResponse)(nil), // 17: gitaly.UserMergeToRefResponse - (*OperationBranchUpdate)(nil), // 18: gitaly.OperationBranchUpdate - (*UserFFBranchRequest)(nil), // 19: gitaly.UserFFBranchRequest - (*UserFFBranchResponse)(nil), // 20: gitaly.UserFFBranchResponse - (*UserCherryPickRequest)(nil), // 21: gitaly.UserCherryPickRequest - (*UserCherryPickResponse)(nil), // 22: gitaly.UserCherryPickResponse - (*UserCherryPickError)(nil), // 23: gitaly.UserCherryPickError - (*UserRevertRequest)(nil), // 24: gitaly.UserRevertRequest - (*UserRevertResponse)(nil), // 25: gitaly.UserRevertResponse - (*UserCommitFilesActionHeader)(nil), // 26: gitaly.UserCommitFilesActionHeader - (*UserCommitFilesAction)(nil), // 27: gitaly.UserCommitFilesAction - (*UserCommitFilesRequestHeader)(nil), // 28: gitaly.UserCommitFilesRequestHeader - (*UserCommitFilesRequest)(nil), // 29: gitaly.UserCommitFilesRequest - (*UserCommitFilesResponse)(nil), // 30: gitaly.UserCommitFilesResponse - (*UserRebaseConfirmableRequest)(nil), // 31: gitaly.UserRebaseConfirmableRequest - (*UserRebaseConfirmableResponse)(nil), // 32: gitaly.UserRebaseConfirmableResponse - (*UserSquashRequest)(nil), // 33: gitaly.UserSquashRequest - (*UserSquashResponse)(nil), // 34: gitaly.UserSquashResponse - (*UserRebaseConfirmableError)(nil), // 35: gitaly.UserRebaseConfirmableError - (*UserSquashError)(nil), // 36: gitaly.UserSquashError - (*UserApplyPatchRequest)(nil), // 37: gitaly.UserApplyPatchRequest - (*UserApplyPatchResponse)(nil), // 38: gitaly.UserApplyPatchResponse - (*UserUpdateSubmoduleRequest)(nil), // 39: gitaly.UserUpdateSubmoduleRequest - (*UserUpdateSubmoduleResponse)(nil), // 40: gitaly.UserUpdateSubmoduleResponse - (*UserRebaseConfirmableRequest_Header)(nil), // 41: gitaly.UserRebaseConfirmableRequest.Header - (*UserApplyPatchRequest_Header)(nil), // 42: gitaly.UserApplyPatchRequest.Header - (*Repository)(nil), // 43: gitaly.Repository - (*User)(nil), // 44: gitaly.User - (*Branch)(nil), // 45: gitaly.Branch - (*timestamppb.Timestamp)(nil), // 46: google.protobuf.Timestamp - (*Tag)(nil), // 47: gitaly.Tag - (*AccessCheckError)(nil), // 48: gitaly.AccessCheckError - (*ReferenceUpdateError)(nil), // 49: gitaly.ReferenceUpdateError - (*GitCommit)(nil), // 50: gitaly.GitCommit - (*MergeConflictError)(nil), // 51: gitaly.MergeConflictError - (*NotAncestorError)(nil), // 52: gitaly.NotAncestorError - (*ChangesAlreadyAppliedError)(nil), // 53: gitaly.ChangesAlreadyAppliedError - (*ResolveRevisionError)(nil), // 54: gitaly.ResolveRevisionError -} -var file_operations_proto_depIdxs = []int32{ - 43, // 0: gitaly.UserCreateBranchRequest.repository:type_name -> gitaly.Repository - 44, // 1: gitaly.UserCreateBranchRequest.user:type_name -> gitaly.User - 45, // 2: gitaly.UserCreateBranchResponse.branch:type_name -> gitaly.Branch - 43, // 3: gitaly.UserUpdateBranchRequest.repository:type_name -> gitaly.Repository - 44, // 4: gitaly.UserUpdateBranchRequest.user:type_name -> gitaly.User - 43, // 5: gitaly.UserDeleteBranchRequest.repository:type_name -> gitaly.Repository - 44, // 6: gitaly.UserDeleteBranchRequest.user:type_name -> gitaly.User - 43, // 7: gitaly.UserDeleteTagRequest.repository:type_name -> gitaly.Repository - 44, // 8: gitaly.UserDeleteTagRequest.user:type_name -> gitaly.User - 43, // 9: gitaly.UserCreateTagRequest.repository:type_name -> gitaly.Repository - 44, // 10: gitaly.UserCreateTagRequest.user:type_name -> gitaly.User - 46, // 11: gitaly.UserCreateTagRequest.timestamp:type_name -> google.protobuf.Timestamp - 47, // 12: gitaly.UserCreateTagResponse.tag:type_name -> gitaly.Tag - 43, // 13: gitaly.UserMergeBranchRequest.repository:type_name -> gitaly.Repository - 44, // 14: gitaly.UserMergeBranchRequest.user:type_name -> gitaly.User - 46, // 15: gitaly.UserMergeBranchRequest.timestamp:type_name -> google.protobuf.Timestamp - 18, // 16: gitaly.UserMergeBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 48, // 17: gitaly.UserMergeBranchError.access_check:type_name -> gitaly.AccessCheckError - 49, // 18: gitaly.UserMergeBranchError.reference_update:type_name -> gitaly.ReferenceUpdateError - 43, // 19: gitaly.UserMergeToRefRequest.repository:type_name -> gitaly.Repository - 44, // 20: gitaly.UserMergeToRefRequest.user:type_name -> gitaly.User - 46, // 21: gitaly.UserMergeToRefRequest.timestamp:type_name -> google.protobuf.Timestamp - 43, // 22: gitaly.UserFFBranchRequest.repository:type_name -> gitaly.Repository - 44, // 23: gitaly.UserFFBranchRequest.user:type_name -> gitaly.User - 18, // 24: gitaly.UserFFBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 43, // 25: gitaly.UserCherryPickRequest.repository:type_name -> gitaly.Repository - 44, // 26: gitaly.UserCherryPickRequest.user:type_name -> gitaly.User - 50, // 27: gitaly.UserCherryPickRequest.commit:type_name -> gitaly.GitCommit - 43, // 28: gitaly.UserCherryPickRequest.start_repository:type_name -> gitaly.Repository - 46, // 29: gitaly.UserCherryPickRequest.timestamp:type_name -> google.protobuf.Timestamp - 18, // 30: gitaly.UserCherryPickResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 0, // 31: gitaly.UserCherryPickResponse.create_tree_error_code:type_name -> gitaly.UserCherryPickResponse.CreateTreeError - 51, // 32: gitaly.UserCherryPickError.cherry_pick_conflict:type_name -> gitaly.MergeConflictError - 52, // 33: gitaly.UserCherryPickError.target_branch_diverged:type_name -> gitaly.NotAncestorError - 53, // 34: gitaly.UserCherryPickError.changes_already_applied:type_name -> gitaly.ChangesAlreadyAppliedError - 48, // 35: gitaly.UserCherryPickError.access_check:type_name -> gitaly.AccessCheckError - 43, // 36: gitaly.UserRevertRequest.repository:type_name -> gitaly.Repository - 44, // 37: gitaly.UserRevertRequest.user:type_name -> gitaly.User - 50, // 38: gitaly.UserRevertRequest.commit:type_name -> gitaly.GitCommit - 43, // 39: gitaly.UserRevertRequest.start_repository:type_name -> gitaly.Repository - 46, // 40: gitaly.UserRevertRequest.timestamp:type_name -> google.protobuf.Timestamp - 18, // 41: gitaly.UserRevertResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 1, // 42: gitaly.UserRevertResponse.create_tree_error_code:type_name -> gitaly.UserRevertResponse.CreateTreeError - 2, // 43: gitaly.UserCommitFilesActionHeader.action:type_name -> gitaly.UserCommitFilesActionHeader.ActionType - 26, // 44: gitaly.UserCommitFilesAction.header:type_name -> gitaly.UserCommitFilesActionHeader - 43, // 45: gitaly.UserCommitFilesRequestHeader.repository:type_name -> gitaly.Repository - 44, // 46: gitaly.UserCommitFilesRequestHeader.user:type_name -> gitaly.User - 43, // 47: gitaly.UserCommitFilesRequestHeader.start_repository:type_name -> gitaly.Repository - 46, // 48: gitaly.UserCommitFilesRequestHeader.timestamp:type_name -> google.protobuf.Timestamp - 28, // 49: gitaly.UserCommitFilesRequest.header:type_name -> gitaly.UserCommitFilesRequestHeader - 27, // 50: gitaly.UserCommitFilesRequest.action:type_name -> gitaly.UserCommitFilesAction - 18, // 51: gitaly.UserCommitFilesResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 41, // 52: gitaly.UserRebaseConfirmableRequest.header:type_name -> gitaly.UserRebaseConfirmableRequest.Header - 43, // 53: gitaly.UserSquashRequest.repository:type_name -> gitaly.Repository - 44, // 54: gitaly.UserSquashRequest.user:type_name -> gitaly.User - 44, // 55: gitaly.UserSquashRequest.author:type_name -> gitaly.User - 46, // 56: gitaly.UserSquashRequest.timestamp:type_name -> google.protobuf.Timestamp - 51, // 57: gitaly.UserRebaseConfirmableError.rebase_conflict:type_name -> gitaly.MergeConflictError - 48, // 58: gitaly.UserRebaseConfirmableError.access_check:type_name -> gitaly.AccessCheckError - 54, // 59: gitaly.UserSquashError.resolve_revision:type_name -> gitaly.ResolveRevisionError - 51, // 60: gitaly.UserSquashError.rebase_conflict:type_name -> gitaly.MergeConflictError - 42, // 61: gitaly.UserApplyPatchRequest.header:type_name -> gitaly.UserApplyPatchRequest.Header - 18, // 62: gitaly.UserApplyPatchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 43, // 63: gitaly.UserUpdateSubmoduleRequest.repository:type_name -> gitaly.Repository - 44, // 64: gitaly.UserUpdateSubmoduleRequest.user:type_name -> gitaly.User - 46, // 65: gitaly.UserUpdateSubmoduleRequest.timestamp:type_name -> google.protobuf.Timestamp - 18, // 66: gitaly.UserUpdateSubmoduleResponse.branch_update:type_name -> gitaly.OperationBranchUpdate - 43, // 67: gitaly.UserRebaseConfirmableRequest.Header.repository:type_name -> gitaly.Repository - 44, // 68: gitaly.UserRebaseConfirmableRequest.Header.user:type_name -> gitaly.User - 43, // 69: gitaly.UserRebaseConfirmableRequest.Header.remote_repository:type_name -> gitaly.Repository - 46, // 70: gitaly.UserRebaseConfirmableRequest.Header.timestamp:type_name -> google.protobuf.Timestamp - 43, // 71: gitaly.UserApplyPatchRequest.Header.repository:type_name -> gitaly.Repository - 44, // 72: gitaly.UserApplyPatchRequest.Header.user:type_name -> gitaly.User - 46, // 73: gitaly.UserApplyPatchRequest.Header.timestamp:type_name -> google.protobuf.Timestamp - 3, // 74: gitaly.OperationService.UserCreateBranch:input_type -> gitaly.UserCreateBranchRequest - 5, // 75: gitaly.OperationService.UserUpdateBranch:input_type -> gitaly.UserUpdateBranchRequest - 7, // 76: gitaly.OperationService.UserDeleteBranch:input_type -> gitaly.UserDeleteBranchRequest - 11, // 77: gitaly.OperationService.UserCreateTag:input_type -> gitaly.UserCreateTagRequest - 9, // 78: gitaly.OperationService.UserDeleteTag:input_type -> gitaly.UserDeleteTagRequest - 16, // 79: gitaly.OperationService.UserMergeToRef:input_type -> gitaly.UserMergeToRefRequest - 13, // 80: gitaly.OperationService.UserMergeBranch:input_type -> gitaly.UserMergeBranchRequest - 19, // 81: gitaly.OperationService.UserFFBranch:input_type -> gitaly.UserFFBranchRequest - 21, // 82: gitaly.OperationService.UserCherryPick:input_type -> gitaly.UserCherryPickRequest - 29, // 83: gitaly.OperationService.UserCommitFiles:input_type -> gitaly.UserCommitFilesRequest - 31, // 84: gitaly.OperationService.UserRebaseConfirmable:input_type -> gitaly.UserRebaseConfirmableRequest - 24, // 85: gitaly.OperationService.UserRevert:input_type -> gitaly.UserRevertRequest - 33, // 86: gitaly.OperationService.UserSquash:input_type -> gitaly.UserSquashRequest - 37, // 87: gitaly.OperationService.UserApplyPatch:input_type -> gitaly.UserApplyPatchRequest - 39, // 88: gitaly.OperationService.UserUpdateSubmodule:input_type -> gitaly.UserUpdateSubmoduleRequest - 4, // 89: gitaly.OperationService.UserCreateBranch:output_type -> gitaly.UserCreateBranchResponse - 6, // 90: gitaly.OperationService.UserUpdateBranch:output_type -> gitaly.UserUpdateBranchResponse - 8, // 91: gitaly.OperationService.UserDeleteBranch:output_type -> gitaly.UserDeleteBranchResponse - 12, // 92: gitaly.OperationService.UserCreateTag:output_type -> gitaly.UserCreateTagResponse - 10, // 93: gitaly.OperationService.UserDeleteTag:output_type -> gitaly.UserDeleteTagResponse - 17, // 94: gitaly.OperationService.UserMergeToRef:output_type -> gitaly.UserMergeToRefResponse - 14, // 95: gitaly.OperationService.UserMergeBranch:output_type -> gitaly.UserMergeBranchResponse - 20, // 96: gitaly.OperationService.UserFFBranch:output_type -> gitaly.UserFFBranchResponse - 22, // 97: gitaly.OperationService.UserCherryPick:output_type -> gitaly.UserCherryPickResponse - 30, // 98: gitaly.OperationService.UserCommitFiles:output_type -> gitaly.UserCommitFilesResponse - 32, // 99: gitaly.OperationService.UserRebaseConfirmable:output_type -> gitaly.UserRebaseConfirmableResponse - 25, // 100: gitaly.OperationService.UserRevert:output_type -> gitaly.UserRevertResponse - 34, // 101: gitaly.OperationService.UserSquash:output_type -> gitaly.UserSquashResponse - 38, // 102: gitaly.OperationService.UserApplyPatch:output_type -> gitaly.UserApplyPatchResponse - 40, // 103: gitaly.OperationService.UserUpdateSubmodule:output_type -> gitaly.UserUpdateSubmoduleResponse - 89, // [89:104] is the sub-list for method output_type - 74, // [74:89] is the sub-list for method input_type - 74, // [74:74] is the sub-list for extension type_name - 74, // [74:74] is the sub-list for extension extendee - 0, // [0:74] is the sub-list for field type_name -} - -func init() { file_operations_proto_init() } -func file_operations_proto_init() { - if File_operations_proto != nil { - return - } - file_errors_proto_init() - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_operations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCreateBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCreateBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserDeleteBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserDeleteBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserDeleteTagRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserDeleteTagResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCreateTagRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCreateTagResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserMergeBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserMergeBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserMergeBranchError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserMergeToRefRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserMergeToRefResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OperationBranchUpdate); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserFFBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserFFBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCherryPickRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCherryPickResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCherryPickError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRevertRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRevertResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCommitFilesActionHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCommitFilesAction); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCommitFilesRequestHeader); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCommitFilesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserCommitFilesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRebaseConfirmableRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRebaseConfirmableResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSquashRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSquashResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRebaseConfirmableError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserSquashError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserApplyPatchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserApplyPatchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateSubmoduleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserUpdateSubmoduleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserRebaseConfirmableRequest_Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_operations_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UserApplyPatchRequest_Header); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_operations_proto_msgTypes[12].OneofWrappers = []interface{}{ - (*UserMergeBranchError_AccessCheck)(nil), - (*UserMergeBranchError_ReferenceUpdate)(nil), - } - file_operations_proto_msgTypes[20].OneofWrappers = []interface{}{ - (*UserCherryPickError_CherryPickConflict)(nil), - (*UserCherryPickError_TargetBranchDiverged)(nil), - (*UserCherryPickError_ChangesAlreadyApplied)(nil), - (*UserCherryPickError_AccessCheck)(nil), - } - file_operations_proto_msgTypes[24].OneofWrappers = []interface{}{ - (*UserCommitFilesAction_Header)(nil), - (*UserCommitFilesAction_Content)(nil), - } - file_operations_proto_msgTypes[26].OneofWrappers = []interface{}{ - (*UserCommitFilesRequest_Header)(nil), - (*UserCommitFilesRequest_Action)(nil), - } - file_operations_proto_msgTypes[28].OneofWrappers = []interface{}{ - (*UserRebaseConfirmableRequest_Header_)(nil), - (*UserRebaseConfirmableRequest_Apply)(nil), - } - file_operations_proto_msgTypes[29].OneofWrappers = []interface{}{ - (*UserRebaseConfirmableResponse_RebaseSha)(nil), - (*UserRebaseConfirmableResponse_RebaseApplied)(nil), - } - file_operations_proto_msgTypes[32].OneofWrappers = []interface{}{ - (*UserRebaseConfirmableError_RebaseConflict)(nil), - (*UserRebaseConfirmableError_AccessCheck)(nil), - } - file_operations_proto_msgTypes[33].OneofWrappers = []interface{}{ - (*UserSquashError_ResolveRevision)(nil), - (*UserSquashError_RebaseConflict)(nil), - } - file_operations_proto_msgTypes[34].OneofWrappers = []interface{}{ - (*UserApplyPatchRequest_Header_)(nil), - (*UserApplyPatchRequest_Patches)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_operations_proto_rawDesc, - NumEnums: 3, - NumMessages: 40, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_operations_proto_goTypes, - DependencyIndexes: file_operations_proto_depIdxs, - EnumInfos: file_operations_proto_enumTypes, - MessageInfos: file_operations_proto_msgTypes, - }.Build() - File_operations_proto = out.File - file_operations_proto_rawDesc = nil - file_operations_proto_goTypes = nil - file_operations_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/operations_grpc.pb.go b/proto/go/gitalypb/operations_grpc.pb.go deleted file mode 100644 index a1db433bc..000000000 --- a/proto/go/gitalypb/operations_grpc.pb.go +++ /dev/null @@ -1,826 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// OperationServiceClient is the client API for OperationService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type OperationServiceClient interface { - // This comment is left unintentionally blank. - UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) - // This comment is left unintentionally blank. - UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) - // This comment is left unintentionally blank. - UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) - // UserCreateTag creates a new tag. - UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) - // This comment is left unintentionally blank. - UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) - // UserMergeRef creates a merge commit and updates target_ref to point to that - // new commit. The first parent of the merge commit (the main line) is taken - // from first_parent_ref. The second parent is specified by its commit ID in source_sha. - // If target_ref already exists it will be overwritten. - UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) - // UserMergeBranch tries to merge the given commit into the target branch. - // The merge commit is created with the given user as author/committer and - // the given message. - // - // This RPC requires confirmation to make any user-visible changes to the - // repository. The first request sent shall contain details about the - // requested merge, which will result in a response with the created merge - // commit ID. Only if a second message with `apply = true` is sent will the - // merge be applied. - UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) - // UserFFBranch tries to perform a fast-forward merge of the given branch to - // the given commit. If the merge is not a fast-forward merge, the request - // will fail. The RPC will return an empty response in case updating the - // reference fails e.g. because of a race. - UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) - // UserCherryPick tries to perform a cherry-pick of a given commit onto a - // branch. - UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) - // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. - // UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. - // Following that, a variable number of actions can be sent to build a new commit. Each action consists of - // a header followed by content if used by the action. - UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) - // UserRebaseConfirmable rebases the given remote branch onto a target - // branch. The remote branch may be part of another repository. - // - // This RPC requires confirmation to make any user-visible changes to the - // repository. The first request sent shall contains details about the - // requested rebase, which will result in a response with the created rebase - // commit ID. Only if a second message with `apply = true` is sent will the - // rebase be applied. - UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) - // UserRevert tries to perform a revert of a given commit onto a branch. - UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) - // UserSquash squashes a range of commits into a single commit. If - // successful, it returns the object ID of the newly created squash commit. - // On error, it returns a gRPC error. Some specific errors will have an - // embedded UserSquashError such that clients can deduce what exactly has - // failed. - UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) - // UserApplyPatch applies patches to a given branch. - UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) - // UserUpdateSubmodule updates a submodule to point to a new commit. - UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) -} - -type operationServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewOperationServiceClient(cc grpc.ClientConnInterface) OperationServiceClient { - return &operationServiceClient{cc} -} - -func (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) { - out := new(UserCreateBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) { - out := new(UserUpdateBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) { - out := new(UserDeleteBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) { - out := new(UserCreateTagResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) { - out := new(UserDeleteTagResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) { - out := new(UserMergeToRefResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserMergeToRef", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) { - stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[0], "/gitaly.OperationService/UserMergeBranch", opts...) - if err != nil { - return nil, err - } - x := &operationServiceUserMergeBranchClient{stream} - return x, nil -} - -type OperationService_UserMergeBranchClient interface { - Send(*UserMergeBranchRequest) error - Recv() (*UserMergeBranchResponse, error) - grpc.ClientStream -} - -type operationServiceUserMergeBranchClient struct { - grpc.ClientStream -} - -func (x *operationServiceUserMergeBranchClient) Send(m *UserMergeBranchRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *operationServiceUserMergeBranchClient) Recv() (*UserMergeBranchResponse, error) { - m := new(UserMergeBranchResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *operationServiceClient) UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) { - out := new(UserFFBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserFFBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) { - out := new(UserCherryPickResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCherryPick", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) { - stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[1], "/gitaly.OperationService/UserCommitFiles", opts...) - if err != nil { - return nil, err - } - x := &operationServiceUserCommitFilesClient{stream} - return x, nil -} - -type OperationService_UserCommitFilesClient interface { - Send(*UserCommitFilesRequest) error - CloseAndRecv() (*UserCommitFilesResponse, error) - grpc.ClientStream -} - -type operationServiceUserCommitFilesClient struct { - grpc.ClientStream -} - -func (x *operationServiceUserCommitFilesClient) Send(m *UserCommitFilesRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *operationServiceUserCommitFilesClient) CloseAndRecv() (*UserCommitFilesResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(UserCommitFilesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *operationServiceClient) UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) { - stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[2], "/gitaly.OperationService/UserRebaseConfirmable", opts...) - if err != nil { - return nil, err - } - x := &operationServiceUserRebaseConfirmableClient{stream} - return x, nil -} - -type OperationService_UserRebaseConfirmableClient interface { - Send(*UserRebaseConfirmableRequest) error - Recv() (*UserRebaseConfirmableResponse, error) - grpc.ClientStream -} - -type operationServiceUserRebaseConfirmableClient struct { - grpc.ClientStream -} - -func (x *operationServiceUserRebaseConfirmableClient) Send(m *UserRebaseConfirmableRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *operationServiceUserRebaseConfirmableClient) Recv() (*UserRebaseConfirmableResponse, error) { - m := new(UserRebaseConfirmableResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *operationServiceClient) UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) { - out := new(UserRevertResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRevert", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) { - out := new(UserSquashResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserSquash", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *operationServiceClient) UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) { - stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[3], "/gitaly.OperationService/UserApplyPatch", opts...) - if err != nil { - return nil, err - } - x := &operationServiceUserApplyPatchClient{stream} - return x, nil -} - -type OperationService_UserApplyPatchClient interface { - Send(*UserApplyPatchRequest) error - CloseAndRecv() (*UserApplyPatchResponse, error) - grpc.ClientStream -} - -type operationServiceUserApplyPatchClient struct { - grpc.ClientStream -} - -func (x *operationServiceUserApplyPatchClient) Send(m *UserApplyPatchRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *operationServiceUserApplyPatchClient) CloseAndRecv() (*UserApplyPatchResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(UserApplyPatchResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *operationServiceClient) UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) { - out := new(UserUpdateSubmoduleResponse) - err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateSubmodule", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// OperationServiceServer is the server API for OperationService service. -// All implementations must embed UnimplementedOperationServiceServer -// for forward compatibility -type OperationServiceServer interface { - // This comment is left unintentionally blank. - UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) - // This comment is left unintentionally blank. - UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) - // This comment is left unintentionally blank. - UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) - // UserCreateTag creates a new tag. - UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) - // This comment is left unintentionally blank. - UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) - // UserMergeRef creates a merge commit and updates target_ref to point to that - // new commit. The first parent of the merge commit (the main line) is taken - // from first_parent_ref. The second parent is specified by its commit ID in source_sha. - // If target_ref already exists it will be overwritten. - UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) - // UserMergeBranch tries to merge the given commit into the target branch. - // The merge commit is created with the given user as author/committer and - // the given message. - // - // This RPC requires confirmation to make any user-visible changes to the - // repository. The first request sent shall contain details about the - // requested merge, which will result in a response with the created merge - // commit ID. Only if a second message with `apply = true` is sent will the - // merge be applied. - UserMergeBranch(OperationService_UserMergeBranchServer) error - // UserFFBranch tries to perform a fast-forward merge of the given branch to - // the given commit. If the merge is not a fast-forward merge, the request - // will fail. The RPC will return an empty response in case updating the - // reference fails e.g. because of a race. - UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) - // UserCherryPick tries to perform a cherry-pick of a given commit onto a - // branch. - UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) - // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. - // UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. - // Following that, a variable number of actions can be sent to build a new commit. Each action consists of - // a header followed by content if used by the action. - UserCommitFiles(OperationService_UserCommitFilesServer) error - // UserRebaseConfirmable rebases the given remote branch onto a target - // branch. The remote branch may be part of another repository. - // - // This RPC requires confirmation to make any user-visible changes to the - // repository. The first request sent shall contains details about the - // requested rebase, which will result in a response with the created rebase - // commit ID. Only if a second message with `apply = true` is sent will the - // rebase be applied. - UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error - // UserRevert tries to perform a revert of a given commit onto a branch. - UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) - // UserSquash squashes a range of commits into a single commit. If - // successful, it returns the object ID of the newly created squash commit. - // On error, it returns a gRPC error. Some specific errors will have an - // embedded UserSquashError such that clients can deduce what exactly has - // failed. - UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) - // UserApplyPatch applies patches to a given branch. - UserApplyPatch(OperationService_UserApplyPatchServer) error - // UserUpdateSubmodule updates a submodule to point to a new commit. - UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) - mustEmbedUnimplementedOperationServiceServer() -} - -// UnimplementedOperationServiceServer must be embedded to have forward compatible implementations. -type UnimplementedOperationServiceServer struct { -} - -func (UnimplementedOperationServiceServer) UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserCreateBranch not implemented") -} -func (UnimplementedOperationServiceServer) UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserUpdateBranch not implemented") -} -func (UnimplementedOperationServiceServer) UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserDeleteBranch not implemented") -} -func (UnimplementedOperationServiceServer) UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserCreateTag not implemented") -} -func (UnimplementedOperationServiceServer) UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserDeleteTag not implemented") -} -func (UnimplementedOperationServiceServer) UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserMergeToRef not implemented") -} -func (UnimplementedOperationServiceServer) UserMergeBranch(OperationService_UserMergeBranchServer) error { - return status.Errorf(codes.Unimplemented, "method UserMergeBranch not implemented") -} -func (UnimplementedOperationServiceServer) UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserFFBranch not implemented") -} -func (UnimplementedOperationServiceServer) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserCherryPick not implemented") -} -func (UnimplementedOperationServiceServer) UserCommitFiles(OperationService_UserCommitFilesServer) error { - return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented") -} -func (UnimplementedOperationServiceServer) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error { - return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented") -} -func (UnimplementedOperationServiceServer) UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserRevert not implemented") -} -func (UnimplementedOperationServiceServer) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserSquash not implemented") -} -func (UnimplementedOperationServiceServer) UserApplyPatch(OperationService_UserApplyPatchServer) error { - return status.Errorf(codes.Unimplemented, "method UserApplyPatch not implemented") -} -func (UnimplementedOperationServiceServer) UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method UserUpdateSubmodule not implemented") -} -func (UnimplementedOperationServiceServer) mustEmbedUnimplementedOperationServiceServer() {} - -// UnsafeOperationServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OperationServiceServer will -// result in compilation errors. -type UnsafeOperationServiceServer interface { - mustEmbedUnimplementedOperationServiceServer() -} - -func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer) { - s.RegisterService(&OperationService_ServiceDesc, srv) -} - -func _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserCreateBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserCreateBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserCreateBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserCreateBranch(ctx, req.(*UserCreateBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserUpdateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserUpdateBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserUpdateBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserUpdateBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserUpdateBranch(ctx, req.(*UserUpdateBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserDeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserDeleteBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserDeleteBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserDeleteBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserDeleteBranch(ctx, req.(*UserDeleteBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserCreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserCreateTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserCreateTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserCreateTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserCreateTag(ctx, req.(*UserCreateTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserDeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserDeleteTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserDeleteTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserDeleteTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserDeleteTag(ctx, req.(*UserDeleteTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserMergeToRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserMergeToRefRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserMergeToRef(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserMergeToRef", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserMergeToRef(ctx, req.(*UserMergeToRefRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserMergeBranch_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(OperationServiceServer).UserMergeBranch(&operationServiceUserMergeBranchServer{stream}) -} - -type OperationService_UserMergeBranchServer interface { - Send(*UserMergeBranchResponse) error - Recv() (*UserMergeBranchRequest, error) - grpc.ServerStream -} - -type operationServiceUserMergeBranchServer struct { - grpc.ServerStream -} - -func (x *operationServiceUserMergeBranchServer) Send(m *UserMergeBranchResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *operationServiceUserMergeBranchServer) Recv() (*UserMergeBranchRequest, error) { - m := new(UserMergeBranchRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _OperationService_UserFFBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserFFBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserFFBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserFFBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserFFBranch(ctx, req.(*UserFFBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserCherryPick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserCherryPickRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserCherryPick(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserCherryPick", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserCherryPick(ctx, req.(*UserCherryPickRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserCommitFiles_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(OperationServiceServer).UserCommitFiles(&operationServiceUserCommitFilesServer{stream}) -} - -type OperationService_UserCommitFilesServer interface { - SendAndClose(*UserCommitFilesResponse) error - Recv() (*UserCommitFilesRequest, error) - grpc.ServerStream -} - -type operationServiceUserCommitFilesServer struct { - grpc.ServerStream -} - -func (x *operationServiceUserCommitFilesServer) SendAndClose(m *UserCommitFilesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *operationServiceUserCommitFilesServer) Recv() (*UserCommitFilesRequest, error) { - m := new(UserCommitFilesRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _OperationService_UserRebaseConfirmable_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(OperationServiceServer).UserRebaseConfirmable(&operationServiceUserRebaseConfirmableServer{stream}) -} - -type OperationService_UserRebaseConfirmableServer interface { - Send(*UserRebaseConfirmableResponse) error - Recv() (*UserRebaseConfirmableRequest, error) - grpc.ServerStream -} - -type operationServiceUserRebaseConfirmableServer struct { - grpc.ServerStream -} - -func (x *operationServiceUserRebaseConfirmableServer) Send(m *UserRebaseConfirmableResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *operationServiceUserRebaseConfirmableServer) Recv() (*UserRebaseConfirmableRequest, error) { - m := new(UserRebaseConfirmableRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _OperationService_UserRevert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserRevertRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserRevert(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserRevert", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserRevert(ctx, req.(*UserRevertRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserSquash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserSquashRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserSquash(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserSquash", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserSquash(ctx, req.(*UserSquashRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _OperationService_UserApplyPatch_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(OperationServiceServer).UserApplyPatch(&operationServiceUserApplyPatchServer{stream}) -} - -type OperationService_UserApplyPatchServer interface { - SendAndClose(*UserApplyPatchResponse) error - Recv() (*UserApplyPatchRequest, error) - grpc.ServerStream -} - -type operationServiceUserApplyPatchServer struct { - grpc.ServerStream -} - -func (x *operationServiceUserApplyPatchServer) SendAndClose(m *UserApplyPatchResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *operationServiceUserApplyPatchServer) Recv() (*UserApplyPatchRequest, error) { - m := new(UserApplyPatchRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _OperationService_UserUpdateSubmodule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UserUpdateSubmoduleRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.OperationService/UserUpdateSubmodule", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, req.(*UserUpdateSubmoduleRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// OperationService_ServiceDesc is the grpc.ServiceDesc for OperationService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var OperationService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.OperationService", - HandlerType: (*OperationServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "UserCreateBranch", - Handler: _OperationService_UserCreateBranch_Handler, - }, - { - MethodName: "UserUpdateBranch", - Handler: _OperationService_UserUpdateBranch_Handler, - }, - { - MethodName: "UserDeleteBranch", - Handler: _OperationService_UserDeleteBranch_Handler, - }, - { - MethodName: "UserCreateTag", - Handler: _OperationService_UserCreateTag_Handler, - }, - { - MethodName: "UserDeleteTag", - Handler: _OperationService_UserDeleteTag_Handler, - }, - { - MethodName: "UserMergeToRef", - Handler: _OperationService_UserMergeToRef_Handler, - }, - { - MethodName: "UserFFBranch", - Handler: _OperationService_UserFFBranch_Handler, - }, - { - MethodName: "UserCherryPick", - Handler: _OperationService_UserCherryPick_Handler, - }, - { - MethodName: "UserRevert", - Handler: _OperationService_UserRevert_Handler, - }, - { - MethodName: "UserSquash", - Handler: _OperationService_UserSquash_Handler, - }, - { - MethodName: "UserUpdateSubmodule", - Handler: _OperationService_UserUpdateSubmodule_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "UserMergeBranch", - Handler: _OperationService_UserMergeBranch_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "UserCommitFiles", - Handler: _OperationService_UserCommitFiles_Handler, - ClientStreams: true, - }, - { - StreamName: "UserRebaseConfirmable", - Handler: _OperationService_UserRebaseConfirmable_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "UserApplyPatch", - Handler: _OperationService_UserApplyPatch_Handler, - ClientStreams: true, - }, - }, - Metadata: "operations.proto", -} diff --git a/proto/go/gitalypb/praefect.pb.go b/proto/go/gitalypb/praefect.pb.go deleted file mode 100644 index 198bb6ff8..000000000 --- a/proto/go/gitalypb/praefect.pb.go +++ /dev/null @@ -1,1750 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: praefect.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// MarkUnverifiedRequest specifies the replicas which to mark unverified. -type MarkUnverifiedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // selector specifies the replicas which to mark unverified. - // - // Types that are assignable to Selector: - // *MarkUnverifiedRequest_RepositoryId - // *MarkUnverifiedRequest_VirtualStorage - // *MarkUnverifiedRequest_Storage_ - Selector isMarkUnverifiedRequest_Selector `protobuf_oneof:"selector"` -} - -func (x *MarkUnverifiedRequest) Reset() { - *x = MarkUnverifiedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarkUnverifiedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarkUnverifiedRequest) ProtoMessage() {} - -func (x *MarkUnverifiedRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarkUnverifiedRequest.ProtoReflect.Descriptor instead. -func (*MarkUnverifiedRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{0} -} - -func (m *MarkUnverifiedRequest) GetSelector() isMarkUnverifiedRequest_Selector { - if m != nil { - return m.Selector - } - return nil -} - -func (x *MarkUnverifiedRequest) GetRepositoryId() int64 { - if x, ok := x.GetSelector().(*MarkUnverifiedRequest_RepositoryId); ok { - return x.RepositoryId - } - return 0 -} - -func (x *MarkUnverifiedRequest) GetVirtualStorage() string { - if x, ok := x.GetSelector().(*MarkUnverifiedRequest_VirtualStorage); ok { - return x.VirtualStorage - } - return "" -} - -func (x *MarkUnverifiedRequest) GetStorage() *MarkUnverifiedRequest_Storage { - if x, ok := x.GetSelector().(*MarkUnverifiedRequest_Storage_); ok { - return x.Storage - } - return nil -} - -type isMarkUnverifiedRequest_Selector interface { - isMarkUnverifiedRequest_Selector() -} - -type MarkUnverifiedRequest_RepositoryId struct { - // repository_id is the id of a repository to mark all replicas for unverified. - RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` -} - -type MarkUnverifiedRequest_VirtualStorage struct { - // virtual_storage is the name of virtual storage which will have all of its replicas - // marked unverified. - VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3,oneof"` -} - -type MarkUnverifiedRequest_Storage_ struct { - // storage specifies a single storage. The replicas on the storage marked unverified. - Storage *MarkUnverifiedRequest_Storage `protobuf:"bytes,3,opt,name=storage,proto3,oneof"` -} - -func (*MarkUnverifiedRequest_RepositoryId) isMarkUnverifiedRequest_Selector() {} - -func (*MarkUnverifiedRequest_VirtualStorage) isMarkUnverifiedRequest_Selector() {} - -func (*MarkUnverifiedRequest_Storage_) isMarkUnverifiedRequest_Selector() {} - -// MarkUnverifiedResponse returns the number of replicas marked unverified. -type MarkUnverifiedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // replicas_marked indicates the number of replicas that were marked unverified. - ReplicasMarked int64 `protobuf:"varint,1,opt,name=replicas_marked,json=replicasMarked,proto3" json:"replicas_marked,omitempty"` -} - -func (x *MarkUnverifiedResponse) Reset() { - *x = MarkUnverifiedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarkUnverifiedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarkUnverifiedResponse) ProtoMessage() {} - -func (x *MarkUnverifiedResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarkUnverifiedResponse.ProtoReflect.Descriptor instead. -func (*MarkUnverifiedResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{1} -} - -func (x *MarkUnverifiedResponse) GetReplicasMarked() int64 { - if x != nil { - return x.ReplicasMarked - } - return 0 -} - -// GetRepositoryMetadataRequest specifies the repository to retrieve metadata for. -type GetRepositoryMetadataRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Query: - // *GetRepositoryMetadataRequest_RepositoryId - // *GetRepositoryMetadataRequest_Path_ - Query isGetRepositoryMetadataRequest_Query `protobuf_oneof:"query"` -} - -func (x *GetRepositoryMetadataRequest) Reset() { - *x = GetRepositoryMetadataRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRepositoryMetadataRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryMetadataRequest) ProtoMessage() {} - -func (x *GetRepositoryMetadataRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRepositoryMetadataRequest.ProtoReflect.Descriptor instead. -func (*GetRepositoryMetadataRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{2} -} - -func (m *GetRepositoryMetadataRequest) GetQuery() isGetRepositoryMetadataRequest_Query { - if m != nil { - return m.Query - } - return nil -} - -func (x *GetRepositoryMetadataRequest) GetRepositoryId() int64 { - if x, ok := x.GetQuery().(*GetRepositoryMetadataRequest_RepositoryId); ok { - return x.RepositoryId - } - return 0 -} - -func (x *GetRepositoryMetadataRequest) GetPath() *GetRepositoryMetadataRequest_Path { - if x, ok := x.GetQuery().(*GetRepositoryMetadataRequest_Path_); ok { - return x.Path - } - return nil -} - -type isGetRepositoryMetadataRequest_Query interface { - isGetRepositoryMetadataRequest_Query() -} - -type GetRepositoryMetadataRequest_RepositoryId struct { - // repository_id is the ID of the repository to retrieve information for. - RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` -} - -type GetRepositoryMetadataRequest_Path_ struct { - // path is the external path of the repository to retrieve information for. - Path *GetRepositoryMetadataRequest_Path `protobuf:"bytes,2,opt,name=path,proto3,oneof"` -} - -func (*GetRepositoryMetadataRequest_RepositoryId) isGetRepositoryMetadataRequest_Query() {} - -func (*GetRepositoryMetadataRequest_Path_) isGetRepositoryMetadataRequest_Query() {} - -// GeRepositoryMetadataResponse contains the repository's cluster metadata. -type GetRepositoryMetadataResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository_id is the internal ID of the repository. - RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` - // virtual_storage is the virtual storage in which the repository is located. - VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // relative_path is the relative path of the repository in the virtual storage. - RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // replica_path is the path on the disk where the replicas are stored. - ReplicaPath string `protobuf:"bytes,4,opt,name=replica_path,json=replicaPath,proto3" json:"replica_path,omitempty"` - // primary is the current primary of the repository. - Primary string `protobuf:"bytes,5,opt,name=primary,proto3" json:"primary,omitempty"` - // generation is the repository's current generation. - Generation int64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` - // replicas are the existing and supposed to exist replicas of this repository. - Replicas []*GetRepositoryMetadataResponse_Replica `protobuf:"bytes,7,rep,name=replicas,proto3" json:"replicas,omitempty"` -} - -func (x *GetRepositoryMetadataResponse) Reset() { - *x = GetRepositoryMetadataResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRepositoryMetadataResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryMetadataResponse) ProtoMessage() {} - -func (x *GetRepositoryMetadataResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRepositoryMetadataResponse.ProtoReflect.Descriptor instead. -func (*GetRepositoryMetadataResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{3} -} - -func (x *GetRepositoryMetadataResponse) GetRepositoryId() int64 { - if x != nil { - return x.RepositoryId - } - return 0 -} - -func (x *GetRepositoryMetadataResponse) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *GetRepositoryMetadataResponse) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *GetRepositoryMetadataResponse) GetReplicaPath() string { - if x != nil { - return x.ReplicaPath - } - return "" -} - -func (x *GetRepositoryMetadataResponse) GetPrimary() string { - if x != nil { - return x.Primary - } - return "" -} - -func (x *GetRepositoryMetadataResponse) GetGeneration() int64 { - if x != nil { - return x.Generation - } - return 0 -} - -func (x *GetRepositoryMetadataResponse) GetReplicas() []*GetRepositoryMetadataResponse_Replica { - if x != nil { - return x.Replicas - } - return nil -} - -// SetReplicationFactorRequest sets the desired replication factor for a repository. -type SetReplicationFactorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // virtual_storage is the virtual storage the repository is located in - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // relative_path is the relative path of the repository - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // replication_factor is the desired replication factor. Replication must be equal or greater than 1. - ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` -} - -func (x *SetReplicationFactorRequest) Reset() { - *x = SetReplicationFactorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetReplicationFactorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetReplicationFactorRequest) ProtoMessage() {} - -func (x *SetReplicationFactorRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetReplicationFactorRequest.ProtoReflect.Descriptor instead. -func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{4} -} - -func (x *SetReplicationFactorRequest) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *SetReplicationFactorRequest) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *SetReplicationFactorRequest) GetReplicationFactor() int32 { - if x != nil { - return x.ReplicationFactor - } - return 0 -} - -// SetReplicationFactorResponse returns the assigned hosts after setting the desired replication factor. -type SetReplicationFactorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // storages are the storages assigned to host the repository. - Storages []string `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"` -} - -func (x *SetReplicationFactorResponse) Reset() { - *x = SetReplicationFactorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetReplicationFactorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetReplicationFactorResponse) ProtoMessage() {} - -func (x *SetReplicationFactorResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetReplicationFactorResponse.ProtoReflect.Descriptor instead. -func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{5} -} - -func (x *SetReplicationFactorResponse) GetStorages() []string { - if x != nil { - return x.Storages - } - return nil -} - -// This comment is left unintentionally blank. -type SetAuthoritativeStorageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // This comment is left unintentionally blank. - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // This comment is left unintentionally blank. - AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"` -} - -func (x *SetAuthoritativeStorageRequest) Reset() { - *x = SetAuthoritativeStorageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetAuthoritativeStorageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetAuthoritativeStorageRequest) ProtoMessage() {} - -func (x *SetAuthoritativeStorageRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetAuthoritativeStorageRequest.ProtoReflect.Descriptor instead. -func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{6} -} - -func (x *SetAuthoritativeStorageRequest) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *SetAuthoritativeStorageRequest) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string { - if x != nil { - return x.AuthoritativeStorage - } - return "" -} - -// This comment is left unintentionally blank. -type SetAuthoritativeStorageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *SetAuthoritativeStorageResponse) Reset() { - *x = SetAuthoritativeStorageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetAuthoritativeStorageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetAuthoritativeStorageResponse) ProtoMessage() {} - -func (x *SetAuthoritativeStorageResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetAuthoritativeStorageResponse.ProtoReflect.Descriptor instead. -func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{7} -} - -// This comment is left unintentionally blank. -type DatalossCheckRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // include_partially_unavailable indicates whether to include repositories which are available but - // are unavailable on some assigned storages. - IncludePartiallyReplicated bool `protobuf:"varint,2,opt,name=include_partially_replicated,json=includePartiallyReplicated,proto3" json:"include_partially_replicated,omitempty"` -} - -func (x *DatalossCheckRequest) Reset() { - *x = DatalossCheckRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DatalossCheckRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DatalossCheckRequest) ProtoMessage() {} - -func (x *DatalossCheckRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DatalossCheckRequest.ProtoReflect.Descriptor instead. -func (*DatalossCheckRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{8} -} - -func (x *DatalossCheckRequest) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *DatalossCheckRequest) GetIncludePartiallyReplicated() bool { - if x != nil { - return x.IncludePartiallyReplicated - } - return false -} - -// This comment is left unintentionally blank. -type DatalossCheckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repositories with data loss - Repositories []*DatalossCheckResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` -} - -func (x *DatalossCheckResponse) Reset() { - *x = DatalossCheckResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DatalossCheckResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DatalossCheckResponse) ProtoMessage() {} - -func (x *DatalossCheckResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DatalossCheckResponse.ProtoReflect.Descriptor instead. -func (*DatalossCheckResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{9} -} - -func (x *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository { - if x != nil { - return x.Repositories - } - return nil -} - -// This comment is left unintentionally blank. -type RepositoryReplicasRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *RepositoryReplicasRequest) Reset() { - *x = RepositoryReplicasRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositoryReplicasRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryReplicasRequest) ProtoMessage() {} - -func (x *RepositoryReplicasRequest) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositoryReplicasRequest.ProtoReflect.Descriptor instead. -func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{10} -} - -func (x *RepositoryReplicasRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type RepositoryReplicasResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` - // This comment is left unintentionally blank. - Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"` -} - -func (x *RepositoryReplicasResponse) Reset() { - *x = RepositoryReplicasResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositoryReplicasResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryReplicasResponse) ProtoMessage() {} - -func (x *RepositoryReplicasResponse) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositoryReplicasResponse.ProtoReflect.Descriptor instead. -func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{11} -} - -func (x *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails { - if x != nil { - return x.Primary - } - return nil -} - -func (x *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails { - if x != nil { - return x.Replicas - } - return nil -} - -// Storage identifies a single storage in a virtual storage. -type MarkUnverifiedRequest_Storage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // virtual_storage is the virtual storage the storage is part of. - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // storage is the name of the storage. - Storage string `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"` -} - -func (x *MarkUnverifiedRequest_Storage) Reset() { - *x = MarkUnverifiedRequest_Storage{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MarkUnverifiedRequest_Storage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MarkUnverifiedRequest_Storage) ProtoMessage() {} - -func (x *MarkUnverifiedRequest_Storage) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MarkUnverifiedRequest_Storage.ProtoReflect.Descriptor instead. -func (*MarkUnverifiedRequest_Storage) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *MarkUnverifiedRequest_Storage) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *MarkUnverifiedRequest_Storage) GetStorage() string { - if x != nil { - return x.Storage - } - return "" -} - -// This comment is left unintentionally blank. -type GetRepositoryMetadataRequest_Path struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // virtual_storage is the virtual storage where the repository is. - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // relative_path is the relative path of the repository in the virtual storage. - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` -} - -func (x *GetRepositoryMetadataRequest_Path) Reset() { - *x = GetRepositoryMetadataRequest_Path{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRepositoryMetadataRequest_Path) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryMetadataRequest_Path) ProtoMessage() {} - -func (x *GetRepositoryMetadataRequest_Path) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRepositoryMetadataRequest_Path.ProtoReflect.Descriptor instead. -func (*GetRepositoryMetadataRequest_Path) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{2, 0} -} - -func (x *GetRepositoryMetadataRequest_Path) GetVirtualStorage() string { - if x != nil { - return x.VirtualStorage - } - return "" -} - -func (x *GetRepositoryMetadataRequest_Path) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -// This comment is left unintentionally blank. -type GetRepositoryMetadataResponse_Replica struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // storage is the name of the replica's storage. - Storage string `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` - // assigned indicates whether the replica is on an assigned storage. - Assigned bool `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` - // generation is the replicas confirmed generation. Generation is -1 if the replica - // does not yet exist. - Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` - // healthy indicates whether the replica is on a healthy storage. - Healthy bool `protobuf:"varint,5,opt,name=healthy,proto3" json:"healthy,omitempty"` - // valid_primary indicates whether the replica is considered a valid primary. - ValidPrimary bool `protobuf:"varint,6,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` - // verified_at is the last successful verification time of the replica. - VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"` -} - -func (x *GetRepositoryMetadataResponse_Replica) Reset() { - *x = GetRepositoryMetadataResponse_Replica{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRepositoryMetadataResponse_Replica) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRepositoryMetadataResponse_Replica) ProtoMessage() {} - -func (x *GetRepositoryMetadataResponse_Replica) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRepositoryMetadataResponse_Replica.ProtoReflect.Descriptor instead. -func (*GetRepositoryMetadataResponse_Replica) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *GetRepositoryMetadataResponse_Replica) GetStorage() string { - if x != nil { - return x.Storage - } - return "" -} - -func (x *GetRepositoryMetadataResponse_Replica) GetAssigned() bool { - if x != nil { - return x.Assigned - } - return false -} - -func (x *GetRepositoryMetadataResponse_Replica) GetGeneration() int64 { - if x != nil { - return x.Generation - } - return 0 -} - -func (x *GetRepositoryMetadataResponse_Replica) GetHealthy() bool { - if x != nil { - return x.Healthy - } - return false -} - -func (x *GetRepositoryMetadataResponse_Replica) GetValidPrimary() bool { - if x != nil { - return x.ValidPrimary - } - return false -} - -func (x *GetRepositoryMetadataResponse_Replica) GetVerifiedAt() *timestamppb.Timestamp { - if x != nil { - return x.VerifiedAt - } - return nil -} - -// This comment is left unintentionally blank. -type DatalossCheckResponse_Repository struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // relative path of the repository with outdated replicas - RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // storages on which the repository is outdated - Storages []*DatalossCheckResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` - // unavailable indicates whether the repository is in unavailable. - Unavailable bool `protobuf:"varint,3,opt,name=unavailable,proto3" json:"unavailable,omitempty"` - // current primary storage of the repository - Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` -} - -func (x *DatalossCheckResponse_Repository) Reset() { - *x = DatalossCheckResponse_Repository{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DatalossCheckResponse_Repository) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DatalossCheckResponse_Repository) ProtoMessage() {} - -func (x *DatalossCheckResponse_Repository) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DatalossCheckResponse_Repository.ProtoReflect.Descriptor instead. -func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{9, 0} -} - -func (x *DatalossCheckResponse_Repository) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage { - if x != nil { - return x.Storages - } - return nil -} - -func (x *DatalossCheckResponse_Repository) GetUnavailable() bool { - if x != nil { - return x.Unavailable - } - return false -} - -func (x *DatalossCheckResponse_Repository) GetPrimary() string { - if x != nil { - return x.Primary - } - return "" -} - -// This comment is left unintentionally blank. -type DatalossCheckResponse_Repository_Storage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // name of the storage - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // behind_by indicates how many generations this storage is behind. - BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` - // assigned indicates whether the storage is assigned to host the repository. - Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` - // healthy indicates whether the storage is considered healthy by the consensus of Praefect nodes. - Healthy bool `protobuf:"varint,4,opt,name=healthy,proto3" json:"healthy,omitempty"` - // valid_primary indicates whether the storage is ready to act as the primary if necessary. - ValidPrimary bool `protobuf:"varint,5,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` -} - -func (x *DatalossCheckResponse_Repository_Storage) Reset() { - *x = DatalossCheckResponse_Repository_Storage{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DatalossCheckResponse_Repository_Storage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DatalossCheckResponse_Repository_Storage) ProtoMessage() {} - -func (x *DatalossCheckResponse_Repository_Storage) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DatalossCheckResponse_Repository_Storage.ProtoReflect.Descriptor instead. -func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{9, 0, 0} -} - -func (x *DatalossCheckResponse_Repository_Storage) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64 { - if x != nil { - return x.BehindBy - } - return 0 -} - -func (x *DatalossCheckResponse_Repository_Storage) GetAssigned() bool { - if x != nil { - return x.Assigned - } - return false -} - -func (x *DatalossCheckResponse_Repository_Storage) GetHealthy() bool { - if x != nil { - return x.Healthy - } - return false -} - -func (x *DatalossCheckResponse_Repository_Storage) GetValidPrimary() bool { - if x != nil { - return x.ValidPrimary - } - return false -} - -// This comment is left unintentionally blank. -type RepositoryReplicasResponse_RepositoryDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` -} - -func (x *RepositoryReplicasResponse_RepositoryDetails) Reset() { - *x = RepositoryReplicasResponse_RepositoryDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_praefect_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositoryReplicasResponse_RepositoryDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage() {} - -func (x *RepositoryReplicasResponse_RepositoryDetails) ProtoReflect() protoreflect.Message { - mi := &file_praefect_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositoryReplicasResponse_RepositoryDetails.ProtoReflect.Descriptor instead. -func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int) { - return file_praefect_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string { - if x != nil { - return x.Checksum - } - return "" -} - -var File_praefect_proto protoreflect.FileDescriptor - -var file_praefect_proto_rawDesc = []byte{ - 0x0a, 0x0e, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, - 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x02, 0x0a, 0x15, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, - 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, - 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, - 0x41, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, - 0x67, 0x65, 0x1a, 0x4c, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, - 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x41, 0x0a, 0x16, - 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x73, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, - 0xe5, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x74, 0x68, - 0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x1a, 0x54, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, - 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x42, 0x07, - 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x98, 0x04, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, - 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, - 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x61, 0x74, 0x68, 0x12, - 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x08, 0x72, 0x65, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x73, 0x1a, 0xdb, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x73, - 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, - 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x72, - 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, - 0x41, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, - 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, - 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, - 0x3a, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x1e, - 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, - 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x15, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, - 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, - 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, - 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x52, 0x65, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x22, 0xbb, 0x03, 0x0a, 0x15, 0x44, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x1a, 0xd3, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, - 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x1a, 0x95, - 0x01, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, - 0x0a, 0x09, 0x62, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x08, 0x62, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, - 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, - 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, - 0x68, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, - 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, - 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x4f, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xa3, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x70, - 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x08, - 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x1a, 0x63, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x32, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x32, 0xcc, 0x04, - 0x0a, 0x13, 0x50, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, - 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, - 0x65, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, - 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, - 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x6a, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, - 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, - 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1d, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, - 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, - 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, - 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, - 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x64, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, - 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_praefect_proto_rawDescOnce sync.Once - file_praefect_proto_rawDescData = file_praefect_proto_rawDesc -) - -func file_praefect_proto_rawDescGZIP() []byte { - file_praefect_proto_rawDescOnce.Do(func() { - file_praefect_proto_rawDescData = protoimpl.X.CompressGZIP(file_praefect_proto_rawDescData) - }) - return file_praefect_proto_rawDescData -} - -var file_praefect_proto_msgTypes = make([]protoimpl.MessageInfo, 18) -var file_praefect_proto_goTypes = []interface{}{ - (*MarkUnverifiedRequest)(nil), // 0: gitaly.MarkUnverifiedRequest - (*MarkUnverifiedResponse)(nil), // 1: gitaly.MarkUnverifiedResponse - (*GetRepositoryMetadataRequest)(nil), // 2: gitaly.GetRepositoryMetadataRequest - (*GetRepositoryMetadataResponse)(nil), // 3: gitaly.GetRepositoryMetadataResponse - (*SetReplicationFactorRequest)(nil), // 4: gitaly.SetReplicationFactorRequest - (*SetReplicationFactorResponse)(nil), // 5: gitaly.SetReplicationFactorResponse - (*SetAuthoritativeStorageRequest)(nil), // 6: gitaly.SetAuthoritativeStorageRequest - (*SetAuthoritativeStorageResponse)(nil), // 7: gitaly.SetAuthoritativeStorageResponse - (*DatalossCheckRequest)(nil), // 8: gitaly.DatalossCheckRequest - (*DatalossCheckResponse)(nil), // 9: gitaly.DatalossCheckResponse - (*RepositoryReplicasRequest)(nil), // 10: gitaly.RepositoryReplicasRequest - (*RepositoryReplicasResponse)(nil), // 11: gitaly.RepositoryReplicasResponse - (*MarkUnverifiedRequest_Storage)(nil), // 12: gitaly.MarkUnverifiedRequest.Storage - (*GetRepositoryMetadataRequest_Path)(nil), // 13: gitaly.GetRepositoryMetadataRequest.Path - (*GetRepositoryMetadataResponse_Replica)(nil), // 14: gitaly.GetRepositoryMetadataResponse.Replica - (*DatalossCheckResponse_Repository)(nil), // 15: gitaly.DatalossCheckResponse.Repository - (*DatalossCheckResponse_Repository_Storage)(nil), // 16: gitaly.DatalossCheckResponse.Repository.Storage - (*RepositoryReplicasResponse_RepositoryDetails)(nil), // 17: gitaly.RepositoryReplicasResponse.RepositoryDetails - (*Repository)(nil), // 18: gitaly.Repository - (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp -} -var file_praefect_proto_depIdxs = []int32{ - 12, // 0: gitaly.MarkUnverifiedRequest.storage:type_name -> gitaly.MarkUnverifiedRequest.Storage - 13, // 1: gitaly.GetRepositoryMetadataRequest.path:type_name -> gitaly.GetRepositoryMetadataRequest.Path - 14, // 2: gitaly.GetRepositoryMetadataResponse.replicas:type_name -> gitaly.GetRepositoryMetadataResponse.Replica - 15, // 3: gitaly.DatalossCheckResponse.repositories:type_name -> gitaly.DatalossCheckResponse.Repository - 18, // 4: gitaly.RepositoryReplicasRequest.repository:type_name -> gitaly.Repository - 17, // 5: gitaly.RepositoryReplicasResponse.primary:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails - 17, // 6: gitaly.RepositoryReplicasResponse.replicas:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails - 19, // 7: gitaly.GetRepositoryMetadataResponse.Replica.verified_at:type_name -> google.protobuf.Timestamp - 16, // 8: gitaly.DatalossCheckResponse.Repository.storages:type_name -> gitaly.DatalossCheckResponse.Repository.Storage - 18, // 9: gitaly.RepositoryReplicasResponse.RepositoryDetails.repository:type_name -> gitaly.Repository - 10, // 10: gitaly.PraefectInfoService.RepositoryReplicas:input_type -> gitaly.RepositoryReplicasRequest - 8, // 11: gitaly.PraefectInfoService.DatalossCheck:input_type -> gitaly.DatalossCheckRequest - 6, // 12: gitaly.PraefectInfoService.SetAuthoritativeStorage:input_type -> gitaly.SetAuthoritativeStorageRequest - 0, // 13: gitaly.PraefectInfoService.MarkUnverified:input_type -> gitaly.MarkUnverifiedRequest - 4, // 14: gitaly.PraefectInfoService.SetReplicationFactor:input_type -> gitaly.SetReplicationFactorRequest - 2, // 15: gitaly.PraefectInfoService.GetRepositoryMetadata:input_type -> gitaly.GetRepositoryMetadataRequest - 11, // 16: gitaly.PraefectInfoService.RepositoryReplicas:output_type -> gitaly.RepositoryReplicasResponse - 9, // 17: gitaly.PraefectInfoService.DatalossCheck:output_type -> gitaly.DatalossCheckResponse - 7, // 18: gitaly.PraefectInfoService.SetAuthoritativeStorage:output_type -> gitaly.SetAuthoritativeStorageResponse - 1, // 19: gitaly.PraefectInfoService.MarkUnverified:output_type -> gitaly.MarkUnverifiedResponse - 5, // 20: gitaly.PraefectInfoService.SetReplicationFactor:output_type -> gitaly.SetReplicationFactorResponse - 3, // 21: gitaly.PraefectInfoService.GetRepositoryMetadata:output_type -> gitaly.GetRepositoryMetadataResponse - 16, // [16:22] is the sub-list for method output_type - 10, // [10:16] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_praefect_proto_init() } -func file_praefect_proto_init() { - if File_praefect_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_praefect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkUnverifiedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkUnverifiedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRepositoryMetadataRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRepositoryMetadataResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReplicationFactorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetReplicationFactorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAuthoritativeStorageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetAuthoritativeStorageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DatalossCheckRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DatalossCheckResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositoryReplicasRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositoryReplicasResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MarkUnverifiedRequest_Storage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRepositoryMetadataRequest_Path); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRepositoryMetadataResponse_Replica); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DatalossCheckResponse_Repository); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DatalossCheckResponse_Repository_Storage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_praefect_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositoryReplicasResponse_RepositoryDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - file_praefect_proto_msgTypes[0].OneofWrappers = []interface{}{ - (*MarkUnverifiedRequest_RepositoryId)(nil), - (*MarkUnverifiedRequest_VirtualStorage)(nil), - (*MarkUnverifiedRequest_Storage_)(nil), - } - file_praefect_proto_msgTypes[2].OneofWrappers = []interface{}{ - (*GetRepositoryMetadataRequest_RepositoryId)(nil), - (*GetRepositoryMetadataRequest_Path_)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_praefect_proto_rawDesc, - NumEnums: 0, - NumMessages: 18, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_praefect_proto_goTypes, - DependencyIndexes: file_praefect_proto_depIdxs, - MessageInfos: file_praefect_proto_msgTypes, - }.Build() - File_praefect_proto = out.File - file_praefect_proto_rawDesc = nil - file_praefect_proto_goTypes = nil - file_praefect_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/praefect_grpc.pb.go b/proto/go/gitalypb/praefect_grpc.pb.go deleted file mode 100644 index d1e45fa50..000000000 --- a/proto/go/gitalypb/praefect_grpc.pb.go +++ /dev/null @@ -1,313 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// PraefectInfoServiceClient is the client API for PraefectInfoService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type PraefectInfoServiceClient interface { - // This comment is left unintentionally blank. - RepositoryReplicas(ctx context.Context, in *RepositoryReplicasRequest, opts ...grpc.CallOption) (*RepositoryReplicasResponse, error) - // DatalossCheck checks for unavailable repositories. - DatalossCheck(ctx context.Context, in *DatalossCheckRequest, opts ...grpc.CallOption) (*DatalossCheckResponse, error) - // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. - // This causes the current version of the repository on the authoritative storage to be considered the - // latest and overwrite any other version on the virtual storage. - SetAuthoritativeStorage(ctx context.Context, in *SetAuthoritativeStorageRequest, opts ...grpc.CallOption) (*SetAuthoritativeStorageResponse, error) - // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata - // verifier prioritizes unverified replicas. - MarkUnverified(ctx context.Context, in *MarkUnverifiedRequest, opts ...grpc.CallOption) (*MarkUnverifiedResponse, error) - // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. - // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count - // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node - // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage - // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. - // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade - // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication - // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. - SetReplicationFactor(ctx context.Context, in *SetReplicationFactorRequest, opts ...grpc.CallOption) (*SetReplicationFactorResponse, error) - // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. - GetRepositoryMetadata(ctx context.Context, in *GetRepositoryMetadataRequest, opts ...grpc.CallOption) (*GetRepositoryMetadataResponse, error) -} - -type praefectInfoServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewPraefectInfoServiceClient(cc grpc.ClientConnInterface) PraefectInfoServiceClient { - return &praefectInfoServiceClient{cc} -} - -func (c *praefectInfoServiceClient) RepositoryReplicas(ctx context.Context, in *RepositoryReplicasRequest, opts ...grpc.CallOption) (*RepositoryReplicasResponse, error) { - out := new(RepositoryReplicasResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/RepositoryReplicas", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *praefectInfoServiceClient) DatalossCheck(ctx context.Context, in *DatalossCheckRequest, opts ...grpc.CallOption) (*DatalossCheckResponse, error) { - out := new(DatalossCheckResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/DatalossCheck", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *praefectInfoServiceClient) SetAuthoritativeStorage(ctx context.Context, in *SetAuthoritativeStorageRequest, opts ...grpc.CallOption) (*SetAuthoritativeStorageResponse, error) { - out := new(SetAuthoritativeStorageResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/SetAuthoritativeStorage", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *praefectInfoServiceClient) MarkUnverified(ctx context.Context, in *MarkUnverifiedRequest, opts ...grpc.CallOption) (*MarkUnverifiedResponse, error) { - out := new(MarkUnverifiedResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/MarkUnverified", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *praefectInfoServiceClient) SetReplicationFactor(ctx context.Context, in *SetReplicationFactorRequest, opts ...grpc.CallOption) (*SetReplicationFactorResponse, error) { - out := new(SetReplicationFactorResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/SetReplicationFactor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *praefectInfoServiceClient) GetRepositoryMetadata(ctx context.Context, in *GetRepositoryMetadataRequest, opts ...grpc.CallOption) (*GetRepositoryMetadataResponse, error) { - out := new(GetRepositoryMetadataResponse) - err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/GetRepositoryMetadata", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// PraefectInfoServiceServer is the server API for PraefectInfoService service. -// All implementations must embed UnimplementedPraefectInfoServiceServer -// for forward compatibility -type PraefectInfoServiceServer interface { - // This comment is left unintentionally blank. - RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) - // DatalossCheck checks for unavailable repositories. - DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) - // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. - // This causes the current version of the repository on the authoritative storage to be considered the - // latest and overwrite any other version on the virtual storage. - SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) - // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata - // verifier prioritizes unverified replicas. - MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error) - // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. - // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count - // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node - // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage - // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. - // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade - // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication - // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. - SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) - // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. - GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error) - mustEmbedUnimplementedPraefectInfoServiceServer() -} - -// UnimplementedPraefectInfoServiceServer must be embedded to have forward compatible implementations. -type UnimplementedPraefectInfoServiceServer struct { -} - -func (UnimplementedPraefectInfoServiceServer) RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepositoryReplicas not implemented") -} -func (UnimplementedPraefectInfoServiceServer) DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DatalossCheck not implemented") -} -func (UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetAuthoritativeStorage not implemented") -} -func (UnimplementedPraefectInfoServiceServer) MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MarkUnverified not implemented") -} -func (UnimplementedPraefectInfoServiceServer) SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetReplicationFactor not implemented") -} -func (UnimplementedPraefectInfoServiceServer) GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetRepositoryMetadata not implemented") -} -func (UnimplementedPraefectInfoServiceServer) mustEmbedUnimplementedPraefectInfoServiceServer() {} - -// UnsafePraefectInfoServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to PraefectInfoServiceServer will -// result in compilation errors. -type UnsafePraefectInfoServiceServer interface { - mustEmbedUnimplementedPraefectInfoServiceServer() -} - -func RegisterPraefectInfoServiceServer(s grpc.ServiceRegistrar, srv PraefectInfoServiceServer) { - s.RegisterService(&PraefectInfoService_ServiceDesc, srv) -} - -func _PraefectInfoService_RepositoryReplicas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepositoryReplicasRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).RepositoryReplicas(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/RepositoryReplicas", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).RepositoryReplicas(ctx, req.(*RepositoryReplicasRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PraefectInfoService_DatalossCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DatalossCheckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).DatalossCheck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/DatalossCheck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).DatalossCheck(ctx, req.(*DatalossCheckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PraefectInfoService_SetAuthoritativeStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetAuthoritativeStorageRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).SetAuthoritativeStorage(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/SetAuthoritativeStorage", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).SetAuthoritativeStorage(ctx, req.(*SetAuthoritativeStorageRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PraefectInfoService_MarkUnverified_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MarkUnverifiedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).MarkUnverified(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/MarkUnverified", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).MarkUnverified(ctx, req.(*MarkUnverifiedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PraefectInfoService_SetReplicationFactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetReplicationFactorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).SetReplicationFactor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/SetReplicationFactor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).SetReplicationFactor(ctx, req.(*SetReplicationFactorRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _PraefectInfoService_GetRepositoryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetRepositoryMetadataRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(PraefectInfoServiceServer).GetRepositoryMetadata(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.PraefectInfoService/GetRepositoryMetadata", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PraefectInfoServiceServer).GetRepositoryMetadata(ctx, req.(*GetRepositoryMetadataRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// PraefectInfoService_ServiceDesc is the grpc.ServiceDesc for PraefectInfoService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var PraefectInfoService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.PraefectInfoService", - HandlerType: (*PraefectInfoServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RepositoryReplicas", - Handler: _PraefectInfoService_RepositoryReplicas_Handler, - }, - { - MethodName: "DatalossCheck", - Handler: _PraefectInfoService_DatalossCheck_Handler, - }, - { - MethodName: "SetAuthoritativeStorage", - Handler: _PraefectInfoService_SetAuthoritativeStorage_Handler, - }, - { - MethodName: "MarkUnverified", - Handler: _PraefectInfoService_MarkUnverified_Handler, - }, - { - MethodName: "SetReplicationFactor", - Handler: _PraefectInfoService_SetReplicationFactor_Handler, - }, - { - MethodName: "GetRepositoryMetadata", - Handler: _PraefectInfoService_GetRepositoryMetadata_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "praefect.proto", -} diff --git a/proto/go/gitalypb/protolist.go b/proto/go/gitalypb/protolist.go deleted file mode 100644 index a4845712b..000000000 --- a/proto/go/gitalypb/protolist.go +++ /dev/null @@ -1,29 +0,0 @@ -package gitalypb - -// Code generated by protoc-gen-gitaly. DO NOT EDIT - -// GitalyProtos is a list of gitaly protobuf files -var GitalyProtos = []string{ - "blob.proto", - "cleanup.proto", - "commit.proto", - "conflicts.proto", - "diff.proto", - "errors.proto", - "hook.proto", - "internal.proto", - "lint.proto", - "namespace.proto", - "objectpool.proto", - "operations.proto", - "praefect.proto", - "ref.proto", - "remote.proto", - "repository.proto", - "server.proto", - "shared.proto", - "smarthttp.proto", - "ssh.proto", - "transaction.proto", - "wiki.proto", -} diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go deleted file mode 100644 index 536f61ff2..000000000 --- a/proto/go/gitalypb/ref.pb.go +++ /dev/null @@ -1,4141 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: ref.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type FindLocalBranchesRequest_SortBy int32 - -const ( - // This comment is left unintentionally blank. - FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 - // This comment is left unintentionally blank. - FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 - // This comment is left unintentionally blank. - FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 -) - -// Enum value maps for FindLocalBranchesRequest_SortBy. -var ( - FindLocalBranchesRequest_SortBy_name = map[int32]string{ - 0: "NAME", - 1: "UPDATED_ASC", - 2: "UPDATED_DESC", - } - FindLocalBranchesRequest_SortBy_value = map[string]int32{ - "NAME": 0, - "UPDATED_ASC": 1, - "UPDATED_DESC": 2, - } -) - -func (x FindLocalBranchesRequest_SortBy) Enum() *FindLocalBranchesRequest_SortBy { - p := new(FindLocalBranchesRequest_SortBy) - *p = x - return p -} - -func (x FindLocalBranchesRequest_SortBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FindLocalBranchesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { - return file_ref_proto_enumTypes[0].Descriptor() -} - -func (FindLocalBranchesRequest_SortBy) Type() protoreflect.EnumType { - return &file_ref_proto_enumTypes[0] -} - -func (x FindLocalBranchesRequest_SortBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FindLocalBranchesRequest_SortBy.Descriptor instead. -func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{6, 0} -} - -// Key is a key used for sorting. -type FindAllTagsRequest_SortBy_Key int32 - -const ( - // This comment is left unintentionally blank. - FindAllTagsRequest_SortBy_REFNAME FindAllTagsRequest_SortBy_Key = 0 - // This comment is left unintentionally blank. - FindAllTagsRequest_SortBy_CREATORDATE FindAllTagsRequest_SortBy_Key = 1 -) - -// Enum value maps for FindAllTagsRequest_SortBy_Key. -var ( - FindAllTagsRequest_SortBy_Key_name = map[int32]string{ - 0: "REFNAME", - 1: "CREATORDATE", - } - FindAllTagsRequest_SortBy_Key_value = map[string]int32{ - "REFNAME": 0, - "CREATORDATE": 1, - } -) - -func (x FindAllTagsRequest_SortBy_Key) Enum() *FindAllTagsRequest_SortBy_Key { - p := new(FindAllTagsRequest_SortBy_Key) - *p = x - return p -} - -func (x FindAllTagsRequest_SortBy_Key) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (FindAllTagsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor { - return file_ref_proto_enumTypes[1].Descriptor() -} - -func (FindAllTagsRequest_SortBy_Key) Type() protoreflect.EnumType { - return &file_ref_proto_enumTypes[1] -} - -func (x FindAllTagsRequest_SortBy_Key) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use FindAllTagsRequest_SortBy_Key.Descriptor instead. -func (FindAllTagsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{14, 0, 0} -} - -// This comment is left unintentionally blank. -type CreateBranchResponse_Status int32 - -const ( - // This comment is left unintentionally blank. - CreateBranchResponse_OK CreateBranchResponse_Status = 0 - // This comment is left unintentionally blank. - CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 - // This comment is left unintentionally blank. - CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 - // This comment is left unintentionally blank. - CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 -) - -// Enum value maps for CreateBranchResponse_Status. -var ( - CreateBranchResponse_Status_name = map[int32]string{ - 0: "OK", - 1: "ERR_EXISTS", - 2: "ERR_INVALID", - 3: "ERR_INVALID_START_POINT", - } - CreateBranchResponse_Status_value = map[string]int32{ - "OK": 0, - "ERR_EXISTS": 1, - "ERR_INVALID": 2, - "ERR_INVALID_START_POINT": 3, - } -) - -func (x CreateBranchResponse_Status) Enum() *CreateBranchResponse_Status { - p := new(CreateBranchResponse_Status) - *p = x - return p -} - -func (x CreateBranchResponse_Status) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (CreateBranchResponse_Status) Descriptor() protoreflect.EnumDescriptor { - return file_ref_proto_enumTypes[2].Descriptor() -} - -func (CreateBranchResponse_Status) Type() protoreflect.EnumType { - return &file_ref_proto_enumTypes[2] -} - -func (x CreateBranchResponse_Status) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use CreateBranchResponse_Status.Descriptor instead. -func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{19, 0} -} - -// This comment is left unintentionally blank. -type ListRefsRequest_SortBy_Key int32 - -const ( - // This comment is left unintentionally blank. - ListRefsRequest_SortBy_REFNAME ListRefsRequest_SortBy_Key = 0 - // This comment is left unintentionally blank. - ListRefsRequest_SortBy_CREATORDATE ListRefsRequest_SortBy_Key = 1 - // This comment is left unintentionally blank. - ListRefsRequest_SortBy_AUTHORDATE ListRefsRequest_SortBy_Key = 2 - // This comment is left unintentionally blank. - ListRefsRequest_SortBy_COMMITTERDATE ListRefsRequest_SortBy_Key = 3 -) - -// Enum value maps for ListRefsRequest_SortBy_Key. -var ( - ListRefsRequest_SortBy_Key_name = map[int32]string{ - 0: "REFNAME", - 1: "CREATORDATE", - 2: "AUTHORDATE", - 3: "COMMITTERDATE", - } - ListRefsRequest_SortBy_Key_value = map[string]int32{ - "REFNAME": 0, - "CREATORDATE": 1, - "AUTHORDATE": 2, - "COMMITTERDATE": 3, - } -) - -func (x ListRefsRequest_SortBy_Key) Enum() *ListRefsRequest_SortBy_Key { - p := new(ListRefsRequest_SortBy_Key) - *p = x - return p -} - -func (x ListRefsRequest_SortBy_Key) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ListRefsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor { - return file_ref_proto_enumTypes[3].Descriptor() -} - -func (ListRefsRequest_SortBy_Key) Type() protoreflect.EnumType { - return &file_ref_proto_enumTypes[3] -} - -func (x ListRefsRequest_SortBy_Key) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ListRefsRequest_SortBy_Key.Descriptor instead. -func (ListRefsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{38, 0, 0} -} - -// This comment is left unintentionally blank. -type FindDefaultBranchNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *FindDefaultBranchNameRequest) Reset() { - *x = FindDefaultBranchNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindDefaultBranchNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindDefaultBranchNameRequest) ProtoMessage() {} - -func (x *FindDefaultBranchNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindDefaultBranchNameRequest.ProtoReflect.Descriptor instead. -func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{0} -} - -func (x *FindDefaultBranchNameRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type FindDefaultBranchNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *FindDefaultBranchNameResponse) Reset() { - *x = FindDefaultBranchNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindDefaultBranchNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindDefaultBranchNameResponse) ProtoMessage() {} - -func (x *FindDefaultBranchNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindDefaultBranchNameResponse.ProtoReflect.Descriptor instead. -func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{1} -} - -func (x *FindDefaultBranchNameResponse) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllBranchNamesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *FindAllBranchNamesRequest) Reset() { - *x = FindAllBranchNamesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllBranchNamesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllBranchNamesRequest) ProtoMessage() {} - -func (x *FindAllBranchNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllBranchNamesRequest.ProtoReflect.Descriptor instead. -func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{2} -} - -func (x *FindAllBranchNamesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllBranchNamesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` -} - -func (x *FindAllBranchNamesResponse) Reset() { - *x = FindAllBranchNamesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllBranchNamesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllBranchNamesResponse) ProtoMessage() {} - -func (x *FindAllBranchNamesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllBranchNamesResponse.ProtoReflect.Descriptor instead. -func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{3} -} - -func (x *FindAllBranchNamesResponse) GetNames() [][]byte { - if x != nil { - return x.Names - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllTagNamesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *FindAllTagNamesRequest) Reset() { - *x = FindAllTagNamesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllTagNamesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllTagNamesRequest) ProtoMessage() {} - -func (x *FindAllTagNamesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllTagNamesRequest.ProtoReflect.Descriptor instead. -func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{4} -} - -func (x *FindAllTagNamesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllTagNamesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` -} - -func (x *FindAllTagNamesResponse) Reset() { - *x = FindAllTagNamesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllTagNamesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllTagNamesResponse) ProtoMessage() {} - -func (x *FindAllTagNamesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllTagNamesResponse.ProtoReflect.Descriptor instead. -func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{5} -} - -func (x *FindAllTagNamesResponse) GetNames() [][]byte { - if x != nil { - return x.Names - } - return nil -} - -// This comment is left unintentionally blank. -type FindLocalBranchesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"` - // The page token is the branch name, with the `refs/heads/` prefix, for - // example "refs/heads/master". After the first branch name is encountered - // which lexicographically exceeds the page token, it will be the first result - // send as part of the response. - PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` -} - -func (x *FindLocalBranchesRequest) Reset() { - *x = FindLocalBranchesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLocalBranchesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLocalBranchesRequest) ProtoMessage() {} - -func (x *FindLocalBranchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLocalBranchesRequest.ProtoReflect.Descriptor instead. -func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{6} -} - -func (x *FindLocalBranchesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy { - if x != nil { - return x.SortBy - } - return FindLocalBranchesRequest_NAME -} - -func (x *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter { - if x != nil { - return x.PaginationParams - } - return nil -} - -// This comment is left unintentionally blank. -type FindLocalBranchesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` -} - -func (x *FindLocalBranchesResponse) Reset() { - *x = FindLocalBranchesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLocalBranchesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLocalBranchesResponse) ProtoMessage() {} - -func (x *FindLocalBranchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLocalBranchesResponse.ProtoReflect.Descriptor instead. -func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{7} -} - -func (x *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { - if x != nil { - return x.Branches - } - return nil -} - -// This comment is left unintentionally blank. -type FindLocalBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // This comment is left unintentionally blank. - CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"` - // This comment is left unintentionally blank. - CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"` - // This comment is left unintentionally blank. - CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"` - // This comment is left unintentionally blank. - Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"` -} - -func (x *FindLocalBranchResponse) Reset() { - *x = FindLocalBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLocalBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLocalBranchResponse) ProtoMessage() {} - -func (x *FindLocalBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLocalBranchResponse.ProtoReflect.Descriptor instead. -func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{8} -} - -func (x *FindLocalBranchResponse) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *FindLocalBranchResponse) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *FindLocalBranchResponse) GetCommitSubject() []byte { - if x != nil { - return x.CommitSubject - } - return nil -} - -func (x *FindLocalBranchResponse) GetCommitAuthor() *FindLocalBranchCommitAuthor { - if x != nil { - return x.CommitAuthor - } - return nil -} - -func (x *FindLocalBranchResponse) GetCommitCommitter() *FindLocalBranchCommitAuthor { - if x != nil { - return x.CommitCommitter - } - return nil -} - -func (x *FindLocalBranchResponse) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -// This comment is left unintentionally blank. -type FindLocalBranchCommitAuthor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - // This comment is left unintentionally blank. - Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` - // This comment is left unintentionally blank. - Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` -} - -func (x *FindLocalBranchCommitAuthor) Reset() { - *x = FindLocalBranchCommitAuthor{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLocalBranchCommitAuthor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLocalBranchCommitAuthor) ProtoMessage() {} - -func (x *FindLocalBranchCommitAuthor) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLocalBranchCommitAuthor.ProtoReflect.Descriptor instead. -func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{9} -} - -func (x *FindLocalBranchCommitAuthor) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *FindLocalBranchCommitAuthor) GetEmail() []byte { - if x != nil { - return x.Email - } - return nil -} - -func (x *FindLocalBranchCommitAuthor) GetDate() *timestamppb.Timestamp { - if x != nil { - return x.Date - } - return nil -} - -func (x *FindLocalBranchCommitAuthor) GetTimezone() []byte { - if x != nil { - return x.Timezone - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllBranchesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Only return branches that are merged into root ref - MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly,proto3" json:"merged_only,omitempty"` - // If merged_only is true, this is a list of branches from which we - // return those merged into the root ref - MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,omitempty"` -} - -func (x *FindAllBranchesRequest) Reset() { - *x = FindAllBranchesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllBranchesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllBranchesRequest) ProtoMessage() {} - -func (x *FindAllBranchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllBranchesRequest.ProtoReflect.Descriptor instead. -func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{10} -} - -func (x *FindAllBranchesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindAllBranchesRequest) GetMergedOnly() bool { - if x != nil { - return x.MergedOnly - } - return false -} - -func (x *FindAllBranchesRequest) GetMergedBranches() [][]byte { - if x != nil { - return x.MergedBranches - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllBranchesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` -} - -func (x *FindAllBranchesResponse) Reset() { - *x = FindAllBranchesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllBranchesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllBranchesResponse) ProtoMessage() {} - -func (x *FindAllBranchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllBranchesResponse.ProtoReflect.Descriptor instead. -func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{11} -} - -func (x *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { - if x != nil { - return x.Branches - } - return nil -} - -// This comment is left unintentionally blank. -type FindTagRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` -} - -func (x *FindTagRequest) Reset() { - *x = FindTagRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindTagRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindTagRequest) ProtoMessage() {} - -func (x *FindTagRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindTagRequest.ProtoReflect.Descriptor instead. -func (*FindTagRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{12} -} - -func (x *FindTagRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindTagRequest) GetTagName() []byte { - if x != nil { - return x.TagName - } - return nil -} - -// This comment is left unintentionally blank. -type FindTagResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` -} - -func (x *FindTagResponse) Reset() { - *x = FindTagResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindTagResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindTagResponse) ProtoMessage() {} - -func (x *FindTagResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindTagResponse.ProtoReflect.Descriptor instead. -func (*FindTagResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{13} -} - -func (x *FindTagResponse) GetTag() *Tag { - if x != nil { - return x.Tag - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllTagsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // SortBy allows to request tags in particular order. - SortBy *FindAllTagsRequest_SortBy `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` - // The page token is the tags name, with the `refs/tags/` prefix, for - // example "refs/tags/v1.0.0". When the tag name matches the page token, - // the tag following it will be the first result send as part of the response. - PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` -} - -func (x *FindAllTagsRequest) Reset() { - *x = FindAllTagsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllTagsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllTagsRequest) ProtoMessage() {} - -func (x *FindAllTagsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllTagsRequest.ProtoReflect.Descriptor instead. -func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{14} -} - -func (x *FindAllTagsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindAllTagsRequest) GetSortBy() *FindAllTagsRequest_SortBy { - if x != nil { - return x.SortBy - } - return nil -} - -func (x *FindAllTagsRequest) GetPaginationParams() *PaginationParameter { - if x != nil { - return x.PaginationParams - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllTagsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` -} - -func (x *FindAllTagsResponse) Reset() { - *x = FindAllTagsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllTagsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllTagsResponse) ProtoMessage() {} - -func (x *FindAllTagsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllTagsResponse.ProtoReflect.Descriptor instead. -func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{15} -} - -func (x *FindAllTagsResponse) GetTags() []*Tag { - if x != nil { - return x.Tags - } - return nil -} - -// This comment is left unintentionally blank. -type RefExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'. - Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` -} - -func (x *RefExistsRequest) Reset() { - *x = RefExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RefExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefExistsRequest) ProtoMessage() {} - -func (x *RefExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefExistsRequest.ProtoReflect.Descriptor instead. -func (*RefExistsRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{16} -} - -func (x *RefExistsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RefExistsRequest) GetRef() []byte { - if x != nil { - return x.Ref - } - return nil -} - -// This comment is left unintentionally blank. -type RefExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *RefExistsResponse) Reset() { - *x = RefExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RefExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RefExistsResponse) ProtoMessage() {} - -func (x *RefExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RefExistsResponse.ProtoReflect.Descriptor instead. -func (*RefExistsResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{17} -} - -func (x *RefExistsResponse) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -// This comment is left unintentionally blank. -type CreateBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` -} - -func (x *CreateBranchRequest) Reset() { - *x = CreateBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBranchRequest) ProtoMessage() {} - -func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBranchRequest.ProtoReflect.Descriptor instead. -func (*CreateBranchRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{18} -} - -func (x *CreateBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateBranchRequest) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *CreateBranchRequest) GetStartPoint() []byte { - if x != nil { - return x.StartPoint - } - return nil -} - -// This comment is left unintentionally blank. -type CreateBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` - // This comment is left unintentionally blank. - Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` -} - -func (x *CreateBranchResponse) Reset() { - *x = CreateBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBranchResponse) ProtoMessage() {} - -func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBranchResponse.ProtoReflect.Descriptor instead. -func (*CreateBranchResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{19} -} - -func (x *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { - if x != nil { - return x.Status - } - return CreateBranchResponse_OK -} - -func (x *CreateBranchResponse) GetBranch() *Branch { - if x != nil { - return x.Branch - } - return nil -} - -// This comment is left unintentionally blank. -type DeleteBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *DeleteBranchRequest) Reset() { - *x = DeleteBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteBranchRequest) ProtoMessage() {} - -func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead. -func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{20} -} - -func (x *DeleteBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *DeleteBranchRequest) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -// Not clear if we need to do status signaling; we can add fields later. -type DeleteBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DeleteBranchResponse) Reset() { - *x = DeleteBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteBranchResponse) ProtoMessage() {} - -func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead. -func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{21} -} - -// This comment is left unintentionally blank. -type FindBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which the branch should be looked up. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // name is the name of the branch which should be looked up. This must be the - // branch name only, it must not have the "refs/heads/" prefix. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` -} - -func (x *FindBranchRequest) Reset() { - *x = FindBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindBranchRequest) ProtoMessage() {} - -func (x *FindBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindBranchRequest.ProtoReflect.Descriptor instead. -func (*FindBranchRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{22} -} - -func (x *FindBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindBranchRequest) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -// This comment is left unintentionally blank. -type FindBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` -} - -func (x *FindBranchResponse) Reset() { - *x = FindBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindBranchResponse) ProtoMessage() {} - -func (x *FindBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindBranchResponse.ProtoReflect.Descriptor instead. -func (*FindBranchResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{23} -} - -func (x *FindBranchResponse) GetBranch() *Branch { - if x != nil { - return x.Branch - } - return nil -} - -// This comment is left unintentionally blank. -type DeleteRefsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // The following two fields are mutually exclusive - ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED - // This comment is left unintentionally blank. - Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` -} - -func (x *DeleteRefsRequest) Reset() { - *x = DeleteRefsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRefsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRefsRequest) ProtoMessage() {} - -func (x *DeleteRefsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteRefsRequest.ProtoReflect.Descriptor instead. -func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{24} -} - -func (x *DeleteRefsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *DeleteRefsRequest) GetExceptWithPrefix() [][]byte { - if x != nil { - return x.ExceptWithPrefix - } - return nil -} - -func (x *DeleteRefsRequest) GetRefs() [][]byte { - if x != nil { - return x.Refs - } - return nil -} - -// This comment is left unintentionally blank. -type DeleteRefsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` -} - -func (x *DeleteRefsResponse) Reset() { - *x = DeleteRefsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteRefsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteRefsResponse) ProtoMessage() {} - -func (x *DeleteRefsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DeleteRefsResponse.ProtoReflect.Descriptor instead. -func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{25} -} - -func (x *DeleteRefsResponse) GetGitError() string { - if x != nil { - return x.GitError - } - return "" -} - -// This comment is left unintentionally blank. -type ListBranchNamesContainingCommitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // Limit the number of tag names to be returned - // If the limit is set to zero, all items will be returned - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *ListBranchNamesContainingCommitRequest) Reset() { - *x = ListBranchNamesContainingCommitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBranchNamesContainingCommitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} - -func (x *ListBranchNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBranchNamesContainingCommitRequest.ProtoReflect.Descriptor instead. -func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{26} -} - -func (x *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListBranchNamesContainingCommitRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *ListBranchNamesContainingCommitRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type ListBranchNamesContainingCommitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` -} - -func (x *ListBranchNamesContainingCommitResponse) Reset() { - *x = ListBranchNamesContainingCommitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListBranchNamesContainingCommitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} - -func (x *ListBranchNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListBranchNamesContainingCommitResponse.ProtoReflect.Descriptor instead. -func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{27} -} - -func (x *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { - if x != nil { - return x.BranchNames - } - return nil -} - -// This comment is left unintentionally blank. -type ListTagNamesContainingCommitRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // Limit the number of tag names to be returned - // If the limit is set to zero, all items will be returned - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *ListTagNamesContainingCommitRequest) Reset() { - *x = ListTagNamesContainingCommitRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListTagNamesContainingCommitRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} - -func (x *ListTagNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListTagNamesContainingCommitRequest.ProtoReflect.Descriptor instead. -func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{28} -} - -func (x *ListTagNamesContainingCommitRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListTagNamesContainingCommitRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *ListTagNamesContainingCommitRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type ListTagNamesContainingCommitResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` -} - -func (x *ListTagNamesContainingCommitResponse) Reset() { - *x = ListTagNamesContainingCommitResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListTagNamesContainingCommitResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} - -func (x *ListTagNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListTagNamesContainingCommitResponse.ProtoReflect.Descriptor instead. -func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{29} -} - -func (x *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { - if x != nil { - return x.TagNames - } - return nil -} - -// GetTagSignaturesRequest is a request for the GetTagSignatures RPC. -type GetTagSignaturesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which tag signatures should be looked up. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // TagRevisions is the set of revisions which that should be looked up. Revisions - // supports the syntax as specified by gitrevisions(7). All revisions are expected - // to resolve to annotated tag objects. At least one revision must be provided. - TagRevisions []string `protobuf:"bytes,2,rep,name=tag_revisions,json=tagRevisions,proto3" json:"tag_revisions,omitempty"` -} - -func (x *GetTagSignaturesRequest) Reset() { - *x = GetTagSignaturesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagSignaturesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagSignaturesRequest) ProtoMessage() {} - -func (x *GetTagSignaturesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagSignaturesRequest.ProtoReflect.Descriptor instead. -func (*GetTagSignaturesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{30} -} - -func (x *GetTagSignaturesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetTagSignaturesRequest) GetTagRevisions() []string { - if x != nil { - return x.TagRevisions - } - return nil -} - -// GetTagSignaturesResponse is a response for a GetTagSignatures request. Each response -// may contain multiple TagSignatures. In case TagSignatures don't fit into a single -// response, signatures will be batched in multiple responses. -type GetTagSignaturesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Signatures is the set of signatures found. - Signatures []*GetTagSignaturesResponse_TagSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` -} - -func (x *GetTagSignaturesResponse) Reset() { - *x = GetTagSignaturesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagSignaturesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagSignaturesResponse) ProtoMessage() {} - -func (x *GetTagSignaturesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagSignaturesResponse.ProtoReflect.Descriptor instead. -func (*GetTagSignaturesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{31} -} - -func (x *GetTagSignaturesResponse) GetSignatures() []*GetTagSignaturesResponse_TagSignature { - if x != nil { - return x.Signatures - } - return nil -} - -// This comment is left unintentionally blank. -type GetTagMessagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` -} - -func (x *GetTagMessagesRequest) Reset() { - *x = GetTagMessagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagMessagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagMessagesRequest) ProtoMessage() {} - -func (x *GetTagMessagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagMessagesRequest.ProtoReflect.Descriptor instead. -func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{32} -} - -func (x *GetTagMessagesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetTagMessagesRequest) GetTagIds() []string { - if x != nil { - return x.TagIds - } - return nil -} - -// This comment is left unintentionally blank. -type GetTagMessagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - // Only present for a new tag message - TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` -} - -func (x *GetTagMessagesResponse) Reset() { - *x = GetTagMessagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagMessagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagMessagesResponse) ProtoMessage() {} - -func (x *GetTagMessagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagMessagesResponse.ProtoReflect.Descriptor instead. -func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{33} -} - -func (x *GetTagMessagesResponse) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *GetTagMessagesResponse) GetTagId() string { - if x != nil { - return x.TagId - } - return "" -} - -// This comment is left unintentionally blank. -type FindAllRemoteBranchesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` -} - -func (x *FindAllRemoteBranchesRequest) Reset() { - *x = FindAllRemoteBranchesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllRemoteBranchesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllRemoteBranchesRequest) ProtoMessage() {} - -func (x *FindAllRemoteBranchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllRemoteBranchesRequest.ProtoReflect.Descriptor instead. -func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{34} -} - -func (x *FindAllRemoteBranchesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindAllRemoteBranchesRequest) GetRemoteName() string { - if x != nil { - return x.RemoteName - } - return "" -} - -// This comment is left unintentionally blank. -type FindAllRemoteBranchesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` -} - -func (x *FindAllRemoteBranchesResponse) Reset() { - *x = FindAllRemoteBranchesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllRemoteBranchesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllRemoteBranchesResponse) ProtoMessage() {} - -func (x *FindAllRemoteBranchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllRemoteBranchesResponse.ProtoReflect.Descriptor instead. -func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{35} -} - -func (x *FindAllRemoteBranchesResponse) GetBranches() []*Branch { - if x != nil { - return x.Branches - } - return nil -} - -// This comment is left unintentionally blank. -type PackRefsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *PackRefsRequest) Reset() { - *x = PackRefsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PackRefsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PackRefsRequest) ProtoMessage() {} - -func (x *PackRefsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PackRefsRequest.ProtoReflect.Descriptor instead. -func (*PackRefsRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{36} -} - -func (x *PackRefsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type PackRefsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PackRefsResponse) Reset() { - *x = PackRefsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PackRefsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PackRefsResponse) ProtoMessage() {} - -func (x *PackRefsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PackRefsResponse.ProtoReflect.Descriptor instead. -func (*PackRefsResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{37} -} - -// ListRefsRequest is a request for the ListRefs RPC. -type ListRefsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which references should be listed in. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Patterns contains all patterns which shall be listed. Patterns should be in the format - // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error - // is returned. Patterns which don't match any reference will be silently ignored. - Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` - // Head determines whether the RPC should also return the HEAD reference. By default, - // pseudo-refs are not included in the response. - Head bool `protobuf:"varint,3,opt,name=head,proto3" json:"head,omitempty"` - // SortBy allows to request SHAs in particular order. - SortBy *ListRefsRequest_SortBy `protobuf:"bytes,4,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` -} - -func (x *ListRefsRequest) Reset() { - *x = ListRefsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRefsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRefsRequest) ProtoMessage() {} - -func (x *ListRefsRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListRefsRequest.ProtoReflect.Descriptor instead. -func (*ListRefsRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{38} -} - -func (x *ListRefsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ListRefsRequest) GetPatterns() [][]byte { - if x != nil { - return x.Patterns - } - return nil -} - -func (x *ListRefsRequest) GetHead() bool { - if x != nil { - return x.Head - } - return false -} - -func (x *ListRefsRequest) GetSortBy() *ListRefsRequest_SortBy { - if x != nil { - return x.SortBy - } - return nil -} - -// ListRefsResponse is a response for the ListRefs RPC. The RPC can return multiple responses -// in case there are more references than fit into a single gRPC message. -type ListRefsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // References is the set of references returned by the RPC. - References []*ListRefsResponse_Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` -} - -func (x *ListRefsResponse) Reset() { - *x = ListRefsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRefsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRefsResponse) ProtoMessage() {} - -func (x *ListRefsResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListRefsResponse.ProtoReflect.Descriptor instead. -func (*ListRefsResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{39} -} - -func (x *ListRefsResponse) GetReferences() []*ListRefsResponse_Reference { - if x != nil { - return x.References - } - return nil -} - -// This comment is left unintentionally blank. -type FindRefsByOIDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository is the repository in which references will be looked for. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // oid is an object ID to find references for. - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - // ref_patterns can be one of branch name, tag name or fully qualified ref name. - // Providing more than one pattern will yield refs that match any of the given patterns. - // If left empty, defaults to "refs/heads/" and "refs/tags/" - RefPatterns []string `protobuf:"bytes,3,rep,name=ref_patterns,json=refPatterns,proto3" json:"ref_patterns,omitempty"` - // sort_field determines the sort order of the resulting refs. - // If left empty, defaults to "refname" (lexicographic refname order) - SortField string `protobuf:"bytes,4,opt,name=sort_field,json=sortField,proto3" json:"sort_field,omitempty"` - // limit limits the amount of results returned. 0 means no limit. - Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *FindRefsByOIDRequest) Reset() { - *x = FindRefsByOIDRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRefsByOIDRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRefsByOIDRequest) ProtoMessage() {} - -func (x *FindRefsByOIDRequest) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRefsByOIDRequest.ProtoReflect.Descriptor instead. -func (*FindRefsByOIDRequest) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{40} -} - -func (x *FindRefsByOIDRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindRefsByOIDRequest) GetOid() string { - if x != nil { - return x.Oid - } - return "" -} - -func (x *FindRefsByOIDRequest) GetRefPatterns() []string { - if x != nil { - return x.RefPatterns - } - return nil -} - -func (x *FindRefsByOIDRequest) GetSortField() string { - if x != nil { - return x.SortField - } - return "" -} - -func (x *FindRefsByOIDRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type FindRefsByOIDResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // refs is the set of fully-qualified references which have been found. - Refs []string `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` -} - -func (x *FindRefsByOIDResponse) Reset() { - *x = FindRefsByOIDResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRefsByOIDResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRefsByOIDResponse) ProtoMessage() {} - -func (x *FindRefsByOIDResponse) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRefsByOIDResponse.ProtoReflect.Descriptor instead. -func (*FindRefsByOIDResponse) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{41} -} - -func (x *FindRefsByOIDResponse) GetRefs() []string { - if x != nil { - return x.Refs - } - return nil -} - -// This comment is left unintentionally blank. -type FindAllBranchesResponse_Branch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` -} - -func (x *FindAllBranchesResponse_Branch) Reset() { - *x = FindAllBranchesResponse_Branch{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllBranchesResponse_Branch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllBranchesResponse_Branch) ProtoMessage() {} - -func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllBranchesResponse_Branch.ProtoReflect.Descriptor instead. -func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{11, 0} -} - -func (x *FindAllBranchesResponse_Branch) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *FindAllBranchesResponse_Branch) GetTarget() *GitCommit { - if x != nil { - return x.Target - } - return nil -} - -// SortBy allows to specify desired order of the elements. -type FindAllTagsRequest_SortBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Key FindAllTagsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.FindAllTagsRequest_SortBy_Key" json:"key,omitempty"` - // This comment is left unintentionally blank. - Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` -} - -func (x *FindAllTagsRequest_SortBy) Reset() { - *x = FindAllTagsRequest_SortBy{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindAllTagsRequest_SortBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindAllTagsRequest_SortBy) ProtoMessage() {} - -func (x *FindAllTagsRequest_SortBy) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindAllTagsRequest_SortBy.ProtoReflect.Descriptor instead. -func (*FindAllTagsRequest_SortBy) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{14, 0} -} - -func (x *FindAllTagsRequest_SortBy) GetKey() FindAllTagsRequest_SortBy_Key { - if x != nil { - return x.Key - } - return FindAllTagsRequest_SortBy_REFNAME -} - -func (x *FindAllTagsRequest_SortBy) GetDirection() SortDirection { - if x != nil { - return x.Direction - } - return SortDirection_ASCENDING -} - -// TagSignature represents the signature of a signed tag. -type GetTagSignaturesResponse_TagSignature struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // TagId is the resolved object ID of the tag. - TagId string `protobuf:"bytes,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` - // Signature contains the cryptographic signature of the tag. If the tag is not - // cryptographically signed, then the signature is unset. - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` - // Content contains the contents which are signed by the signature. Contents - // include both the commit message, but also the commit metadata like author and - // subject. - Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *GetTagSignaturesResponse_TagSignature) Reset() { - *x = GetTagSignaturesResponse_TagSignature{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetTagSignaturesResponse_TagSignature) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetTagSignaturesResponse_TagSignature) ProtoMessage() {} - -func (x *GetTagSignaturesResponse_TagSignature) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetTagSignaturesResponse_TagSignature.ProtoReflect.Descriptor instead. -func (*GetTagSignaturesResponse_TagSignature) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{31, 0} -} - -func (x *GetTagSignaturesResponse_TagSignature) GetTagId() string { - if x != nil { - return x.TagId - } - return "" -} - -func (x *GetTagSignaturesResponse_TagSignature) GetSignature() []byte { - if x != nil { - return x.Signature - } - return nil -} - -func (x *GetTagSignaturesResponse_TagSignature) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -// This comment is left unintentionally blank. -type ListRefsRequest_SortBy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Key is a key used for sorting. - Key ListRefsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.ListRefsRequest_SortBy_Key" json:"key,omitempty"` - // This comment is left unintentionally blank. - Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` -} - -func (x *ListRefsRequest_SortBy) Reset() { - *x = ListRefsRequest_SortBy{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRefsRequest_SortBy) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRefsRequest_SortBy) ProtoMessage() {} - -func (x *ListRefsRequest_SortBy) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListRefsRequest_SortBy.ProtoReflect.Descriptor instead. -func (*ListRefsRequest_SortBy) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{38, 0} -} - -func (x *ListRefsRequest_SortBy) GetKey() ListRefsRequest_SortBy_Key { - if x != nil { - return x.Key - } - return ListRefsRequest_SortBy_REFNAME -} - -func (x *ListRefsRequest_SortBy) GetDirection() SortDirection { - if x != nil { - return x.Direction - } - return SortDirection_ASCENDING -} - -// Reference is a direct Git reference. No symbolic references will ever be returned by this RPC. -type ListRefsResponse_Reference struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Name is the fully qualified name of the reference. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // Target is the object ID the reference points to. - Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` -} - -func (x *ListRefsResponse_Reference) Reset() { - *x = ListRefsResponse_Reference{} - if protoimpl.UnsafeEnabled { - mi := &file_ref_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListRefsResponse_Reference) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListRefsResponse_Reference) ProtoMessage() {} - -func (x *ListRefsResponse_Reference) ProtoReflect() protoreflect.Message { - mi := &file_ref_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListRefsResponse_Reference.ProtoReflect.Descriptor instead. -func (*ListRefsResponse_Reference) Descriptor() ([]byte, []int) { - return file_ref_proto_rawDescGZIP(), []int{39, 0} -} - -func (x *ListRefsResponse_Reference) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *ListRefsResponse_Reference) GetTarget() string { - if x != nil { - return x.Target - } - return "" -} - -var File_ref_proto protoreflect.FileDescriptor - -var file_ref_proto_rawDesc = []byte{ - 0x0a, 0x09, 0x72, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, - 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, - 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, - 0x19, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x22, 0x32, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0c, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x52, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2f, 0x0a, 0x17, - 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x97, 0x02, - 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x06, - 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, - 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x22, 0x35, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, - 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, - 0x41, 0x53, 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, - 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x22, 0x58, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x4c, - 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, - 0x73, 0x22, 0xb6, 0x02, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x25, - 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, - 0x4e, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x0f, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, - 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x1b, 0x46, - 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, - 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, - 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, - 0x22, 0x9c, 0x01, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, - 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x67, - 0x65, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, - 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, - 0x0e, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x22, - 0xa6, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x62, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x1a, - 0x47, 0x0a, 0x06, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, - 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x65, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, - 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, - 0x30, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, - 0x67, 0x22, 0xf2, 0x02, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, - 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x48, - 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, - 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x9b, 0x01, 0x0a, 0x06, 0x53, 0x6f, 0x72, - 0x74, 0x42, 0x79, 0x12, 0x37, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, - 0x74, 0x42, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x09, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x23, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x46, 0x4e, - 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, - 0x44, 0x41, 0x54, 0x45, 0x10, 0x01, 0x22, 0x36, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, - 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, - 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x5e, - 0x0a, 0x10, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x29, - 0x0a, 0x11, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x4e, - 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, - 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x52, 0x52, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x01, - 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x52, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, - 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, - 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x22, 0x63, - 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x11, 0x46, - 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, - 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x8f, 0x01, 0x0a, - 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, - 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, - 0x69, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, - 0x57, 0x69, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, - 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x22, 0x31, - 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x22, 0x95, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x52, 0x0a, 0x27, 0x4c, 0x69, 0x73, - 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, - 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x92, 0x01, - 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, - 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x22, 0x49, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, - 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x74, - 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x78, 0x0a, - 0x17, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x67, 0x52, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x73, 0x1a, 0x5d, 0x0a, 0x0c, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, - 0x75, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, - 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, - 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x67, 0x49, 0x64, 0x73, 0x4a, 0x04, - 0x08, 0x02, 0x10, 0x03, 0x52, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, - 0x59, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, - 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, - 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, - 0x52, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x79, 0x0a, 0x1c, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4a, - 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x22, - 0x12, 0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0xf2, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x12, 0x0a, - 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x68, 0x65, 0x61, - 0x64, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, - 0x42, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x1a, 0xbb, 0x01, 0x0a, 0x06, 0x53, - 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x34, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, - 0x42, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x09, 0x64, - 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x46, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x46, 0x4e, 0x41, - 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x44, - 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x44, - 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, - 0x45, 0x52, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, - 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, - 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x14, 0x46, - 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, - 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, - 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x2b, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x52, - 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, - 0x72, 0x65, 0x66, 0x73, 0x32, 0xa5, 0x0d, 0x0a, 0x0a, 0x52, 0x65, 0x66, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, - 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x12, 0x65, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, - 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, - 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, - 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1e, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, - 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, 0x46, 0x69, - 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x6e, - 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, - 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x48, - 0x0a, 0x09, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, - 0x65, 0x66, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, - 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, - 0x01, 0x12, 0x83, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, - 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, - 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, - 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, - 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x30, 0x01, 0x12, 0x48, 0x0a, 0x08, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x12, - 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x47, 0x0a, - 0x08, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, - 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, - 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_ref_proto_rawDescOnce sync.Once - file_ref_proto_rawDescData = file_ref_proto_rawDesc -) - -func file_ref_proto_rawDescGZIP() []byte { - file_ref_proto_rawDescOnce.Do(func() { - file_ref_proto_rawDescData = protoimpl.X.CompressGZIP(file_ref_proto_rawDescData) - }) - return file_ref_proto_rawDescData -} - -var file_ref_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 47) -var file_ref_proto_goTypes = []interface{}{ - (FindLocalBranchesRequest_SortBy)(0), // 0: gitaly.FindLocalBranchesRequest.SortBy - (FindAllTagsRequest_SortBy_Key)(0), // 1: gitaly.FindAllTagsRequest.SortBy.Key - (CreateBranchResponse_Status)(0), // 2: gitaly.CreateBranchResponse.Status - (ListRefsRequest_SortBy_Key)(0), // 3: gitaly.ListRefsRequest.SortBy.Key - (*FindDefaultBranchNameRequest)(nil), // 4: gitaly.FindDefaultBranchNameRequest - (*FindDefaultBranchNameResponse)(nil), // 5: gitaly.FindDefaultBranchNameResponse - (*FindAllBranchNamesRequest)(nil), // 6: gitaly.FindAllBranchNamesRequest - (*FindAllBranchNamesResponse)(nil), // 7: gitaly.FindAllBranchNamesResponse - (*FindAllTagNamesRequest)(nil), // 8: gitaly.FindAllTagNamesRequest - (*FindAllTagNamesResponse)(nil), // 9: gitaly.FindAllTagNamesResponse - (*FindLocalBranchesRequest)(nil), // 10: gitaly.FindLocalBranchesRequest - (*FindLocalBranchesResponse)(nil), // 11: gitaly.FindLocalBranchesResponse - (*FindLocalBranchResponse)(nil), // 12: gitaly.FindLocalBranchResponse - (*FindLocalBranchCommitAuthor)(nil), // 13: gitaly.FindLocalBranchCommitAuthor - (*FindAllBranchesRequest)(nil), // 14: gitaly.FindAllBranchesRequest - (*FindAllBranchesResponse)(nil), // 15: gitaly.FindAllBranchesResponse - (*FindTagRequest)(nil), // 16: gitaly.FindTagRequest - (*FindTagResponse)(nil), // 17: gitaly.FindTagResponse - (*FindAllTagsRequest)(nil), // 18: gitaly.FindAllTagsRequest - (*FindAllTagsResponse)(nil), // 19: gitaly.FindAllTagsResponse - (*RefExistsRequest)(nil), // 20: gitaly.RefExistsRequest - (*RefExistsResponse)(nil), // 21: gitaly.RefExistsResponse - (*CreateBranchRequest)(nil), // 22: gitaly.CreateBranchRequest - (*CreateBranchResponse)(nil), // 23: gitaly.CreateBranchResponse - (*DeleteBranchRequest)(nil), // 24: gitaly.DeleteBranchRequest - (*DeleteBranchResponse)(nil), // 25: gitaly.DeleteBranchResponse - (*FindBranchRequest)(nil), // 26: gitaly.FindBranchRequest - (*FindBranchResponse)(nil), // 27: gitaly.FindBranchResponse - (*DeleteRefsRequest)(nil), // 28: gitaly.DeleteRefsRequest - (*DeleteRefsResponse)(nil), // 29: gitaly.DeleteRefsResponse - (*ListBranchNamesContainingCommitRequest)(nil), // 30: gitaly.ListBranchNamesContainingCommitRequest - (*ListBranchNamesContainingCommitResponse)(nil), // 31: gitaly.ListBranchNamesContainingCommitResponse - (*ListTagNamesContainingCommitRequest)(nil), // 32: gitaly.ListTagNamesContainingCommitRequest - (*ListTagNamesContainingCommitResponse)(nil), // 33: gitaly.ListTagNamesContainingCommitResponse - (*GetTagSignaturesRequest)(nil), // 34: gitaly.GetTagSignaturesRequest - (*GetTagSignaturesResponse)(nil), // 35: gitaly.GetTagSignaturesResponse - (*GetTagMessagesRequest)(nil), // 36: gitaly.GetTagMessagesRequest - (*GetTagMessagesResponse)(nil), // 37: gitaly.GetTagMessagesResponse - (*FindAllRemoteBranchesRequest)(nil), // 38: gitaly.FindAllRemoteBranchesRequest - (*FindAllRemoteBranchesResponse)(nil), // 39: gitaly.FindAllRemoteBranchesResponse - (*PackRefsRequest)(nil), // 40: gitaly.PackRefsRequest - (*PackRefsResponse)(nil), // 41: gitaly.PackRefsResponse - (*ListRefsRequest)(nil), // 42: gitaly.ListRefsRequest - (*ListRefsResponse)(nil), // 43: gitaly.ListRefsResponse - (*FindRefsByOIDRequest)(nil), // 44: gitaly.FindRefsByOIDRequest - (*FindRefsByOIDResponse)(nil), // 45: gitaly.FindRefsByOIDResponse - (*FindAllBranchesResponse_Branch)(nil), // 46: gitaly.FindAllBranchesResponse.Branch - (*FindAllTagsRequest_SortBy)(nil), // 47: gitaly.FindAllTagsRequest.SortBy - (*GetTagSignaturesResponse_TagSignature)(nil), // 48: gitaly.GetTagSignaturesResponse.TagSignature - (*ListRefsRequest_SortBy)(nil), // 49: gitaly.ListRefsRequest.SortBy - (*ListRefsResponse_Reference)(nil), // 50: gitaly.ListRefsResponse.Reference - (*Repository)(nil), // 51: gitaly.Repository - (*PaginationParameter)(nil), // 52: gitaly.PaginationParameter - (*GitCommit)(nil), // 53: gitaly.GitCommit - (*timestamppb.Timestamp)(nil), // 54: google.protobuf.Timestamp - (*Tag)(nil), // 55: gitaly.Tag - (*Branch)(nil), // 56: gitaly.Branch - (SortDirection)(0), // 57: gitaly.SortDirection -} -var file_ref_proto_depIdxs = []int32{ - 51, // 0: gitaly.FindDefaultBranchNameRequest.repository:type_name -> gitaly.Repository - 51, // 1: gitaly.FindAllBranchNamesRequest.repository:type_name -> gitaly.Repository - 51, // 2: gitaly.FindAllTagNamesRequest.repository:type_name -> gitaly.Repository - 51, // 3: gitaly.FindLocalBranchesRequest.repository:type_name -> gitaly.Repository - 0, // 4: gitaly.FindLocalBranchesRequest.sort_by:type_name -> gitaly.FindLocalBranchesRequest.SortBy - 52, // 5: gitaly.FindLocalBranchesRequest.pagination_params:type_name -> gitaly.PaginationParameter - 12, // 6: gitaly.FindLocalBranchesResponse.branches:type_name -> gitaly.FindLocalBranchResponse - 13, // 7: gitaly.FindLocalBranchResponse.commit_author:type_name -> gitaly.FindLocalBranchCommitAuthor - 13, // 8: gitaly.FindLocalBranchResponse.commit_committer:type_name -> gitaly.FindLocalBranchCommitAuthor - 53, // 9: gitaly.FindLocalBranchResponse.commit:type_name -> gitaly.GitCommit - 54, // 10: gitaly.FindLocalBranchCommitAuthor.date:type_name -> google.protobuf.Timestamp - 51, // 11: gitaly.FindAllBranchesRequest.repository:type_name -> gitaly.Repository - 46, // 12: gitaly.FindAllBranchesResponse.branches:type_name -> gitaly.FindAllBranchesResponse.Branch - 51, // 13: gitaly.FindTagRequest.repository:type_name -> gitaly.Repository - 55, // 14: gitaly.FindTagResponse.tag:type_name -> gitaly.Tag - 51, // 15: gitaly.FindAllTagsRequest.repository:type_name -> gitaly.Repository - 47, // 16: gitaly.FindAllTagsRequest.sort_by:type_name -> gitaly.FindAllTagsRequest.SortBy - 52, // 17: gitaly.FindAllTagsRequest.pagination_params:type_name -> gitaly.PaginationParameter - 55, // 18: gitaly.FindAllTagsResponse.tags:type_name -> gitaly.Tag - 51, // 19: gitaly.RefExistsRequest.repository:type_name -> gitaly.Repository - 51, // 20: gitaly.CreateBranchRequest.repository:type_name -> gitaly.Repository - 2, // 21: gitaly.CreateBranchResponse.status:type_name -> gitaly.CreateBranchResponse.Status - 56, // 22: gitaly.CreateBranchResponse.branch:type_name -> gitaly.Branch - 51, // 23: gitaly.DeleteBranchRequest.repository:type_name -> gitaly.Repository - 51, // 24: gitaly.FindBranchRequest.repository:type_name -> gitaly.Repository - 56, // 25: gitaly.FindBranchResponse.branch:type_name -> gitaly.Branch - 51, // 26: gitaly.DeleteRefsRequest.repository:type_name -> gitaly.Repository - 51, // 27: gitaly.ListBranchNamesContainingCommitRequest.repository:type_name -> gitaly.Repository - 51, // 28: gitaly.ListTagNamesContainingCommitRequest.repository:type_name -> gitaly.Repository - 51, // 29: gitaly.GetTagSignaturesRequest.repository:type_name -> gitaly.Repository - 48, // 30: gitaly.GetTagSignaturesResponse.signatures:type_name -> gitaly.GetTagSignaturesResponse.TagSignature - 51, // 31: gitaly.GetTagMessagesRequest.repository:type_name -> gitaly.Repository - 51, // 32: gitaly.FindAllRemoteBranchesRequest.repository:type_name -> gitaly.Repository - 56, // 33: gitaly.FindAllRemoteBranchesResponse.branches:type_name -> gitaly.Branch - 51, // 34: gitaly.PackRefsRequest.repository:type_name -> gitaly.Repository - 51, // 35: gitaly.ListRefsRequest.repository:type_name -> gitaly.Repository - 49, // 36: gitaly.ListRefsRequest.sort_by:type_name -> gitaly.ListRefsRequest.SortBy - 50, // 37: gitaly.ListRefsResponse.references:type_name -> gitaly.ListRefsResponse.Reference - 51, // 38: gitaly.FindRefsByOIDRequest.repository:type_name -> gitaly.Repository - 53, // 39: gitaly.FindAllBranchesResponse.Branch.target:type_name -> gitaly.GitCommit - 1, // 40: gitaly.FindAllTagsRequest.SortBy.key:type_name -> gitaly.FindAllTagsRequest.SortBy.Key - 57, // 41: gitaly.FindAllTagsRequest.SortBy.direction:type_name -> gitaly.SortDirection - 3, // 42: gitaly.ListRefsRequest.SortBy.key:type_name -> gitaly.ListRefsRequest.SortBy.Key - 57, // 43: gitaly.ListRefsRequest.SortBy.direction:type_name -> gitaly.SortDirection - 4, // 44: gitaly.RefService.FindDefaultBranchName:input_type -> gitaly.FindDefaultBranchNameRequest - 6, // 45: gitaly.RefService.FindAllBranchNames:input_type -> gitaly.FindAllBranchNamesRequest - 8, // 46: gitaly.RefService.FindAllTagNames:input_type -> gitaly.FindAllTagNamesRequest - 10, // 47: gitaly.RefService.FindLocalBranches:input_type -> gitaly.FindLocalBranchesRequest - 14, // 48: gitaly.RefService.FindAllBranches:input_type -> gitaly.FindAllBranchesRequest - 18, // 49: gitaly.RefService.FindAllTags:input_type -> gitaly.FindAllTagsRequest - 16, // 50: gitaly.RefService.FindTag:input_type -> gitaly.FindTagRequest - 38, // 51: gitaly.RefService.FindAllRemoteBranches:input_type -> gitaly.FindAllRemoteBranchesRequest - 20, // 52: gitaly.RefService.RefExists:input_type -> gitaly.RefExistsRequest - 26, // 53: gitaly.RefService.FindBranch:input_type -> gitaly.FindBranchRequest - 28, // 54: gitaly.RefService.DeleteRefs:input_type -> gitaly.DeleteRefsRequest - 30, // 55: gitaly.RefService.ListBranchNamesContainingCommit:input_type -> gitaly.ListBranchNamesContainingCommitRequest - 32, // 56: gitaly.RefService.ListTagNamesContainingCommit:input_type -> gitaly.ListTagNamesContainingCommitRequest - 34, // 57: gitaly.RefService.GetTagSignatures:input_type -> gitaly.GetTagSignaturesRequest - 36, // 58: gitaly.RefService.GetTagMessages:input_type -> gitaly.GetTagMessagesRequest - 40, // 59: gitaly.RefService.PackRefs:input_type -> gitaly.PackRefsRequest - 42, // 60: gitaly.RefService.ListRefs:input_type -> gitaly.ListRefsRequest - 44, // 61: gitaly.RefService.FindRefsByOID:input_type -> gitaly.FindRefsByOIDRequest - 5, // 62: gitaly.RefService.FindDefaultBranchName:output_type -> gitaly.FindDefaultBranchNameResponse - 7, // 63: gitaly.RefService.FindAllBranchNames:output_type -> gitaly.FindAllBranchNamesResponse - 9, // 64: gitaly.RefService.FindAllTagNames:output_type -> gitaly.FindAllTagNamesResponse - 11, // 65: gitaly.RefService.FindLocalBranches:output_type -> gitaly.FindLocalBranchesResponse - 15, // 66: gitaly.RefService.FindAllBranches:output_type -> gitaly.FindAllBranchesResponse - 19, // 67: gitaly.RefService.FindAllTags:output_type -> gitaly.FindAllTagsResponse - 17, // 68: gitaly.RefService.FindTag:output_type -> gitaly.FindTagResponse - 39, // 69: gitaly.RefService.FindAllRemoteBranches:output_type -> gitaly.FindAllRemoteBranchesResponse - 21, // 70: gitaly.RefService.RefExists:output_type -> gitaly.RefExistsResponse - 27, // 71: gitaly.RefService.FindBranch:output_type -> gitaly.FindBranchResponse - 29, // 72: gitaly.RefService.DeleteRefs:output_type -> gitaly.DeleteRefsResponse - 31, // 73: gitaly.RefService.ListBranchNamesContainingCommit:output_type -> gitaly.ListBranchNamesContainingCommitResponse - 33, // 74: gitaly.RefService.ListTagNamesContainingCommit:output_type -> gitaly.ListTagNamesContainingCommitResponse - 35, // 75: gitaly.RefService.GetTagSignatures:output_type -> gitaly.GetTagSignaturesResponse - 37, // 76: gitaly.RefService.GetTagMessages:output_type -> gitaly.GetTagMessagesResponse - 41, // 77: gitaly.RefService.PackRefs:output_type -> gitaly.PackRefsResponse - 43, // 78: gitaly.RefService.ListRefs:output_type -> gitaly.ListRefsResponse - 45, // 79: gitaly.RefService.FindRefsByOID:output_type -> gitaly.FindRefsByOIDResponse - 62, // [62:80] is the sub-list for method output_type - 44, // [44:62] is the sub-list for method input_type - 44, // [44:44] is the sub-list for extension type_name - 44, // [44:44] is the sub-list for extension extendee - 0, // [0:44] is the sub-list for field type_name -} - -func init() { file_ref_proto_init() } -func file_ref_proto_init() { - if File_ref_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_ref_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindDefaultBranchNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindDefaultBranchNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchNamesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchNamesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagNamesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagNamesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLocalBranchesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLocalBranchesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLocalBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLocalBranchCommitAuthor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindTagRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindTagResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RefExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RefExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRefsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteRefsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBranchNamesContainingCommitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListBranchNamesContainingCommitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTagNamesContainingCommitRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListTagNamesContainingCommitResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagSignaturesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagSignaturesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagMessagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagMessagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllRemoteBranchesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllRemoteBranchesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackRefsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PackRefsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRefsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRefsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRefsByOIDRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRefsByOIDResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllBranchesResponse_Branch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindAllTagsRequest_SortBy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetTagSignaturesResponse_TagSignature); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRefsRequest_SortBy); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ref_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListRefsResponse_Reference); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ref_proto_rawDesc, - NumEnums: 4, - NumMessages: 47, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_ref_proto_goTypes, - DependencyIndexes: file_ref_proto_depIdxs, - EnumInfos: file_ref_proto_enumTypes, - MessageInfos: file_ref_proto_msgTypes, - }.Build() - File_ref_proto = out.File - file_ref_proto_rawDesc = nil - file_ref_proto_goTypes = nil - file_ref_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/ref_grpc.pb.go b/proto/go/gitalypb/ref_grpc.pb.go deleted file mode 100644 index 5d9f4a540..000000000 --- a/proto/go/gitalypb/ref_grpc.pb.go +++ /dev/null @@ -1,1066 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RefServiceClient is the client API for RefService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RefServiceClient interface { - // This comment is left unintentionally blank. - FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) - // This comment is left unintentionally blank. - FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchNamesClient, error) - // This comment is left unintentionally blank. - FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (RefService_FindAllTagNamesClient, error) - // Return a stream so we can divide the response in chunks of branches - FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error) - // This comment is left unintentionally blank. - FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) - // Returns a stream of tags repository has. - FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) - // This comment is left unintentionally blank. - FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) - // This comment is left unintentionally blank. - FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) - // This comment is left unintentionally blank. - RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) - // FindBranch finds a branch by its unqualified name (like "master") and - // returns the commit it currently points to. - FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) - // This comment is left unintentionally blank. - DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) - // This comment is left unintentionally blank. - ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) - // This comment is left unintentionally blank. - ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) - // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions - // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved - // result in an error. Tags which are annotated but not signed will return a TagSignature response - // which has no signature, but its unsigned contents will still be returned. - GetTagSignatures(ctx context.Context, in *GetTagSignaturesRequest, opts ...grpc.CallOption) (RefService_GetTagSignaturesClient, error) - // This comment is left unintentionally blank. - GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) - // Deprecated: Do not use. - // PackRefs is deprecated in favor of OptimizeRepository. - PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) - // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD - // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is - // pointing at. - ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) - // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. - // It returns nothing if the object ID doesn't exist, or doesn't point to - // any branches or tags. Prefixes can be also be used as the object ID. - FindRefsByOID(ctx context.Context, in *FindRefsByOIDRequest, opts ...grpc.CallOption) (*FindRefsByOIDResponse, error) -} - -type refServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRefServiceClient(cc grpc.ClientConnInterface) RefServiceClient { - return &refServiceClient{cc} -} - -func (c *refServiceClient) FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) { - out := new(FindDefaultBranchNameResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/FindDefaultBranchName", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchNamesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[0], "/gitaly.RefService/FindAllBranchNames", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindAllBranchNamesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindAllBranchNamesClient interface { - Recv() (*FindAllBranchNamesResponse, error) - grpc.ClientStream -} - -type refServiceFindAllBranchNamesClient struct { - grpc.ClientStream -} - -func (x *refServiceFindAllBranchNamesClient) Recv() (*FindAllBranchNamesResponse, error) { - m := new(FindAllBranchNamesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (RefService_FindAllTagNamesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[1], "/gitaly.RefService/FindAllTagNames", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindAllTagNamesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindAllTagNamesClient interface { - Recv() (*FindAllTagNamesResponse, error) - grpc.ClientStream -} - -type refServiceFindAllTagNamesClient struct { - grpc.ClientStream -} - -func (x *refServiceFindAllTagNamesClient) Recv() (*FindAllTagNamesResponse, error) { - m := new(FindAllTagNamesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[2], "/gitaly.RefService/FindLocalBranches", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindLocalBranchesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindLocalBranchesClient interface { - Recv() (*FindLocalBranchesResponse, error) - grpc.ClientStream -} - -type refServiceFindLocalBranchesClient struct { - grpc.ClientStream -} - -func (x *refServiceFindLocalBranchesClient) Recv() (*FindLocalBranchesResponse, error) { - m := new(FindLocalBranchesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[3], "/gitaly.RefService/FindAllBranches", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindAllBranchesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindAllBranchesClient interface { - Recv() (*FindAllBranchesResponse, error) - grpc.ClientStream -} - -type refServiceFindAllBranchesClient struct { - grpc.ClientStream -} - -func (x *refServiceFindAllBranchesClient) Recv() (*FindAllBranchesResponse, error) { - m := new(FindAllBranchesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[4], "/gitaly.RefService/FindAllTags", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindAllTagsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindAllTagsClient interface { - Recv() (*FindAllTagsResponse, error) - grpc.ClientStream -} - -type refServiceFindAllTagsClient struct { - grpc.ClientStream -} - -func (x *refServiceFindAllTagsClient) Recv() (*FindAllTagsResponse, error) { - m := new(FindAllTagsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) { - out := new(FindTagResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/FindTag", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[5], "/gitaly.RefService/FindAllRemoteBranches", opts...) - if err != nil { - return nil, err - } - x := &refServiceFindAllRemoteBranchesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_FindAllRemoteBranchesClient interface { - Recv() (*FindAllRemoteBranchesResponse, error) - grpc.ClientStream -} - -type refServiceFindAllRemoteBranchesClient struct { - grpc.ClientStream -} - -func (x *refServiceFindAllRemoteBranchesClient) Recv() (*FindAllRemoteBranchesResponse, error) { - m := new(FindAllRemoteBranchesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) { - out := new(RefExistsResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/RefExists", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) { - out := new(FindBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/FindBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) { - out := new(DeleteRefsResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/DeleteRefs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[6], "/gitaly.RefService/ListBranchNamesContainingCommit", opts...) - if err != nil { - return nil, err - } - x := &refServiceListBranchNamesContainingCommitClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_ListBranchNamesContainingCommitClient interface { - Recv() (*ListBranchNamesContainingCommitResponse, error) - grpc.ClientStream -} - -type refServiceListBranchNamesContainingCommitClient struct { - grpc.ClientStream -} - -func (x *refServiceListBranchNamesContainingCommitClient) Recv() (*ListBranchNamesContainingCommitResponse, error) { - m := new(ListBranchNamesContainingCommitResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[7], "/gitaly.RefService/ListTagNamesContainingCommit", opts...) - if err != nil { - return nil, err - } - x := &refServiceListTagNamesContainingCommitClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_ListTagNamesContainingCommitClient interface { - Recv() (*ListTagNamesContainingCommitResponse, error) - grpc.ClientStream -} - -type refServiceListTagNamesContainingCommitClient struct { - grpc.ClientStream -} - -func (x *refServiceListTagNamesContainingCommitClient) Recv() (*ListTagNamesContainingCommitResponse, error) { - m := new(ListTagNamesContainingCommitResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) GetTagSignatures(ctx context.Context, in *GetTagSignaturesRequest, opts ...grpc.CallOption) (RefService_GetTagSignaturesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[8], "/gitaly.RefService/GetTagSignatures", opts...) - if err != nil { - return nil, err - } - x := &refServiceGetTagSignaturesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_GetTagSignaturesClient interface { - Recv() (*GetTagSignaturesResponse, error) - grpc.ClientStream -} - -type refServiceGetTagSignaturesClient struct { - grpc.ClientStream -} - -func (x *refServiceGetTagSignaturesClient) Recv() (*GetTagSignaturesResponse, error) { - m := new(GetTagSignaturesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[9], "/gitaly.RefService/GetTagMessages", opts...) - if err != nil { - return nil, err - } - x := &refServiceGetTagMessagesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_GetTagMessagesClient interface { - Recv() (*GetTagMessagesResponse, error) - grpc.ClientStream -} - -type refServiceGetTagMessagesClient struct { - grpc.ClientStream -} - -func (x *refServiceGetTagMessagesClient) Recv() (*GetTagMessagesResponse, error) { - m := new(GetTagMessagesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// Deprecated: Do not use. -func (c *refServiceClient) PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) { - out := new(PackRefsResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/PackRefs", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refServiceClient) ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) { - stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[10], "/gitaly.RefService/ListRefs", opts...) - if err != nil { - return nil, err - } - x := &refServiceListRefsClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RefService_ListRefsClient interface { - Recv() (*ListRefsResponse, error) - grpc.ClientStream -} - -type refServiceListRefsClient struct { - grpc.ClientStream -} - -func (x *refServiceListRefsClient) Recv() (*ListRefsResponse, error) { - m := new(ListRefsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *refServiceClient) FindRefsByOID(ctx context.Context, in *FindRefsByOIDRequest, opts ...grpc.CallOption) (*FindRefsByOIDResponse, error) { - out := new(FindRefsByOIDResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefService/FindRefsByOID", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RefServiceServer is the server API for RefService service. -// All implementations must embed UnimplementedRefServiceServer -// for forward compatibility -type RefServiceServer interface { - // This comment is left unintentionally blank. - FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) - // This comment is left unintentionally blank. - FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error - // This comment is left unintentionally blank. - FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error - // Return a stream so we can divide the response in chunks of branches - FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error - // This comment is left unintentionally blank. - FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error - // Returns a stream of tags repository has. - FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error - // This comment is left unintentionally blank. - FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) - // This comment is left unintentionally blank. - FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error - // This comment is left unintentionally blank. - RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) - // FindBranch finds a branch by its unqualified name (like "master") and - // returns the commit it currently points to. - FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) - // This comment is left unintentionally blank. - DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) - // This comment is left unintentionally blank. - ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error - // This comment is left unintentionally blank. - ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error - // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions - // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved - // result in an error. Tags which are annotated but not signed will return a TagSignature response - // which has no signature, but its unsigned contents will still be returned. - GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error - // This comment is left unintentionally blank. - GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error - // Deprecated: Do not use. - // PackRefs is deprecated in favor of OptimizeRepository. - PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) - // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD - // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is - // pointing at. - ListRefs(*ListRefsRequest, RefService_ListRefsServer) error - // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. - // It returns nothing if the object ID doesn't exist, or doesn't point to - // any branches or tags. Prefixes can be also be used as the object ID. - FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error) - mustEmbedUnimplementedRefServiceServer() -} - -// UnimplementedRefServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRefServiceServer struct { -} - -func (UnimplementedRefServiceServer) FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindDefaultBranchName not implemented") -} -func (UnimplementedRefServiceServer) FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllBranchNames not implemented") -} -func (UnimplementedRefServiceServer) FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllTagNames not implemented") -} -func (UnimplementedRefServiceServer) FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error { - return status.Errorf(codes.Unimplemented, "method FindLocalBranches not implemented") -} -func (UnimplementedRefServiceServer) FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllBranches not implemented") -} -func (UnimplementedRefServiceServer) FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllTags not implemented") -} -func (UnimplementedRefServiceServer) FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindTag not implemented") -} -func (UnimplementedRefServiceServer) FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error { - return status.Errorf(codes.Unimplemented, "method FindAllRemoteBranches not implemented") -} -func (UnimplementedRefServiceServer) RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RefExists not implemented") -} -func (UnimplementedRefServiceServer) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindBranch not implemented") -} -func (UnimplementedRefServiceServer) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DeleteRefs not implemented") -} -func (UnimplementedRefServiceServer) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error { - return status.Errorf(codes.Unimplemented, "method ListBranchNamesContainingCommit not implemented") -} -func (UnimplementedRefServiceServer) ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error { - return status.Errorf(codes.Unimplemented, "method ListTagNamesContainingCommit not implemented") -} -func (UnimplementedRefServiceServer) GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error { - return status.Errorf(codes.Unimplemented, "method GetTagSignatures not implemented") -} -func (UnimplementedRefServiceServer) GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error { - return status.Errorf(codes.Unimplemented, "method GetTagMessages not implemented") -} -func (UnimplementedRefServiceServer) PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PackRefs not implemented") -} -func (UnimplementedRefServiceServer) ListRefs(*ListRefsRequest, RefService_ListRefsServer) error { - return status.Errorf(codes.Unimplemented, "method ListRefs not implemented") -} -func (UnimplementedRefServiceServer) FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindRefsByOID not implemented") -} -func (UnimplementedRefServiceServer) mustEmbedUnimplementedRefServiceServer() {} - -// UnsafeRefServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RefServiceServer will -// result in compilation errors. -type UnsafeRefServiceServer interface { - mustEmbedUnimplementedRefServiceServer() -} - -func RegisterRefServiceServer(s grpc.ServiceRegistrar, srv RefServiceServer) { - s.RegisterService(&RefService_ServiceDesc, srv) -} - -func _RefService_FindDefaultBranchName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindDefaultBranchNameRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).FindDefaultBranchName(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/FindDefaultBranchName", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).FindDefaultBranchName(ctx, req.(*FindDefaultBranchNameRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_FindAllBranchNames_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllBranchNamesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindAllBranchNames(m, &refServiceFindAllBranchNamesServer{stream}) -} - -type RefService_FindAllBranchNamesServer interface { - Send(*FindAllBranchNamesResponse) error - grpc.ServerStream -} - -type refServiceFindAllBranchNamesServer struct { - grpc.ServerStream -} - -func (x *refServiceFindAllBranchNamesServer) Send(m *FindAllBranchNamesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindAllTagNames_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllTagNamesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindAllTagNames(m, &refServiceFindAllTagNamesServer{stream}) -} - -type RefService_FindAllTagNamesServer interface { - Send(*FindAllTagNamesResponse) error - grpc.ServerStream -} - -type refServiceFindAllTagNamesServer struct { - grpc.ServerStream -} - -func (x *refServiceFindAllTagNamesServer) Send(m *FindAllTagNamesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindLocalBranches_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindLocalBranchesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindLocalBranches(m, &refServiceFindLocalBranchesServer{stream}) -} - -type RefService_FindLocalBranchesServer interface { - Send(*FindLocalBranchesResponse) error - grpc.ServerStream -} - -type refServiceFindLocalBranchesServer struct { - grpc.ServerStream -} - -func (x *refServiceFindLocalBranchesServer) Send(m *FindLocalBranchesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindAllBranches_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllBranchesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindAllBranches(m, &refServiceFindAllBranchesServer{stream}) -} - -type RefService_FindAllBranchesServer interface { - Send(*FindAllBranchesResponse) error - grpc.ServerStream -} - -type refServiceFindAllBranchesServer struct { - grpc.ServerStream -} - -func (x *refServiceFindAllBranchesServer) Send(m *FindAllBranchesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindAllTags_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllTagsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindAllTags(m, &refServiceFindAllTagsServer{stream}) -} - -type RefService_FindAllTagsServer interface { - Send(*FindAllTagsResponse) error - grpc.ServerStream -} - -type refServiceFindAllTagsServer struct { - grpc.ServerStream -} - -func (x *refServiceFindAllTagsServer) Send(m *FindAllTagsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindTagRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).FindTag(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/FindTag", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).FindTag(ctx, req.(*FindTagRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_FindAllRemoteBranches_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(FindAllRemoteBranchesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).FindAllRemoteBranches(m, &refServiceFindAllRemoteBranchesServer{stream}) -} - -type RefService_FindAllRemoteBranchesServer interface { - Send(*FindAllRemoteBranchesResponse) error - grpc.ServerStream -} - -type refServiceFindAllRemoteBranchesServer struct { - grpc.ServerStream -} - -func (x *refServiceFindAllRemoteBranchesServer) Send(m *FindAllRemoteBranchesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_RefExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RefExistsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).RefExists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/RefExists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).RefExists(ctx, req.(*RefExistsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).FindBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/FindBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).FindBranch(ctx, req.(*FindBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_DeleteRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DeleteRefsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).DeleteRefs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/DeleteRefs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).DeleteRefs(ctx, req.(*DeleteRefsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_ListBranchNamesContainingCommit_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListBranchNamesContainingCommitRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).ListBranchNamesContainingCommit(m, &refServiceListBranchNamesContainingCommitServer{stream}) -} - -type RefService_ListBranchNamesContainingCommitServer interface { - Send(*ListBranchNamesContainingCommitResponse) error - grpc.ServerStream -} - -type refServiceListBranchNamesContainingCommitServer struct { - grpc.ServerStream -} - -func (x *refServiceListBranchNamesContainingCommitServer) Send(m *ListBranchNamesContainingCommitResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_ListTagNamesContainingCommit_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListTagNamesContainingCommitRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).ListTagNamesContainingCommit(m, &refServiceListTagNamesContainingCommitServer{stream}) -} - -type RefService_ListTagNamesContainingCommitServer interface { - Send(*ListTagNamesContainingCommitResponse) error - grpc.ServerStream -} - -type refServiceListTagNamesContainingCommitServer struct { - grpc.ServerStream -} - -func (x *refServiceListTagNamesContainingCommitServer) Send(m *ListTagNamesContainingCommitResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_GetTagSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetTagSignaturesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).GetTagSignatures(m, &refServiceGetTagSignaturesServer{stream}) -} - -type RefService_GetTagSignaturesServer interface { - Send(*GetTagSignaturesResponse) error - grpc.ServerStream -} - -type refServiceGetTagSignaturesServer struct { - grpc.ServerStream -} - -func (x *refServiceGetTagSignaturesServer) Send(m *GetTagSignaturesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_GetTagMessages_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetTagMessagesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).GetTagMessages(m, &refServiceGetTagMessagesServer{stream}) -} - -type RefService_GetTagMessagesServer interface { - Send(*GetTagMessagesResponse) error - grpc.ServerStream -} - -type refServiceGetTagMessagesServer struct { - grpc.ServerStream -} - -func (x *refServiceGetTagMessagesServer) Send(m *GetTagMessagesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_PackRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PackRefsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).PackRefs(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/PackRefs", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).PackRefs(ctx, req.(*PackRefsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefService_ListRefs_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ListRefsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RefServiceServer).ListRefs(m, &refServiceListRefsServer{stream}) -} - -type RefService_ListRefsServer interface { - Send(*ListRefsResponse) error - grpc.ServerStream -} - -type refServiceListRefsServer struct { - grpc.ServerStream -} - -func (x *refServiceListRefsServer) Send(m *ListRefsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RefService_FindRefsByOID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindRefsByOIDRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefServiceServer).FindRefsByOID(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefService/FindRefsByOID", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefServiceServer).FindRefsByOID(ctx, req.(*FindRefsByOIDRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RefService_ServiceDesc is the grpc.ServiceDesc for RefService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RefService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.RefService", - HandlerType: (*RefServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "FindDefaultBranchName", - Handler: _RefService_FindDefaultBranchName_Handler, - }, - { - MethodName: "FindTag", - Handler: _RefService_FindTag_Handler, - }, - { - MethodName: "RefExists", - Handler: _RefService_RefExists_Handler, - }, - { - MethodName: "FindBranch", - Handler: _RefService_FindBranch_Handler, - }, - { - MethodName: "DeleteRefs", - Handler: _RefService_DeleteRefs_Handler, - }, - { - MethodName: "PackRefs", - Handler: _RefService_PackRefs_Handler, - }, - { - MethodName: "FindRefsByOID", - Handler: _RefService_FindRefsByOID_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "FindAllBranchNames", - Handler: _RefService_FindAllBranchNames_Handler, - ServerStreams: true, - }, - { - StreamName: "FindAllTagNames", - Handler: _RefService_FindAllTagNames_Handler, - ServerStreams: true, - }, - { - StreamName: "FindLocalBranches", - Handler: _RefService_FindLocalBranches_Handler, - ServerStreams: true, - }, - { - StreamName: "FindAllBranches", - Handler: _RefService_FindAllBranches_Handler, - ServerStreams: true, - }, - { - StreamName: "FindAllTags", - Handler: _RefService_FindAllTags_Handler, - ServerStreams: true, - }, - { - StreamName: "FindAllRemoteBranches", - Handler: _RefService_FindAllRemoteBranches_Handler, - ServerStreams: true, - }, - { - StreamName: "ListBranchNamesContainingCommit", - Handler: _RefService_ListBranchNamesContainingCommit_Handler, - ServerStreams: true, - }, - { - StreamName: "ListTagNamesContainingCommit", - Handler: _RefService_ListTagNamesContainingCommit_Handler, - ServerStreams: true, - }, - { - StreamName: "GetTagSignatures", - Handler: _RefService_GetTagSignatures_Handler, - ServerStreams: true, - }, - { - StreamName: "GetTagMessages", - Handler: _RefService_GetTagMessages_Handler, - ServerStreams: true, - }, - { - StreamName: "ListRefs", - Handler: _RefService_ListRefs_Handler, - ServerStreams: true, - }, - }, - Metadata: "ref.proto", -} diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go deleted file mode 100644 index 7122ffe1c..000000000 --- a/proto/go/gitalypb/remote.pb.go +++ /dev/null @@ -1,730 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: remote.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type UpdateRemoteMirrorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository whose mirror repository to update. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Remote contains parameters required to connect to the remote repository. - // This allows Gitaly to use an in-memory remote and does not require any - // on-disk remote configuration. - Remote *UpdateRemoteMirrorRequest_Remote `protobuf:"bytes,7,opt,name=remote,proto3" json:"remote,omitempty"` - // OnlyBranchesMatching contains patterns to match branches against. Only the - // matched brances are updated in the remote mirror. If no patterns are - // specified, all branches are updated. The patterns should only contain the - // branch name without the 'refs/heads/' prefix. "*" can be used as a - // wildcard to match anything. only_branches_matching can be streamed to the - // server over multiple messages. Optional. - OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED - // SshKey is the SSH key to use for accessing to the mirror repository. - // Optional. - SshKey string `protobuf:"bytes,4,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` - // KnownHosts specifies the identities used for strict host key checking. - // Optional. - KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` - // KeepDivergentRefs specifies whether or not to update diverged references - // in the mirror repository. - KeepDivergentRefs bool `protobuf:"varint,6,opt,name=keep_divergent_refs,json=keepDivergentRefs,proto3" json:"keep_divergent_refs,omitempty"` -} - -func (x *UpdateRemoteMirrorRequest) Reset() { - *x = UpdateRemoteMirrorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRemoteMirrorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRemoteMirrorRequest) ProtoMessage() {} - -func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRemoteMirrorRequest.ProtoReflect.Descriptor instead. -func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{0} -} - -func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote { - if x != nil { - return x.Remote - } - return nil -} - -func (x *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte { - if x != nil { - return x.OnlyBranchesMatching - } - return nil -} - -func (x *UpdateRemoteMirrorRequest) GetSshKey() string { - if x != nil { - return x.SshKey - } - return "" -} - -func (x *UpdateRemoteMirrorRequest) GetKnownHosts() string { - if x != nil { - return x.KnownHosts - } - return "" -} - -func (x *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool { - if x != nil { - return x.KeepDivergentRefs - } - return false -} - -// This comment is left unintentionally blank. -type UpdateRemoteMirrorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // DivergentRefs contains a list of references that had diverged in the - // mirror from the source repository. - DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"` -} - -func (x *UpdateRemoteMirrorResponse) Reset() { - *x = UpdateRemoteMirrorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRemoteMirrorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRemoteMirrorResponse) ProtoMessage() {} - -func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead. -func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{1} -} - -func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte { - if x != nil { - return x.DivergentRefs - } - return nil -} - -// This comment is left unintentionally blank. -type FindRemoteRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` - // This field is used to redirect request to proper storage where it can be handled. - // As of now it doesn't matter what storage will be used, but it still must be a valid. - // For more details: https://gitlab.com/gitlab-org/gitaly/-/issues/2442 - StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` -} - -func (x *FindRemoteRepositoryRequest) Reset() { - *x = FindRemoteRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRemoteRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRemoteRepositoryRequest) ProtoMessage() {} - -func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRemoteRepositoryRequest.ProtoReflect.Descriptor instead. -func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{2} -} - -func (x *FindRemoteRepositoryRequest) GetRemote() string { - if x != nil { - return x.Remote - } - return "" -} - -func (x *FindRemoteRepositoryRequest) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -// This migth throw a GRPC Unavailable code, to signal the request failure -// is transient. -type FindRemoteRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` -} - -func (x *FindRemoteRepositoryResponse) Reset() { - *x = FindRemoteRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRemoteRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRemoteRepositoryResponse) ProtoMessage() {} - -func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRemoteRepositoryResponse.ProtoReflect.Descriptor instead. -func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{3} -} - -func (x *FindRemoteRepositoryResponse) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -// FindRemoteRootRefRequest represents a request for the FindRemoteRootRef RPC. -type FindRemoteRootRefRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository in which the request shall be executed in. If - // a remote name is given, then this is the repository in which the remote - // will be looked up. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // RemoteUrl specifies the remote repository URL which should be fetched from. - RemoteUrl string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"` - // HttpAuthorizationHeader is the HTTP header which should be added to the - // request in order to authenticate against the repository. - HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` - // HttpHost is the hostname of the remote repository. Use this when the - // URL hostname has already been resolved to an IP address to prevent DNS - // rebinding. - HttpHost string `protobuf:"bytes,5,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` -} - -func (x *FindRemoteRootRefRequest) Reset() { - *x = FindRemoteRootRefRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRemoteRootRefRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRemoteRootRefRequest) ProtoMessage() {} - -func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRemoteRootRefRequest.ProtoReflect.Descriptor instead. -func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{4} -} - -func (x *FindRemoteRootRefRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindRemoteRootRefRequest) GetRemoteUrl() string { - if x != nil { - return x.RemoteUrl - } - return "" -} - -func (x *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string { - if x != nil { - return x.HttpAuthorizationHeader - } - return "" -} - -func (x *FindRemoteRootRefRequest) GetHttpHost() string { - if x != nil { - return x.HttpHost - } - return "" -} - -// FindRemoteRootRefResponse represents the response for the FindRemoteRootRef -// request. -type FindRemoteRootRefResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Ref is the name of the remote root reference. - Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` -} - -func (x *FindRemoteRootRefResponse) Reset() { - *x = FindRemoteRootRefResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindRemoteRootRefResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindRemoteRootRefResponse) ProtoMessage() {} - -func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead. -func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{5} -} - -func (x *FindRemoteRootRefResponse) GetRef() string { - if x != nil { - return x.Ref - } - return "" -} - -// This comment is left unintentionally blank. -type UpdateRemoteMirrorRequest_Remote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // URL is the URL of the remote repository. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // HTTPAuthorizationHeader is an optional HTTP header used for - // authenticating against the remote repository. - HttpAuthorizationHeader string `protobuf:"bytes,2,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` - // HttpHost is the hostname of the remote repository. Use this when the - // URL hostname has already been resolved to an IP address to prevent DNS - // rebinding. - HttpHost string `protobuf:"bytes,3,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` -} - -func (x *UpdateRemoteMirrorRequest_Remote) Reset() { - *x = UpdateRemoteMirrorRequest_Remote{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UpdateRemoteMirrorRequest_Remote) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage() {} - -func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use UpdateRemoteMirrorRequest_Remote.ProtoReflect.Descriptor instead. -func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{0, 0} -} - -func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string { - if x != nil { - return x.HttpAuthorizationHeader - } - return "" -} - -func (x *UpdateRemoteMirrorRequest_Remote) GetHttpHost() string { - if x != nil { - return x.HttpHost - } - return "" -} - -var File_remote_proto protoreflect.FileDescriptor - -var file_remote_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xbc, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, - 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x6e, - 0x6c, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, - 0x68, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x14, 0x6f, 0x6e, 0x6c, 0x79, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, - 0x12, 0x17, 0x0a, 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x06, 0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, - 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6b, 0x65, - 0x65, 0x70, 0x5f, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, - 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x69, 0x76, - 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x73, 0x1a, 0x73, 0x0a, 0x06, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, - 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, - 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, - 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x43, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, - 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, - 0x0e, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x66, 0x73, 0x22, 0x5e, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0c, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xda, 0x01, 0x0a, - 0x18, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, - 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, - 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, - 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, - 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x02, 0x10, - 0x03, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x22, 0x2d, 0x0a, 0x19, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x32, 0xc5, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, - 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, - 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x02, 0x10, 0x02, 0x12, 0x60, - 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, - 0x52, 0x65, 0x66, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, - 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, - 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_remote_proto_rawDescOnce sync.Once - file_remote_proto_rawDescData = file_remote_proto_rawDesc -) - -func file_remote_proto_rawDescGZIP() []byte { - file_remote_proto_rawDescOnce.Do(func() { - file_remote_proto_rawDescData = protoimpl.X.CompressGZIP(file_remote_proto_rawDescData) - }) - return file_remote_proto_rawDescData -} - -var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_remote_proto_goTypes = []interface{}{ - (*UpdateRemoteMirrorRequest)(nil), // 0: gitaly.UpdateRemoteMirrorRequest - (*UpdateRemoteMirrorResponse)(nil), // 1: gitaly.UpdateRemoteMirrorResponse - (*FindRemoteRepositoryRequest)(nil), // 2: gitaly.FindRemoteRepositoryRequest - (*FindRemoteRepositoryResponse)(nil), // 3: gitaly.FindRemoteRepositoryResponse - (*FindRemoteRootRefRequest)(nil), // 4: gitaly.FindRemoteRootRefRequest - (*FindRemoteRootRefResponse)(nil), // 5: gitaly.FindRemoteRootRefResponse - (*UpdateRemoteMirrorRequest_Remote)(nil), // 6: gitaly.UpdateRemoteMirrorRequest.Remote - (*Repository)(nil), // 7: gitaly.Repository -} -var file_remote_proto_depIdxs = []int32{ - 7, // 0: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository - 6, // 1: gitaly.UpdateRemoteMirrorRequest.remote:type_name -> gitaly.UpdateRemoteMirrorRequest.Remote - 7, // 2: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository - 0, // 3: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest - 2, // 4: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest - 4, // 5: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest - 1, // 6: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse - 3, // 7: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse - 5, // 8: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse - 6, // [6:9] is the sub-list for method output_type - 3, // [3:6] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_remote_proto_init() } -func file_remote_proto_init() { - if File_remote_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_remote_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRemoteMirrorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRemoteMirrorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRemoteRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRemoteRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRemoteRootRefRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindRemoteRootRefResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UpdateRemoteMirrorRequest_Remote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_remote_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_remote_proto_goTypes, - DependencyIndexes: file_remote_proto_depIdxs, - MessageInfos: file_remote_proto_msgTypes, - }.Build() - File_remote_proto = out.File - file_remote_proto_rawDesc = nil - file_remote_proto_goTypes = nil - file_remote_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/remote_grpc.pb.go b/proto/go/gitalypb/remote_grpc.pb.go deleted file mode 100644 index 0c8591cdf..000000000 --- a/proto/go/gitalypb/remote_grpc.pb.go +++ /dev/null @@ -1,230 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RemoteServiceClient is the client API for RemoteService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RemoteServiceClient interface { - // UpdateRemoteMirror compares the references in the target repository and its remote mirror - // repository. Any differences in the references are then addressed by pushing the differing - // references to the mirror. Created and modified references are updated, removed references are - // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match - // the patterns specified in the requests. - UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) - // This comment is left unintentionally blank. - FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) - // FindRemoteRootRef tries to find the root reference of a remote - // repository. The root reference is the default branch as pointed to by - // the remotes HEAD reference. Returns an InvalidArgument error if the - // specified remote does not exist and a NotFound error in case no HEAD - // branch was found. - FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) -} - -type remoteServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRemoteServiceClient(cc grpc.ClientConnInterface) RemoteServiceClient { - return &remoteServiceClient{cc} -} - -func (c *remoteServiceClient) UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) { - stream, err := c.cc.NewStream(ctx, &RemoteService_ServiceDesc.Streams[0], "/gitaly.RemoteService/UpdateRemoteMirror", opts...) - if err != nil { - return nil, err - } - x := &remoteServiceUpdateRemoteMirrorClient{stream} - return x, nil -} - -type RemoteService_UpdateRemoteMirrorClient interface { - Send(*UpdateRemoteMirrorRequest) error - CloseAndRecv() (*UpdateRemoteMirrorResponse, error) - grpc.ClientStream -} - -type remoteServiceUpdateRemoteMirrorClient struct { - grpc.ClientStream -} - -func (x *remoteServiceUpdateRemoteMirrorClient) Send(m *UpdateRemoteMirrorRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *remoteServiceUpdateRemoteMirrorClient) CloseAndRecv() (*UpdateRemoteMirrorResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(UpdateRemoteMirrorResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *remoteServiceClient) FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) { - out := new(FindRemoteRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) { - out := new(FindRemoteRootRefResponse) - err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRootRef", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RemoteServiceServer is the server API for RemoteService service. -// All implementations must embed UnimplementedRemoteServiceServer -// for forward compatibility -type RemoteServiceServer interface { - // UpdateRemoteMirror compares the references in the target repository and its remote mirror - // repository. Any differences in the references are then addressed by pushing the differing - // references to the mirror. Created and modified references are updated, removed references are - // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match - // the patterns specified in the requests. - UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error - // This comment is left unintentionally blank. - FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) - // FindRemoteRootRef tries to find the root reference of a remote - // repository. The root reference is the default branch as pointed to by - // the remotes HEAD reference. Returns an InvalidArgument error if the - // specified remote does not exist and a NotFound error in case no HEAD - // branch was found. - FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) - mustEmbedUnimplementedRemoteServiceServer() -} - -// UnimplementedRemoteServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRemoteServiceServer struct { -} - -func (UnimplementedRemoteServiceServer) UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error { - return status.Errorf(codes.Unimplemented, "method UpdateRemoteMirror not implemented") -} -func (UnimplementedRemoteServiceServer) FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRepository not implemented") -} -func (UnimplementedRemoteServiceServer) FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented") -} -func (UnimplementedRemoteServiceServer) mustEmbedUnimplementedRemoteServiceServer() {} - -// UnsafeRemoteServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RemoteServiceServer will -// result in compilation errors. -type UnsafeRemoteServiceServer interface { - mustEmbedUnimplementedRemoteServiceServer() -} - -func RegisterRemoteServiceServer(s grpc.ServiceRegistrar, srv RemoteServiceServer) { - s.RegisterService(&RemoteService_ServiceDesc, srv) -} - -func _RemoteService_UpdateRemoteMirror_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RemoteServiceServer).UpdateRemoteMirror(&remoteServiceUpdateRemoteMirrorServer{stream}) -} - -type RemoteService_UpdateRemoteMirrorServer interface { - SendAndClose(*UpdateRemoteMirrorResponse) error - Recv() (*UpdateRemoteMirrorRequest, error) - grpc.ServerStream -} - -type remoteServiceUpdateRemoteMirrorServer struct { - grpc.ServerStream -} - -func (x *remoteServiceUpdateRemoteMirrorServer) SendAndClose(m *UpdateRemoteMirrorResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *remoteServiceUpdateRemoteMirrorServer) Recv() (*UpdateRemoteMirrorRequest, error) { - m := new(UpdateRemoteMirrorRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RemoteService_FindRemoteRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindRemoteRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemoteServiceServer).FindRemoteRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RemoteService/FindRemoteRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemoteServiceServer).FindRemoteRepository(ctx, req.(*FindRemoteRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RemoteService_FindRemoteRootRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindRemoteRootRefRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RemoteService/FindRemoteRootRef", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, req.(*FindRemoteRootRefRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RemoteService_ServiceDesc is the grpc.ServiceDesc for RemoteService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RemoteService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.RemoteService", - HandlerType: (*RemoteServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "FindRemoteRepository", - Handler: _RemoteService_FindRemoteRepository_Handler, - }, - { - MethodName: "FindRemoteRootRef", - Handler: _RemoteService_FindRemoteRootRef_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "UpdateRemoteMirror", - Handler: _RemoteService_UpdateRemoteMirror_Handler, - ClientStreams: true, - }, - }, - Metadata: "remote.proto", -} diff --git a/proto/go/gitalypb/repository.pb.go b/proto/go/gitalypb/repository.pb.go deleted file mode 100644 index 90f8a7e6f..000000000 --- a/proto/go/gitalypb/repository.pb.go +++ /dev/null @@ -1,6753 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: repository.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type WriteCommitGraphRequest_SplitStrategy int32 - -const ( - // SizeMultiple requires to use '--split --size-multiple=4' strategy to create/update commit graph. - // https://git-scm.com/docs/git-commit-graph#Documentation/git-commit-graph.txt-emwriteem - // It is a default, there is no need to explicitly set it in the request. - WriteCommitGraphRequest_SizeMultiple WriteCommitGraphRequest_SplitStrategy = 0 // protolint:disable:this ENUM_FIELD_NAMES_UPPER_SNAKE_CASE -) - -// Enum value maps for WriteCommitGraphRequest_SplitStrategy. -var ( - WriteCommitGraphRequest_SplitStrategy_name = map[int32]string{ - 0: "SizeMultiple", - } - WriteCommitGraphRequest_SplitStrategy_value = map[string]int32{ - "SizeMultiple": 0, - } -) - -func (x WriteCommitGraphRequest_SplitStrategy) Enum() *WriteCommitGraphRequest_SplitStrategy { - p := new(WriteCommitGraphRequest_SplitStrategy) - *p = x - return p -} - -func (x WriteCommitGraphRequest_SplitStrategy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WriteCommitGraphRequest_SplitStrategy) Descriptor() protoreflect.EnumDescriptor { - return file_repository_proto_enumTypes[0].Descriptor() -} - -func (WriteCommitGraphRequest_SplitStrategy) Type() protoreflect.EnumType { - return &file_repository_proto_enumTypes[0] -} - -func (x WriteCommitGraphRequest_SplitStrategy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WriteCommitGraphRequest_SplitStrategy.Descriptor instead. -func (WriteCommitGraphRequest_SplitStrategy) EnumDescriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{10, 0} -} - -// This comment is left unintentionally blank. -type GetArchiveRequest_Format int32 - -const ( - // This comment is left unintentionally blank. - GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 - // This comment is left unintentionally blank. - GetArchiveRequest_TAR GetArchiveRequest_Format = 1 - // This comment is left unintentionally blank. - GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 - // This comment is left unintentionally blank. - GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 -) - -// Enum value maps for GetArchiveRequest_Format. -var ( - GetArchiveRequest_Format_name = map[int32]string{ - 0: "ZIP", - 1: "TAR", - 2: "TAR_GZ", - 3: "TAR_BZ2", - } - GetArchiveRequest_Format_value = map[string]int32{ - "ZIP": 0, - "TAR": 1, - "TAR_GZ": 2, - "TAR_BZ2": 3, - } -) - -func (x GetArchiveRequest_Format) Enum() *GetArchiveRequest_Format { - p := new(GetArchiveRequest_Format) - *p = x - return p -} - -func (x GetArchiveRequest_Format) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GetArchiveRequest_Format) Descriptor() protoreflect.EnumDescriptor { - return file_repository_proto_enumTypes[1].Descriptor() -} - -func (GetArchiveRequest_Format) Type() protoreflect.EnumType { - return &file_repository_proto_enumTypes[1] -} - -func (x GetArchiveRequest_Format) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GetArchiveRequest_Format.Descriptor instead. -func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{24, 0} -} - -// This comment is left unintentionally blank. -type GetRawChangesResponse_RawChange_Operation int32 - -const ( - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 - // This comment is left unintentionally blank. - GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 -) - -// Enum value maps for GetRawChangesResponse_RawChange_Operation. -var ( - GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ADDED", - 2: "COPIED", - 3: "DELETED", - 4: "MODIFIED", - 5: "RENAMED", - 6: "TYPE_CHANGED", - } - GetRawChangesResponse_RawChange_Operation_value = map[string]int32{ - "UNKNOWN": 0, - "ADDED": 1, - "COPIED": 2, - "DELETED": 3, - "MODIFIED": 4, - "RENAMED": 5, - "TYPE_CHANGED": 6, - } -) - -func (x GetRawChangesResponse_RawChange_Operation) Enum() *GetRawChangesResponse_RawChange_Operation { - p := new(GetRawChangesResponse_RawChange_Operation) - *p = x - return p -} - -func (x GetRawChangesResponse_RawChange_Operation) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (GetRawChangesResponse_RawChange_Operation) Descriptor() protoreflect.EnumDescriptor { - return file_repository_proto_enumTypes[2].Descriptor() -} - -func (GetRawChangesResponse_RawChange_Operation) Type() protoreflect.EnumType { - return &file_repository_proto_enumTypes[2] -} - -func (x GetRawChangesResponse_RawChange_Operation) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use GetRawChangesResponse_RawChange_Operation.Descriptor instead. -func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{63, 0, 0} -} - -// This comment is left unintentionally blank. -type RepositoryExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *RepositoryExistsRequest) Reset() { - *x = RepositoryExistsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositoryExistsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryExistsRequest) ProtoMessage() {} - -func (x *RepositoryExistsRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositoryExistsRequest.ProtoReflect.Descriptor instead. -func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{0} -} - -func (x *RepositoryExistsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type RepositoryExistsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` -} - -func (x *RepositoryExistsResponse) Reset() { - *x = RepositoryExistsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositoryExistsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositoryExistsResponse) ProtoMessage() {} - -func (x *RepositoryExistsResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositoryExistsResponse.ProtoReflect.Descriptor instead. -func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{1} -} - -func (x *RepositoryExistsResponse) GetExists() bool { - if x != nil { - return x.Exists - } - return false -} - -// This comment is left unintentionally blank. -type RepackIncrementalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *RepackIncrementalRequest) Reset() { - *x = RepackIncrementalRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepackIncrementalRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepackIncrementalRequest) ProtoMessage() {} - -func (x *RepackIncrementalRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepackIncrementalRequest.ProtoReflect.Descriptor instead. -func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{2} -} - -func (x *RepackIncrementalRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type RepackIncrementalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RepackIncrementalResponse) Reset() { - *x = RepackIncrementalResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepackIncrementalResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepackIncrementalResponse) ProtoMessage() {} - -func (x *RepackIncrementalResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepackIncrementalResponse.ProtoReflect.Descriptor instead. -func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{3} -} - -// This comment is left unintentionally blank. -type RepackFullRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` -} - -func (x *RepackFullRequest) Reset() { - *x = RepackFullRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepackFullRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepackFullRequest) ProtoMessage() {} - -func (x *RepackFullRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepackFullRequest.ProtoReflect.Descriptor instead. -func (*RepackFullRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{4} -} - -func (x *RepackFullRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RepackFullRequest) GetCreateBitmap() bool { - if x != nil { - return x.CreateBitmap - } - return false -} - -// This comment is left unintentionally blank. -type RepackFullResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RepackFullResponse) Reset() { - *x = RepackFullResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepackFullResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepackFullResponse) ProtoMessage() {} - -func (x *RepackFullResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepackFullResponse.ProtoReflect.Descriptor instead. -func (*RepackFullResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{5} -} - -// This comment is left unintentionally blank. -type MidxRepackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *MidxRepackRequest) Reset() { - *x = MidxRepackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MidxRepackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MidxRepackRequest) ProtoMessage() {} - -func (x *MidxRepackRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MidxRepackRequest.ProtoReflect.Descriptor instead. -func (*MidxRepackRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{6} -} - -func (x *MidxRepackRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type MidxRepackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *MidxRepackResponse) Reset() { - *x = MidxRepackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MidxRepackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MidxRepackResponse) ProtoMessage() {} - -func (x *MidxRepackResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MidxRepackResponse.ProtoReflect.Descriptor instead. -func (*MidxRepackResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{7} -} - -// This comment is left unintentionally blank. -type GarbageCollectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` - // If set to 'true' the 'gc' will be triggered with '--prune=30.minutes.ago' flag. - // This will remove dangling objects from the object storage that were not modified in the last 30 minutes. - // If 'false' provided the 'gc' will rely on the default expiration period (2 weeks). - // The window of 30 minutes exists because of possible concurrent operations running on the same - // storage and removal of the objects may cause races and fail concurrent operations. - Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` -} - -func (x *GarbageCollectRequest) Reset() { - *x = GarbageCollectRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GarbageCollectRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GarbageCollectRequest) ProtoMessage() {} - -func (x *GarbageCollectRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GarbageCollectRequest.ProtoReflect.Descriptor instead. -func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{8} -} - -func (x *GarbageCollectRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GarbageCollectRequest) GetCreateBitmap() bool { - if x != nil { - return x.CreateBitmap - } - return false -} - -func (x *GarbageCollectRequest) GetPrune() bool { - if x != nil { - return x.Prune - } - return false -} - -// This comment is left unintentionally blank. -type GarbageCollectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GarbageCollectResponse) Reset() { - *x = GarbageCollectResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GarbageCollectResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GarbageCollectResponse) ProtoMessage() {} - -func (x *GarbageCollectResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GarbageCollectResponse.ProtoReflect.Descriptor instead. -func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{9} -} - -// This comment is left unintentionally blank. -type WriteCommitGraphRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // SplitStrategy is a strategy used to create/update commit graph. - SplitStrategy WriteCommitGraphRequest_SplitStrategy `protobuf:"varint,2,opt,name=splitStrategy,proto3,enum=gitaly.WriteCommitGraphRequest_SplitStrategy" json:"splitStrategy,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE -} - -func (x *WriteCommitGraphRequest) Reset() { - *x = WriteCommitGraphRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WriteCommitGraphRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteCommitGraphRequest) ProtoMessage() {} - -func (x *WriteCommitGraphRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteCommitGraphRequest.ProtoReflect.Descriptor instead. -func (*WriteCommitGraphRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{10} -} - -func (x *WriteCommitGraphRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WriteCommitGraphRequest) GetSplitStrategy() WriteCommitGraphRequest_SplitStrategy { - if x != nil { - return x.SplitStrategy - } - return WriteCommitGraphRequest_SizeMultiple -} - -// This comment is left unintentionally blank. -type WriteCommitGraphResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *WriteCommitGraphResponse) Reset() { - *x = WriteCommitGraphResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WriteCommitGraphResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteCommitGraphResponse) ProtoMessage() {} - -func (x *WriteCommitGraphResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteCommitGraphResponse.ProtoReflect.Descriptor instead. -func (*WriteCommitGraphResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{11} -} - -// This comment is left unintentionally blank. -type CleanupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *CleanupRequest) Reset() { - *x = CleanupRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CleanupRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CleanupRequest) ProtoMessage() {} - -func (x *CleanupRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead. -func (*CleanupRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{12} -} - -func (x *CleanupRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type CleanupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CleanupResponse) Reset() { - *x = CleanupResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CleanupResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CleanupResponse) ProtoMessage() {} - -func (x *CleanupResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead. -func (*CleanupResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{13} -} - -// This comment is left unintentionally blank. -type RepositorySizeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *RepositorySizeRequest) Reset() { - *x = RepositorySizeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositorySizeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositorySizeRequest) ProtoMessage() {} - -func (x *RepositorySizeRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositorySizeRequest.ProtoReflect.Descriptor instead. -func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{14} -} - -func (x *RepositorySizeRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type RepositorySizeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository size in kilobytes - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` -} - -func (x *RepositorySizeResponse) Reset() { - *x = RepositorySizeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RepositorySizeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RepositorySizeResponse) ProtoMessage() {} - -func (x *RepositorySizeResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[15] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RepositorySizeResponse.ProtoReflect.Descriptor instead. -func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{15} -} - -func (x *RepositorySizeResponse) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -// This comment is left unintentionally blank. -type ApplyGitattributesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` -} - -func (x *ApplyGitattributesRequest) Reset() { - *x = ApplyGitattributesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyGitattributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyGitattributesRequest) ProtoMessage() {} - -func (x *ApplyGitattributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[16] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyGitattributesRequest.ProtoReflect.Descriptor instead. -func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{16} -} - -func (x *ApplyGitattributesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ApplyGitattributesRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -// This comment is left unintentionally blank. -type ApplyGitattributesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ApplyGitattributesResponse) Reset() { - *x = ApplyGitattributesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ApplyGitattributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ApplyGitattributesResponse) ProtoMessage() {} - -func (x *ApplyGitattributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[17] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ApplyGitattributesResponse.ProtoReflect.Descriptor instead. -func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{17} -} - -// This comment is left unintentionally blank. -type FetchBundleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository into which the reference shall be fetched. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Data is the bundle file stream. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // UpdateHead will update HEAD if there is a HEAD reference listed in the bundle - UpdateHead bool `protobuf:"varint,3,opt,name=update_head,json=updateHead,proto3" json:"update_head,omitempty"` -} - -func (x *FetchBundleRequest) Reset() { - *x = FetchBundleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchBundleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchBundleRequest) ProtoMessage() {} - -func (x *FetchBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[18] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchBundleRequest.ProtoReflect.Descriptor instead. -func (*FetchBundleRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{18} -} - -func (x *FetchBundleRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FetchBundleRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *FetchBundleRequest) GetUpdateHead() bool { - if x != nil { - return x.UpdateHead - } - return false -} - -// This comment is left unintentionally blank. -type FetchBundleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *FetchBundleResponse) Reset() { - *x = FetchBundleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchBundleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchBundleResponse) ProtoMessage() {} - -func (x *FetchBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[19] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchBundleResponse.ProtoReflect.Descriptor instead. -func (*FetchBundleResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{19} -} - -// This comment is left unintentionally blank. -type FetchRemoteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // force determines if references should be force-updated in case they have - // diverged. - Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` - // no_tags determines whether tags should be fetched. - NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags,proto3" json:"no_tags,omitempty"` - // timeout specifies a timeout for the fetch. - Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` - // This comment is left unintentionally blank. - SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` - // This comment is left unintentionally blank. - KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` - // no_prune will the fetch to not prune remote references which do not exist - // in the remote repository anymore. - NoPrune bool `protobuf:"varint,9,opt,name=no_prune,json=noPrune,proto3" json:"no_prune,omitempty"` - // remote_params specifies the remote repository which should be fetched - // from. - RemoteParams *Remote `protobuf:"bytes,10,opt,name=remote_params,json=remoteParams,proto3" json:"remote_params,omitempty"` - // If check_tags_changed is true, the FetchRemote RPC will check whether any - // tags were modified, returning the result in the tags_changed field of - // FetchRemoteResponse - CheckTagsChanged bool `protobuf:"varint,11,opt,name=check_tags_changed,json=checkTagsChanged,proto3" json:"check_tags_changed,omitempty"` -} - -func (x *FetchRemoteRequest) Reset() { - *x = FetchRemoteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchRemoteRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchRemoteRequest) ProtoMessage() {} - -func (x *FetchRemoteRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[20] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchRemoteRequest.ProtoReflect.Descriptor instead. -func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{20} -} - -func (x *FetchRemoteRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FetchRemoteRequest) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -func (x *FetchRemoteRequest) GetNoTags() bool { - if x != nil { - return x.NoTags - } - return false -} - -func (x *FetchRemoteRequest) GetTimeout() int32 { - if x != nil { - return x.Timeout - } - return 0 -} - -func (x *FetchRemoteRequest) GetSshKey() string { - if x != nil { - return x.SshKey - } - return "" -} - -func (x *FetchRemoteRequest) GetKnownHosts() string { - if x != nil { - return x.KnownHosts - } - return "" -} - -func (x *FetchRemoteRequest) GetNoPrune() bool { - if x != nil { - return x.NoPrune - } - return false -} - -func (x *FetchRemoteRequest) GetRemoteParams() *Remote { - if x != nil { - return x.RemoteParams - } - return nil -} - -func (x *FetchRemoteRequest) GetCheckTagsChanged() bool { - if x != nil { - return x.CheckTagsChanged - } - return false -} - -// This comment is left unintentionally blank. -type FetchRemoteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // If check_tags_changed was set in the FetchRemoteRequest, the FetchRemote - // RPC will return false when no tags were changed, and true if tags were - // changed or answer cannot be determined. - TagsChanged bool `protobuf:"varint,1,opt,name=tags_changed,json=tagsChanged,proto3" json:"tags_changed,omitempty"` -} - -func (x *FetchRemoteResponse) Reset() { - *x = FetchRemoteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchRemoteResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchRemoteResponse) ProtoMessage() {} - -func (x *FetchRemoteResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchRemoteResponse.ProtoReflect.Descriptor instead. -func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{21} -} - -func (x *FetchRemoteResponse) GetTagsChanged() bool { - if x != nil { - return x.TagsChanged - } - return false -} - -// This comment is left unintentionally blank. -type CreateRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Provide a branch name to set as the default branch of a newly created - // repository. Note, this will be treated as the branch name and not a - // fully qualified reference. - DefaultBranch []byte `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` -} - -func (x *CreateRepositoryRequest) Reset() { - *x = CreateRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryRequest) ProtoMessage() {} - -func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead. -func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{22} -} - -func (x *CreateRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateRepositoryRequest) GetDefaultBranch() []byte { - if x != nil { - return x.DefaultBranch - } - return nil -} - -// This comment is left unintentionally blank. -type CreateRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateRepositoryResponse) Reset() { - *x = CreateRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryResponse) ProtoMessage() {} - -func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryResponse.ProtoReflect.Descriptor instead. -func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{23} -} - -// This comment is left unintentionally blank. -type GetArchiveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - // This comment is left unintentionally blank. - Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` - // This comment is left unintentionally blank. - Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Exclude [][]byte `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED - // If `elide_path` is true and `path` refers to a subdirectory, that - // subdirectory will be elided from archive entries. For example, if `dir` - // contains `README.md`, with `elide_path = false` the corresponding entry - // will be `dir/README.md`; with `elide_path = true`, the entry will be - // `README.md`. `elide_path` has no effect if `path` refers to the repository - // root. `elide_path = true` is not supported if `path` refers to a file. - ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"` - // This comment is left unintentionally blank. - IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"` -} - -func (x *GetArchiveRequest) Reset() { - *x = GetArchiveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetArchiveRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetArchiveRequest) ProtoMessage() {} - -func (x *GetArchiveRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetArchiveRequest.ProtoReflect.Descriptor instead. -func (*GetArchiveRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{24} -} - -func (x *GetArchiveRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetArchiveRequest) GetCommitId() string { - if x != nil { - return x.CommitId - } - return "" -} - -func (x *GetArchiveRequest) GetPrefix() string { - if x != nil { - return x.Prefix - } - return "" -} - -func (x *GetArchiveRequest) GetFormat() GetArchiveRequest_Format { - if x != nil { - return x.Format - } - return GetArchiveRequest_ZIP -} - -func (x *GetArchiveRequest) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *GetArchiveRequest) GetExclude() [][]byte { - if x != nil { - return x.Exclude - } - return nil -} - -func (x *GetArchiveRequest) GetElidePath() bool { - if x != nil { - return x.ElidePath - } - return false -} - -func (x *GetArchiveRequest) GetIncludeLfsBlobs() bool { - if x != nil { - return x.IncludeLfsBlobs - } - return false -} - -// This comment is left unintentionally blank. -type GetArchiveResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *GetArchiveResponse) Reset() { - *x = GetArchiveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetArchiveResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetArchiveResponse) ProtoMessage() {} - -func (x *GetArchiveResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetArchiveResponse.ProtoReflect.Descriptor instead. -func (*GetArchiveResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{25} -} - -func (x *GetArchiveResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type HasLocalBranchesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *HasLocalBranchesRequest) Reset() { - *x = HasLocalBranchesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HasLocalBranchesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HasLocalBranchesRequest) ProtoMessage() {} - -func (x *HasLocalBranchesRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HasLocalBranchesRequest.ProtoReflect.Descriptor instead. -func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{26} -} - -func (x *HasLocalBranchesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type HasLocalBranchesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *HasLocalBranchesResponse) Reset() { - *x = HasLocalBranchesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *HasLocalBranchesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*HasLocalBranchesResponse) ProtoMessage() {} - -func (x *HasLocalBranchesResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use HasLocalBranchesResponse.ProtoReflect.Descriptor instead. -func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{27} -} - -func (x *HasLocalBranchesResponse) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -// This comment is left unintentionally blank. -type FetchSourceBranchRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository into which the reference shall be fetched. After a successful - // call, it should contain the target reference which points to the same - // commit as the source repository's source branch. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Repository from which to fetch the source branch from. - SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` - // Name of the branch in the source repository which should be fetched. - SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` - // Name of the reference which shall be newly created in the target - // repository. - TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` -} - -func (x *FetchSourceBranchRequest) Reset() { - *x = FetchSourceBranchRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchSourceBranchRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchSourceBranchRequest) ProtoMessage() {} - -func (x *FetchSourceBranchRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchSourceBranchRequest.ProtoReflect.Descriptor instead. -func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{28} -} - -func (x *FetchSourceBranchRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FetchSourceBranchRequest) GetSourceRepository() *Repository { - if x != nil { - return x.SourceRepository - } - return nil -} - -func (x *FetchSourceBranchRequest) GetSourceBranch() []byte { - if x != nil { - return x.SourceBranch - } - return nil -} - -func (x *FetchSourceBranchRequest) GetTargetRef() []byte { - if x != nil { - return x.TargetRef - } - return nil -} - -// This comment is left unintentionally blank. -type FetchSourceBranchResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // True if the source branch was successfully fetched into the target - // repository, false if resolving the remote reference or fetching it failed. - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` -} - -func (x *FetchSourceBranchResponse) Reset() { - *x = FetchSourceBranchResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FetchSourceBranchResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FetchSourceBranchResponse) ProtoMessage() {} - -func (x *FetchSourceBranchResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FetchSourceBranchResponse.ProtoReflect.Descriptor instead. -func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{29} -} - -func (x *FetchSourceBranchResponse) GetResult() bool { - if x != nil { - return x.Result - } - return false -} - -// This comment is left unintentionally blank. -type FsckRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *FsckRequest) Reset() { - *x = FsckRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FsckRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FsckRequest) ProtoMessage() {} - -func (x *FsckRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FsckRequest.ProtoReflect.Descriptor instead. -func (*FsckRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{30} -} - -func (x *FsckRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type FsckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` -} - -func (x *FsckResponse) Reset() { - *x = FsckResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FsckResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FsckResponse) ProtoMessage() {} - -func (x *FsckResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FsckResponse.ProtoReflect.Descriptor instead. -func (*FsckResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{31} -} - -func (x *FsckResponse) GetError() []byte { - if x != nil { - return x.Error - } - return nil -} - -// This comment is left unintentionally blank. -type WriteRefRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` - // This comment is left unintentionally blank. - Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` -} - -func (x *WriteRefRequest) Reset() { - *x = WriteRefRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WriteRefRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteRefRequest) ProtoMessage() {} - -func (x *WriteRefRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteRefRequest.ProtoReflect.Descriptor instead. -func (*WriteRefRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{32} -} - -func (x *WriteRefRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WriteRefRequest) GetRef() []byte { - if x != nil { - return x.Ref - } - return nil -} - -func (x *WriteRefRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *WriteRefRequest) GetOldRevision() []byte { - if x != nil { - return x.OldRevision - } - return nil -} - -func (x *WriteRefRequest) GetForce() bool { - if x != nil { - return x.Force - } - return false -} - -// This comment is left unintentionally blank. -type WriteRefResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *WriteRefResponse) Reset() { - *x = WriteRefResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WriteRefResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WriteRefResponse) ProtoMessage() {} - -func (x *WriteRefResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WriteRefResponse.ProtoReflect.Descriptor instead. -func (*WriteRefResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{33} -} - -// This comment is left unintentionally blank. -type FindMergeBaseRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // We use a repeated field because rugged supports finding a base - // for more than 2 revisions, so if we needed that in the future we don't - // need to change the protocol. - Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` -} - -func (x *FindMergeBaseRequest) Reset() { - *x = FindMergeBaseRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindMergeBaseRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindMergeBaseRequest) ProtoMessage() {} - -func (x *FindMergeBaseRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindMergeBaseRequest.ProtoReflect.Descriptor instead. -func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{34} -} - -func (x *FindMergeBaseRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *FindMergeBaseRequest) GetRevisions() [][]byte { - if x != nil { - return x.Revisions - } - return nil -} - -// This comment is left unintentionally blank. -type FindMergeBaseResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` -} - -func (x *FindMergeBaseResponse) Reset() { - *x = FindMergeBaseResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindMergeBaseResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindMergeBaseResponse) ProtoMessage() {} - -func (x *FindMergeBaseResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindMergeBaseResponse.ProtoReflect.Descriptor instead. -func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{35} -} - -func (x *FindMergeBaseResponse) GetBase() string { - if x != nil { - return x.Base - } - return "" -} - -// This comment is left unintentionally blank. -type CreateForkRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` -} - -func (x *CreateForkRequest) Reset() { - *x = CreateForkRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateForkRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateForkRequest) ProtoMessage() {} - -func (x *CreateForkRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateForkRequest.ProtoReflect.Descriptor instead. -func (*CreateForkRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{36} -} - -func (x *CreateForkRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateForkRequest) GetSourceRepository() *Repository { - if x != nil { - return x.SourceRepository - } - return nil -} - -// This comment is left unintentionally blank. -type CreateForkResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateForkResponse) Reset() { - *x = CreateForkResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateForkResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateForkResponse) ProtoMessage() {} - -func (x *CreateForkResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateForkResponse.ProtoReflect.Descriptor instead. -func (*CreateForkResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{37} -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromURLRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - // HttpHost is the hostname of the remote repository. Use this when the - // URL hostname has already been resolved to an IP address to prevent DNS - // rebinding. - HttpHost string `protobuf:"bytes,3,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` - // http_authorization_header is the HTTP header which can be added to - // the request in order to authenticate against the repository. - HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` - // Mirror defines whether to clone with `--mirror` flag or `--bare`. The default - // value `false` will cause us to use `--bare`, which results in a clone that - // contains only branches (`refs/heads/`) and tags (`refs/tags/`) of the remote - // repository. If set to `true`, create a complete mirror-clone which maps all - // remote references into the local repository. - Mirror bool `protobuf:"varint,5,opt,name=mirror,proto3" json:"mirror,omitempty"` -} - -func (x *CreateRepositoryFromURLRequest) Reset() { - *x = CreateRepositoryFromURLRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromURLRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromURLRequest) ProtoMessage() {} - -func (x *CreateRepositoryFromURLRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromURLRequest.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{38} -} - -func (x *CreateRepositoryFromURLRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateRepositoryFromURLRequest) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *CreateRepositoryFromURLRequest) GetHttpHost() string { - if x != nil { - return x.HttpHost - } - return "" -} - -func (x *CreateRepositoryFromURLRequest) GetHttpAuthorizationHeader() string { - if x != nil { - return x.HttpAuthorizationHeader - } - return "" -} - -func (x *CreateRepositoryFromURLRequest) GetMirror() bool { - if x != nil { - return x.Mirror - } - return false -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromURLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateRepositoryFromURLResponse) Reset() { - *x = CreateRepositoryFromURLResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromURLResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromURLResponse) ProtoMessage() {} - -func (x *CreateRepositoryFromURLResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromURLResponse.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{39} -} - -// This comment is left unintentionally blank. -type CreateBundleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *CreateBundleRequest) Reset() { - *x = CreateBundleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBundleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBundleRequest) ProtoMessage() {} - -func (x *CreateBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBundleRequest.ProtoReflect.Descriptor instead. -func (*CreateBundleRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{40} -} - -func (x *CreateBundleRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type CreateBundleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *CreateBundleResponse) Reset() { - *x = CreateBundleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBundleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBundleResponse) ProtoMessage() {} - -func (x *CreateBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBundleResponse.ProtoReflect.Descriptor instead. -func (*CreateBundleResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{41} -} - -func (x *CreateBundleResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type CreateBundleFromRefListRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository that the bundle is created from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Patterns contains all patterns which shall be bundled. Patterns should be - // in the format accepted by git-rev-list(1). Patterns which don't match any - // reference will be silently ignored. - Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` -} - -func (x *CreateBundleFromRefListRequest) Reset() { - *x = CreateBundleFromRefListRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBundleFromRefListRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBundleFromRefListRequest) ProtoMessage() {} - -func (x *CreateBundleFromRefListRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBundleFromRefListRequest.ProtoReflect.Descriptor instead. -func (*CreateBundleFromRefListRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{42} -} - -func (x *CreateBundleFromRefListRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateBundleFromRefListRequest) GetPatterns() [][]byte { - if x != nil { - return x.Patterns - } - return nil -} - -// This comment is left unintentionally blank. -type CreateBundleFromRefListResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *CreateBundleFromRefListResponse) Reset() { - *x = CreateBundleFromRefListResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateBundleFromRefListResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateBundleFromRefListResponse) ProtoMessage() {} - -func (x *CreateBundleFromRefListResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateBundleFromRefListResponse.ProtoReflect.Descriptor instead. -func (*CreateBundleFromRefListResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{43} -} - -func (x *CreateBundleFromRefListResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// GetConfigRequest is a request for the GetConfig RPC. -type GetConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository from which the configuration should be read - // from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *GetConfigRequest) Reset() { - *x = GetConfigRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConfigRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConfigRequest) ProtoMessage() {} - -func (x *GetConfigRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead. -func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{44} -} - -func (x *GetConfigRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// GetConfigResponse is a response for the GetConfig RPC. -type GetConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Data contains contents of the gitconfig. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *GetConfigResponse) Reset() { - *x = GetConfigResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConfigResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConfigResponse) ProtoMessage() {} - -func (x *GetConfigResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead. -func (*GetConfigResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{45} -} - -func (x *GetConfigResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type RestoreCustomHooksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *RestoreCustomHooksRequest) Reset() { - *x = RestoreCustomHooksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[46] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RestoreCustomHooksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RestoreCustomHooksRequest) ProtoMessage() {} - -func (x *RestoreCustomHooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[46] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RestoreCustomHooksRequest.ProtoReflect.Descriptor instead. -func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{46} -} - -func (x *RestoreCustomHooksRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RestoreCustomHooksRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type RestoreCustomHooksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RestoreCustomHooksResponse) Reset() { - *x = RestoreCustomHooksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[47] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RestoreCustomHooksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RestoreCustomHooksResponse) ProtoMessage() {} - -func (x *RestoreCustomHooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[47] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RestoreCustomHooksResponse.ProtoReflect.Descriptor instead. -func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{47} -} - -// This comment is left unintentionally blank. -type BackupCustomHooksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *BackupCustomHooksRequest) Reset() { - *x = BackupCustomHooksRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[48] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BackupCustomHooksRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BackupCustomHooksRequest) ProtoMessage() {} - -func (x *BackupCustomHooksRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[48] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BackupCustomHooksRequest.ProtoReflect.Descriptor instead. -func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{48} -} - -func (x *BackupCustomHooksRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type BackupCustomHooksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *BackupCustomHooksResponse) Reset() { - *x = BackupCustomHooksResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[49] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BackupCustomHooksResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BackupCustomHooksResponse) ProtoMessage() {} - -func (x *BackupCustomHooksResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[49] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use BackupCustomHooksResponse.ProtoReflect.Descriptor instead. -func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{49} -} - -func (x *BackupCustomHooksResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromBundleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Only available on the first message - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *CreateRepositoryFromBundleRequest) Reset() { - *x = CreateRepositoryFromBundleRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[50] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromBundleRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromBundleRequest) ProtoMessage() {} - -func (x *CreateRepositoryFromBundleRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[50] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromBundleRequest.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{50} -} - -func (x *CreateRepositoryFromBundleRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateRepositoryFromBundleRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromBundleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateRepositoryFromBundleResponse) Reset() { - *x = CreateRepositoryFromBundleResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[51] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromBundleResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromBundleResponse) ProtoMessage() {} - -func (x *CreateRepositoryFromBundleResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[51] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromBundleResponse.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{51} -} - -// This comment is left unintentionally blank. -type FindLicenseRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *FindLicenseRequest) Reset() { - *x = FindLicenseRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[52] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLicenseRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLicenseRequest) ProtoMessage() {} - -func (x *FindLicenseRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[52] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLicenseRequest.ProtoReflect.Descriptor instead. -func (*FindLicenseRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{52} -} - -func (x *FindLicenseRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type FindLicenseResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` -} - -func (x *FindLicenseResponse) Reset() { - *x = FindLicenseResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[53] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FindLicenseResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FindLicenseResponse) ProtoMessage() {} - -func (x *FindLicenseResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[53] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FindLicenseResponse.ProtoReflect.Descriptor instead. -func (*FindLicenseResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{53} -} - -func (x *FindLicenseResponse) GetLicenseShortName() string { - if x != nil { - return x.LicenseShortName - } - return "" -} - -// This comment is left unintentionally blank. -type GetInfoAttributesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *GetInfoAttributesRequest) Reset() { - *x = GetInfoAttributesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[54] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetInfoAttributesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetInfoAttributesRequest) ProtoMessage() {} - -func (x *GetInfoAttributesRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[54] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetInfoAttributesRequest.ProtoReflect.Descriptor instead. -func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{54} -} - -func (x *GetInfoAttributesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type GetInfoAttributesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` -} - -func (x *GetInfoAttributesResponse) Reset() { - *x = GetInfoAttributesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[55] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetInfoAttributesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetInfoAttributesResponse) ProtoMessage() {} - -func (x *GetInfoAttributesResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[55] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetInfoAttributesResponse.ProtoReflect.Descriptor instead. -func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{55} -} - -func (x *GetInfoAttributesResponse) GetAttributes() []byte { - if x != nil { - return x.Attributes - } - return nil -} - -// This comment is left unintentionally blank. -type CalculateChecksumRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *CalculateChecksumRequest) Reset() { - *x = CalculateChecksumRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[56] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CalculateChecksumRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CalculateChecksumRequest) ProtoMessage() {} - -func (x *CalculateChecksumRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[56] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CalculateChecksumRequest.ProtoReflect.Descriptor instead. -func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{56} -} - -func (x *CalculateChecksumRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type CalculateChecksumResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` -} - -func (x *CalculateChecksumResponse) Reset() { - *x = CalculateChecksumResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[57] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CalculateChecksumResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CalculateChecksumResponse) ProtoMessage() {} - -func (x *CalculateChecksumResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[57] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CalculateChecksumResponse.ProtoReflect.Descriptor instead. -func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{57} -} - -func (x *CalculateChecksumResponse) GetChecksum() string { - if x != nil { - return x.Checksum - } - return "" -} - -// This comment is left unintentionally blank. -type GetSnapshotRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *GetSnapshotRequest) Reset() { - *x = GetSnapshotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[58] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSnapshotRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSnapshotRequest) ProtoMessage() {} - -func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[58] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead. -func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{58} -} - -func (x *GetSnapshotRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type GetSnapshotResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *GetSnapshotResponse) Reset() { - *x = GetSnapshotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[59] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSnapshotResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSnapshotResponse) ProtoMessage() {} - -func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[59] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead. -func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{59} -} - -func (x *GetSnapshotResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromSnapshotRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` - // This comment is left unintentionally blank. - HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` - // HttpHost is the hostname of the remote snapshot. Use this when the - // URL hostname has already been resolved to an IP address to prevent DNS - // rebinding. - HttpHost string `protobuf:"bytes,4,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` -} - -func (x *CreateRepositoryFromSnapshotRequest) Reset() { - *x = CreateRepositoryFromSnapshotRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[60] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromSnapshotRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {} - -func (x *CreateRepositoryFromSnapshotRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[60] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromSnapshotRequest.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{60} -} - -func (x *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string { - if x != nil { - return x.HttpUrl - } - return "" -} - -func (x *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string { - if x != nil { - return x.HttpAuth - } - return "" -} - -func (x *CreateRepositoryFromSnapshotRequest) GetHttpHost() string { - if x != nil { - return x.HttpHost - } - return "" -} - -// This comment is left unintentionally blank. -type CreateRepositoryFromSnapshotResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *CreateRepositoryFromSnapshotResponse) Reset() { - *x = CreateRepositoryFromSnapshotResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[61] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateRepositoryFromSnapshotResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {} - -func (x *CreateRepositoryFromSnapshotResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[61] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CreateRepositoryFromSnapshotResponse.ProtoReflect.Descriptor instead. -func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{61} -} - -// This comment is left unintentionally blank. -type GetRawChangesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` - // This comment is left unintentionally blank. - ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` -} - -func (x *GetRawChangesRequest) Reset() { - *x = GetRawChangesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[62] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRawChangesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRawChangesRequest) ProtoMessage() {} - -func (x *GetRawChangesRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[62] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRawChangesRequest.ProtoReflect.Descriptor instead. -func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{62} -} - -func (x *GetRawChangesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *GetRawChangesRequest) GetFromRevision() string { - if x != nil { - return x.FromRevision - } - return "" -} - -func (x *GetRawChangesRequest) GetToRevision() string { - if x != nil { - return x.ToRevision - } - return "" -} - -// This comment is left unintentionally blank. -type GetRawChangesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` -} - -func (x *GetRawChangesResponse) Reset() { - *x = GetRawChangesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[63] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRawChangesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRawChangesResponse) ProtoMessage() {} - -func (x *GetRawChangesResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[63] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRawChangesResponse.ProtoReflect.Descriptor instead. -func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{63} -} - -func (x *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange { - if x != nil { - return x.RawChanges - } - return nil -} - -// This comment is left unintentionally blank. -type SearchFilesByNameRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - // This comment is left unintentionally blank. - Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` - // If `filter` is specified and non-empty, it will be parsed as a regular - // expression and used to filter the result set before it is transmitted. It is - // parsed using Go's `regexp` package, which is closely related to PCRE, - // excluding backreferences, atomic/possesive operators, and some other - // features. It has a maximum length of 1000 bytes. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` -} - -func (x *SearchFilesByNameRequest) Reset() { - *x = SearchFilesByNameRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[64] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchFilesByNameRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchFilesByNameRequest) ProtoMessage() {} - -func (x *SearchFilesByNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[64] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchFilesByNameRequest.ProtoReflect.Descriptor instead. -func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{64} -} - -func (x *SearchFilesByNameRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SearchFilesByNameRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -func (x *SearchFilesByNameRequest) GetRef() []byte { - if x != nil { - return x.Ref - } - return nil -} - -func (x *SearchFilesByNameRequest) GetFilter() string { - if x != nil { - return x.Filter - } - return "" -} - -// This comment is left unintentionally blank. -type SearchFilesByNameResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` -} - -func (x *SearchFilesByNameResponse) Reset() { - *x = SearchFilesByNameResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[65] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchFilesByNameResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchFilesByNameResponse) ProtoMessage() {} - -func (x *SearchFilesByNameResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[65] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchFilesByNameResponse.ProtoReflect.Descriptor instead. -func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{65} -} - -func (x *SearchFilesByNameResponse) GetFiles() [][]byte { - if x != nil { - return x.Files - } - return nil -} - -// This comment is left unintentionally blank. -type SearchFilesByContentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - // This comment is left unintentionally blank. - Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` - // This comment is left unintentionally blank. - ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` -} - -func (x *SearchFilesByContentRequest) Reset() { - *x = SearchFilesByContentRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[66] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchFilesByContentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchFilesByContentRequest) ProtoMessage() {} - -func (x *SearchFilesByContentRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[66] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchFilesByContentRequest.ProtoReflect.Descriptor instead. -func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{66} -} - -func (x *SearchFilesByContentRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SearchFilesByContentRequest) GetQuery() string { - if x != nil { - return x.Query - } - return "" -} - -func (x *SearchFilesByContentRequest) GetRef() []byte { - if x != nil { - return x.Ref - } - return nil -} - -func (x *SearchFilesByContentRequest) GetChunkedResponse() bool { - if x != nil { - return x.ChunkedResponse - } - return false -} - -// This comment is left unintentionally blank. -type SearchFilesByContentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` - // This comment is left unintentionally blank. - MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` - // This comment is left unintentionally blank. - EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` -} - -func (x *SearchFilesByContentResponse) Reset() { - *x = SearchFilesByContentResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[67] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SearchFilesByContentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SearchFilesByContentResponse) ProtoMessage() {} - -func (x *SearchFilesByContentResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[67] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SearchFilesByContentResponse.ProtoReflect.Descriptor instead. -func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{67} -} - -func (x *SearchFilesByContentResponse) GetMatches() [][]byte { - if x != nil { - return x.Matches - } - return nil -} - -func (x *SearchFilesByContentResponse) GetMatchData() []byte { - if x != nil { - return x.MatchData - } - return nil -} - -func (x *SearchFilesByContentResponse) GetEndOfMatch() bool { - if x != nil { - return x.EndOfMatch - } - return false -} - -// Remote represents a git remote repository. -type Remote struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // url is the URL of the remote repository. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` - // http_authorization_header is the HTTP header which should be added to - // the request in order to authenticate against the repository. - HttpAuthorizationHeader string `protobuf:"bytes,3,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` - // mirror_refmaps contains the refspecs which shall be fetched. Some special - // refspecs are accepted: - // - // - "all_refs" gets translated to "+refs/*:refs/*", which mirrors all - // references of the source repository. - // - "heads" gets translated to "+refs/heads/*:refs/heads/*", which mirrors - // all branches of the source repository. - // - "tags" gets translated to "+refs/tags/*:refs/tags/*", which mirrors all - // tags of the source repository. - // - // If no refspecs are given, this defaults to "all_refs". - MirrorRefmaps []string `protobuf:"bytes,4,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` - // HttpHost is the hostname of the remote repository. Use this when the - // URL hostname has already been resolved to an IP address to prevent DNS - // rebinding. - HttpHost string `protobuf:"bytes,5,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` -} - -func (x *Remote) Reset() { - *x = Remote{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[68] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Remote) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Remote) ProtoMessage() {} - -func (x *Remote) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[68] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Remote.ProtoReflect.Descriptor instead. -func (*Remote) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{68} -} - -func (x *Remote) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *Remote) GetHttpAuthorizationHeader() string { - if x != nil { - return x.HttpAuthorizationHeader - } - return "" -} - -func (x *Remote) GetMirrorRefmaps() []string { - if x != nil { - return x.MirrorRefmaps - } - return nil -} - -func (x *Remote) GetHttpHost() string { - if x != nil { - return x.HttpHost - } - return "" -} - -// This comment is left unintentionally blank. -type GetObjectDirectorySizeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *GetObjectDirectorySizeRequest) Reset() { - *x = GetObjectDirectorySizeRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[69] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetObjectDirectorySizeRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetObjectDirectorySizeRequest) ProtoMessage() {} - -func (x *GetObjectDirectorySizeRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[69] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetObjectDirectorySizeRequest.ProtoReflect.Descriptor instead. -func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{69} -} - -func (x *GetObjectDirectorySizeRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type GetObjectDirectorySizeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Object directory size in kilobytes - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` -} - -func (x *GetObjectDirectorySizeResponse) Reset() { - *x = GetObjectDirectorySizeResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[70] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetObjectDirectorySizeResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetObjectDirectorySizeResponse) ProtoMessage() {} - -func (x *GetObjectDirectorySizeResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[70] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetObjectDirectorySizeResponse.ProtoReflect.Descriptor instead. -func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{70} -} - -func (x *GetObjectDirectorySizeResponse) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -// This comment is left unintentionally blank. -type RemoveRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *RemoveRepositoryRequest) Reset() { - *x = RemoveRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[71] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRepositoryRequest) ProtoMessage() {} - -func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[71] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveRepositoryRequest.ProtoReflect.Descriptor instead. -func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{71} -} - -func (x *RemoveRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type RemoveRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RemoveRepositoryResponse) Reset() { - *x = RemoveRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[72] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RemoveRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RemoveRepositoryResponse) ProtoMessage() {} - -func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[72] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RemoveRepositoryResponse.ProtoReflect.Descriptor instead. -func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{72} -} - -// This comment is left unintentionally blank. -type RenameRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` -} - -func (x *RenameRepositoryRequest) Reset() { - *x = RenameRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[73] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameRepositoryRequest) ProtoMessage() {} - -func (x *RenameRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[73] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameRepositoryRequest.ProtoReflect.Descriptor instead. -func (*RenameRepositoryRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{73} -} - -func (x *RenameRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *RenameRepositoryRequest) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -// This comment is left unintentionally blank. -type RenameRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *RenameRepositoryResponse) Reset() { - *x = RenameRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[74] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameRepositoryResponse) ProtoMessage() {} - -func (x *RenameRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[74] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameRepositoryResponse.ProtoReflect.Descriptor instead. -func (*RenameRepositoryResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{74} -} - -// This comment is left unintentionally blank. -type ReplicateRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` -} - -func (x *ReplicateRepositoryRequest) Reset() { - *x = ReplicateRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[75] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplicateRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplicateRepositoryRequest) ProtoMessage() {} - -func (x *ReplicateRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[75] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplicateRepositoryRequest.ProtoReflect.Descriptor instead. -func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{75} -} - -func (x *ReplicateRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *ReplicateRepositoryRequest) GetSource() *Repository { - if x != nil { - return x.Source - } - return nil -} - -// This comment is left unintentionally blank. -type ReplicateRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ReplicateRepositoryResponse) Reset() { - *x = ReplicateRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[76] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ReplicateRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReplicateRepositoryResponse) ProtoMessage() {} - -func (x *ReplicateRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[76] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReplicateRepositoryResponse.ProtoReflect.Descriptor instead. -func (*ReplicateRepositoryResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{76} -} - -// This comment is left unintentionally blank. -type OptimizeRepositoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *OptimizeRepositoryRequest) Reset() { - *x = OptimizeRepositoryRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[77] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OptimizeRepositoryRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OptimizeRepositoryRequest) ProtoMessage() {} - -func (x *OptimizeRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[77] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OptimizeRepositoryRequest.ProtoReflect.Descriptor instead. -func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{77} -} - -func (x *OptimizeRepositoryRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type OptimizeRepositoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *OptimizeRepositoryResponse) Reset() { - *x = OptimizeRepositoryResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[78] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OptimizeRepositoryResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OptimizeRepositoryResponse) ProtoMessage() {} - -func (x *OptimizeRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[78] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OptimizeRepositoryResponse.ProtoReflect.Descriptor instead. -func (*OptimizeRepositoryResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{78} -} - -// PruneUnreachableObjectsRequest is a request for the PruneUnreachableObjects -// RPC call. -type PruneUnreachableObjectsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *PruneUnreachableObjectsRequest) Reset() { - *x = PruneUnreachableObjectsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[79] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PruneUnreachableObjectsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PruneUnreachableObjectsRequest) ProtoMessage() {} - -func (x *PruneUnreachableObjectsRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[79] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PruneUnreachableObjectsRequest.ProtoReflect.Descriptor instead. -func (*PruneUnreachableObjectsRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{79} -} - -func (x *PruneUnreachableObjectsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// PruneUnreachableObjectsResponse is a response for the -// PruneUnreachableObjects RPC call. -type PruneUnreachableObjectsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PruneUnreachableObjectsResponse) Reset() { - *x = PruneUnreachableObjectsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[80] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PruneUnreachableObjectsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PruneUnreachableObjectsResponse) ProtoMessage() {} - -func (x *PruneUnreachableObjectsResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[80] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PruneUnreachableObjectsResponse.ProtoReflect.Descriptor instead. -func (*PruneUnreachableObjectsResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{80} -} - -// SetFullPathRequest is a request for the SetFullPath RPC. -type SetFullPathRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Repository is the repository whose gitconfig should be written to. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Path is the path that shall be written into the "gitlab.fullpath" config key. - Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *SetFullPathRequest) Reset() { - *x = SetFullPathRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[81] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetFullPathRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetFullPathRequest) ProtoMessage() {} - -func (x *SetFullPathRequest) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[81] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetFullPathRequest.ProtoReflect.Descriptor instead. -func (*SetFullPathRequest) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{81} -} - -func (x *SetFullPathRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SetFullPathRequest) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -// SetFullPathResponse is a response fqor the SetFullPath RPC. -type SetFullPathResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *SetFullPathResponse) Reset() { - *x = SetFullPathResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[82] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SetFullPathResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SetFullPathResponse) ProtoMessage() {} - -func (x *SetFullPathResponse) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[82] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SetFullPathResponse.ProtoReflect.Descriptor instead. -func (*SetFullPathResponse) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{82} -} - -// This comment is left unintentionally blank. -type GetRawChangesResponse_RawChange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` - // This comment is left unintentionally blank. - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // This comment is left unintentionally blank. - Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"` - // This comment is left unintentionally blank. - RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` - // This comment is left unintentionally blank. - OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` - // This comment is left unintentionally blank. - NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` - // the following fields, 9 and 10, will eventually replace 3 and 4 - NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"` - // This comment is left unintentionally blank. - OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` -} - -func (x *GetRawChangesResponse_RawChange) Reset() { - *x = GetRawChangesResponse_RawChange{} - if protoimpl.UnsafeEnabled { - mi := &file_repository_proto_msgTypes[83] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetRawChangesResponse_RawChange) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetRawChangesResponse_RawChange) ProtoMessage() {} - -func (x *GetRawChangesResponse_RawChange) ProtoReflect() protoreflect.Message { - mi := &file_repository_proto_msgTypes[83] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetRawChangesResponse_RawChange.ProtoReflect.Descriptor instead. -func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) { - return file_repository_proto_rawDescGZIP(), []int{63, 0} -} - -func (x *GetRawChangesResponse_RawChange) GetBlobId() string { - if x != nil { - return x.BlobId - } - return "" -} - -func (x *GetRawChangesResponse_RawChange) GetSize() int64 { - if x != nil { - return x.Size - } - return 0 -} - -func (x *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation { - if x != nil { - return x.Operation - } - return GetRawChangesResponse_RawChange_UNKNOWN -} - -func (x *GetRawChangesResponse_RawChange) GetRawOperation() string { - if x != nil { - return x.RawOperation - } - return "" -} - -func (x *GetRawChangesResponse_RawChange) GetOldMode() int32 { - if x != nil { - return x.OldMode - } - return 0 -} - -func (x *GetRawChangesResponse_RawChange) GetNewMode() int32 { - if x != nil { - return x.NewMode - } - return 0 -} - -func (x *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte { - if x != nil { - return x.NewPathBytes - } - return nil -} - -func (x *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte { - if x != nil { - return x.OldPathBytes - } - return nil -} - -var File_repository_proto protoreflect.FileDescriptor - -var file_repository_proto_rawDesc = []byte{ - 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x32, 0x0a, 0x18, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x54, 0x0a, - 0x18, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, - 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x72, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x70, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, - 0x74, 0x6d, 0x61, 0x70, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, - 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x11, 0x4d, 0x69, - 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x4d, 0x69, 0x64, - 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x8c, 0x01, 0x0a, 0x15, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x69, - 0x74, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x75, 0x6e, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x22, 0x18, - 0x0a, 0x16, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x17, 0x57, 0x72, 0x69, - 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x53, - 0x0a, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, - 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, - 0x65, 0x67, 0x79, 0x22, 0x21, 0x0a, 0x0d, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, - 0x74, 0x65, 0x67, 0x79, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x75, 0x6c, 0x74, - 0x69, 0x70, 0x6c, 0x65, 0x10, 0x00, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x4a, 0x0a, 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x11, - 0x0a, 0x0f, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, - 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2c, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, - 0x7a, 0x65, 0x22, 0x71, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, - 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x61, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x46, 0x65, 0x74, - 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0xe3, 0x02, 0x0a, 0x12, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x74, 0x61, - 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x54, 0x61, 0x67, 0x73, - 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x73, - 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x68, - 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, - 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, - 0x6f, 0x73, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x5f, 0x70, 0x72, 0x75, 0x6e, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x6f, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x12, - 0x33, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, - 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x61, - 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, - 0x65, 0x64, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x13, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, - 0x0c, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, - 0x22, 0x7a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x64, - 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x1a, 0x0a, 0x18, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x38, 0x0a, - 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, - 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x65, - 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x78, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6c, 0x69, 0x64, 0x65, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, - 0x6c, 0x66, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4c, 0x66, 0x73, 0x42, 0x6c, 0x6f, 0x62, 0x73, - 0x22, 0x33, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x5a, 0x49, - 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, - 0x54, 0x41, 0x52, 0x5f, 0x47, 0x5a, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x52, 0x5f, - 0x42, 0x5a, 0x32, 0x10, 0x03, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0x53, 0x0a, 0x17, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x22, 0x30, 0x0a, 0x18, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, - 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, - 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, - 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, - 0x65, 0x66, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x47, 0x0a, 0x0b, 0x46, 0x73, 0x63, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x22, 0x24, 0x0a, 0x0c, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb8, 0x01, 0x0a, 0x0f, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x76, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x06, 0x10, - 0x07, 0x22, 0x18, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x6e, 0x0a, 0x14, 0x46, - 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, - 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, - 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2b, 0x0a, 0x15, 0x46, - 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0xdd, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, - 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, - 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, - 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x72, 0x72, 0x6f, - 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x22, - 0x21, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, - 0x76, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, - 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x70, - 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x22, 0x35, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4c, - 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x27, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x69, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, - 0x0a, 0x18, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, - 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2f, 0x0a, 0x19, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, - 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, - 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x43, - 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, - 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3b, 0x0a, 0x19, 0x47, 0x65, 0x74, - 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x54, 0x0a, 0x18, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, - 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x37, 0x0a, 0x19, - 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, - 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x22, 0x4e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x29, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, - 0x22, 0xb4, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, - 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, - 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, - 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x22, 0x26, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, - 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x96, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x52, - 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, - 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x04, 0x0a, 0x15, 0x47, 0x65, 0x74, - 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x52, 0x0a, 0x72, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xbb, 0x03, 0x0a, - 0x09, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x6c, - 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x6c, 0x6f, - 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, - 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, - 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x61, 0x77, 0x5f, - 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0c, 0x72, 0x61, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, - 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, - 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, - 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, - 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6e, 0x65, 0x77, - 0x50, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, - 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, - 0x69, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, - 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, - 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x02, - 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, - 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, - 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, - 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, - 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x22, 0x94, 0x01, 0x0a, 0x18, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, - 0x72, 0x22, 0x31, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, - 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, - 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, - 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x79, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, - 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, - 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0xa6, 0x01, 0x0a, - 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, - 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, - 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, - 0x72, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, - 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x12, 0x1b, 0x0a, 0x09, - 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x22, 0x34, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, - 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1a, 0x0a, 0x18, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, - 0x68, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x82, 0x01, - 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x55, 0x0a, 0x19, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4f, 0x70, 0x74, 0x69, - 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, 0x1e, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, - 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x22, 0x21, 0x0a, 0x1f, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, - 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, - 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, - 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x32, 0x9c, 0x1e, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, - 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, - 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x63, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, - 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x4e, 0x0a, 0x0a, 0x52, 0x65, - 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x4e, 0x0a, 0x0a, 0x4d, 0x69, - 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x69, 0x64, - 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x5a, 0x0a, 0x0e, 0x47, 0x61, - 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, - 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, - 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x60, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, - 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, - 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x57, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, - 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x12, 0x63, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, - 0x69, 0x76, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, - 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, - 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x12, 0x60, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, - 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, - 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x39, 0x0a, 0x04, 0x46, 0x73, 0x63, 0x6b, 0x12, 0x13, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, 0x63, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, - 0x12, 0x45, 0x0a, 0x08, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x12, 0x17, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, - 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x4d, - 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, - 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x72, 0x0a, 0x17, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, - 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, - 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x53, - 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1b, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, - 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x30, 0x01, 0x12, 0x76, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, - 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, - 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, - 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, - 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x7d, 0x0a, - 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x29, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x4a, 0x0a, 0x09, - 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, - 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, - 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, - 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x11, - 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, - 0x6d, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, 0x63, 0x75, - 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, - 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x45, - 0x0a, 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, - 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, - 0x73, 0x68, 0x6f, 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, - 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, - 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, - 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, - 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x47, - 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, - 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, - 0x02, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, - 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, - 0x12, 0x62, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, - 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x42, - 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, - 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, - 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, - 0x6f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, - 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, - 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, - 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, - 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, - 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x63, 0x0a, 0x12, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, - 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, - 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x72, 0x0a, 0x17, 0x50, - 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, - 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, - 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, - 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, - 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, - 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, - 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_repository_proto_rawDescOnce sync.Once - file_repository_proto_rawDescData = file_repository_proto_rawDesc -) - -func file_repository_proto_rawDescGZIP() []byte { - file_repository_proto_rawDescOnce.Do(func() { - file_repository_proto_rawDescData = protoimpl.X.CompressGZIP(file_repository_proto_rawDescData) - }) - return file_repository_proto_rawDescData -} - -var file_repository_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 84) -var file_repository_proto_goTypes = []interface{}{ - (WriteCommitGraphRequest_SplitStrategy)(0), // 0: gitaly.WriteCommitGraphRequest.SplitStrategy - (GetArchiveRequest_Format)(0), // 1: gitaly.GetArchiveRequest.Format - (GetRawChangesResponse_RawChange_Operation)(0), // 2: gitaly.GetRawChangesResponse.RawChange.Operation - (*RepositoryExistsRequest)(nil), // 3: gitaly.RepositoryExistsRequest - (*RepositoryExistsResponse)(nil), // 4: gitaly.RepositoryExistsResponse - (*RepackIncrementalRequest)(nil), // 5: gitaly.RepackIncrementalRequest - (*RepackIncrementalResponse)(nil), // 6: gitaly.RepackIncrementalResponse - (*RepackFullRequest)(nil), // 7: gitaly.RepackFullRequest - (*RepackFullResponse)(nil), // 8: gitaly.RepackFullResponse - (*MidxRepackRequest)(nil), // 9: gitaly.MidxRepackRequest - (*MidxRepackResponse)(nil), // 10: gitaly.MidxRepackResponse - (*GarbageCollectRequest)(nil), // 11: gitaly.GarbageCollectRequest - (*GarbageCollectResponse)(nil), // 12: gitaly.GarbageCollectResponse - (*WriteCommitGraphRequest)(nil), // 13: gitaly.WriteCommitGraphRequest - (*WriteCommitGraphResponse)(nil), // 14: gitaly.WriteCommitGraphResponse - (*CleanupRequest)(nil), // 15: gitaly.CleanupRequest - (*CleanupResponse)(nil), // 16: gitaly.CleanupResponse - (*RepositorySizeRequest)(nil), // 17: gitaly.RepositorySizeRequest - (*RepositorySizeResponse)(nil), // 18: gitaly.RepositorySizeResponse - (*ApplyGitattributesRequest)(nil), // 19: gitaly.ApplyGitattributesRequest - (*ApplyGitattributesResponse)(nil), // 20: gitaly.ApplyGitattributesResponse - (*FetchBundleRequest)(nil), // 21: gitaly.FetchBundleRequest - (*FetchBundleResponse)(nil), // 22: gitaly.FetchBundleResponse - (*FetchRemoteRequest)(nil), // 23: gitaly.FetchRemoteRequest - (*FetchRemoteResponse)(nil), // 24: gitaly.FetchRemoteResponse - (*CreateRepositoryRequest)(nil), // 25: gitaly.CreateRepositoryRequest - (*CreateRepositoryResponse)(nil), // 26: gitaly.CreateRepositoryResponse - (*GetArchiveRequest)(nil), // 27: gitaly.GetArchiveRequest - (*GetArchiveResponse)(nil), // 28: gitaly.GetArchiveResponse - (*HasLocalBranchesRequest)(nil), // 29: gitaly.HasLocalBranchesRequest - (*HasLocalBranchesResponse)(nil), // 30: gitaly.HasLocalBranchesResponse - (*FetchSourceBranchRequest)(nil), // 31: gitaly.FetchSourceBranchRequest - (*FetchSourceBranchResponse)(nil), // 32: gitaly.FetchSourceBranchResponse - (*FsckRequest)(nil), // 33: gitaly.FsckRequest - (*FsckResponse)(nil), // 34: gitaly.FsckResponse - (*WriteRefRequest)(nil), // 35: gitaly.WriteRefRequest - (*WriteRefResponse)(nil), // 36: gitaly.WriteRefResponse - (*FindMergeBaseRequest)(nil), // 37: gitaly.FindMergeBaseRequest - (*FindMergeBaseResponse)(nil), // 38: gitaly.FindMergeBaseResponse - (*CreateForkRequest)(nil), // 39: gitaly.CreateForkRequest - (*CreateForkResponse)(nil), // 40: gitaly.CreateForkResponse - (*CreateRepositoryFromURLRequest)(nil), // 41: gitaly.CreateRepositoryFromURLRequest - (*CreateRepositoryFromURLResponse)(nil), // 42: gitaly.CreateRepositoryFromURLResponse - (*CreateBundleRequest)(nil), // 43: gitaly.CreateBundleRequest - (*CreateBundleResponse)(nil), // 44: gitaly.CreateBundleResponse - (*CreateBundleFromRefListRequest)(nil), // 45: gitaly.CreateBundleFromRefListRequest - (*CreateBundleFromRefListResponse)(nil), // 46: gitaly.CreateBundleFromRefListResponse - (*GetConfigRequest)(nil), // 47: gitaly.GetConfigRequest - (*GetConfigResponse)(nil), // 48: gitaly.GetConfigResponse - (*RestoreCustomHooksRequest)(nil), // 49: gitaly.RestoreCustomHooksRequest - (*RestoreCustomHooksResponse)(nil), // 50: gitaly.RestoreCustomHooksResponse - (*BackupCustomHooksRequest)(nil), // 51: gitaly.BackupCustomHooksRequest - (*BackupCustomHooksResponse)(nil), // 52: gitaly.BackupCustomHooksResponse - (*CreateRepositoryFromBundleRequest)(nil), // 53: gitaly.CreateRepositoryFromBundleRequest - (*CreateRepositoryFromBundleResponse)(nil), // 54: gitaly.CreateRepositoryFromBundleResponse - (*FindLicenseRequest)(nil), // 55: gitaly.FindLicenseRequest - (*FindLicenseResponse)(nil), // 56: gitaly.FindLicenseResponse - (*GetInfoAttributesRequest)(nil), // 57: gitaly.GetInfoAttributesRequest - (*GetInfoAttributesResponse)(nil), // 58: gitaly.GetInfoAttributesResponse - (*CalculateChecksumRequest)(nil), // 59: gitaly.CalculateChecksumRequest - (*CalculateChecksumResponse)(nil), // 60: gitaly.CalculateChecksumResponse - (*GetSnapshotRequest)(nil), // 61: gitaly.GetSnapshotRequest - (*GetSnapshotResponse)(nil), // 62: gitaly.GetSnapshotResponse - (*CreateRepositoryFromSnapshotRequest)(nil), // 63: gitaly.CreateRepositoryFromSnapshotRequest - (*CreateRepositoryFromSnapshotResponse)(nil), // 64: gitaly.CreateRepositoryFromSnapshotResponse - (*GetRawChangesRequest)(nil), // 65: gitaly.GetRawChangesRequest - (*GetRawChangesResponse)(nil), // 66: gitaly.GetRawChangesResponse - (*SearchFilesByNameRequest)(nil), // 67: gitaly.SearchFilesByNameRequest - (*SearchFilesByNameResponse)(nil), // 68: gitaly.SearchFilesByNameResponse - (*SearchFilesByContentRequest)(nil), // 69: gitaly.SearchFilesByContentRequest - (*SearchFilesByContentResponse)(nil), // 70: gitaly.SearchFilesByContentResponse - (*Remote)(nil), // 71: gitaly.Remote - (*GetObjectDirectorySizeRequest)(nil), // 72: gitaly.GetObjectDirectorySizeRequest - (*GetObjectDirectorySizeResponse)(nil), // 73: gitaly.GetObjectDirectorySizeResponse - (*RemoveRepositoryRequest)(nil), // 74: gitaly.RemoveRepositoryRequest - (*RemoveRepositoryResponse)(nil), // 75: gitaly.RemoveRepositoryResponse - (*RenameRepositoryRequest)(nil), // 76: gitaly.RenameRepositoryRequest - (*RenameRepositoryResponse)(nil), // 77: gitaly.RenameRepositoryResponse - (*ReplicateRepositoryRequest)(nil), // 78: gitaly.ReplicateRepositoryRequest - (*ReplicateRepositoryResponse)(nil), // 79: gitaly.ReplicateRepositoryResponse - (*OptimizeRepositoryRequest)(nil), // 80: gitaly.OptimizeRepositoryRequest - (*OptimizeRepositoryResponse)(nil), // 81: gitaly.OptimizeRepositoryResponse - (*PruneUnreachableObjectsRequest)(nil), // 82: gitaly.PruneUnreachableObjectsRequest - (*PruneUnreachableObjectsResponse)(nil), // 83: gitaly.PruneUnreachableObjectsResponse - (*SetFullPathRequest)(nil), // 84: gitaly.SetFullPathRequest - (*SetFullPathResponse)(nil), // 85: gitaly.SetFullPathResponse - (*GetRawChangesResponse_RawChange)(nil), // 86: gitaly.GetRawChangesResponse.RawChange - (*Repository)(nil), // 87: gitaly.Repository -} -var file_repository_proto_depIdxs = []int32{ - 87, // 0: gitaly.RepositoryExistsRequest.repository:type_name -> gitaly.Repository - 87, // 1: gitaly.RepackIncrementalRequest.repository:type_name -> gitaly.Repository - 87, // 2: gitaly.RepackFullRequest.repository:type_name -> gitaly.Repository - 87, // 3: gitaly.MidxRepackRequest.repository:type_name -> gitaly.Repository - 87, // 4: gitaly.GarbageCollectRequest.repository:type_name -> gitaly.Repository - 87, // 5: gitaly.WriteCommitGraphRequest.repository:type_name -> gitaly.Repository - 0, // 6: gitaly.WriteCommitGraphRequest.splitStrategy:type_name -> gitaly.WriteCommitGraphRequest.SplitStrategy - 87, // 7: gitaly.CleanupRequest.repository:type_name -> gitaly.Repository - 87, // 8: gitaly.RepositorySizeRequest.repository:type_name -> gitaly.Repository - 87, // 9: gitaly.ApplyGitattributesRequest.repository:type_name -> gitaly.Repository - 87, // 10: gitaly.FetchBundleRequest.repository:type_name -> gitaly.Repository - 87, // 11: gitaly.FetchRemoteRequest.repository:type_name -> gitaly.Repository - 71, // 12: gitaly.FetchRemoteRequest.remote_params:type_name -> gitaly.Remote - 87, // 13: gitaly.CreateRepositoryRequest.repository:type_name -> gitaly.Repository - 87, // 14: gitaly.GetArchiveRequest.repository:type_name -> gitaly.Repository - 1, // 15: gitaly.GetArchiveRequest.format:type_name -> gitaly.GetArchiveRequest.Format - 87, // 16: gitaly.HasLocalBranchesRequest.repository:type_name -> gitaly.Repository - 87, // 17: gitaly.FetchSourceBranchRequest.repository:type_name -> gitaly.Repository - 87, // 18: gitaly.FetchSourceBranchRequest.source_repository:type_name -> gitaly.Repository - 87, // 19: gitaly.FsckRequest.repository:type_name -> gitaly.Repository - 87, // 20: gitaly.WriteRefRequest.repository:type_name -> gitaly.Repository - 87, // 21: gitaly.FindMergeBaseRequest.repository:type_name -> gitaly.Repository - 87, // 22: gitaly.CreateForkRequest.repository:type_name -> gitaly.Repository - 87, // 23: gitaly.CreateForkRequest.source_repository:type_name -> gitaly.Repository - 87, // 24: gitaly.CreateRepositoryFromURLRequest.repository:type_name -> gitaly.Repository - 87, // 25: gitaly.CreateBundleRequest.repository:type_name -> gitaly.Repository - 87, // 26: gitaly.CreateBundleFromRefListRequest.repository:type_name -> gitaly.Repository - 87, // 27: gitaly.GetConfigRequest.repository:type_name -> gitaly.Repository - 87, // 28: gitaly.RestoreCustomHooksRequest.repository:type_name -> gitaly.Repository - 87, // 29: gitaly.BackupCustomHooksRequest.repository:type_name -> gitaly.Repository - 87, // 30: gitaly.CreateRepositoryFromBundleRequest.repository:type_name -> gitaly.Repository - 87, // 31: gitaly.FindLicenseRequest.repository:type_name -> gitaly.Repository - 87, // 32: gitaly.GetInfoAttributesRequest.repository:type_name -> gitaly.Repository - 87, // 33: gitaly.CalculateChecksumRequest.repository:type_name -> gitaly.Repository - 87, // 34: gitaly.GetSnapshotRequest.repository:type_name -> gitaly.Repository - 87, // 35: gitaly.CreateRepositoryFromSnapshotRequest.repository:type_name -> gitaly.Repository - 87, // 36: gitaly.GetRawChangesRequest.repository:type_name -> gitaly.Repository - 86, // 37: gitaly.GetRawChangesResponse.raw_changes:type_name -> gitaly.GetRawChangesResponse.RawChange - 87, // 38: gitaly.SearchFilesByNameRequest.repository:type_name -> gitaly.Repository - 87, // 39: gitaly.SearchFilesByContentRequest.repository:type_name -> gitaly.Repository - 87, // 40: gitaly.GetObjectDirectorySizeRequest.repository:type_name -> gitaly.Repository - 87, // 41: gitaly.RemoveRepositoryRequest.repository:type_name -> gitaly.Repository - 87, // 42: gitaly.RenameRepositoryRequest.repository:type_name -> gitaly.Repository - 87, // 43: gitaly.ReplicateRepositoryRequest.repository:type_name -> gitaly.Repository - 87, // 44: gitaly.ReplicateRepositoryRequest.source:type_name -> gitaly.Repository - 87, // 45: gitaly.OptimizeRepositoryRequest.repository:type_name -> gitaly.Repository - 87, // 46: gitaly.PruneUnreachableObjectsRequest.repository:type_name -> gitaly.Repository - 87, // 47: gitaly.SetFullPathRequest.repository:type_name -> gitaly.Repository - 2, // 48: gitaly.GetRawChangesResponse.RawChange.operation:type_name -> gitaly.GetRawChangesResponse.RawChange.Operation - 3, // 49: gitaly.RepositoryService.RepositoryExists:input_type -> gitaly.RepositoryExistsRequest - 5, // 50: gitaly.RepositoryService.RepackIncremental:input_type -> gitaly.RepackIncrementalRequest - 7, // 51: gitaly.RepositoryService.RepackFull:input_type -> gitaly.RepackFullRequest - 9, // 52: gitaly.RepositoryService.MidxRepack:input_type -> gitaly.MidxRepackRequest - 11, // 53: gitaly.RepositoryService.GarbageCollect:input_type -> gitaly.GarbageCollectRequest - 13, // 54: gitaly.RepositoryService.WriteCommitGraph:input_type -> gitaly.WriteCommitGraphRequest - 17, // 55: gitaly.RepositoryService.RepositorySize:input_type -> gitaly.RepositorySizeRequest - 19, // 56: gitaly.RepositoryService.ApplyGitattributes:input_type -> gitaly.ApplyGitattributesRequest - 23, // 57: gitaly.RepositoryService.FetchRemote:input_type -> gitaly.FetchRemoteRequest - 25, // 58: gitaly.RepositoryService.CreateRepository:input_type -> gitaly.CreateRepositoryRequest - 27, // 59: gitaly.RepositoryService.GetArchive:input_type -> gitaly.GetArchiveRequest - 29, // 60: gitaly.RepositoryService.HasLocalBranches:input_type -> gitaly.HasLocalBranchesRequest - 31, // 61: gitaly.RepositoryService.FetchSourceBranch:input_type -> gitaly.FetchSourceBranchRequest - 33, // 62: gitaly.RepositoryService.Fsck:input_type -> gitaly.FsckRequest - 35, // 63: gitaly.RepositoryService.WriteRef:input_type -> gitaly.WriteRefRequest - 37, // 64: gitaly.RepositoryService.FindMergeBase:input_type -> gitaly.FindMergeBaseRequest - 39, // 65: gitaly.RepositoryService.CreateFork:input_type -> gitaly.CreateForkRequest - 41, // 66: gitaly.RepositoryService.CreateRepositoryFromURL:input_type -> gitaly.CreateRepositoryFromURLRequest - 43, // 67: gitaly.RepositoryService.CreateBundle:input_type -> gitaly.CreateBundleRequest - 45, // 68: gitaly.RepositoryService.CreateBundleFromRefList:input_type -> gitaly.CreateBundleFromRefListRequest - 21, // 69: gitaly.RepositoryService.FetchBundle:input_type -> gitaly.FetchBundleRequest - 53, // 70: gitaly.RepositoryService.CreateRepositoryFromBundle:input_type -> gitaly.CreateRepositoryFromBundleRequest - 47, // 71: gitaly.RepositoryService.GetConfig:input_type -> gitaly.GetConfigRequest - 55, // 72: gitaly.RepositoryService.FindLicense:input_type -> gitaly.FindLicenseRequest - 57, // 73: gitaly.RepositoryService.GetInfoAttributes:input_type -> gitaly.GetInfoAttributesRequest - 59, // 74: gitaly.RepositoryService.CalculateChecksum:input_type -> gitaly.CalculateChecksumRequest - 15, // 75: gitaly.RepositoryService.Cleanup:input_type -> gitaly.CleanupRequest - 61, // 76: gitaly.RepositoryService.GetSnapshot:input_type -> gitaly.GetSnapshotRequest - 63, // 77: gitaly.RepositoryService.CreateRepositoryFromSnapshot:input_type -> gitaly.CreateRepositoryFromSnapshotRequest - 65, // 78: gitaly.RepositoryService.GetRawChanges:input_type -> gitaly.GetRawChangesRequest - 69, // 79: gitaly.RepositoryService.SearchFilesByContent:input_type -> gitaly.SearchFilesByContentRequest - 67, // 80: gitaly.RepositoryService.SearchFilesByName:input_type -> gitaly.SearchFilesByNameRequest - 49, // 81: gitaly.RepositoryService.RestoreCustomHooks:input_type -> gitaly.RestoreCustomHooksRequest - 51, // 82: gitaly.RepositoryService.BackupCustomHooks:input_type -> gitaly.BackupCustomHooksRequest - 72, // 83: gitaly.RepositoryService.GetObjectDirectorySize:input_type -> gitaly.GetObjectDirectorySizeRequest - 74, // 84: gitaly.RepositoryService.RemoveRepository:input_type -> gitaly.RemoveRepositoryRequest - 76, // 85: gitaly.RepositoryService.RenameRepository:input_type -> gitaly.RenameRepositoryRequest - 78, // 86: gitaly.RepositoryService.ReplicateRepository:input_type -> gitaly.ReplicateRepositoryRequest - 80, // 87: gitaly.RepositoryService.OptimizeRepository:input_type -> gitaly.OptimizeRepositoryRequest - 82, // 88: gitaly.RepositoryService.PruneUnreachableObjects:input_type -> gitaly.PruneUnreachableObjectsRequest - 84, // 89: gitaly.RepositoryService.SetFullPath:input_type -> gitaly.SetFullPathRequest - 4, // 90: gitaly.RepositoryService.RepositoryExists:output_type -> gitaly.RepositoryExistsResponse - 6, // 91: gitaly.RepositoryService.RepackIncremental:output_type -> gitaly.RepackIncrementalResponse - 8, // 92: gitaly.RepositoryService.RepackFull:output_type -> gitaly.RepackFullResponse - 10, // 93: gitaly.RepositoryService.MidxRepack:output_type -> gitaly.MidxRepackResponse - 12, // 94: gitaly.RepositoryService.GarbageCollect:output_type -> gitaly.GarbageCollectResponse - 14, // 95: gitaly.RepositoryService.WriteCommitGraph:output_type -> gitaly.WriteCommitGraphResponse - 18, // 96: gitaly.RepositoryService.RepositorySize:output_type -> gitaly.RepositorySizeResponse - 20, // 97: gitaly.RepositoryService.ApplyGitattributes:output_type -> gitaly.ApplyGitattributesResponse - 24, // 98: gitaly.RepositoryService.FetchRemote:output_type -> gitaly.FetchRemoteResponse - 26, // 99: gitaly.RepositoryService.CreateRepository:output_type -> gitaly.CreateRepositoryResponse - 28, // 100: gitaly.RepositoryService.GetArchive:output_type -> gitaly.GetArchiveResponse - 30, // 101: gitaly.RepositoryService.HasLocalBranches:output_type -> gitaly.HasLocalBranchesResponse - 32, // 102: gitaly.RepositoryService.FetchSourceBranch:output_type -> gitaly.FetchSourceBranchResponse - 34, // 103: gitaly.RepositoryService.Fsck:output_type -> gitaly.FsckResponse - 36, // 104: gitaly.RepositoryService.WriteRef:output_type -> gitaly.WriteRefResponse - 38, // 105: gitaly.RepositoryService.FindMergeBase:output_type -> gitaly.FindMergeBaseResponse - 40, // 106: gitaly.RepositoryService.CreateFork:output_type -> gitaly.CreateForkResponse - 42, // 107: gitaly.RepositoryService.CreateRepositoryFromURL:output_type -> gitaly.CreateRepositoryFromURLResponse - 44, // 108: gitaly.RepositoryService.CreateBundle:output_type -> gitaly.CreateBundleResponse - 46, // 109: gitaly.RepositoryService.CreateBundleFromRefList:output_type -> gitaly.CreateBundleFromRefListResponse - 22, // 110: gitaly.RepositoryService.FetchBundle:output_type -> gitaly.FetchBundleResponse - 54, // 111: gitaly.RepositoryService.CreateRepositoryFromBundle:output_type -> gitaly.CreateRepositoryFromBundleResponse - 48, // 112: gitaly.RepositoryService.GetConfig:output_type -> gitaly.GetConfigResponse - 56, // 113: gitaly.RepositoryService.FindLicense:output_type -> gitaly.FindLicenseResponse - 58, // 114: gitaly.RepositoryService.GetInfoAttributes:output_type -> gitaly.GetInfoAttributesResponse - 60, // 115: gitaly.RepositoryService.CalculateChecksum:output_type -> gitaly.CalculateChecksumResponse - 16, // 116: gitaly.RepositoryService.Cleanup:output_type -> gitaly.CleanupResponse - 62, // 117: gitaly.RepositoryService.GetSnapshot:output_type -> gitaly.GetSnapshotResponse - 64, // 118: gitaly.RepositoryService.CreateRepositoryFromSnapshot:output_type -> gitaly.CreateRepositoryFromSnapshotResponse - 66, // 119: gitaly.RepositoryService.GetRawChanges:output_type -> gitaly.GetRawChangesResponse - 70, // 120: gitaly.RepositoryService.SearchFilesByContent:output_type -> gitaly.SearchFilesByContentResponse - 68, // 121: gitaly.RepositoryService.SearchFilesByName:output_type -> gitaly.SearchFilesByNameResponse - 50, // 122: gitaly.RepositoryService.RestoreCustomHooks:output_type -> gitaly.RestoreCustomHooksResponse - 52, // 123: gitaly.RepositoryService.BackupCustomHooks:output_type -> gitaly.BackupCustomHooksResponse - 73, // 124: gitaly.RepositoryService.GetObjectDirectorySize:output_type -> gitaly.GetObjectDirectorySizeResponse - 75, // 125: gitaly.RepositoryService.RemoveRepository:output_type -> gitaly.RemoveRepositoryResponse - 77, // 126: gitaly.RepositoryService.RenameRepository:output_type -> gitaly.RenameRepositoryResponse - 79, // 127: gitaly.RepositoryService.ReplicateRepository:output_type -> gitaly.ReplicateRepositoryResponse - 81, // 128: gitaly.RepositoryService.OptimizeRepository:output_type -> gitaly.OptimizeRepositoryResponse - 83, // 129: gitaly.RepositoryService.PruneUnreachableObjects:output_type -> gitaly.PruneUnreachableObjectsResponse - 85, // 130: gitaly.RepositoryService.SetFullPath:output_type -> gitaly.SetFullPathResponse - 90, // [90:131] is the sub-list for method output_type - 49, // [49:90] is the sub-list for method input_type - 49, // [49:49] is the sub-list for extension type_name - 49, // [49:49] is the sub-list for extension extendee - 0, // [0:49] is the sub-list for field type_name -} - -func init() { file_repository_proto_init() } -func file_repository_proto_init() { - if File_repository_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_repository_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositoryExistsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositoryExistsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepackIncrementalRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepackIncrementalResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepackFullRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepackFullResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MidxRepackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MidxRepackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GarbageCollectRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GarbageCollectResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteCommitGraphRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteCommitGraphResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CleanupRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CleanupResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositorySizeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RepositorySizeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGitattributesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGitattributesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchBundleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchBundleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchRemoteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchRemoteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArchiveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArchiveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HasLocalBranchesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*HasLocalBranchesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchSourceBranchRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FetchSourceBranchResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FsckRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FsckResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteRefRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WriteRefResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindMergeBaseRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindMergeBaseResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateForkRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateForkResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromURLRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromURLResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBundleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBundleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBundleFromRefListRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateBundleFromRefListResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreCustomHooksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestoreCustomHooksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupCustomHooksRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BackupCustomHooksResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromBundleRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromBundleResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLicenseRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FindLicenseResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfoAttributesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetInfoAttributesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CalculateChecksumRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CalculateChecksumResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSnapshotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSnapshotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromSnapshotRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateRepositoryFromSnapshotResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRawChangesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRawChangesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchFilesByNameRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchFilesByNameResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchFilesByContentRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SearchFilesByContentResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Remote); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectDirectorySizeRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetObjectDirectorySizeResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RemoveRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicateRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ReplicateRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OptimizeRepositoryRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OptimizeRepositoryResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PruneUnreachableObjectsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PruneUnreachableObjectsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFullPathRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SetFullPathResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_repository_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRawChangesResponse_RawChange); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_repository_proto_rawDesc, - NumEnums: 3, - NumMessages: 84, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_repository_proto_goTypes, - DependencyIndexes: file_repository_proto_depIdxs, - EnumInfos: file_repository_proto_enumTypes, - MessageInfos: file_repository_proto_msgTypes, - }.Build() - File_repository_proto = out.File - file_repository_proto_rawDesc = nil - file_repository_proto_goTypes = nil - file_repository_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/repository_grpc.pb.go b/proto/go/gitalypb/repository_grpc.pb.go deleted file mode 100644 index c4a979a21..000000000 --- a/proto/go/gitalypb/repository_grpc.pb.go +++ /dev/null @@ -1,2071 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RepositoryServiceClient is the client API for RepositoryService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RepositoryServiceClient interface { - // This comment is left unintentionally blank. - RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) - // Deprecated: Do not use. - // RepackIncremental is deprecated in favor of OptimizeRepository. - RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) - // Deprecated: Do not use. - // RepackFull is deprecated in favor of OptimizeRepository. - RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) - // Deprecated: Do not use. - // MidxRepack is deprecated in favor of OptimizeRepository. - MidxRepack(ctx context.Context, in *MidxRepackRequest, opts ...grpc.CallOption) (*MidxRepackResponse, error) - // Deprecated: Do not use. - // GarbageCollect is deprecated in favor of OptimizeRepository. - GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) - // Deprecated: Do not use. - // WriteCommitGraph is deprecated in favor of OptimizeRepository. - WriteCommitGraph(ctx context.Context, in *WriteCommitGraphRequest, opts ...grpc.CallOption) (*WriteCommitGraphResponse, error) - // This comment is left unintentionally blank. - RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) - // This comment is left unintentionally blank. - ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) - // FetchRemote fetches references from a remote repository into the local - // repository. - FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) - // This comment is left unintentionally blank. - CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) - // This comment is left unintentionally blank. - GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) - // This comment is left unintentionally blank. - HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) - // FetchSourceBranch fetches a branch from a second (potentially remote) - // repository into the given repository. - FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) - // This comment is left unintentionally blank. - Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) - // This comment is left unintentionally blank. - WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) - // This comment is left unintentionally blank. - FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) - // This comment is left unintentionally blank. - CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) - // This comment is left unintentionally blank. - CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) - // CreateBundle creates a bundle from all refs - CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) - // CreateBundleFromRefList creates a bundle from a stream of ref patterns. - // When the bundle would be empty the FailedPrecondition error code is returned. - CreateBundleFromRefList(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateBundleFromRefListClient, error) - // FetchBundle fetches references from a bundle into the local repository. - // Refs will be mirrored to the target repository with the refspec - // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. - FetchBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_FetchBundleClient, error) - // This comment is left unintentionally blank. - CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) - // GetConfig reads the target repository's gitconfig and streams its contents - // back. Returns a NotFound error in case no gitconfig was found. - GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (RepositoryService_GetConfigClient, error) - // This comment is left unintentionally blank. - FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) - // This comment is left unintentionally blank. - GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) - // This comment is left unintentionally blank. - CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) - // Deprecated: Do not use. - // Cleanup is deprecated in favor of OptimizeRepository. - Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) - // This comment is left unintentionally blank. - GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) - // This comment is left unintentionally blank. - CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) - // This comment is left unintentionally blank. - GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) - // This comment is left unintentionally blank. - SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) - // This comment is left unintentionally blank. - SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) - // This comment is left unintentionally blank. - RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) - // This comment is left unintentionally blank. - BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) - // This comment is left unintentionally blank. - GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) - // RemoveRepository will move the repository to `+gitaly/tmp/_removed` and - // eventually remove it. This ensures that even on networked filesystems the - // data is actually removed even if there's someone still handling the data. - RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) - // This comment is left unintentionally blank. - RenameRepository(ctx context.Context, in *RenameRepositoryRequest, opts ...grpc.CallOption) (*RenameRepositoryResponse, error) - // This comment is left unintentionally blank. - ReplicateRepository(ctx context.Context, in *ReplicateRepositoryRequest, opts ...grpc.CallOption) (*ReplicateRepositoryResponse, error) - // OptimizeRepository performs all maintenance tasks in a repository to keep - // it in an efficient state. It cleans up stale data, repacks objects, - // updates auxiliary caches like commit-graphs and packs references. The - // optimizations performed are based on heuristics and will adapt to the - // repository's size. This RPC call is designed as a black-box such that - // Gitaly has complete control of the on-disk state of repositories. - OptimizeRepository(ctx context.Context, in *OptimizeRepositoryRequest, opts ...grpc.CallOption) (*OptimizeRepositoryResponse, error) - // PruneUnreachableObjects will prune all objects which aren't reachable from - // the repository's current set of references. Because pruning can only - // happen for objects which aren't packed, you are required to first run - // OptimizeRepository to explode any unreachable objects into loose objects. - // - // Furthermore, this RPC call has a grace period of 30 minutes: any - // unreachable loose objects must not have been accessed or modified in the - // last 30 minutes. This is a hard requirement to avoid repository corruption. - // - // To make proper use of this RPC you thus need to call OptimizeRepository, - // wait 30 minutes, and then call PruneUnreachableObjects. - PruneUnreachableObjects(ctx context.Context, in *PruneUnreachableObjectsRequest, opts ...grpc.CallOption) (*PruneUnreachableObjectsResponse, error) - // SetFullPath writes the "gitlab.fullpath" configuration into the - // repository's gitconfig. This is mainly to help debugging purposes in case - // an admin inspects the repository's gitconfig such that he can easily see - // what the repository name is. - SetFullPath(ctx context.Context, in *SetFullPathRequest, opts ...grpc.CallOption) (*SetFullPathResponse, error) -} - -type repositoryServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient { - return &repositoryServiceClient{cc} -} - -func (c *repositoryServiceClient) RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) { - out := new(RepositoryExistsResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepositoryExists", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) { - out := new(RepackIncrementalResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepackIncremental", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) { - out := new(RepackFullResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepackFull", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) MidxRepack(ctx context.Context, in *MidxRepackRequest, opts ...grpc.CallOption) (*MidxRepackResponse, error) { - out := new(MidxRepackResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/MidxRepack", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) { - out := new(GarbageCollectResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/GarbageCollect", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) WriteCommitGraph(ctx context.Context, in *WriteCommitGraphRequest, opts ...grpc.CallOption) (*WriteCommitGraphResponse, error) { - out := new(WriteCommitGraphResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/WriteCommitGraph", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) { - out := new(RepositorySizeResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepositorySize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) { - out := new(ApplyGitattributesResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/ApplyGitattributes", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) { - out := new(FetchRemoteResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FetchRemote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) { - out := new(CreateRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[0], "/gitaly.RepositoryService/GetArchive", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceGetArchiveClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_GetArchiveClient interface { - Recv() (*GetArchiveResponse, error) - grpc.ClientStream -} - -type repositoryServiceGetArchiveClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceGetArchiveClient) Recv() (*GetArchiveResponse, error) { - m := new(GetArchiveResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) { - out := new(HasLocalBranchesResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/HasLocalBranches", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) { - out := new(FetchSourceBranchResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FetchSourceBranch", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) { - out := new(FsckResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/Fsck", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) { - out := new(WriteRefResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/WriteRef", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) { - out := new(FindMergeBaseResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FindMergeBase", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) { - out := new(CreateForkResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateFork", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) { - out := new(CreateRepositoryFromURLResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepositoryFromURL", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[1], "/gitaly.RepositoryService/CreateBundle", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceCreateBundleClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_CreateBundleClient interface { - Recv() (*CreateBundleResponse, error) - grpc.ClientStream -} - -type repositoryServiceCreateBundleClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceCreateBundleClient) Recv() (*CreateBundleResponse, error) { - m := new(CreateBundleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) CreateBundleFromRefList(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateBundleFromRefListClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[2], "/gitaly.RepositoryService/CreateBundleFromRefList", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceCreateBundleFromRefListClient{stream} - return x, nil -} - -type RepositoryService_CreateBundleFromRefListClient interface { - Send(*CreateBundleFromRefListRequest) error - Recv() (*CreateBundleFromRefListResponse, error) - grpc.ClientStream -} - -type repositoryServiceCreateBundleFromRefListClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceCreateBundleFromRefListClient) Send(m *CreateBundleFromRefListRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *repositoryServiceCreateBundleFromRefListClient) Recv() (*CreateBundleFromRefListResponse, error) { - m := new(CreateBundleFromRefListResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) FetchBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_FetchBundleClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[3], "/gitaly.RepositoryService/FetchBundle", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceFetchBundleClient{stream} - return x, nil -} - -type RepositoryService_FetchBundleClient interface { - Send(*FetchBundleRequest) error - CloseAndRecv() (*FetchBundleResponse, error) - grpc.ClientStream -} - -type repositoryServiceFetchBundleClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceFetchBundleClient) Send(m *FetchBundleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *repositoryServiceFetchBundleClient) CloseAndRecv() (*FetchBundleResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(FetchBundleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[4], "/gitaly.RepositoryService/CreateRepositoryFromBundle", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceCreateRepositoryFromBundleClient{stream} - return x, nil -} - -type RepositoryService_CreateRepositoryFromBundleClient interface { - Send(*CreateRepositoryFromBundleRequest) error - CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) - grpc.ClientStream -} - -type repositoryServiceCreateRepositoryFromBundleClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceCreateRepositoryFromBundleClient) Send(m *CreateRepositoryFromBundleRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *repositoryServiceCreateRepositoryFromBundleClient) CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(CreateRepositoryFromBundleResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (RepositoryService_GetConfigClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[5], "/gitaly.RepositoryService/GetConfig", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceGetConfigClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_GetConfigClient interface { - Recv() (*GetConfigResponse, error) - grpc.ClientStream -} - -type repositoryServiceGetConfigClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceGetConfigClient) Recv() (*GetConfigResponse, error) { - m := new(GetConfigResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) { - out := new(FindLicenseResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FindLicense", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[6], "/gitaly.RepositoryService/GetInfoAttributes", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceGetInfoAttributesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_GetInfoAttributesClient interface { - Recv() (*GetInfoAttributesResponse, error) - grpc.ClientStream -} - -type repositoryServiceGetInfoAttributesClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceGetInfoAttributesClient) Recv() (*GetInfoAttributesResponse, error) { - m := new(GetInfoAttributesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) { - out := new(CalculateChecksumResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CalculateChecksum", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// Deprecated: Do not use. -func (c *repositoryServiceClient) Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) { - out := new(CleanupResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/Cleanup", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[7], "/gitaly.RepositoryService/GetSnapshot", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceGetSnapshotClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_GetSnapshotClient interface { - Recv() (*GetSnapshotResponse, error) - grpc.ClientStream -} - -type repositoryServiceGetSnapshotClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceGetSnapshotClient) Recv() (*GetSnapshotResponse, error) { - m := new(GetSnapshotResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) { - out := new(CreateRepositoryFromSnapshotResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepositoryFromSnapshot", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[8], "/gitaly.RepositoryService/GetRawChanges", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceGetRawChangesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_GetRawChangesClient interface { - Recv() (*GetRawChangesResponse, error) - grpc.ClientStream -} - -type repositoryServiceGetRawChangesClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceGetRawChangesClient) Recv() (*GetRawChangesResponse, error) { - m := new(GetRawChangesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[9], "/gitaly.RepositoryService/SearchFilesByContent", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceSearchFilesByContentClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_SearchFilesByContentClient interface { - Recv() (*SearchFilesByContentResponse, error) - grpc.ClientStream -} - -type repositoryServiceSearchFilesByContentClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceSearchFilesByContentClient) Recv() (*SearchFilesByContentResponse, error) { - m := new(SearchFilesByContentResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[10], "/gitaly.RepositoryService/SearchFilesByName", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceSearchFilesByNameClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_SearchFilesByNameClient interface { - Recv() (*SearchFilesByNameResponse, error) - grpc.ClientStream -} - -type repositoryServiceSearchFilesByNameClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceSearchFilesByNameClient) Recv() (*SearchFilesByNameResponse, error) { - m := new(SearchFilesByNameResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[11], "/gitaly.RepositoryService/RestoreCustomHooks", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceRestoreCustomHooksClient{stream} - return x, nil -} - -type RepositoryService_RestoreCustomHooksClient interface { - Send(*RestoreCustomHooksRequest) error - CloseAndRecv() (*RestoreCustomHooksResponse, error) - grpc.ClientStream -} - -type repositoryServiceRestoreCustomHooksClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceRestoreCustomHooksClient) Send(m *RestoreCustomHooksRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *repositoryServiceRestoreCustomHooksClient) CloseAndRecv() (*RestoreCustomHooksResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(RestoreCustomHooksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) { - stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[12], "/gitaly.RepositoryService/BackupCustomHooks", opts...) - if err != nil { - return nil, err - } - x := &repositoryServiceBackupCustomHooksClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type RepositoryService_BackupCustomHooksClient interface { - Recv() (*BackupCustomHooksResponse, error) - grpc.ClientStream -} - -type repositoryServiceBackupCustomHooksClient struct { - grpc.ClientStream -} - -func (x *repositoryServiceBackupCustomHooksClient) Recv() (*BackupCustomHooksResponse, error) { - m := new(BackupCustomHooksResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *repositoryServiceClient) GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) { - out := new(GetObjectDirectorySizeResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/GetObjectDirectorySize", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) { - out := new(RemoveRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RemoveRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) RenameRepository(ctx context.Context, in *RenameRepositoryRequest, opts ...grpc.CallOption) (*RenameRepositoryResponse, error) { - out := new(RenameRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RenameRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) ReplicateRepository(ctx context.Context, in *ReplicateRepositoryRequest, opts ...grpc.CallOption) (*ReplicateRepositoryResponse, error) { - out := new(ReplicateRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/ReplicateRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) OptimizeRepository(ctx context.Context, in *OptimizeRepositoryRequest, opts ...grpc.CallOption) (*OptimizeRepositoryResponse, error) { - out := new(OptimizeRepositoryResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/OptimizeRepository", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) PruneUnreachableObjects(ctx context.Context, in *PruneUnreachableObjectsRequest, opts ...grpc.CallOption) (*PruneUnreachableObjectsResponse, error) { - out := new(PruneUnreachableObjectsResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/PruneUnreachableObjects", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *repositoryServiceClient) SetFullPath(ctx context.Context, in *SetFullPathRequest, opts ...grpc.CallOption) (*SetFullPathResponse, error) { - out := new(SetFullPathResponse) - err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/SetFullPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RepositoryServiceServer is the server API for RepositoryService service. -// All implementations must embed UnimplementedRepositoryServiceServer -// for forward compatibility -type RepositoryServiceServer interface { - // This comment is left unintentionally blank. - RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) - // Deprecated: Do not use. - // RepackIncremental is deprecated in favor of OptimizeRepository. - RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) - // Deprecated: Do not use. - // RepackFull is deprecated in favor of OptimizeRepository. - RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) - // Deprecated: Do not use. - // MidxRepack is deprecated in favor of OptimizeRepository. - MidxRepack(context.Context, *MidxRepackRequest) (*MidxRepackResponse, error) - // Deprecated: Do not use. - // GarbageCollect is deprecated in favor of OptimizeRepository. - GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) - // Deprecated: Do not use. - // WriteCommitGraph is deprecated in favor of OptimizeRepository. - WriteCommitGraph(context.Context, *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) - // This comment is left unintentionally blank. - RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) - // This comment is left unintentionally blank. - ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) - // FetchRemote fetches references from a remote repository into the local - // repository. - FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) - // This comment is left unintentionally blank. - CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) - // This comment is left unintentionally blank. - GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error - // This comment is left unintentionally blank. - HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) - // FetchSourceBranch fetches a branch from a second (potentially remote) - // repository into the given repository. - FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) - // This comment is left unintentionally blank. - Fsck(context.Context, *FsckRequest) (*FsckResponse, error) - // This comment is left unintentionally blank. - WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) - // This comment is left unintentionally blank. - FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) - // This comment is left unintentionally blank. - CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) - // This comment is left unintentionally blank. - CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) - // CreateBundle creates a bundle from all refs - CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error - // CreateBundleFromRefList creates a bundle from a stream of ref patterns. - // When the bundle would be empty the FailedPrecondition error code is returned. - CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error - // FetchBundle fetches references from a bundle into the local repository. - // Refs will be mirrored to the target repository with the refspec - // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. - FetchBundle(RepositoryService_FetchBundleServer) error - // This comment is left unintentionally blank. - CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error - // GetConfig reads the target repository's gitconfig and streams its contents - // back. Returns a NotFound error in case no gitconfig was found. - GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error - // This comment is left unintentionally blank. - FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) - // This comment is left unintentionally blank. - GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error - // This comment is left unintentionally blank. - CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) - // Deprecated: Do not use. - // Cleanup is deprecated in favor of OptimizeRepository. - Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) - // This comment is left unintentionally blank. - GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error - // This comment is left unintentionally blank. - CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) - // This comment is left unintentionally blank. - GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error - // This comment is left unintentionally blank. - SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error - // This comment is left unintentionally blank. - SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error - // This comment is left unintentionally blank. - RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error - // This comment is left unintentionally blank. - BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error - // This comment is left unintentionally blank. - GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) - // RemoveRepository will move the repository to `+gitaly/tmp/_removed` and - // eventually remove it. This ensures that even on networked filesystems the - // data is actually removed even if there's someone still handling the data. - RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) - // This comment is left unintentionally blank. - RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) - // This comment is left unintentionally blank. - ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) - // OptimizeRepository performs all maintenance tasks in a repository to keep - // it in an efficient state. It cleans up stale data, repacks objects, - // updates auxiliary caches like commit-graphs and packs references. The - // optimizations performed are based on heuristics and will adapt to the - // repository's size. This RPC call is designed as a black-box such that - // Gitaly has complete control of the on-disk state of repositories. - OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) - // PruneUnreachableObjects will prune all objects which aren't reachable from - // the repository's current set of references. Because pruning can only - // happen for objects which aren't packed, you are required to first run - // OptimizeRepository to explode any unreachable objects into loose objects. - // - // Furthermore, this RPC call has a grace period of 30 minutes: any - // unreachable loose objects must not have been accessed or modified in the - // last 30 minutes. This is a hard requirement to avoid repository corruption. - // - // To make proper use of this RPC you thus need to call OptimizeRepository, - // wait 30 minutes, and then call PruneUnreachableObjects. - PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error) - // SetFullPath writes the "gitlab.fullpath" configuration into the - // repository's gitconfig. This is mainly to help debugging purposes in case - // an admin inspects the repository's gitconfig such that he can easily see - // what the repository name is. - SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error) - mustEmbedUnimplementedRepositoryServiceServer() -} - -// UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations. -type UnimplementedRepositoryServiceServer struct { -} - -func (UnimplementedRepositoryServiceServer) RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepositoryExists not implemented") -} -func (UnimplementedRepositoryServiceServer) RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepackIncremental not implemented") -} -func (UnimplementedRepositoryServiceServer) RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepackFull not implemented") -} -func (UnimplementedRepositoryServiceServer) MidxRepack(context.Context, *MidxRepackRequest) (*MidxRepackResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MidxRepack not implemented") -} -func (UnimplementedRepositoryServiceServer) GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GarbageCollect not implemented") -} -func (UnimplementedRepositoryServiceServer) WriteCommitGraph(context.Context, *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WriteCommitGraph not implemented") -} -func (UnimplementedRepositoryServiceServer) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RepositorySize not implemented") -} -func (UnimplementedRepositoryServiceServer) ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ApplyGitattributes not implemented") -} -func (UnimplementedRepositoryServiceServer) FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FetchRemote not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRepository not implemented") -} -func (UnimplementedRepositoryServiceServer) GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error { - return status.Errorf(codes.Unimplemented, "method GetArchive not implemented") -} -func (UnimplementedRepositoryServiceServer) HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method HasLocalBranches not implemented") -} -func (UnimplementedRepositoryServiceServer) FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FetchSourceBranch not implemented") -} -func (UnimplementedRepositoryServiceServer) Fsck(context.Context, *FsckRequest) (*FsckResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Fsck not implemented") -} -func (UnimplementedRepositoryServiceServer) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method WriteRef not implemented") -} -func (UnimplementedRepositoryServiceServer) FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindMergeBase not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateFork not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromURL not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error { - return status.Errorf(codes.Unimplemented, "method CreateBundle not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error { - return status.Errorf(codes.Unimplemented, "method CreateBundleFromRefList not implemented") -} -func (UnimplementedRepositoryServiceServer) FetchBundle(RepositoryService_FetchBundleServer) error { - return status.Errorf(codes.Unimplemented, "method FetchBundle not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error { - return status.Errorf(codes.Unimplemented, "method CreateRepositoryFromBundle not implemented") -} -func (UnimplementedRepositoryServiceServer) GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error { - return status.Errorf(codes.Unimplemented, "method GetConfig not implemented") -} -func (UnimplementedRepositoryServiceServer) FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FindLicense not implemented") -} -func (UnimplementedRepositoryServiceServer) GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error { - return status.Errorf(codes.Unimplemented, "method GetInfoAttributes not implemented") -} -func (UnimplementedRepositoryServiceServer) CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CalculateChecksum not implemented") -} -func (UnimplementedRepositoryServiceServer) Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Cleanup not implemented") -} -func (UnimplementedRepositoryServiceServer) GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error { - return status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") -} -func (UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromSnapshot not implemented") -} -func (UnimplementedRepositoryServiceServer) GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error { - return status.Errorf(codes.Unimplemented, "method GetRawChanges not implemented") -} -func (UnimplementedRepositoryServiceServer) SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error { - return status.Errorf(codes.Unimplemented, "method SearchFilesByContent not implemented") -} -func (UnimplementedRepositoryServiceServer) SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error { - return status.Errorf(codes.Unimplemented, "method SearchFilesByName not implemented") -} -func (UnimplementedRepositoryServiceServer) RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error { - return status.Errorf(codes.Unimplemented, "method RestoreCustomHooks not implemented") -} -func (UnimplementedRepositoryServiceServer) BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error { - return status.Errorf(codes.Unimplemented, "method BackupCustomHooks not implemented") -} -func (UnimplementedRepositoryServiceServer) GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetObjectDirectorySize not implemented") -} -func (UnimplementedRepositoryServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RemoveRepository not implemented") -} -func (UnimplementedRepositoryServiceServer) RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameRepository not implemented") -} -func (UnimplementedRepositoryServiceServer) ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ReplicateRepository not implemented") -} -func (UnimplementedRepositoryServiceServer) OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method OptimizeRepository not implemented") -} -func (UnimplementedRepositoryServiceServer) PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PruneUnreachableObjects not implemented") -} -func (UnimplementedRepositoryServiceServer) SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SetFullPath not implemented") -} -func (UnimplementedRepositoryServiceServer) mustEmbedUnimplementedRepositoryServiceServer() {} - -// UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RepositoryServiceServer will -// result in compilation errors. -type UnsafeRepositoryServiceServer interface { - mustEmbedUnimplementedRepositoryServiceServer() -} - -func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer) { - s.RegisterService(&RepositoryService_ServiceDesc, srv) -} - -func _RepositoryService_RepositoryExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepositoryExistsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RepositoryExists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RepositoryExists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RepositoryExists(ctx, req.(*RepositoryExistsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_RepackIncremental_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepackIncrementalRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RepackIncremental(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RepackIncremental", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RepackIncremental(ctx, req.(*RepackIncrementalRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_RepackFull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepackFullRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RepackFull(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RepackFull", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RepackFull(ctx, req.(*RepackFullRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_MidxRepack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MidxRepackRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).MidxRepack(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/MidxRepack", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).MidxRepack(ctx, req.(*MidxRepackRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_GarbageCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GarbageCollectRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).GarbageCollect(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/GarbageCollect", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).GarbageCollect(ctx, req.(*GarbageCollectRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_WriteCommitGraph_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WriteCommitGraphRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).WriteCommitGraph(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/WriteCommitGraph", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).WriteCommitGraph(ctx, req.(*WriteCommitGraphRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_RepositorySize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RepositorySizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RepositorySize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RepositorySize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RepositorySize(ctx, req.(*RepositorySizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_ApplyGitattributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ApplyGitattributesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/ApplyGitattributes", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, req.(*ApplyGitattributesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_FetchRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchRemoteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).FetchRemote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/FetchRemote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).FetchRemote(ctx, req.(*FetchRemoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_CreateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).CreateRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/CreateRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).CreateRepository(ctx, req.(*CreateRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_GetArchive_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetArchiveRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).GetArchive(m, &repositoryServiceGetArchiveServer{stream}) -} - -type RepositoryService_GetArchiveServer interface { - Send(*GetArchiveResponse) error - grpc.ServerStream -} - -type repositoryServiceGetArchiveServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceGetArchiveServer) Send(m *GetArchiveResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_HasLocalBranches_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(HasLocalBranchesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).HasLocalBranches(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/HasLocalBranches", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).HasLocalBranches(ctx, req.(*HasLocalBranchesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_FetchSourceBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FetchSourceBranchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/FetchSourceBranch", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, req.(*FetchSourceBranchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_Fsck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FsckRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).Fsck(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/Fsck", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).Fsck(ctx, req.(*FsckRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_WriteRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(WriteRefRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).WriteRef(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/WriteRef", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).WriteRef(ctx, req.(*WriteRefRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_FindMergeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindMergeBaseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).FindMergeBase(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/FindMergeBase", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).FindMergeBase(ctx, req.(*FindMergeBaseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_CreateFork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateForkRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).CreateFork(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/CreateFork", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).CreateFork(ctx, req.(*CreateForkRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_CreateRepositoryFromURL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRepositoryFromURLRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/CreateRepositoryFromURL", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, req.(*CreateRepositoryFromURLRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_CreateBundle_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(CreateBundleRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).CreateBundle(m, &repositoryServiceCreateBundleServer{stream}) -} - -type RepositoryService_CreateBundleServer interface { - Send(*CreateBundleResponse) error - grpc.ServerStream -} - -type repositoryServiceCreateBundleServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceCreateBundleServer) Send(m *CreateBundleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_CreateBundleFromRefList_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RepositoryServiceServer).CreateBundleFromRefList(&repositoryServiceCreateBundleFromRefListServer{stream}) -} - -type RepositoryService_CreateBundleFromRefListServer interface { - Send(*CreateBundleFromRefListResponse) error - Recv() (*CreateBundleFromRefListRequest, error) - grpc.ServerStream -} - -type repositoryServiceCreateBundleFromRefListServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceCreateBundleFromRefListServer) Send(m *CreateBundleFromRefListResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *repositoryServiceCreateBundleFromRefListServer) Recv() (*CreateBundleFromRefListRequest, error) { - m := new(CreateBundleFromRefListRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RepositoryService_FetchBundle_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RepositoryServiceServer).FetchBundle(&repositoryServiceFetchBundleServer{stream}) -} - -type RepositoryService_FetchBundleServer interface { - SendAndClose(*FetchBundleResponse) error - Recv() (*FetchBundleRequest, error) - grpc.ServerStream -} - -type repositoryServiceFetchBundleServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceFetchBundleServer) SendAndClose(m *FetchBundleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *repositoryServiceFetchBundleServer) Recv() (*FetchBundleRequest, error) { - m := new(FetchBundleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RepositoryService_CreateRepositoryFromBundle_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RepositoryServiceServer).CreateRepositoryFromBundle(&repositoryServiceCreateRepositoryFromBundleServer{stream}) -} - -type RepositoryService_CreateRepositoryFromBundleServer interface { - SendAndClose(*CreateRepositoryFromBundleResponse) error - Recv() (*CreateRepositoryFromBundleRequest, error) - grpc.ServerStream -} - -type repositoryServiceCreateRepositoryFromBundleServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceCreateRepositoryFromBundleServer) SendAndClose(m *CreateRepositoryFromBundleResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *repositoryServiceCreateRepositoryFromBundleServer) Recv() (*CreateRepositoryFromBundleRequest, error) { - m := new(CreateRepositoryFromBundleRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RepositoryService_GetConfig_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetConfigRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).GetConfig(m, &repositoryServiceGetConfigServer{stream}) -} - -type RepositoryService_GetConfigServer interface { - Send(*GetConfigResponse) error - grpc.ServerStream -} - -type repositoryServiceGetConfigServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceGetConfigServer) Send(m *GetConfigResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_FindLicense_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FindLicenseRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).FindLicense(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/FindLicense", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).FindLicense(ctx, req.(*FindLicenseRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_GetInfoAttributes_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetInfoAttributesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).GetInfoAttributes(m, &repositoryServiceGetInfoAttributesServer{stream}) -} - -type RepositoryService_GetInfoAttributesServer interface { - Send(*GetInfoAttributesResponse) error - grpc.ServerStream -} - -type repositoryServiceGetInfoAttributesServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceGetInfoAttributesServer) Send(m *GetInfoAttributesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_CalculateChecksum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CalculateChecksumRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).CalculateChecksum(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/CalculateChecksum", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).CalculateChecksum(ctx, req.(*CalculateChecksumRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_Cleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CleanupRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).Cleanup(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/Cleanup", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).Cleanup(ctx, req.(*CleanupRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_GetSnapshot_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetSnapshotRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).GetSnapshot(m, &repositoryServiceGetSnapshotServer{stream}) -} - -type RepositoryService_GetSnapshotServer interface { - Send(*GetSnapshotResponse) error - grpc.ServerStream -} - -type repositoryServiceGetSnapshotServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceGetSnapshotServer) Send(m *GetSnapshotResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_CreateRepositoryFromSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CreateRepositoryFromSnapshotRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).CreateRepositoryFromSnapshot(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/CreateRepositoryFromSnapshot", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).CreateRepositoryFromSnapshot(ctx, req.(*CreateRepositoryFromSnapshotRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_GetRawChanges_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(GetRawChangesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).GetRawChanges(m, &repositoryServiceGetRawChangesServer{stream}) -} - -type RepositoryService_GetRawChangesServer interface { - Send(*GetRawChangesResponse) error - grpc.ServerStream -} - -type repositoryServiceGetRawChangesServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceGetRawChangesServer) Send(m *GetRawChangesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_SearchFilesByContent_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SearchFilesByContentRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).SearchFilesByContent(m, &repositoryServiceSearchFilesByContentServer{stream}) -} - -type RepositoryService_SearchFilesByContentServer interface { - Send(*SearchFilesByContentResponse) error - grpc.ServerStream -} - -type repositoryServiceSearchFilesByContentServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceSearchFilesByContentServer) Send(m *SearchFilesByContentResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_SearchFilesByName_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(SearchFilesByNameRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).SearchFilesByName(m, &repositoryServiceSearchFilesByNameServer{stream}) -} - -type RepositoryService_SearchFilesByNameServer interface { - Send(*SearchFilesByNameResponse) error - grpc.ServerStream -} - -type repositoryServiceSearchFilesByNameServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceSearchFilesByNameServer) Send(m *SearchFilesByNameResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_RestoreCustomHooks_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(RepositoryServiceServer).RestoreCustomHooks(&repositoryServiceRestoreCustomHooksServer{stream}) -} - -type RepositoryService_RestoreCustomHooksServer interface { - SendAndClose(*RestoreCustomHooksResponse) error - Recv() (*RestoreCustomHooksRequest, error) - grpc.ServerStream -} - -type repositoryServiceRestoreCustomHooksServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceRestoreCustomHooksServer) SendAndClose(m *RestoreCustomHooksResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *repositoryServiceRestoreCustomHooksServer) Recv() (*RestoreCustomHooksRequest, error) { - m := new(RestoreCustomHooksRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _RepositoryService_BackupCustomHooks_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(BackupCustomHooksRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(RepositoryServiceServer).BackupCustomHooks(m, &repositoryServiceBackupCustomHooksServer{stream}) -} - -type RepositoryService_BackupCustomHooksServer interface { - Send(*BackupCustomHooksResponse) error - grpc.ServerStream -} - -type repositoryServiceBackupCustomHooksServer struct { - grpc.ServerStream -} - -func (x *repositoryServiceBackupCustomHooksServer) Send(m *BackupCustomHooksResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _RepositoryService_GetObjectDirectorySize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetObjectDirectorySizeRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).GetObjectDirectorySize(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/GetObjectDirectorySize", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).GetObjectDirectorySize(ctx, req.(*GetObjectDirectorySizeRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_RemoveRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RemoveRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RemoveRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RemoveRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RemoveRepository(ctx, req.(*RemoveRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_RenameRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).RenameRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/RenameRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).RenameRepository(ctx, req.(*RenameRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_ReplicateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReplicateRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).ReplicateRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/ReplicateRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).ReplicateRepository(ctx, req.(*ReplicateRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_OptimizeRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OptimizeRepositoryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).OptimizeRepository(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/OptimizeRepository", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).OptimizeRepository(ctx, req.(*OptimizeRepositoryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_PruneUnreachableObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PruneUnreachableObjectsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).PruneUnreachableObjects(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/PruneUnreachableObjects", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).PruneUnreachableObjects(ctx, req.(*PruneUnreachableObjectsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RepositoryService_SetFullPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SetFullPathRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RepositoryServiceServer).SetFullPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RepositoryService/SetFullPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RepositoryServiceServer).SetFullPath(ctx, req.(*SetFullPathRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RepositoryService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.RepositoryService", - HandlerType: (*RepositoryServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "RepositoryExists", - Handler: _RepositoryService_RepositoryExists_Handler, - }, - { - MethodName: "RepackIncremental", - Handler: _RepositoryService_RepackIncremental_Handler, - }, - { - MethodName: "RepackFull", - Handler: _RepositoryService_RepackFull_Handler, - }, - { - MethodName: "MidxRepack", - Handler: _RepositoryService_MidxRepack_Handler, - }, - { - MethodName: "GarbageCollect", - Handler: _RepositoryService_GarbageCollect_Handler, - }, - { - MethodName: "WriteCommitGraph", - Handler: _RepositoryService_WriteCommitGraph_Handler, - }, - { - MethodName: "RepositorySize", - Handler: _RepositoryService_RepositorySize_Handler, - }, - { - MethodName: "ApplyGitattributes", - Handler: _RepositoryService_ApplyGitattributes_Handler, - }, - { - MethodName: "FetchRemote", - Handler: _RepositoryService_FetchRemote_Handler, - }, - { - MethodName: "CreateRepository", - Handler: _RepositoryService_CreateRepository_Handler, - }, - { - MethodName: "HasLocalBranches", - Handler: _RepositoryService_HasLocalBranches_Handler, - }, - { - MethodName: "FetchSourceBranch", - Handler: _RepositoryService_FetchSourceBranch_Handler, - }, - { - MethodName: "Fsck", - Handler: _RepositoryService_Fsck_Handler, - }, - { - MethodName: "WriteRef", - Handler: _RepositoryService_WriteRef_Handler, - }, - { - MethodName: "FindMergeBase", - Handler: _RepositoryService_FindMergeBase_Handler, - }, - { - MethodName: "CreateFork", - Handler: _RepositoryService_CreateFork_Handler, - }, - { - MethodName: "CreateRepositoryFromURL", - Handler: _RepositoryService_CreateRepositoryFromURL_Handler, - }, - { - MethodName: "FindLicense", - Handler: _RepositoryService_FindLicense_Handler, - }, - { - MethodName: "CalculateChecksum", - Handler: _RepositoryService_CalculateChecksum_Handler, - }, - { - MethodName: "Cleanup", - Handler: _RepositoryService_Cleanup_Handler, - }, - { - MethodName: "CreateRepositoryFromSnapshot", - Handler: _RepositoryService_CreateRepositoryFromSnapshot_Handler, - }, - { - MethodName: "GetObjectDirectorySize", - Handler: _RepositoryService_GetObjectDirectorySize_Handler, - }, - { - MethodName: "RemoveRepository", - Handler: _RepositoryService_RemoveRepository_Handler, - }, - { - MethodName: "RenameRepository", - Handler: _RepositoryService_RenameRepository_Handler, - }, - { - MethodName: "ReplicateRepository", - Handler: _RepositoryService_ReplicateRepository_Handler, - }, - { - MethodName: "OptimizeRepository", - Handler: _RepositoryService_OptimizeRepository_Handler, - }, - { - MethodName: "PruneUnreachableObjects", - Handler: _RepositoryService_PruneUnreachableObjects_Handler, - }, - { - MethodName: "SetFullPath", - Handler: _RepositoryService_SetFullPath_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "GetArchive", - Handler: _RepositoryService_GetArchive_Handler, - ServerStreams: true, - }, - { - StreamName: "CreateBundle", - Handler: _RepositoryService_CreateBundle_Handler, - ServerStreams: true, - }, - { - StreamName: "CreateBundleFromRefList", - Handler: _RepositoryService_CreateBundleFromRefList_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "FetchBundle", - Handler: _RepositoryService_FetchBundle_Handler, - ClientStreams: true, - }, - { - StreamName: "CreateRepositoryFromBundle", - Handler: _RepositoryService_CreateRepositoryFromBundle_Handler, - ClientStreams: true, - }, - { - StreamName: "GetConfig", - Handler: _RepositoryService_GetConfig_Handler, - ServerStreams: true, - }, - { - StreamName: "GetInfoAttributes", - Handler: _RepositoryService_GetInfoAttributes_Handler, - ServerStreams: true, - }, - { - StreamName: "GetSnapshot", - Handler: _RepositoryService_GetSnapshot_Handler, - ServerStreams: true, - }, - { - StreamName: "GetRawChanges", - Handler: _RepositoryService_GetRawChanges_Handler, - ServerStreams: true, - }, - { - StreamName: "SearchFilesByContent", - Handler: _RepositoryService_SearchFilesByContent_Handler, - ServerStreams: true, - }, - { - StreamName: "SearchFilesByName", - Handler: _RepositoryService_SearchFilesByName_Handler, - ServerStreams: true, - }, - { - StreamName: "RestoreCustomHooks", - Handler: _RepositoryService_RestoreCustomHooks_Handler, - ClientStreams: true, - }, - { - StreamName: "BackupCustomHooks", - Handler: _RepositoryService_BackupCustomHooks_Handler, - ServerStreams: true, - }, - }, - Metadata: "repository.proto", -} diff --git a/proto/go/gitalypb/server.pb.go b/proto/go/gitalypb/server.pb.go deleted file mode 100644 index 4bb30f084..000000000 --- a/proto/go/gitalypb/server.pb.go +++ /dev/null @@ -1,726 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: server.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type ServerInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ServerInfoRequest) Reset() { - *x = ServerInfoRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerInfoRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerInfoRequest) ProtoMessage() {} - -func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead. -func (*ServerInfoRequest) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{0} -} - -// This comment is left unintentionally blank. -type ServerInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` - // This comment is left unintentionally blank. - GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` - // This comment is left unintentionally blank. - StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` -} - -func (x *ServerInfoResponse) Reset() { - *x = ServerInfoResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerInfoResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerInfoResponse) ProtoMessage() {} - -func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead. -func (*ServerInfoResponse) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{1} -} - -func (x *ServerInfoResponse) GetServerVersion() string { - if x != nil { - return x.ServerVersion - } - return "" -} - -func (x *ServerInfoResponse) GetGitVersion() string { - if x != nil { - return x.GitVersion - } - return "" -} - -func (x *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus { - if x != nil { - return x.StorageStatuses - } - return nil -} - -// This comment is left unintentionally blank. -type DiskStatisticsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *DiskStatisticsRequest) Reset() { - *x = DiskStatisticsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiskStatisticsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiskStatisticsRequest) ProtoMessage() {} - -func (x *DiskStatisticsRequest) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiskStatisticsRequest.ProtoReflect.Descriptor instead. -func (*DiskStatisticsRequest) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{2} -} - -// This comment is left unintentionally blank. -type DiskStatisticsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` -} - -func (x *DiskStatisticsResponse) Reset() { - *x = DiskStatisticsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiskStatisticsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiskStatisticsResponse) ProtoMessage() {} - -func (x *DiskStatisticsResponse) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiskStatisticsResponse.ProtoReflect.Descriptor instead. -func (*DiskStatisticsResponse) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{3} -} - -func (x *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus { - if x != nil { - return x.StorageStatuses - } - return nil -} - -// This comment is left unintentionally blank. -type ClockSyncedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // ntp_host is a URL to the external NTP service that should be used for clock sync check. - // Default is ntp.pool.org - NtpHost string `protobuf:"bytes,1,opt,name=ntp_host,json=ntpHost,proto3" json:"ntp_host,omitempty"` - // drift_threshold_millis is an allowed drift from the NTP service in milliseconds. - DriftThresholdMillis int64 `protobuf:"varint,2,opt,name=drift_threshold_millis,json=driftThresholdMillis,proto3" json:"drift_threshold_millis,omitempty"` -} - -func (x *ClockSyncedRequest) Reset() { - *x = ClockSyncedRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClockSyncedRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClockSyncedRequest) ProtoMessage() {} - -func (x *ClockSyncedRequest) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClockSyncedRequest.ProtoReflect.Descriptor instead. -func (*ClockSyncedRequest) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{4} -} - -func (x *ClockSyncedRequest) GetNtpHost() string { - if x != nil { - return x.NtpHost - } - return "" -} - -func (x *ClockSyncedRequest) GetDriftThresholdMillis() int64 { - if x != nil { - return x.DriftThresholdMillis - } - return 0 -} - -// This comment is left unintentionally blank. -type ClockSyncedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // synced is set to true if system clock has an affordable drift compared to NTP service. - Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` -} - -func (x *ClockSyncedResponse) Reset() { - *x = ClockSyncedResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ClockSyncedResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ClockSyncedResponse) ProtoMessage() {} - -func (x *ClockSyncedResponse) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ClockSyncedResponse.ProtoReflect.Descriptor instead. -func (*ClockSyncedResponse) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{5} -} - -func (x *ClockSyncedResponse) GetSynced() bool { - if x != nil { - return x.Synced - } - return false -} - -// This comment is left unintentionally blank. -type ServerInfoResponse_StorageStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` - // This comment is left unintentionally blank. - Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` - // This comment is left unintentionally blank. - FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` - // This comment is left unintentionally blank. - FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` - // This comment is left unintentionally blank. - ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` -} - -func (x *ServerInfoResponse_StorageStatus) Reset() { - *x = ServerInfoResponse_StorageStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ServerInfoResponse_StorageStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ServerInfoResponse_StorageStatus) ProtoMessage() {} - -func (x *ServerInfoResponse_StorageStatus) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ServerInfoResponse_StorageStatus.ProtoReflect.Descriptor instead. -func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{1, 0} -} - -func (x *ServerInfoResponse_StorageStatus) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *ServerInfoResponse_StorageStatus) GetReadable() bool { - if x != nil { - return x.Readable - } - return false -} - -func (x *ServerInfoResponse_StorageStatus) GetWriteable() bool { - if x != nil { - return x.Writeable - } - return false -} - -func (x *ServerInfoResponse_StorageStatus) GetFsType() string { - if x != nil { - return x.FsType - } - return "" -} - -func (x *ServerInfoResponse_StorageStatus) GetFilesystemId() string { - if x != nil { - return x.FilesystemId - } - return "" -} - -func (x *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32 { - if x != nil { - return x.ReplicationFactor - } - return 0 -} - -// This comment is left unintentionally blank. -type DiskStatisticsResponse_StorageStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // When both available and used fields are equal 0 that means that - // Gitaly was unable to determine storage stats. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - // This comment is left unintentionally blank. - Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"` -} - -func (x *DiskStatisticsResponse_StorageStatus) Reset() { - *x = DiskStatisticsResponse_StorageStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_server_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DiskStatisticsResponse_StorageStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DiskStatisticsResponse_StorageStatus) ProtoMessage() {} - -func (x *DiskStatisticsResponse_StorageStatus) ProtoReflect() protoreflect.Message { - mi := &file_server_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DiskStatisticsResponse_StorageStatus.ProtoReflect.Descriptor instead. -func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int) { - return file_server_proto_rawDescGZIP(), []int{3, 0} -} - -func (x *DiskStatisticsResponse_StorageStatus) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *DiskStatisticsResponse_StorageStatus) GetAvailable() int64 { - if x != nil { - return x.Available - } - return 0 -} - -func (x *DiskStatisticsResponse_StorageStatus) GetUsed() int64 { - if x != nil { - return x.Used - } - return 0 -} - -var File_server_proto protoreflect.FileDescriptor - -var file_server_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8d, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, - 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, - 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x69, 0x74, 0x5f, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x69, 0x74, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, - 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0xd9, 0x01, 0x0a, 0x0d, - 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, - 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, - 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6b, 0x53, - 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, - 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x73, - 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, - 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, - 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, - 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x76, 0x61, - 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x22, 0x65, 0x0a, 0x12, 0x43, 0x6c, - 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6e, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x64, - 0x72, 0x69, 0x66, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, - 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x64, 0x72, 0x69, - 0x66, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x4d, 0x69, 0x6c, 0x6c, 0x69, - 0x73, 0x22, 0x2d, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x63, - 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, - 0x32, 0xf3, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x53, - 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x63, - 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, - 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_server_proto_rawDescOnce sync.Once - file_server_proto_rawDescData = file_server_proto_rawDesc -) - -func file_server_proto_rawDescGZIP() []byte { - file_server_proto_rawDescOnce.Do(func() { - file_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_server_proto_rawDescData) - }) - return file_server_proto_rawDescData -} - -var file_server_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_server_proto_goTypes = []interface{}{ - (*ServerInfoRequest)(nil), // 0: gitaly.ServerInfoRequest - (*ServerInfoResponse)(nil), // 1: gitaly.ServerInfoResponse - (*DiskStatisticsRequest)(nil), // 2: gitaly.DiskStatisticsRequest - (*DiskStatisticsResponse)(nil), // 3: gitaly.DiskStatisticsResponse - (*ClockSyncedRequest)(nil), // 4: gitaly.ClockSyncedRequest - (*ClockSyncedResponse)(nil), // 5: gitaly.ClockSyncedResponse - (*ServerInfoResponse_StorageStatus)(nil), // 6: gitaly.ServerInfoResponse.StorageStatus - (*DiskStatisticsResponse_StorageStatus)(nil), // 7: gitaly.DiskStatisticsResponse.StorageStatus -} -var file_server_proto_depIdxs = []int32{ - 6, // 0: gitaly.ServerInfoResponse.storage_statuses:type_name -> gitaly.ServerInfoResponse.StorageStatus - 7, // 1: gitaly.DiskStatisticsResponse.storage_statuses:type_name -> gitaly.DiskStatisticsResponse.StorageStatus - 0, // 2: gitaly.ServerService.ServerInfo:input_type -> gitaly.ServerInfoRequest - 2, // 3: gitaly.ServerService.DiskStatistics:input_type -> gitaly.DiskStatisticsRequest - 4, // 4: gitaly.ServerService.ClockSynced:input_type -> gitaly.ClockSyncedRequest - 1, // 5: gitaly.ServerService.ServerInfo:output_type -> gitaly.ServerInfoResponse - 3, // 6: gitaly.ServerService.DiskStatistics:output_type -> gitaly.DiskStatisticsResponse - 5, // 7: gitaly.ServerService.ClockSynced:output_type -> gitaly.ClockSyncedResponse - 5, // [5:8] is the sub-list for method output_type - 2, // [2:5] is the sub-list for method input_type - 2, // [2:2] is the sub-list for extension type_name - 2, // [2:2] is the sub-list for extension extendee - 0, // [0:2] is the sub-list for field type_name -} - -func init() { file_server_proto_init() } -func file_server_proto_init() { - if File_server_proto != nil { - return - } - file_lint_proto_init() - if !protoimpl.UnsafeEnabled { - file_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerInfoRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerInfoResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatisticsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatisticsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClockSyncedRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClockSyncedResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServerInfoResponse_StorageStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DiskStatisticsResponse_StorageStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_server_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_server_proto_goTypes, - DependencyIndexes: file_server_proto_depIdxs, - MessageInfos: file_server_proto_msgTypes, - }.Build() - File_server_proto = out.File - file_server_proto_rawDesc = nil - file_server_proto_goTypes = nil - file_server_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/server_grpc.pb.go b/proto/go/gitalypb/server_grpc.pb.go deleted file mode 100644 index bb3ea1dfc..000000000 --- a/proto/go/gitalypb/server_grpc.pb.go +++ /dev/null @@ -1,181 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// ServerServiceClient is the client API for ServerService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ServerServiceClient interface { - // This comment is left unintentionally blank. - ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) - // This comment is left unintentionally blank. - DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) - // ClockSynced checks if machine clock is synced - // (the offset is less that the one passed in the request). - ClockSynced(ctx context.Context, in *ClockSyncedRequest, opts ...grpc.CallOption) (*ClockSyncedResponse, error) -} - -type serverServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient { - return &serverServiceClient{cc} -} - -func (c *serverServiceClient) ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) { - out := new(ServerInfoResponse) - err := c.cc.Invoke(ctx, "/gitaly.ServerService/ServerInfo", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serverServiceClient) DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) { - out := new(DiskStatisticsResponse) - err := c.cc.Invoke(ctx, "/gitaly.ServerService/DiskStatistics", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *serverServiceClient) ClockSynced(ctx context.Context, in *ClockSyncedRequest, opts ...grpc.CallOption) (*ClockSyncedResponse, error) { - out := new(ClockSyncedResponse) - err := c.cc.Invoke(ctx, "/gitaly.ServerService/ClockSynced", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// ServerServiceServer is the server API for ServerService service. -// All implementations must embed UnimplementedServerServiceServer -// for forward compatibility -type ServerServiceServer interface { - // This comment is left unintentionally blank. - ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) - // This comment is left unintentionally blank. - DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) - // ClockSynced checks if machine clock is synced - // (the offset is less that the one passed in the request). - ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error) - mustEmbedUnimplementedServerServiceServer() -} - -// UnimplementedServerServiceServer must be embedded to have forward compatible implementations. -type UnimplementedServerServiceServer struct { -} - -func (UnimplementedServerServiceServer) ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ServerInfo not implemented") -} -func (UnimplementedServerServiceServer) DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method DiskStatistics not implemented") -} -func (UnimplementedServerServiceServer) ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method ClockSynced not implemented") -} -func (UnimplementedServerServiceServer) mustEmbedUnimplementedServerServiceServer() {} - -// UnsafeServerServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ServerServiceServer will -// result in compilation errors. -type UnsafeServerServiceServer interface { - mustEmbedUnimplementedServerServiceServer() -} - -func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer) { - s.RegisterService(&ServerService_ServiceDesc, srv) -} - -func _ServerService_ServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ServerInfoRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServerServiceServer).ServerInfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ServerService/ServerInfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServerServiceServer).ServerInfo(ctx, req.(*ServerInfoRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServerService_DiskStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DiskStatisticsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServerServiceServer).DiskStatistics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ServerService/DiskStatistics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServerServiceServer).DiskStatistics(ctx, req.(*DiskStatisticsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ServerService_ClockSynced_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ClockSyncedRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServerServiceServer).ClockSynced(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.ServerService/ClockSynced", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServerServiceServer).ClockSynced(ctx, req.(*ClockSyncedRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// ServerService_ServiceDesc is the grpc.ServiceDesc for ServerService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ServerService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.ServerService", - HandlerType: (*ServerServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "ServerInfo", - Handler: _ServerService_ServerInfo_Handler, - }, - { - MethodName: "DiskStatistics", - Handler: _ServerService_DiskStatistics_Handler, - }, - { - MethodName: "ClockSynced", - Handler: _ServerService_ClockSynced_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "server.proto", -} diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go deleted file mode 100644 index 31a54b636..000000000 --- a/proto/go/gitalypb/shared.pb.go +++ /dev/null @@ -1,1427 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: shared.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - timestamppb "google.golang.org/protobuf/types/known/timestamppb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type ObjectType int32 - -const ( - // This comment is left unintentionally blank. - ObjectType_UNKNOWN ObjectType = 0 - // This comment is left unintentionally blank. - ObjectType_COMMIT ObjectType = 1 - // This comment is left unintentionally blank. - ObjectType_BLOB ObjectType = 2 - // This comment is left unintentionally blank. - ObjectType_TREE ObjectType = 3 - // This comment is left unintentionally blank. - ObjectType_TAG ObjectType = 4 -) - -// Enum value maps for ObjectType. -var ( - ObjectType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "COMMIT", - 2: "BLOB", - 3: "TREE", - 4: "TAG", - } - ObjectType_value = map[string]int32{ - "UNKNOWN": 0, - "COMMIT": 1, - "BLOB": 2, - "TREE": 3, - "TAG": 4, - } -) - -func (x ObjectType) Enum() *ObjectType { - p := new(ObjectType) - *p = x - return p -} - -func (x ObjectType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (ObjectType) Descriptor() protoreflect.EnumDescriptor { - return file_shared_proto_enumTypes[0].Descriptor() -} - -func (ObjectType) Type() protoreflect.EnumType { - return &file_shared_proto_enumTypes[0] -} - -func (x ObjectType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use ObjectType.Descriptor instead. -func (ObjectType) EnumDescriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{0} -} - -// This comment is left unintentionally blank. -type SignatureType int32 - -const ( - // This comment is left unintentionally blank. - SignatureType_NONE SignatureType = 0 - // This comment is left unintentionally blank. - SignatureType_PGP SignatureType = 1 - // This comment is left unintentionally blank. - SignatureType_X509 SignatureType = 2 - // This comment is left unintentionally blank. - SignatureType_SSH SignatureType = 3 // maybe add X509+TSA or other combinations at a later step -) - -// Enum value maps for SignatureType. -var ( - SignatureType_name = map[int32]string{ - 0: "NONE", - 1: "PGP", - 2: "X509", - 3: "SSH", - } - SignatureType_value = map[string]int32{ - "NONE": 0, - "PGP": 1, - "X509": 2, - "SSH": 3, - } -) - -func (x SignatureType) Enum() *SignatureType { - p := new(SignatureType) - *p = x - return p -} - -func (x SignatureType) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SignatureType) Descriptor() protoreflect.EnumDescriptor { - return file_shared_proto_enumTypes[1].Descriptor() -} - -func (SignatureType) Type() protoreflect.EnumType { - return &file_shared_proto_enumTypes[1] -} - -func (x SignatureType) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SignatureType.Descriptor instead. -func (SignatureType) EnumDescriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{1} -} - -// SortDirection defines the sort direction. -type SortDirection int32 - -const ( - // ASCENDING sorts by the sort key in ascending order. - SortDirection_ASCENDING SortDirection = 0 - // DESCENDING sorts by the sort key in descending order. - SortDirection_DESCENDING SortDirection = 1 -) - -// Enum value maps for SortDirection. -var ( - SortDirection_name = map[int32]string{ - 0: "ASCENDING", - 1: "DESCENDING", - } - SortDirection_value = map[string]int32{ - "ASCENDING": 0, - "DESCENDING": 1, - } -) - -func (x SortDirection) Enum() *SortDirection { - p := new(SortDirection) - *p = x - return p -} - -func (x SortDirection) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (SortDirection) Descriptor() protoreflect.EnumDescriptor { - return file_shared_proto_enumTypes[2].Descriptor() -} - -func (SortDirection) Type() protoreflect.EnumType { - return &file_shared_proto_enumTypes[2] -} - -func (x SortDirection) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use SortDirection.Descriptor instead. -func (SortDirection) EnumDescriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{2} -} - -// This comment is left unintentionally blank. -type Repository struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - // This comment is left unintentionally blank. - RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. - // It influences the object storage directory the SHA1 directories are created underneath. - GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory,proto3" json:"git_object_directory,omitempty"` - // Sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to the values of this field. - // It influences the list of Git object directories which can be used to search for Git objects. - GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories,proto3" json:"git_alternate_object_directories,omitempty"` - // Used in callbacks to GitLab so that it knows what repository the event is - // associated with. May be left empty on RPC's that do not perform callbacks. - // During project creation, `gl_repository` may not be known. - GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` - // The human-readable GitLab project path (e.g. gitlab-org/gitlab-ce). - // When hashed storage is use, this associates a project path with its - // path on disk. The name can change over time (e.g. when a project is - // renamed). This is primarily used for logging/debugging at the - // moment. - GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` -} - -func (x *Repository) Reset() { - *x = Repository{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Repository) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Repository) ProtoMessage() {} - -func (x *Repository) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Repository.ProtoReflect.Descriptor instead. -func (*Repository) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{0} -} - -func (x *Repository) GetStorageName() string { - if x != nil { - return x.StorageName - } - return "" -} - -func (x *Repository) GetRelativePath() string { - if x != nil { - return x.RelativePath - } - return "" -} - -func (x *Repository) GetGitObjectDirectory() string { - if x != nil { - return x.GitObjectDirectory - } - return "" -} - -func (x *Repository) GetGitAlternateObjectDirectories() []string { - if x != nil { - return x.GitAlternateObjectDirectories - } - return nil -} - -func (x *Repository) GetGlRepository() string { - if x != nil { - return x.GlRepository - } - return "" -} - -func (x *Repository) GetGlProjectPath() string { - if x != nil { - return x.GlProjectPath - } - return "" -} - -// A single Git trailer (https://git-scm.com/docs/git-interpret-trailers) -// key-value pair. -type CommitTrailer struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // The key of the trailer, such as `Signed-off-by`. - Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // The value of the trailer, such as `Alice `. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *CommitTrailer) Reset() { - *x = CommitTrailer{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitTrailer) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitTrailer) ProtoMessage() {} - -func (x *CommitTrailer) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitTrailer.ProtoReflect.Descriptor instead. -func (*CommitTrailer) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{1} -} - -func (x *CommitTrailer) GetKey() []byte { - if x != nil { - return x.Key - } - return nil -} - -func (x *CommitTrailer) GetValue() []byte { - if x != nil { - return x.Value - } - return nil -} - -// Corresponds to Gitlab::Git::Commit -type GitCommit struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - // This comment is left unintentionally blank. - Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` - // This comment is left unintentionally blank. - Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` - // This comment is left unintentionally blank. - Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` - // This comment is left unintentionally blank. - Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"` - // This comment is left unintentionally blank. - ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` - // If body exceeds a certain threshold, it will be nullified, - // but its size will be set in body_size so we can know if - // a commit had a body in the first place. - BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize,proto3" json:"body_size,omitempty"` - // This comment is left unintentionally blank. - SignatureType SignatureType `protobuf:"varint,8,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` - // The tree ID will always be filled, even if the tree is empty. In that case - // the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`. - // That value is equivalent to `git hash-object -t tree /dev/null` - TreeId string `protobuf:"bytes,9,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` - // The list of Git trailers (https://git-scm.com/docs/git-interpret-trailers) - // found in this commit's message. The number of trailers and their key/value - // sizes are limited. If a trailer exceeds these size limits, it and any - // trailers that follow it are not included. - Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` -} - -func (x *GitCommit) Reset() { - *x = GitCommit{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GitCommit) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GitCommit) ProtoMessage() {} - -func (x *GitCommit) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GitCommit.ProtoReflect.Descriptor instead. -func (*GitCommit) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{2} -} - -func (x *GitCommit) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *GitCommit) GetSubject() []byte { - if x != nil { - return x.Subject - } - return nil -} - -func (x *GitCommit) GetBody() []byte { - if x != nil { - return x.Body - } - return nil -} - -func (x *GitCommit) GetAuthor() *CommitAuthor { - if x != nil { - return x.Author - } - return nil -} - -func (x *GitCommit) GetCommitter() *CommitAuthor { - if x != nil { - return x.Committer - } - return nil -} - -func (x *GitCommit) GetParentIds() []string { - if x != nil { - return x.ParentIds - } - return nil -} - -func (x *GitCommit) GetBodySize() int64 { - if x != nil { - return x.BodySize - } - return 0 -} - -func (x *GitCommit) GetSignatureType() SignatureType { - if x != nil { - return x.SignatureType - } - return SignatureType_NONE -} - -func (x *GitCommit) GetTreeId() string { - if x != nil { - return x.TreeId - } - return "" -} - -func (x *GitCommit) GetTrailers() []*CommitTrailer { - if x != nil { - return x.Trailers - } - return nil -} - -// This comment is left unintentionally blank. -type CommitAuthor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - // This comment is left unintentionally blank. - Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` - // This comment is left unintentionally blank. - Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` -} - -func (x *CommitAuthor) Reset() { - *x = CommitAuthor{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CommitAuthor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CommitAuthor) ProtoMessage() {} - -func (x *CommitAuthor) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead. -func (*CommitAuthor) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{3} -} - -func (x *CommitAuthor) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *CommitAuthor) GetEmail() []byte { - if x != nil { - return x.Email - } - return nil -} - -func (x *CommitAuthor) GetDate() *timestamppb.Timestamp { - if x != nil { - return x.Date - } - return nil -} - -func (x *CommitAuthor) GetTimezone() []byte { - if x != nil { - return x.Timezone - } - return nil -} - -// This comment is left unintentionally blank. -type ExitStatus struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *ExitStatus) Reset() { - *x = ExitStatus{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExitStatus) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExitStatus) ProtoMessage() {} - -func (x *ExitStatus) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead. -func (*ExitStatus) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{4} -} - -func (x *ExitStatus) GetValue() int32 { - if x != nil { - return x.Value - } - return 0 -} - -// Corresponds to Gitlab::Git::Branch -type Branch struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` -} - -func (x *Branch) Reset() { - *x = Branch{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Branch) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Branch) ProtoMessage() {} - -func (x *Branch) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Branch.ProtoReflect.Descriptor instead. -func (*Branch) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{5} -} - -func (x *Branch) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *Branch) GetTargetCommit() *GitCommit { - if x != nil { - return x.TargetCommit - } - return nil -} - -// This comment is left unintentionally blank. -type Tag struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - // This comment is left unintentionally blank. - TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` - // If message exceeds a certain threshold, it will be nullified, - // but its size will be set in message_size so we can know if - // a tag had a message in the first place. - Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - // This comment is left unintentionally blank. - MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` - // This comment is left unintentionally blank. - Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` - // This comment is left unintentionally blank. - SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` -} - -func (x *Tag) Reset() { - *x = Tag{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Tag) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Tag) ProtoMessage() {} - -func (x *Tag) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Tag.ProtoReflect.Descriptor instead. -func (*Tag) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{6} -} - -func (x *Tag) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *Tag) GetId() string { - if x != nil { - return x.Id - } - return "" -} - -func (x *Tag) GetTargetCommit() *GitCommit { - if x != nil { - return x.TargetCommit - } - return nil -} - -func (x *Tag) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *Tag) GetMessageSize() int64 { - if x != nil { - return x.MessageSize - } - return 0 -} - -func (x *Tag) GetTagger() *CommitAuthor { - if x != nil { - return x.Tagger - } - return nil -} - -func (x *Tag) GetSignatureType() SignatureType { - if x != nil { - return x.SignatureType - } - return SignatureType_NONE -} - -// This comment is left unintentionally blank. -type User struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` - // This comment is left unintentionally blank. - GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` - // Timezone is the timezone as configured by the user in the web interface. This - // timezone may be used when new commits are created via RPC calls. - Timezone string `protobuf:"bytes,5,opt,name=timezone,proto3" json:"timezone,omitempty"` -} - -func (x *User) Reset() { - *x = User{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use User.ProtoReflect.Descriptor instead. -func (*User) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{7} -} - -func (x *User) GetGlId() string { - if x != nil { - return x.GlId - } - return "" -} - -func (x *User) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *User) GetEmail() []byte { - if x != nil { - return x.Email - } - return nil -} - -func (x *User) GetGlUsername() string { - if x != nil { - return x.GlUsername - } - return "" -} - -func (x *User) GetTimezone() string { - if x != nil { - return x.Timezone - } - return "" -} - -// This comment is left unintentionally blank. -type ObjectPool struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` -} - -func (x *ObjectPool) Reset() { - *x = ObjectPool{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ObjectPool) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ObjectPool) ProtoMessage() {} - -func (x *ObjectPool) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ObjectPool.ProtoReflect.Descriptor instead. -func (*ObjectPool) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{8} -} - -func (x *ObjectPool) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -// This comment is left unintentionally blank. -type PaginationParameter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Instructs pagination to start sending results after the provided page - // token appears. A page token allows for a generic pattern to uniquely - // identify a result or 'page'. Each paginated RPC may interpret a page - // token differently. - PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` - // When fully consuming the response the client will receive _at most_ - // `limit` number of resulting objects. Note that the number of response - // messages might be much lower, as some response messages already send - // multiple objects per message. - // When the limit is smaller than 0, it will be normalized to 2147483647 - // on the server side. When limit is not set, it defaults to 0, and no - // results are send in the response. - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` -} - -func (x *PaginationParameter) Reset() { - *x = PaginationParameter{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaginationParameter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaginationParameter) ProtoMessage() {} - -func (x *PaginationParameter) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaginationParameter.ProtoReflect.Descriptor instead. -func (*PaginationParameter) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{9} -} - -func (x *PaginationParameter) GetPageToken() string { - if x != nil { - return x.PageToken - } - return "" -} - -func (x *PaginationParameter) GetLimit() int32 { - if x != nil { - return x.Limit - } - return 0 -} - -// This comment is left unintentionally blank. -type PaginationCursor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // To the caller, this is an opaque token to indicate what the caller - // should present as a page_token to get subsequent results. - NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` -} - -func (x *PaginationCursor) Reset() { - *x = PaginationCursor{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PaginationCursor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PaginationCursor) ProtoMessage() {} - -func (x *PaginationCursor) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PaginationCursor.ProtoReflect.Descriptor instead. -func (*PaginationCursor) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{10} -} - -func (x *PaginationCursor) GetNextCursor() string { - if x != nil { - return x.NextCursor - } - return "" -} - -// https://git-scm.com/docs/git/#_options -type GlobalOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Treat pathspecs literally (i.e. no globbing, no pathspec magic) - LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` -} - -func (x *GlobalOptions) Reset() { - *x = GlobalOptions{} - if protoimpl.UnsafeEnabled { - mi := &file_shared_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GlobalOptions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GlobalOptions) ProtoMessage() {} - -func (x *GlobalOptions) ProtoReflect() protoreflect.Message { - mi := &file_shared_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead. -func (*GlobalOptions) Descriptor() ([]byte, []int) { - return file_shared_proto_rawDescGZIP(), []int{11} -} - -func (x *GlobalOptions) GetLiteralPathspecs() bool { - if x != nil { - return x.LiteralPathspecs - } - return false -} - -var File_shared_proto protoreflect.FileDescriptor - -var file_shared_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, - 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x67, 0x69, - 0x74, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x67, 0x69, 0x74, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x47, 0x0a, 0x20, - 0x67, 0x69, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1d, 0x67, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, - 0x6e, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x6c, - 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x52, 0x04, - 0x70, 0x61, 0x74, 0x68, 0x22, 0x37, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x72, - 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf1, 0x02, - 0x0a, 0x09, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, - 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x75, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, - 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, - 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, - 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, - 0x64, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, - 0x6f, 0x64, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, - 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, - 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, - 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x31, - 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, - 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, - 0x73, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, - 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x45, 0x78, 0x69, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x54, 0x0a, 0x06, - 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x74, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, - 0x69, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, - 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, - 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, - 0x69, 0x7a, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, - 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, - 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, - 0x82, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, - 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, - 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, - 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, - 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x46, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, - 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x90, 0xc6, 0x2c, 0x01, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4a, 0x0a, 0x13, - 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, - 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x33, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, - 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, - 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x3c, 0x0a, - 0x0d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, - 0x0a, 0x11, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, - 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, - 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2a, 0x42, 0x0a, 0x0a, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, - 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, - 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, - 0x54, 0x52, 0x45, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a, - 0x35, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47, - 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x12, 0x07, 0x0a, - 0x03, 0x53, 0x53, 0x48, 0x10, 0x03, 0x2a, 0x2e, 0x0a, 0x0d, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, - 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, - 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, - 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_shared_proto_rawDescOnce sync.Once - file_shared_proto_rawDescData = file_shared_proto_rawDesc -) - -func file_shared_proto_rawDescGZIP() []byte { - file_shared_proto_rawDescOnce.Do(func() { - file_shared_proto_rawDescData = protoimpl.X.CompressGZIP(file_shared_proto_rawDescData) - }) - return file_shared_proto_rawDescData -} - -var file_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 3) -var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 12) -var file_shared_proto_goTypes = []interface{}{ - (ObjectType)(0), // 0: gitaly.ObjectType - (SignatureType)(0), // 1: gitaly.SignatureType - (SortDirection)(0), // 2: gitaly.SortDirection - (*Repository)(nil), // 3: gitaly.Repository - (*CommitTrailer)(nil), // 4: gitaly.CommitTrailer - (*GitCommit)(nil), // 5: gitaly.GitCommit - (*CommitAuthor)(nil), // 6: gitaly.CommitAuthor - (*ExitStatus)(nil), // 7: gitaly.ExitStatus - (*Branch)(nil), // 8: gitaly.Branch - (*Tag)(nil), // 9: gitaly.Tag - (*User)(nil), // 10: gitaly.User - (*ObjectPool)(nil), // 11: gitaly.ObjectPool - (*PaginationParameter)(nil), // 12: gitaly.PaginationParameter - (*PaginationCursor)(nil), // 13: gitaly.PaginationCursor - (*GlobalOptions)(nil), // 14: gitaly.GlobalOptions - (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp -} -var file_shared_proto_depIdxs = []int32{ - 6, // 0: gitaly.GitCommit.author:type_name -> gitaly.CommitAuthor - 6, // 1: gitaly.GitCommit.committer:type_name -> gitaly.CommitAuthor - 1, // 2: gitaly.GitCommit.signature_type:type_name -> gitaly.SignatureType - 4, // 3: gitaly.GitCommit.trailers:type_name -> gitaly.CommitTrailer - 15, // 4: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp - 5, // 5: gitaly.Branch.target_commit:type_name -> gitaly.GitCommit - 5, // 6: gitaly.Tag.target_commit:type_name -> gitaly.GitCommit - 6, // 7: gitaly.Tag.tagger:type_name -> gitaly.CommitAuthor - 1, // 8: gitaly.Tag.signature_type:type_name -> gitaly.SignatureType - 3, // 9: gitaly.ObjectPool.repository:type_name -> gitaly.Repository - 10, // [10:10] is the sub-list for method output_type - 10, // [10:10] is the sub-list for method input_type - 10, // [10:10] is the sub-list for extension type_name - 10, // [10:10] is the sub-list for extension extendee - 0, // [0:10] is the sub-list for field type_name -} - -func init() { file_shared_proto_init() } -func file_shared_proto_init() { - if File_shared_proto != nil { - return - } - file_lint_proto_init() - if !protoimpl.UnsafeEnabled { - file_shared_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Repository); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitTrailer); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GitCommit); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CommitAuthor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExitStatus); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Branch); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Tag); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*User); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ObjectPool); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaginationParameter); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PaginationCursor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_shared_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GlobalOptions); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_shared_proto_rawDesc, - NumEnums: 3, - NumMessages: 12, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_shared_proto_goTypes, - DependencyIndexes: file_shared_proto_depIdxs, - EnumInfos: file_shared_proto_enumTypes, - MessageInfos: file_shared_proto_msgTypes, - }.Build() - File_shared_proto = out.File - file_shared_proto_rawDesc = nil - file_shared_proto_goTypes = nil - file_shared_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/smarthttp.pb.go b/proto/go/gitalypb/smarthttp.pb.go deleted file mode 100644 index 307925a49..000000000 --- a/proto/go/gitalypb/smarthttp.pb.go +++ /dev/null @@ -1,797 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: smarthttp.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type InfoRefsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` -} - -func (x *InfoRefsRequest) Reset() { - *x = InfoRefsRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InfoRefsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InfoRefsRequest) ProtoMessage() {} - -func (x *InfoRefsRequest) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InfoRefsRequest.ProtoReflect.Descriptor instead. -func (*InfoRefsRequest) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{0} -} - -func (x *InfoRefsRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *InfoRefsRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -func (x *InfoRefsRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -// This comment is left unintentionally blank. -type InfoRefsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *InfoRefsResponse) Reset() { - *x = InfoRefsResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *InfoRefsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*InfoRefsResponse) ProtoMessage() {} - -func (x *InfoRefsResponse) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use InfoRefsResponse.ProtoReflect.Descriptor instead. -func (*InfoRefsResponse) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{1} -} - -func (x *InfoRefsResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type PostUploadPackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository should only be present in the first message of the stream - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Raw data to be copied to stdin of 'git upload-pack' - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,4,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` -} - -func (x *PostUploadPackRequest) Reset() { - *x = PostUploadPackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostUploadPackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostUploadPackRequest) ProtoMessage() {} - -func (x *PostUploadPackRequest) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostUploadPackRequest.ProtoReflect.Descriptor instead. -func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{2} -} - -func (x *PostUploadPackRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PostUploadPackRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *PostUploadPackRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -func (x *PostUploadPackRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -// This comment is left unintentionally blank. -type PostUploadPackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Raw data from stdout of 'git upload-pack' - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *PostUploadPackResponse) Reset() { - *x = PostUploadPackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostUploadPackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostUploadPackResponse) ProtoMessage() {} - -func (x *PostUploadPackResponse) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostUploadPackResponse.ProtoReflect.Descriptor instead. -func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{3} -} - -func (x *PostUploadPackResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -// This comment is left unintentionally blank. -type PostUploadPackWithSidechannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository should only be present in the first message of the stream - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` -} - -func (x *PostUploadPackWithSidechannelRequest) Reset() { - *x = PostUploadPackWithSidechannelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostUploadPackWithSidechannelRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostUploadPackWithSidechannelRequest) ProtoMessage() {} - -func (x *PostUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead. -func (*PostUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{4} -} - -func (x *PostUploadPackWithSidechannelRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PostUploadPackWithSidechannelRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -func (x *PostUploadPackWithSidechannelRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -// This comment is left unintentionally blank. -type PostUploadPackWithSidechannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *PostUploadPackWithSidechannelResponse) Reset() { - *x = PostUploadPackWithSidechannelResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostUploadPackWithSidechannelResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostUploadPackWithSidechannelResponse) ProtoMessage() {} - -func (x *PostUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead. -func (*PostUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{5} -} - -// This comment is left unintentionally blank. -type PostReceivePackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // repository should only be present in the first message of the stream - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Raw data to be copied to stdin of 'git receive-pack' - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - // gl_id, gl_repository, and gl_username become env variables, used by the Git {pre,post}-receive - // hooks. They should only be present in the first message of the stream. - GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` - // This comment is left unintentionally blank. - GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` - // This comment is left unintentionally blank. - GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` -} - -func (x *PostReceivePackRequest) Reset() { - *x = PostReceivePackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostReceivePackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostReceivePackRequest) ProtoMessage() {} - -func (x *PostReceivePackRequest) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostReceivePackRequest.ProtoReflect.Descriptor instead. -func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{6} -} - -func (x *PostReceivePackRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *PostReceivePackRequest) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -func (x *PostReceivePackRequest) GetGlId() string { - if x != nil { - return x.GlId - } - return "" -} - -func (x *PostReceivePackRequest) GetGlRepository() string { - if x != nil { - return x.GlRepository - } - return "" -} - -func (x *PostReceivePackRequest) GetGlUsername() string { - if x != nil { - return x.GlUsername - } - return "" -} - -func (x *PostReceivePackRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -func (x *PostReceivePackRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -// This comment is left unintentionally blank. -type PostReceivePackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Raw data from stdout of 'git receive-pack' - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` -} - -func (x *PostReceivePackResponse) Reset() { - *x = PostReceivePackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_smarthttp_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *PostReceivePackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PostReceivePackResponse) ProtoMessage() {} - -func (x *PostReceivePackResponse) ProtoReflect() protoreflect.Message { - mi := &file_smarthttp_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PostReceivePackResponse.ProtoReflect.Descriptor instead. -func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { - return file_smarthttp_proto_rawDescGZIP(), []int{7} -} - -func (x *PostReceivePackResponse) GetData() []byte { - if x != nil { - return x.Data - } - return nil -} - -var File_smarthttp_proto protoreflect.FileDescriptor - -var file_smarthttp_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, - 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x10, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x50, - 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, - 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x63, 0x6f, 0x6c, 0x22, 0x2c, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, - 0x61, 0x22, 0xb1, 0x01, 0x0a, 0x24, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x27, 0x0a, 0x25, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, - 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, - 0x02, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, - 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x2d, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, - 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, - 0x74, 0x61, 0x32, 0xfd, 0x03, 0x0a, 0x10, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x48, 0x54, 0x54, 0x50, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x12, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x66, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x17, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x13, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, - 0x6b, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5b, - 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, - 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x84, 0x01, 0x0a, 0x1d, - 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, - 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2c, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, - 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, - 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, - 0x08, 0x02, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, - 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, - 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, - 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_smarthttp_proto_rawDescOnce sync.Once - file_smarthttp_proto_rawDescData = file_smarthttp_proto_rawDesc -) - -func file_smarthttp_proto_rawDescGZIP() []byte { - file_smarthttp_proto_rawDescOnce.Do(func() { - file_smarthttp_proto_rawDescData = protoimpl.X.CompressGZIP(file_smarthttp_proto_rawDescData) - }) - return file_smarthttp_proto_rawDescData -} - -var file_smarthttp_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_smarthttp_proto_goTypes = []interface{}{ - (*InfoRefsRequest)(nil), // 0: gitaly.InfoRefsRequest - (*InfoRefsResponse)(nil), // 1: gitaly.InfoRefsResponse - (*PostUploadPackRequest)(nil), // 2: gitaly.PostUploadPackRequest - (*PostUploadPackResponse)(nil), // 3: gitaly.PostUploadPackResponse - (*PostUploadPackWithSidechannelRequest)(nil), // 4: gitaly.PostUploadPackWithSidechannelRequest - (*PostUploadPackWithSidechannelResponse)(nil), // 5: gitaly.PostUploadPackWithSidechannelResponse - (*PostReceivePackRequest)(nil), // 6: gitaly.PostReceivePackRequest - (*PostReceivePackResponse)(nil), // 7: gitaly.PostReceivePackResponse - (*Repository)(nil), // 8: gitaly.Repository -} -var file_smarthttp_proto_depIdxs = []int32{ - 8, // 0: gitaly.InfoRefsRequest.repository:type_name -> gitaly.Repository - 8, // 1: gitaly.PostUploadPackRequest.repository:type_name -> gitaly.Repository - 8, // 2: gitaly.PostUploadPackWithSidechannelRequest.repository:type_name -> gitaly.Repository - 8, // 3: gitaly.PostReceivePackRequest.repository:type_name -> gitaly.Repository - 0, // 4: gitaly.SmartHTTPService.InfoRefsUploadPack:input_type -> gitaly.InfoRefsRequest - 0, // 5: gitaly.SmartHTTPService.InfoRefsReceivePack:input_type -> gitaly.InfoRefsRequest - 2, // 6: gitaly.SmartHTTPService.PostUploadPack:input_type -> gitaly.PostUploadPackRequest - 4, // 7: gitaly.SmartHTTPService.PostUploadPackWithSidechannel:input_type -> gitaly.PostUploadPackWithSidechannelRequest - 6, // 8: gitaly.SmartHTTPService.PostReceivePack:input_type -> gitaly.PostReceivePackRequest - 1, // 9: gitaly.SmartHTTPService.InfoRefsUploadPack:output_type -> gitaly.InfoRefsResponse - 1, // 10: gitaly.SmartHTTPService.InfoRefsReceivePack:output_type -> gitaly.InfoRefsResponse - 3, // 11: gitaly.SmartHTTPService.PostUploadPack:output_type -> gitaly.PostUploadPackResponse - 5, // 12: gitaly.SmartHTTPService.PostUploadPackWithSidechannel:output_type -> gitaly.PostUploadPackWithSidechannelResponse - 7, // 13: gitaly.SmartHTTPService.PostReceivePack:output_type -> gitaly.PostReceivePackResponse - 9, // [9:14] is the sub-list for method output_type - 4, // [4:9] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_smarthttp_proto_init() } -func file_smarthttp_proto_init() { - if File_smarthttp_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_smarthttp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InfoRefsRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InfoRefsResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostUploadPackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostUploadPackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostUploadPackWithSidechannelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostUploadPackWithSidechannelResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostReceivePackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_smarthttp_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*PostReceivePackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_smarthttp_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_smarthttp_proto_goTypes, - DependencyIndexes: file_smarthttp_proto_depIdxs, - MessageInfos: file_smarthttp_proto_msgTypes, - }.Build() - File_smarthttp_proto = out.File - file_smarthttp_proto_rawDesc = nil - file_smarthttp_proto_goTypes = nil - file_smarthttp_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/smarthttp_grpc.pb.go b/proto/go/gitalypb/smarthttp_grpc.pb.go deleted file mode 100644 index 523303520..000000000 --- a/proto/go/gitalypb/smarthttp_grpc.pb.go +++ /dev/null @@ -1,382 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// SmartHTTPServiceClient is the client API for SmartHTTPService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type SmartHTTPServiceClient interface { - // The response body for GET /info/refs?service=git-upload-pack - // Will be invoked when the user executes a `git fetch`, meaning the server - // will upload the packs to that user. The user doesn't upload new objects. - InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsUploadPackClient, error) - // The response body for GET /info/refs?service=git-receive-pack - // Will be invoked when the user executes a `git push`, but only advertises - // references to the user. - InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsReceivePackClient, error) - // Request and response body for POST /upload-pack - PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostUploadPackClient, error) - // Request and response body for POST /upload-pack using sidechannel protocol - PostUploadPackWithSidechannel(ctx context.Context, in *PostUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*PostUploadPackWithSidechannelResponse, error) - // Request and response body for POST /receive-pack - PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) -} - -type smartHTTPServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSmartHTTPServiceClient(cc grpc.ClientConnInterface) SmartHTTPServiceClient { - return &smartHTTPServiceClient{cc} -} - -func (c *smartHTTPServiceClient) InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsUploadPackClient, error) { - stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[0], "/gitaly.SmartHTTPService/InfoRefsUploadPack", opts...) - if err != nil { - return nil, err - } - x := &smartHTTPServiceInfoRefsUploadPackClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type SmartHTTPService_InfoRefsUploadPackClient interface { - Recv() (*InfoRefsResponse, error) - grpc.ClientStream -} - -type smartHTTPServiceInfoRefsUploadPackClient struct { - grpc.ClientStream -} - -func (x *smartHTTPServiceInfoRefsUploadPackClient) Recv() (*InfoRefsResponse, error) { - m := new(InfoRefsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *smartHTTPServiceClient) InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsReceivePackClient, error) { - stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[1], "/gitaly.SmartHTTPService/InfoRefsReceivePack", opts...) - if err != nil { - return nil, err - } - x := &smartHTTPServiceInfoRefsReceivePackClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type SmartHTTPService_InfoRefsReceivePackClient interface { - Recv() (*InfoRefsResponse, error) - grpc.ClientStream -} - -type smartHTTPServiceInfoRefsReceivePackClient struct { - grpc.ClientStream -} - -func (x *smartHTTPServiceInfoRefsReceivePackClient) Recv() (*InfoRefsResponse, error) { - m := new(InfoRefsResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *smartHTTPServiceClient) PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostUploadPackClient, error) { - stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[2], "/gitaly.SmartHTTPService/PostUploadPack", opts...) - if err != nil { - return nil, err - } - x := &smartHTTPServicePostUploadPackClient{stream} - return x, nil -} - -type SmartHTTPService_PostUploadPackClient interface { - Send(*PostUploadPackRequest) error - Recv() (*PostUploadPackResponse, error) - grpc.ClientStream -} - -type smartHTTPServicePostUploadPackClient struct { - grpc.ClientStream -} - -func (x *smartHTTPServicePostUploadPackClient) Send(m *PostUploadPackRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *smartHTTPServicePostUploadPackClient) Recv() (*PostUploadPackResponse, error) { - m := new(PostUploadPackResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *smartHTTPServiceClient) PostUploadPackWithSidechannel(ctx context.Context, in *PostUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*PostUploadPackWithSidechannelResponse, error) { - out := new(PostUploadPackWithSidechannelResponse) - err := c.cc.Invoke(ctx, "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *smartHTTPServiceClient) PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) { - stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[3], "/gitaly.SmartHTTPService/PostReceivePack", opts...) - if err != nil { - return nil, err - } - x := &smartHTTPServicePostReceivePackClient{stream} - return x, nil -} - -type SmartHTTPService_PostReceivePackClient interface { - Send(*PostReceivePackRequest) error - Recv() (*PostReceivePackResponse, error) - grpc.ClientStream -} - -type smartHTTPServicePostReceivePackClient struct { - grpc.ClientStream -} - -func (x *smartHTTPServicePostReceivePackClient) Send(m *PostReceivePackRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *smartHTTPServicePostReceivePackClient) Recv() (*PostReceivePackResponse, error) { - m := new(PostReceivePackResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SmartHTTPServiceServer is the server API for SmartHTTPService service. -// All implementations must embed UnimplementedSmartHTTPServiceServer -// for forward compatibility -type SmartHTTPServiceServer interface { - // The response body for GET /info/refs?service=git-upload-pack - // Will be invoked when the user executes a `git fetch`, meaning the server - // will upload the packs to that user. The user doesn't upload new objects. - InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error - // The response body for GET /info/refs?service=git-receive-pack - // Will be invoked when the user executes a `git push`, but only advertises - // references to the user. - InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error - // Request and response body for POST /upload-pack - PostUploadPack(SmartHTTPService_PostUploadPackServer) error - // Request and response body for POST /upload-pack using sidechannel protocol - PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error) - // Request and response body for POST /receive-pack - PostReceivePack(SmartHTTPService_PostReceivePackServer) error - mustEmbedUnimplementedSmartHTTPServiceServer() -} - -// UnimplementedSmartHTTPServiceServer must be embedded to have forward compatible implementations. -type UnimplementedSmartHTTPServiceServer struct { -} - -func (UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error { - return status.Errorf(codes.Unimplemented, "method InfoRefsUploadPack not implemented") -} -func (UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error { - return status.Errorf(codes.Unimplemented, "method InfoRefsReceivePack not implemented") -} -func (UnimplementedSmartHTTPServiceServer) PostUploadPack(SmartHTTPService_PostUploadPackServer) error { - return status.Errorf(codes.Unimplemented, "method PostUploadPack not implemented") -} -func (UnimplementedSmartHTTPServiceServer) PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method PostUploadPackWithSidechannel not implemented") -} -func (UnimplementedSmartHTTPServiceServer) PostReceivePack(SmartHTTPService_PostReceivePackServer) error { - return status.Errorf(codes.Unimplemented, "method PostReceivePack not implemented") -} -func (UnimplementedSmartHTTPServiceServer) mustEmbedUnimplementedSmartHTTPServiceServer() {} - -// UnsafeSmartHTTPServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to SmartHTTPServiceServer will -// result in compilation errors. -type UnsafeSmartHTTPServiceServer interface { - mustEmbedUnimplementedSmartHTTPServiceServer() -} - -func RegisterSmartHTTPServiceServer(s grpc.ServiceRegistrar, srv SmartHTTPServiceServer) { - s.RegisterService(&SmartHTTPService_ServiceDesc, srv) -} - -func _SmartHTTPService_InfoRefsUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(InfoRefsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(SmartHTTPServiceServer).InfoRefsUploadPack(m, &smartHTTPServiceInfoRefsUploadPackServer{stream}) -} - -type SmartHTTPService_InfoRefsUploadPackServer interface { - Send(*InfoRefsResponse) error - grpc.ServerStream -} - -type smartHTTPServiceInfoRefsUploadPackServer struct { - grpc.ServerStream -} - -func (x *smartHTTPServiceInfoRefsUploadPackServer) Send(m *InfoRefsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _SmartHTTPService_InfoRefsReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(InfoRefsRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(SmartHTTPServiceServer).InfoRefsReceivePack(m, &smartHTTPServiceInfoRefsReceivePackServer{stream}) -} - -type SmartHTTPService_InfoRefsReceivePackServer interface { - Send(*InfoRefsResponse) error - grpc.ServerStream -} - -type smartHTTPServiceInfoRefsReceivePackServer struct { - grpc.ServerStream -} - -func (x *smartHTTPServiceInfoRefsReceivePackServer) Send(m *InfoRefsResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _SmartHTTPService_PostUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SmartHTTPServiceServer).PostUploadPack(&smartHTTPServicePostUploadPackServer{stream}) -} - -type SmartHTTPService_PostUploadPackServer interface { - Send(*PostUploadPackResponse) error - Recv() (*PostUploadPackRequest, error) - grpc.ServerStream -} - -type smartHTTPServicePostUploadPackServer struct { - grpc.ServerStream -} - -func (x *smartHTTPServicePostUploadPackServer) Send(m *PostUploadPackResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *smartHTTPServicePostUploadPackServer) Recv() (*PostUploadPackRequest, error) { - m := new(PostUploadPackRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _SmartHTTPService_PostUploadPackWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(PostUploadPackWithSidechannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SmartHTTPServiceServer).PostUploadPackWithSidechannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SmartHTTPServiceServer).PostUploadPackWithSidechannel(ctx, req.(*PostUploadPackWithSidechannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SmartHTTPService_PostReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SmartHTTPServiceServer).PostReceivePack(&smartHTTPServicePostReceivePackServer{stream}) -} - -type SmartHTTPService_PostReceivePackServer interface { - Send(*PostReceivePackResponse) error - Recv() (*PostReceivePackRequest, error) - grpc.ServerStream -} - -type smartHTTPServicePostReceivePackServer struct { - grpc.ServerStream -} - -func (x *smartHTTPServicePostReceivePackServer) Send(m *PostReceivePackResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *smartHTTPServicePostReceivePackServer) Recv() (*PostReceivePackRequest, error) { - m := new(PostReceivePackRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SmartHTTPService_ServiceDesc is the grpc.ServiceDesc for SmartHTTPService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var SmartHTTPService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.SmartHTTPService", - HandlerType: (*SmartHTTPServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "PostUploadPackWithSidechannel", - Handler: _SmartHTTPService_PostUploadPackWithSidechannel_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "InfoRefsUploadPack", - Handler: _SmartHTTPService_InfoRefsUploadPack_Handler, - ServerStreams: true, - }, - { - StreamName: "InfoRefsReceivePack", - Handler: _SmartHTTPService_InfoRefsReceivePack_Handler, - ServerStreams: true, - }, - { - StreamName: "PostUploadPack", - Handler: _SmartHTTPService_PostUploadPack_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "PostReceivePack", - Handler: _SmartHTTPService_PostReceivePack_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "smarthttp.proto", -} diff --git a/proto/go/gitalypb/ssh.pb.go b/proto/go/gitalypb/ssh.pb.go deleted file mode 100644 index 497e36af3..000000000 --- a/proto/go/gitalypb/ssh.pb.go +++ /dev/null @@ -1,855 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: ssh.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type SSHUploadPackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 'repository' must be present in the first message. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // A chunk of raw data to be copied to 'git upload-pack' standard input - Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` -} - -func (x *SSHUploadPackRequest) Reset() { - *x = SSHUploadPackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadPackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadPackRequest) ProtoMessage() {} - -func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadPackRequest.ProtoReflect.Descriptor instead. -func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{0} -} - -func (x *SSHUploadPackRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SSHUploadPackRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -func (x *SSHUploadPackRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -func (x *SSHUploadPackRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -// This comment is left unintentionally blank. -type SSHUploadPackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A chunk of raw data from 'git upload-pack' standard output - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // A chunk of raw data from 'git upload-pack' standard error - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This field may be nil. This is intentional: only when the remote - // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *SSHUploadPackResponse) Reset() { - *x = SSHUploadPackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadPackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadPackResponse) ProtoMessage() {} - -func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadPackResponse.ProtoReflect.Descriptor instead. -func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{1} -} - -func (x *SSHUploadPackResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *SSHUploadPackResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type SSHUploadPackWithSidechannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 'repository' must be present in the first message. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` -} - -func (x *SSHUploadPackWithSidechannelRequest) Reset() { - *x = SSHUploadPackWithSidechannelRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadPackWithSidechannelRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadPackWithSidechannelRequest) ProtoMessage() {} - -func (x *SSHUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead. -func (*SSHUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{2} -} - -func (x *SSHUploadPackWithSidechannelRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SSHUploadPackWithSidechannelRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -func (x *SSHUploadPackWithSidechannelRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -// This comment is left unintentionally blank. -type SSHUploadPackWithSidechannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *SSHUploadPackWithSidechannelResponse) Reset() { - *x = SSHUploadPackWithSidechannelResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadPackWithSidechannelResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadPackWithSidechannelResponse) ProtoMessage() {} - -func (x *SSHUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead. -func (*SSHUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{3} -} - -// This comment is left unintentionally blank. -type SSHReceivePackRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 'repository' must be present in the first message. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // A chunk of raw data to be copied to 'git upload-pack' standard input - Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` - // Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables - // for 'git receive-pack' - GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` - // This comment is left unintentionally blank. - GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` - // This comment is left unintentionally blank. - GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` - // Git protocol version - GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` -} - -func (x *SSHReceivePackRequest) Reset() { - *x = SSHReceivePackRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHReceivePackRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHReceivePackRequest) ProtoMessage() {} - -func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHReceivePackRequest.ProtoReflect.Descriptor instead. -func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{4} -} - -func (x *SSHReceivePackRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SSHReceivePackRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -func (x *SSHReceivePackRequest) GetGlId() string { - if x != nil { - return x.GlId - } - return "" -} - -func (x *SSHReceivePackRequest) GetGlRepository() string { - if x != nil { - return x.GlRepository - } - return "" -} - -func (x *SSHReceivePackRequest) GetGlUsername() string { - if x != nil { - return x.GlUsername - } - return "" -} - -func (x *SSHReceivePackRequest) GetGitProtocol() string { - if x != nil { - return x.GitProtocol - } - return "" -} - -func (x *SSHReceivePackRequest) GetGitConfigOptions() []string { - if x != nil { - return x.GitConfigOptions - } - return nil -} - -// This comment is left unintentionally blank. -type SSHReceivePackResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A chunk of raw data from 'git receive-pack' standard output - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // A chunk of raw data from 'git receive-pack' standard error - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This field may be nil. This is intentional: only when the remote - // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *SSHReceivePackResponse) Reset() { - *x = SSHReceivePackResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHReceivePackResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHReceivePackResponse) ProtoMessage() {} - -func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHReceivePackResponse.ProtoReflect.Descriptor instead. -func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{5} -} - -func (x *SSHReceivePackResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *SSHReceivePackResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -// This comment is left unintentionally blank. -type SSHUploadArchiveRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // 'repository' must be present in the first message. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // A chunk of raw data to be copied to 'git upload-archive' standard input - Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` -} - -func (x *SSHUploadArchiveRequest) Reset() { - *x = SSHUploadArchiveRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadArchiveRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadArchiveRequest) ProtoMessage() {} - -func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadArchiveRequest.ProtoReflect.Descriptor instead. -func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{6} -} - -func (x *SSHUploadArchiveRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *SSHUploadArchiveRequest) GetStdin() []byte { - if x != nil { - return x.Stdin - } - return nil -} - -// This comment is left unintentionally blank. -type SSHUploadArchiveResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // A chunk of raw data from 'git upload-archive' standard output - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - // A chunk of raw data from 'git upload-archive' standard error - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - // This value will only be set on the last message - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` -} - -func (x *SSHUploadArchiveResponse) Reset() { - *x = SSHUploadArchiveResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_ssh_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *SSHUploadArchiveResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SSHUploadArchiveResponse) ProtoMessage() {} - -func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message { - mi := &file_ssh_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SSHUploadArchiveResponse.ProtoReflect.Descriptor instead. -func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { - return file_ssh_proto_rawDescGZIP(), []int{7} -} - -func (x *SSHUploadArchiveResponse) GetStdout() []byte { - if x != nil { - return x.Stdout - } - return nil -} - -func (x *SSHUploadArchiveResponse) GetStderr() []byte { - if x != nil { - return x.Stderr - } - return nil -} - -func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { - if x != nil { - return x.ExitStatus - } - return nil -} - -var File_ssh_proto protoreflect.FileDescriptor - -var file_ssh_proto_rawDesc = []byte{ - 0x0a, 0x09, 0x73, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01, - 0x0a, 0x14, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x15, 0x67, - 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, - 0x74, 0x65, 0x72, 0x73, 0x22, 0x7c, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, - 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, - 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x23, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, - 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x24, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, - 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x93, 0x02, - 0x0a, 0x15, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, - 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, - 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, - 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, - 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, - 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x22, 0x7f, 0x0a, - 0x18, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, - 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, - 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, - 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0xaa, - 0x03, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x58, 0x0a, - 0x0d, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1c, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, - 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, - 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x53, 0x53, 0x48, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, - 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, - 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, - 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, - 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x5b, 0x0a, 0x0e, 0x53, - 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, - 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, - 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x10, 0x53, 0x53, 0x48, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x1f, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, - 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, - 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, - 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, - 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_ssh_proto_rawDescOnce sync.Once - file_ssh_proto_rawDescData = file_ssh_proto_rawDesc -) - -func file_ssh_proto_rawDescGZIP() []byte { - file_ssh_proto_rawDescOnce.Do(func() { - file_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_ssh_proto_rawDescData) - }) - return file_ssh_proto_rawDescData -} - -var file_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 8) -var file_ssh_proto_goTypes = []interface{}{ - (*SSHUploadPackRequest)(nil), // 0: gitaly.SSHUploadPackRequest - (*SSHUploadPackResponse)(nil), // 1: gitaly.SSHUploadPackResponse - (*SSHUploadPackWithSidechannelRequest)(nil), // 2: gitaly.SSHUploadPackWithSidechannelRequest - (*SSHUploadPackWithSidechannelResponse)(nil), // 3: gitaly.SSHUploadPackWithSidechannelResponse - (*SSHReceivePackRequest)(nil), // 4: gitaly.SSHReceivePackRequest - (*SSHReceivePackResponse)(nil), // 5: gitaly.SSHReceivePackResponse - (*SSHUploadArchiveRequest)(nil), // 6: gitaly.SSHUploadArchiveRequest - (*SSHUploadArchiveResponse)(nil), // 7: gitaly.SSHUploadArchiveResponse - (*Repository)(nil), // 8: gitaly.Repository - (*ExitStatus)(nil), // 9: gitaly.ExitStatus -} -var file_ssh_proto_depIdxs = []int32{ - 8, // 0: gitaly.SSHUploadPackRequest.repository:type_name -> gitaly.Repository - 9, // 1: gitaly.SSHUploadPackResponse.exit_status:type_name -> gitaly.ExitStatus - 8, // 2: gitaly.SSHUploadPackWithSidechannelRequest.repository:type_name -> gitaly.Repository - 8, // 3: gitaly.SSHReceivePackRequest.repository:type_name -> gitaly.Repository - 9, // 4: gitaly.SSHReceivePackResponse.exit_status:type_name -> gitaly.ExitStatus - 8, // 5: gitaly.SSHUploadArchiveRequest.repository:type_name -> gitaly.Repository - 9, // 6: gitaly.SSHUploadArchiveResponse.exit_status:type_name -> gitaly.ExitStatus - 0, // 7: gitaly.SSHService.SSHUploadPack:input_type -> gitaly.SSHUploadPackRequest - 2, // 8: gitaly.SSHService.SSHUploadPackWithSidechannel:input_type -> gitaly.SSHUploadPackWithSidechannelRequest - 4, // 9: gitaly.SSHService.SSHReceivePack:input_type -> gitaly.SSHReceivePackRequest - 6, // 10: gitaly.SSHService.SSHUploadArchive:input_type -> gitaly.SSHUploadArchiveRequest - 1, // 11: gitaly.SSHService.SSHUploadPack:output_type -> gitaly.SSHUploadPackResponse - 3, // 12: gitaly.SSHService.SSHUploadPackWithSidechannel:output_type -> gitaly.SSHUploadPackWithSidechannelResponse - 5, // 13: gitaly.SSHService.SSHReceivePack:output_type -> gitaly.SSHReceivePackResponse - 7, // 14: gitaly.SSHService.SSHUploadArchive:output_type -> gitaly.SSHUploadArchiveResponse - 11, // [11:15] is the sub-list for method output_type - 7, // [7:11] is the sub-list for method input_type - 7, // [7:7] is the sub-list for extension type_name - 7, // [7:7] is the sub-list for extension extendee - 0, // [0:7] is the sub-list for field type_name -} - -func init() { file_ssh_proto_init() } -func file_ssh_proto_init() { - if File_ssh_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadPackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadPackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadPackWithSidechannelRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadPackWithSidechannelResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHReceivePackRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHReceivePackResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadArchiveRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_ssh_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SSHUploadArchiveResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_ssh_proto_rawDesc, - NumEnums: 0, - NumMessages: 8, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_ssh_proto_goTypes, - DependencyIndexes: file_ssh_proto_depIdxs, - MessageInfos: file_ssh_proto_msgTypes, - }.Build() - File_ssh_proto = out.File - file_ssh_proto_rawDesc = nil - file_ssh_proto_goTypes = nil - file_ssh_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/ssh_grpc.pb.go b/proto/go/gitalypb/ssh_grpc.pb.go deleted file mode 100644 index 21f761b8e..000000000 --- a/proto/go/gitalypb/ssh_grpc.pb.go +++ /dev/null @@ -1,314 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// SSHServiceClient is the client API for SSHService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type SSHServiceClient interface { - // To forward 'git upload-pack' to Gitaly for SSH sessions - SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) - // To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels - SSHUploadPackWithSidechannel(ctx context.Context, in *SSHUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*SSHUploadPackWithSidechannelResponse, error) - // To forward 'git receive-pack' to Gitaly for SSH sessions - SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) - // To forward 'git upload-archive' to Gitaly for SSH sessions - SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) -} - -type sSHServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewSSHServiceClient(cc grpc.ClientConnInterface) SSHServiceClient { - return &sSHServiceClient{cc} -} - -func (c *sSHServiceClient) SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) { - stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[0], "/gitaly.SSHService/SSHUploadPack", opts...) - if err != nil { - return nil, err - } - x := &sSHServiceSSHUploadPackClient{stream} - return x, nil -} - -type SSHService_SSHUploadPackClient interface { - Send(*SSHUploadPackRequest) error - Recv() (*SSHUploadPackResponse, error) - grpc.ClientStream -} - -type sSHServiceSSHUploadPackClient struct { - grpc.ClientStream -} - -func (x *sSHServiceSSHUploadPackClient) Send(m *SSHUploadPackRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *sSHServiceSSHUploadPackClient) Recv() (*SSHUploadPackResponse, error) { - m := new(SSHUploadPackResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *sSHServiceClient) SSHUploadPackWithSidechannel(ctx context.Context, in *SSHUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*SSHUploadPackWithSidechannelResponse, error) { - out := new(SSHUploadPackWithSidechannelResponse) - err := c.cc.Invoke(ctx, "/gitaly.SSHService/SSHUploadPackWithSidechannel", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *sSHServiceClient) SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) { - stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[1], "/gitaly.SSHService/SSHReceivePack", opts...) - if err != nil { - return nil, err - } - x := &sSHServiceSSHReceivePackClient{stream} - return x, nil -} - -type SSHService_SSHReceivePackClient interface { - Send(*SSHReceivePackRequest) error - Recv() (*SSHReceivePackResponse, error) - grpc.ClientStream -} - -type sSHServiceSSHReceivePackClient struct { - grpc.ClientStream -} - -func (x *sSHServiceSSHReceivePackClient) Send(m *SSHReceivePackRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *sSHServiceSSHReceivePackClient) Recv() (*SSHReceivePackResponse, error) { - m := new(SSHReceivePackResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *sSHServiceClient) SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) { - stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[2], "/gitaly.SSHService/SSHUploadArchive", opts...) - if err != nil { - return nil, err - } - x := &sSHServiceSSHUploadArchiveClient{stream} - return x, nil -} - -type SSHService_SSHUploadArchiveClient interface { - Send(*SSHUploadArchiveRequest) error - Recv() (*SSHUploadArchiveResponse, error) - grpc.ClientStream -} - -type sSHServiceSSHUploadArchiveClient struct { - grpc.ClientStream -} - -func (x *sSHServiceSSHUploadArchiveClient) Send(m *SSHUploadArchiveRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *sSHServiceSSHUploadArchiveClient) Recv() (*SSHUploadArchiveResponse, error) { - m := new(SSHUploadArchiveResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SSHServiceServer is the server API for SSHService service. -// All implementations must embed UnimplementedSSHServiceServer -// for forward compatibility -type SSHServiceServer interface { - // To forward 'git upload-pack' to Gitaly for SSH sessions - SSHUploadPack(SSHService_SSHUploadPackServer) error - // To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels - SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error) - // To forward 'git receive-pack' to Gitaly for SSH sessions - SSHReceivePack(SSHService_SSHReceivePackServer) error - // To forward 'git upload-archive' to Gitaly for SSH sessions - SSHUploadArchive(SSHService_SSHUploadArchiveServer) error - mustEmbedUnimplementedSSHServiceServer() -} - -// UnimplementedSSHServiceServer must be embedded to have forward compatible implementations. -type UnimplementedSSHServiceServer struct { -} - -func (UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error { - return status.Errorf(codes.Unimplemented, "method SSHUploadPack not implemented") -} -func (UnimplementedSSHServiceServer) SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method SSHUploadPackWithSidechannel not implemented") -} -func (UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error { - return status.Errorf(codes.Unimplemented, "method SSHReceivePack not implemented") -} -func (UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error { - return status.Errorf(codes.Unimplemented, "method SSHUploadArchive not implemented") -} -func (UnimplementedSSHServiceServer) mustEmbedUnimplementedSSHServiceServer() {} - -// UnsafeSSHServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to SSHServiceServer will -// result in compilation errors. -type UnsafeSSHServiceServer interface { - mustEmbedUnimplementedSSHServiceServer() -} - -func RegisterSSHServiceServer(s grpc.ServiceRegistrar, srv SSHServiceServer) { - s.RegisterService(&SSHService_ServiceDesc, srv) -} - -func _SSHService_SSHUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SSHServiceServer).SSHUploadPack(&sSHServiceSSHUploadPackServer{stream}) -} - -type SSHService_SSHUploadPackServer interface { - Send(*SSHUploadPackResponse) error - Recv() (*SSHUploadPackRequest, error) - grpc.ServerStream -} - -type sSHServiceSSHUploadPackServer struct { - grpc.ServerStream -} - -func (x *sSHServiceSSHUploadPackServer) Send(m *SSHUploadPackResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *sSHServiceSSHUploadPackServer) Recv() (*SSHUploadPackRequest, error) { - m := new(SSHUploadPackRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _SSHService_SSHUploadPackWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SSHUploadPackWithSidechannelRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(SSHServiceServer).SSHUploadPackWithSidechannel(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.SSHService/SSHUploadPackWithSidechannel", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(SSHServiceServer).SSHUploadPackWithSidechannel(ctx, req.(*SSHUploadPackWithSidechannelRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _SSHService_SSHReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SSHServiceServer).SSHReceivePack(&sSHServiceSSHReceivePackServer{stream}) -} - -type SSHService_SSHReceivePackServer interface { - Send(*SSHReceivePackResponse) error - Recv() (*SSHReceivePackRequest, error) - grpc.ServerStream -} - -type sSHServiceSSHReceivePackServer struct { - grpc.ServerStream -} - -func (x *sSHServiceSSHReceivePackServer) Send(m *SSHReceivePackResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *sSHServiceSSHReceivePackServer) Recv() (*SSHReceivePackRequest, error) { - m := new(SSHReceivePackRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _SSHService_SSHUploadArchive_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(SSHServiceServer).SSHUploadArchive(&sSHServiceSSHUploadArchiveServer{stream}) -} - -type SSHService_SSHUploadArchiveServer interface { - Send(*SSHUploadArchiveResponse) error - Recv() (*SSHUploadArchiveRequest, error) - grpc.ServerStream -} - -type sSHServiceSSHUploadArchiveServer struct { - grpc.ServerStream -} - -func (x *sSHServiceSSHUploadArchiveServer) Send(m *SSHUploadArchiveResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *sSHServiceSSHUploadArchiveServer) Recv() (*SSHUploadArchiveRequest, error) { - m := new(SSHUploadArchiveRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// SSHService_ServiceDesc is the grpc.ServiceDesc for SSHService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var SSHService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.SSHService", - HandlerType: (*SSHServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "SSHUploadPackWithSidechannel", - Handler: _SSHService_SSHUploadPackWithSidechannel_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "SSHUploadPack", - Handler: _SSHService_SSHUploadPack_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "SSHReceivePack", - Handler: _SSHService_SSHReceivePack_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "SSHUploadArchive", - Handler: _SSHService_SSHUploadArchive_Handler, - ServerStreams: true, - ClientStreams: true, - }, - }, - Metadata: "ssh.proto", -} diff --git a/proto/go/gitalypb/transaction.pb.go b/proto/go/gitalypb/transaction.pb.go deleted file mode 100644 index b98a2af3a..000000000 --- a/proto/go/gitalypb/transaction.pb.go +++ /dev/null @@ -1,545 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: transaction.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type VoteTransactionRequest_Phase int32 - -const ( - // UNKNOWN_PHASE is the unknown voting phase. This value has been the - // default because phases have been introduced. Eventually, using this - // phase will become unsupported. - VoteTransactionRequest_UNKNOWN_PHASE VoteTransactionRequest_Phase = 0 - // PREPARED_PHASE is the prepratory phase. The data that is about to change - // is locked for concurrent modification, but changes have not yet been - // written to disk. - VoteTransactionRequest_PREPARED_PHASE VoteTransactionRequest_Phase = 1 - // COMMITTED_PHASE is the committing phase. Data has been committed to disk - // and will be visible in all subsequent requests. - VoteTransactionRequest_COMMITTED_PHASE VoteTransactionRequest_Phase = 2 -) - -// Enum value maps for VoteTransactionRequest_Phase. -var ( - VoteTransactionRequest_Phase_name = map[int32]string{ - 0: "UNKNOWN_PHASE", - 1: "PREPARED_PHASE", - 2: "COMMITTED_PHASE", - } - VoteTransactionRequest_Phase_value = map[string]int32{ - "UNKNOWN_PHASE": 0, - "PREPARED_PHASE": 1, - "COMMITTED_PHASE": 2, - } -) - -func (x VoteTransactionRequest_Phase) Enum() *VoteTransactionRequest_Phase { - p := new(VoteTransactionRequest_Phase) - *p = x - return p -} - -func (x VoteTransactionRequest_Phase) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VoteTransactionRequest_Phase) Descriptor() protoreflect.EnumDescriptor { - return file_transaction_proto_enumTypes[0].Descriptor() -} - -func (VoteTransactionRequest_Phase) Type() protoreflect.EnumType { - return &file_transaction_proto_enumTypes[0] -} - -func (x VoteTransactionRequest_Phase) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use VoteTransactionRequest_Phase.Descriptor instead. -func (VoteTransactionRequest_Phase) EnumDescriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{0, 0} -} - -// The outcome of the given transaction telling the client whether the -// transaction should be committed or rolled back. -type VoteTransactionResponse_TransactionState int32 - -const ( - // This comment is left unintentionally blank. - VoteTransactionResponse_COMMIT VoteTransactionResponse_TransactionState = 0 - // This comment is left unintentionally blank. - VoteTransactionResponse_ABORT VoteTransactionResponse_TransactionState = 1 - // This comment is left unintentionally blank. - VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 -) - -// Enum value maps for VoteTransactionResponse_TransactionState. -var ( - VoteTransactionResponse_TransactionState_name = map[int32]string{ - 0: "COMMIT", - 1: "ABORT", - 2: "STOP", - } - VoteTransactionResponse_TransactionState_value = map[string]int32{ - "COMMIT": 0, - "ABORT": 1, - "STOP": 2, - } -) - -func (x VoteTransactionResponse_TransactionState) Enum() *VoteTransactionResponse_TransactionState { - p := new(VoteTransactionResponse_TransactionState) - *p = x - return p -} - -func (x VoteTransactionResponse_TransactionState) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (VoteTransactionResponse_TransactionState) Descriptor() protoreflect.EnumDescriptor { - return file_transaction_proto_enumTypes[1].Descriptor() -} - -func (VoteTransactionResponse_TransactionState) Type() protoreflect.EnumType { - return &file_transaction_proto_enumTypes[1] -} - -func (x VoteTransactionResponse_TransactionState) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use VoteTransactionResponse_TransactionState.Descriptor instead. -func (VoteTransactionResponse_TransactionState) EnumDescriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{1, 0} -} - -// This comment is left unintentionally blank. -type VoteTransactionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // ID of the transaction we're processing - TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - // Name of the Gitaly node that's voting on a transaction. - Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` - // SHA1 of the references that are to be updated - ReferenceUpdatesHash []byte `protobuf:"bytes,4,opt,name=reference_updates_hash,json=referenceUpdatesHash,proto3" json:"reference_updates_hash,omitempty"` - // Phase is the voting phase. - Phase VoteTransactionRequest_Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=gitaly.VoteTransactionRequest_Phase" json:"phase,omitempty"` -} - -func (x *VoteTransactionRequest) Reset() { - *x = VoteTransactionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteTransactionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteTransactionRequest) ProtoMessage() {} - -func (x *VoteTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_transaction_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoteTransactionRequest.ProtoReflect.Descriptor instead. -func (*VoteTransactionRequest) Descriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{0} -} - -func (x *VoteTransactionRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *VoteTransactionRequest) GetTransactionId() uint64 { - if x != nil { - return x.TransactionId - } - return 0 -} - -func (x *VoteTransactionRequest) GetNode() string { - if x != nil { - return x.Node - } - return "" -} - -func (x *VoteTransactionRequest) GetReferenceUpdatesHash() []byte { - if x != nil { - return x.ReferenceUpdatesHash - } - return nil -} - -func (x *VoteTransactionRequest) GetPhase() VoteTransactionRequest_Phase { - if x != nil { - return x.Phase - } - return VoteTransactionRequest_UNKNOWN_PHASE -} - -// This comment is left unintentionally blank. -type VoteTransactionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"` -} - -func (x *VoteTransactionResponse) Reset() { - *x = VoteTransactionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteTransactionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteTransactionResponse) ProtoMessage() {} - -func (x *VoteTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_transaction_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use VoteTransactionResponse.ProtoReflect.Descriptor instead. -func (*VoteTransactionResponse) Descriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{1} -} - -func (x *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState { - if x != nil { - return x.State - } - return VoteTransactionResponse_COMMIT -} - -// This comment is left unintentionally blank. -type StopTransactionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // ID of the transaction we're processing - TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` -} - -func (x *StopTransactionRequest) Reset() { - *x = StopTransactionRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StopTransactionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StopTransactionRequest) ProtoMessage() {} - -func (x *StopTransactionRequest) ProtoReflect() protoreflect.Message { - mi := &file_transaction_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StopTransactionRequest.ProtoReflect.Descriptor instead. -func (*StopTransactionRequest) Descriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{2} -} - -func (x *StopTransactionRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *StopTransactionRequest) GetTransactionId() uint64 { - if x != nil { - return x.TransactionId - } - return 0 -} - -// This comment is left unintentionally blank. -type StopTransactionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *StopTransactionResponse) Reset() { - *x = StopTransactionResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_transaction_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *StopTransactionResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*StopTransactionResponse) ProtoMessage() {} - -func (x *StopTransactionResponse) ProtoReflect() protoreflect.Message { - mi := &file_transaction_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use StopTransactionResponse.ProtoReflect.Descriptor instead. -func (*StopTransactionResponse) Descriptor() ([]byte, []int) { - return file_transaction_proto_rawDescGZIP(), []int{3} -} - -var File_transaction_proto protoreflect.FileDescriptor - -var file_transaction_proto_rawDesc = []byte{ - 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x02, 0x0a, 0x16, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, - 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x05, 0x70, - 0x68, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, - 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x22, 0x43, 0x0a, 0x05, 0x50, 0x68, 0x61, 0x73, 0x65, - 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x48, 0x41, 0x53, - 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x5f, - 0x50, 0x48, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, - 0x54, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x10, 0x02, 0x22, 0x96, 0x01, 0x0a, - 0x17, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x22, 0x33, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, - 0x12, 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, - 0x54, 0x4f, 0x50, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, - 0x22, 0x19, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x01, 0x0a, 0x0e, - 0x52, 0x65, 0x66, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, - 0x0a, 0x0f, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, - 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, - 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, - 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_transaction_proto_rawDescOnce sync.Once - file_transaction_proto_rawDescData = file_transaction_proto_rawDesc -) - -func file_transaction_proto_rawDescGZIP() []byte { - file_transaction_proto_rawDescOnce.Do(func() { - file_transaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_transaction_proto_rawDescData) - }) - return file_transaction_proto_rawDescData -} - -var file_transaction_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_transaction_proto_goTypes = []interface{}{ - (VoteTransactionRequest_Phase)(0), // 0: gitaly.VoteTransactionRequest.Phase - (VoteTransactionResponse_TransactionState)(0), // 1: gitaly.VoteTransactionResponse.TransactionState - (*VoteTransactionRequest)(nil), // 2: gitaly.VoteTransactionRequest - (*VoteTransactionResponse)(nil), // 3: gitaly.VoteTransactionResponse - (*StopTransactionRequest)(nil), // 4: gitaly.StopTransactionRequest - (*StopTransactionResponse)(nil), // 5: gitaly.StopTransactionResponse - (*Repository)(nil), // 6: gitaly.Repository -} -var file_transaction_proto_depIdxs = []int32{ - 6, // 0: gitaly.VoteTransactionRequest.repository:type_name -> gitaly.Repository - 0, // 1: gitaly.VoteTransactionRequest.phase:type_name -> gitaly.VoteTransactionRequest.Phase - 1, // 2: gitaly.VoteTransactionResponse.state:type_name -> gitaly.VoteTransactionResponse.TransactionState - 6, // 3: gitaly.StopTransactionRequest.repository:type_name -> gitaly.Repository - 2, // 4: gitaly.RefTransaction.VoteTransaction:input_type -> gitaly.VoteTransactionRequest - 4, // 5: gitaly.RefTransaction.StopTransaction:input_type -> gitaly.StopTransactionRequest - 3, // 6: gitaly.RefTransaction.VoteTransaction:output_type -> gitaly.VoteTransactionResponse - 5, // 7: gitaly.RefTransaction.StopTransaction:output_type -> gitaly.StopTransactionResponse - 6, // [6:8] is the sub-list for method output_type - 4, // [4:6] is the sub-list for method input_type - 4, // [4:4] is the sub-list for extension type_name - 4, // [4:4] is the sub-list for extension extendee - 0, // [0:4] is the sub-list for field type_name -} - -func init() { file_transaction_proto_init() } -func file_transaction_proto_init() { - if File_transaction_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_transaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteTransactionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteTransactionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopTransactionRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_transaction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StopTransactionResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_transaction_proto_rawDesc, - NumEnums: 2, - NumMessages: 4, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_transaction_proto_goTypes, - DependencyIndexes: file_transaction_proto_depIdxs, - EnumInfos: file_transaction_proto_enumTypes, - MessageInfos: file_transaction_proto_msgTypes, - }.Build() - File_transaction_proto = out.File - file_transaction_proto_rawDesc = nil - file_transaction_proto_goTypes = nil - file_transaction_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/transaction_grpc.pb.go b/proto/go/gitalypb/transaction_grpc.pb.go deleted file mode 100644 index 6d8d589b0..000000000 --- a/proto/go/gitalypb/transaction_grpc.pb.go +++ /dev/null @@ -1,179 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// RefTransactionClient is the client API for RefTransaction service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RefTransactionClient interface { - // VoteTransaction casts a vote on a transaction to establish whether the - // node is doing the same change as all the other nodes part of the - // transaction. This RPC blocks until quorum has been reached, which may be - // _before_ all nodes have cast a vote. - // - // This RPC may return one of the following error codes: - // - // - `NotFound` in case the transaction could not be found. - // - `Canceled` in case the transaction has been canceled before quorum was - // reached. - VoteTransaction(ctx context.Context, in *VoteTransactionRequest, opts ...grpc.CallOption) (*VoteTransactionResponse, error) - // StopTransaction gracefully stops a transaction. This RPC can be used if - // only a subset of nodes executes specific code which may cause the - // transaction to fail. One such example is Git hooks, which only execute on - // the primary Gitaly noded. Other nodes which vote on this transaction will - // get a response with the `STOP` state being set. - // - // This RPC may return one of the following error codes: - // - // - `NotFound` in case the transaction could not be found. - // - `Canceled` in case the transaction has been canceled before quorum was - // reached. - StopTransaction(ctx context.Context, in *StopTransactionRequest, opts ...grpc.CallOption) (*StopTransactionResponse, error) -} - -type refTransactionClient struct { - cc grpc.ClientConnInterface -} - -func NewRefTransactionClient(cc grpc.ClientConnInterface) RefTransactionClient { - return &refTransactionClient{cc} -} - -func (c *refTransactionClient) VoteTransaction(ctx context.Context, in *VoteTransactionRequest, opts ...grpc.CallOption) (*VoteTransactionResponse, error) { - out := new(VoteTransactionResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefTransaction/VoteTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *refTransactionClient) StopTransaction(ctx context.Context, in *StopTransactionRequest, opts ...grpc.CallOption) (*StopTransactionResponse, error) { - out := new(StopTransactionResponse) - err := c.cc.Invoke(ctx, "/gitaly.RefTransaction/StopTransaction", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// RefTransactionServer is the server API for RefTransaction service. -// All implementations must embed UnimplementedRefTransactionServer -// for forward compatibility -type RefTransactionServer interface { - // VoteTransaction casts a vote on a transaction to establish whether the - // node is doing the same change as all the other nodes part of the - // transaction. This RPC blocks until quorum has been reached, which may be - // _before_ all nodes have cast a vote. - // - // This RPC may return one of the following error codes: - // - // - `NotFound` in case the transaction could not be found. - // - `Canceled` in case the transaction has been canceled before quorum was - // reached. - VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) - // StopTransaction gracefully stops a transaction. This RPC can be used if - // only a subset of nodes executes specific code which may cause the - // transaction to fail. One such example is Git hooks, which only execute on - // the primary Gitaly noded. Other nodes which vote on this transaction will - // get a response with the `STOP` state being set. - // - // This RPC may return one of the following error codes: - // - // - `NotFound` in case the transaction could not be found. - // - `Canceled` in case the transaction has been canceled before quorum was - // reached. - StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) - mustEmbedUnimplementedRefTransactionServer() -} - -// UnimplementedRefTransactionServer must be embedded to have forward compatible implementations. -type UnimplementedRefTransactionServer struct { -} - -func (UnimplementedRefTransactionServer) VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method VoteTransaction not implemented") -} -func (UnimplementedRefTransactionServer) StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method StopTransaction not implemented") -} -func (UnimplementedRefTransactionServer) mustEmbedUnimplementedRefTransactionServer() {} - -// UnsafeRefTransactionServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RefTransactionServer will -// result in compilation errors. -type UnsafeRefTransactionServer interface { - mustEmbedUnimplementedRefTransactionServer() -} - -func RegisterRefTransactionServer(s grpc.ServiceRegistrar, srv RefTransactionServer) { - s.RegisterService(&RefTransaction_ServiceDesc, srv) -} - -func _RefTransaction_VoteTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(VoteTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefTransactionServer).VoteTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefTransaction/VoteTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefTransactionServer).VoteTransaction(ctx, req.(*VoteTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _RefTransaction_StopTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(StopTransactionRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RefTransactionServer).StopTransaction(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RefTransaction/StopTransaction", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RefTransactionServer).StopTransaction(ctx, req.(*StopTransactionRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// RefTransaction_ServiceDesc is the grpc.ServiceDesc for RefTransaction service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var RefTransaction_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.RefTransaction", - HandlerType: (*RefTransactionServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "VoteTransaction", - Handler: _RefTransaction_VoteTransaction_Handler, - }, - { - MethodName: "StopTransaction", - Handler: _RefTransaction_StopTransaction_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "transaction.proto", -} diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go deleted file mode 100644 index a57413524..000000000 --- a/proto/go/gitalypb/wiki.pb.go +++ /dev/null @@ -1,1469 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.3 -// source: wiki.proto - -package gitalypb - -import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// This comment is left unintentionally blank. -type WikiGetAllPagesRequest_SortBy int32 - -const ( - // This comment is left unintentionally blank. - WikiGetAllPagesRequest_TITLE WikiGetAllPagesRequest_SortBy = 0 - // This comment is left unintentionally blank. - WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 -) - -// Enum value maps for WikiGetAllPagesRequest_SortBy. -var ( - WikiGetAllPagesRequest_SortBy_name = map[int32]string{ - 0: "TITLE", - 1: "CREATED_AT", - } - WikiGetAllPagesRequest_SortBy_value = map[string]int32{ - "TITLE": 0, - "CREATED_AT": 1, - } -) - -func (x WikiGetAllPagesRequest_SortBy) Enum() *WikiGetAllPagesRequest_SortBy { - p := new(WikiGetAllPagesRequest_SortBy) - *p = x - return p -} - -func (x WikiGetAllPagesRequest_SortBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WikiGetAllPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { - return file_wiki_proto_enumTypes[0].Descriptor() -} - -func (WikiGetAllPagesRequest_SortBy) Type() protoreflect.EnumType { - return &file_wiki_proto_enumTypes[0] -} - -func (x WikiGetAllPagesRequest_SortBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WikiGetAllPagesRequest_SortBy.Descriptor instead. -func (WikiGetAllPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{9, 0} -} - -// This comment is left unintentionally blank. -type WikiListPagesRequest_SortBy int32 - -const ( - // This comment is left unintentionally blank. - WikiListPagesRequest_TITLE WikiListPagesRequest_SortBy = 0 - // This comment is left unintentionally blank. - WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 -) - -// Enum value maps for WikiListPagesRequest_SortBy. -var ( - WikiListPagesRequest_SortBy_name = map[int32]string{ - 0: "TITLE", - 1: "CREATED_AT", - } - WikiListPagesRequest_SortBy_value = map[string]int32{ - "TITLE": 0, - "CREATED_AT": 1, - } -) - -func (x WikiListPagesRequest_SortBy) Enum() *WikiListPagesRequest_SortBy { - p := new(WikiListPagesRequest_SortBy) - *p = x - return p -} - -func (x WikiListPagesRequest_SortBy) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (WikiListPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { - return file_wiki_proto_enumTypes[1].Descriptor() -} - -func (WikiListPagesRequest_SortBy) Type() protoreflect.EnumType { - return &file_wiki_proto_enumTypes[1] -} - -func (x WikiListPagesRequest_SortBy) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use WikiListPagesRequest_SortBy.Descriptor instead. -func (WikiListPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{11, 0} -} - -// This comment is left unintentionally blank. -type WikiCommitDetails struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - // This comment is left unintentionally blank. - Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - // This comment is left unintentionally blank. - UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - // This comment is left unintentionally blank. - UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` -} - -func (x *WikiCommitDetails) Reset() { - *x = WikiCommitDetails{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiCommitDetails) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiCommitDetails) ProtoMessage() {} - -func (x *WikiCommitDetails) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiCommitDetails.ProtoReflect.Descriptor instead. -func (*WikiCommitDetails) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{0} -} - -func (x *WikiCommitDetails) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *WikiCommitDetails) GetEmail() []byte { - if x != nil { - return x.Email - } - return nil -} - -func (x *WikiCommitDetails) GetMessage() []byte { - if x != nil { - return x.Message - } - return nil -} - -func (x *WikiCommitDetails) GetUserId() int32 { - if x != nil { - return x.UserId - } - return 0 -} - -func (x *WikiCommitDetails) GetUserName() []byte { - if x != nil { - return x.UserName - } - return nil -} - -// This comment is left unintentionally blank. -type WikiPageVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - // This comment is left unintentionally blank. - Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` -} - -func (x *WikiPageVersion) Reset() { - *x = WikiPageVersion{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiPageVersion) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiPageVersion) ProtoMessage() {} - -func (x *WikiPageVersion) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiPageVersion.ProtoReflect.Descriptor instead. -func (*WikiPageVersion) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{1} -} - -func (x *WikiPageVersion) GetCommit() *GitCommit { - if x != nil { - return x.Commit - } - return nil -} - -func (x *WikiPageVersion) GetFormat() string { - if x != nil { - return x.Format - } - return "" -} - -// This comment is left unintentionally blank. -type WikiPage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // These fields are only present in the first message of a WikiPage stream - Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - // This comment is left unintentionally blank. - Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` - // This comment is left unintentionally blank. - Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - // This comment is left unintentionally blank. - UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"` - // This comment is left unintentionally blank. - Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"` - // This field is present in all messages of a WikiPage stream - RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` -} - -func (x *WikiPage) Reset() { - *x = WikiPage{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiPage) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiPage) ProtoMessage() {} - -func (x *WikiPage) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiPage.ProtoReflect.Descriptor instead. -func (*WikiPage) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{2} -} - -func (x *WikiPage) GetVersion() *WikiPageVersion { - if x != nil { - return x.Version - } - return nil -} - -func (x *WikiPage) GetFormat() string { - if x != nil { - return x.Format - } - return "" -} - -func (x *WikiPage) GetTitle() []byte { - if x != nil { - return x.Title - } - return nil -} - -func (x *WikiPage) GetUrlPath() string { - if x != nil { - return x.UrlPath - } - return "" -} - -func (x *WikiPage) GetPath() []byte { - if x != nil { - return x.Path - } - return nil -} - -func (x *WikiPage) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *WikiPage) GetHistorical() bool { - if x != nil { - return x.Historical - } - return false -} - -func (x *WikiPage) GetRawData() []byte { - if x != nil { - return x.RawData - } - return nil -} - -// This message is sent in a stream because the 'content' field may be large. -type WikiWritePageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // These following fields are only present in the first message. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - // This comment is left unintentionally blank. - Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` - // This comment is left unintentionally blank. - CommitDetails *WikiCommitDetails `protobuf:"bytes,4,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` - // This field is present in all messages. - Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *WikiWritePageRequest) Reset() { - *x = WikiWritePageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiWritePageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiWritePageRequest) ProtoMessage() {} - -func (x *WikiWritePageRequest) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiWritePageRequest.ProtoReflect.Descriptor instead. -func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{3} -} - -func (x *WikiWritePageRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WikiWritePageRequest) GetName() []byte { - if x != nil { - return x.Name - } - return nil -} - -func (x *WikiWritePageRequest) GetFormat() string { - if x != nil { - return x.Format - } - return "" -} - -func (x *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails { - if x != nil { - return x.CommitDetails - } - return nil -} - -func (x *WikiWritePageRequest) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -// This comment is left unintentionally blank. -type WikiWritePageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"` -} - -func (x *WikiWritePageResponse) Reset() { - *x = WikiWritePageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiWritePageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiWritePageResponse) ProtoMessage() {} - -func (x *WikiWritePageResponse) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiWritePageResponse.ProtoReflect.Descriptor instead. -func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{4} -} - -func (x *WikiWritePageResponse) GetDuplicateError() []byte { - if x != nil { - return x.DuplicateError - } - return nil -} - -// This comment is left unintentionally blank. -type WikiUpdatePageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // There fields are only present in the first message of the stream - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` - // This comment is left unintentionally blank. - Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` - // This comment is left unintentionally blank. - Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` - // This comment is left unintentionally blank. - CommitDetails *WikiCommitDetails `protobuf:"bytes,5,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` - // This field is present in all messages - Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` -} - -func (x *WikiUpdatePageRequest) Reset() { - *x = WikiUpdatePageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiUpdatePageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiUpdatePageRequest) ProtoMessage() {} - -func (x *WikiUpdatePageRequest) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiUpdatePageRequest.ProtoReflect.Descriptor instead. -func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{5} -} - -func (x *WikiUpdatePageRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WikiUpdatePageRequest) GetPagePath() []byte { - if x != nil { - return x.PagePath - } - return nil -} - -func (x *WikiUpdatePageRequest) GetTitle() []byte { - if x != nil { - return x.Title - } - return nil -} - -func (x *WikiUpdatePageRequest) GetFormat() string { - if x != nil { - return x.Format - } - return "" -} - -func (x *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails { - if x != nil { - return x.CommitDetails - } - return nil -} - -func (x *WikiUpdatePageRequest) GetContent() []byte { - if x != nil { - return x.Content - } - return nil -} - -// This comment is left unintentionally blank. -type WikiUpdatePageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` -} - -func (x *WikiUpdatePageResponse) Reset() { - *x = WikiUpdatePageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiUpdatePageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiUpdatePageResponse) ProtoMessage() {} - -func (x *WikiUpdatePageResponse) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiUpdatePageResponse.ProtoReflect.Descriptor instead. -func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{6} -} - -func (x *WikiUpdatePageResponse) GetError() []byte { - if x != nil { - return x.Error - } - return nil -} - -// This comment is left unintentionally blank. -type WikiFindPageRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // This comment is left unintentionally blank. - Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - // This comment is left unintentionally blank. - Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - // This comment is left unintentionally blank. - Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` - // prevents the content from being sent over the response - SkipContent bool `protobuf:"varint,5,opt,name=skip_content,json=skipContent,proto3" json:"skip_content,omitempty"` -} - -func (x *WikiFindPageRequest) Reset() { - *x = WikiFindPageRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiFindPageRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiFindPageRequest) ProtoMessage() {} - -func (x *WikiFindPageRequest) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiFindPageRequest.ProtoReflect.Descriptor instead. -func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{7} -} - -func (x *WikiFindPageRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WikiFindPageRequest) GetTitle() []byte { - if x != nil { - return x.Title - } - return nil -} - -func (x *WikiFindPageRequest) GetRevision() []byte { - if x != nil { - return x.Revision - } - return nil -} - -func (x *WikiFindPageRequest) GetDirectory() []byte { - if x != nil { - return x.Directory - } - return nil -} - -func (x *WikiFindPageRequest) GetSkipContent() bool { - if x != nil { - return x.SkipContent - } - return false -} - -// WikiFindPageResponse is a stream because we need multiple WikiPage -// messages to send the raw_data field. -type WikiFindPageResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` -} - -func (x *WikiFindPageResponse) Reset() { - *x = WikiFindPageResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiFindPageResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiFindPageResponse) ProtoMessage() {} - -func (x *WikiFindPageResponse) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[8] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiFindPageResponse.ProtoReflect.Descriptor instead. -func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{8} -} - -func (x *WikiFindPageResponse) GetPage() *WikiPage { - if x != nil { - return x.Page - } - return nil -} - -// This comment is left unintentionally blank. -type WikiGetAllPagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Passing 0 means no limit is applied - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - // This comment is left unintentionally blank. - DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` - // This comment is left unintentionally blank. - Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"` -} - -func (x *WikiGetAllPagesRequest) Reset() { - *x = WikiGetAllPagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiGetAllPagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiGetAllPagesRequest) ProtoMessage() {} - -func (x *WikiGetAllPagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[9] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiGetAllPagesRequest.ProtoReflect.Descriptor instead. -func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{9} -} - -func (x *WikiGetAllPagesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WikiGetAllPagesRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *WikiGetAllPagesRequest) GetDirectionDesc() bool { - if x != nil { - return x.DirectionDesc - } - return false -} - -func (x *WikiGetAllPagesRequest) GetSort() WikiGetAllPagesRequest_SortBy { - if x != nil { - return x.Sort - } - return WikiGetAllPagesRequest_TITLE -} - -// The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams -type WikiGetAllPagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` - // When end_of_page is true it signals a change of page for the next Response message (if any) - EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage,proto3" json:"end_of_page,omitempty"` -} - -func (x *WikiGetAllPagesResponse) Reset() { - *x = WikiGetAllPagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiGetAllPagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiGetAllPagesResponse) ProtoMessage() {} - -func (x *WikiGetAllPagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[10] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiGetAllPagesResponse.ProtoReflect.Descriptor instead. -func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{10} -} - -func (x *WikiGetAllPagesResponse) GetPage() *WikiPage { - if x != nil { - return x.Page - } - return nil -} - -func (x *WikiGetAllPagesResponse) GetEndOfPage() bool { - if x != nil { - return x.EndOfPage - } - return false -} - -// This comment is left unintentionally blank. -type WikiListPagesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // Passing 0 means no limit is applied - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - // This comment is left unintentionally blank. - DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` - // This comment is left unintentionally blank. - Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"` - // This comment is left unintentionally blank. - Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` -} - -func (x *WikiListPagesRequest) Reset() { - *x = WikiListPagesRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiListPagesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiListPagesRequest) ProtoMessage() {} - -func (x *WikiListPagesRequest) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiListPagesRequest.ProtoReflect.Descriptor instead. -func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{11} -} - -func (x *WikiListPagesRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *WikiListPagesRequest) GetLimit() uint32 { - if x != nil { - return x.Limit - } - return 0 -} - -func (x *WikiListPagesRequest) GetDirectionDesc() bool { - if x != nil { - return x.DirectionDesc - } - return false -} - -func (x *WikiListPagesRequest) GetSort() WikiListPagesRequest_SortBy { - if x != nil { - return x.Sort - } - return WikiListPagesRequest_TITLE -} - -func (x *WikiListPagesRequest) GetOffset() uint32 { - if x != nil { - return x.Offset - } - return 0 -} - -// The WikiListPagesResponse stream is a concatenation of WikiPage streams without content -type WikiListPagesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // This comment is left unintentionally blank. - Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` -} - -func (x *WikiListPagesResponse) Reset() { - *x = WikiListPagesResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_wiki_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WikiListPagesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WikiListPagesResponse) ProtoMessage() {} - -func (x *WikiListPagesResponse) ProtoReflect() protoreflect.Message { - mi := &file_wiki_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WikiListPagesResponse.ProtoReflect.Descriptor instead. -func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { - return file_wiki_proto_rawDescGZIP(), []int{12} -} - -func (x *WikiListPagesResponse) GetPage() *WikiPage { - if x != nil { - return x.Page - } - return nil -} - -var File_wiki_proto protoreflect.FileDescriptor - -var file_wiki_proto_rawDesc = []byte{ - 0x0a, 0x0a, 0x77, 0x69, 0x6b, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, - 0x01, 0x0a, 0x11, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, - 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x18, - 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, - 0x0a, 0x0f, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, - 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x08, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, - 0x65, 0x12, 0x31, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, - 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, - 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, - 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, - 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, - 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, - 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, - 0x72, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, - 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, - 0x22, 0xd8, 0x01, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, - 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, - 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, - 0x6c, 0x73, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x40, 0x0a, 0x15, 0x57, - 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x64, - 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xf8, 0x01, - 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, - 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, - 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x40, 0x0a, 0x0e, - 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, - 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, - 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x18, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x16, 0x57, 0x69, 0x6b, 0x69, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc2, 0x01, 0x0a, 0x13, 0x57, 0x69, 0x6b, - 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, - 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, - 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, - 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6b, - 0x69, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x3c, 0x0a, - 0x14, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, - 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xef, 0x01, 0x0a, 0x16, - 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, - 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, - 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, - 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x39, 0x0a, - 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, - 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, - 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, - 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, - 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x41, 0x54, 0x10, 0x01, 0x22, 0x5f, 0x0a, - 0x17, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1e, - 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, 0x61, 0x67, 0x65, 0x22, 0x83, - 0x02, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, - 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, - 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x37, - 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, - 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, - 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, - 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, - 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, - 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, - 0x41, 0x54, 0x10, 0x01, 0x22, 0x3d, 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, - 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, - 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, - 0x61, 0x67, 0x65, 0x32, 0xcb, 0x03, 0x0a, 0x0b, 0x57, 0x69, 0x6b, 0x69, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, - 0x50, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, - 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, - 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x57, - 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, - 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, - 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, - 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, - 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x57, - 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, - 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, - 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, - 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x57, 0x69, 0x6b, - 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, - 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, - 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_wiki_proto_rawDescOnce sync.Once - file_wiki_proto_rawDescData = file_wiki_proto_rawDesc -) - -func file_wiki_proto_rawDescGZIP() []byte { - file_wiki_proto_rawDescOnce.Do(func() { - file_wiki_proto_rawDescData = protoimpl.X.CompressGZIP(file_wiki_proto_rawDescData) - }) - return file_wiki_proto_rawDescData -} - -var file_wiki_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_wiki_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_wiki_proto_goTypes = []interface{}{ - (WikiGetAllPagesRequest_SortBy)(0), // 0: gitaly.WikiGetAllPagesRequest.SortBy - (WikiListPagesRequest_SortBy)(0), // 1: gitaly.WikiListPagesRequest.SortBy - (*WikiCommitDetails)(nil), // 2: gitaly.WikiCommitDetails - (*WikiPageVersion)(nil), // 3: gitaly.WikiPageVersion - (*WikiPage)(nil), // 4: gitaly.WikiPage - (*WikiWritePageRequest)(nil), // 5: gitaly.WikiWritePageRequest - (*WikiWritePageResponse)(nil), // 6: gitaly.WikiWritePageResponse - (*WikiUpdatePageRequest)(nil), // 7: gitaly.WikiUpdatePageRequest - (*WikiUpdatePageResponse)(nil), // 8: gitaly.WikiUpdatePageResponse - (*WikiFindPageRequest)(nil), // 9: gitaly.WikiFindPageRequest - (*WikiFindPageResponse)(nil), // 10: gitaly.WikiFindPageResponse - (*WikiGetAllPagesRequest)(nil), // 11: gitaly.WikiGetAllPagesRequest - (*WikiGetAllPagesResponse)(nil), // 12: gitaly.WikiGetAllPagesResponse - (*WikiListPagesRequest)(nil), // 13: gitaly.WikiListPagesRequest - (*WikiListPagesResponse)(nil), // 14: gitaly.WikiListPagesResponse - (*GitCommit)(nil), // 15: gitaly.GitCommit - (*Repository)(nil), // 16: gitaly.Repository -} -var file_wiki_proto_depIdxs = []int32{ - 15, // 0: gitaly.WikiPageVersion.commit:type_name -> gitaly.GitCommit - 3, // 1: gitaly.WikiPage.version:type_name -> gitaly.WikiPageVersion - 16, // 2: gitaly.WikiWritePageRequest.repository:type_name -> gitaly.Repository - 2, // 3: gitaly.WikiWritePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails - 16, // 4: gitaly.WikiUpdatePageRequest.repository:type_name -> gitaly.Repository - 2, // 5: gitaly.WikiUpdatePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails - 16, // 6: gitaly.WikiFindPageRequest.repository:type_name -> gitaly.Repository - 4, // 7: gitaly.WikiFindPageResponse.page:type_name -> gitaly.WikiPage - 16, // 8: gitaly.WikiGetAllPagesRequest.repository:type_name -> gitaly.Repository - 0, // 9: gitaly.WikiGetAllPagesRequest.sort:type_name -> gitaly.WikiGetAllPagesRequest.SortBy - 4, // 10: gitaly.WikiGetAllPagesResponse.page:type_name -> gitaly.WikiPage - 16, // 11: gitaly.WikiListPagesRequest.repository:type_name -> gitaly.Repository - 1, // 12: gitaly.WikiListPagesRequest.sort:type_name -> gitaly.WikiListPagesRequest.SortBy - 4, // 13: gitaly.WikiListPagesResponse.page:type_name -> gitaly.WikiPage - 5, // 14: gitaly.WikiService.WikiWritePage:input_type -> gitaly.WikiWritePageRequest - 7, // 15: gitaly.WikiService.WikiUpdatePage:input_type -> gitaly.WikiUpdatePageRequest - 9, // 16: gitaly.WikiService.WikiFindPage:input_type -> gitaly.WikiFindPageRequest - 11, // 17: gitaly.WikiService.WikiGetAllPages:input_type -> gitaly.WikiGetAllPagesRequest - 13, // 18: gitaly.WikiService.WikiListPages:input_type -> gitaly.WikiListPagesRequest - 6, // 19: gitaly.WikiService.WikiWritePage:output_type -> gitaly.WikiWritePageResponse - 8, // 20: gitaly.WikiService.WikiUpdatePage:output_type -> gitaly.WikiUpdatePageResponse - 10, // 21: gitaly.WikiService.WikiFindPage:output_type -> gitaly.WikiFindPageResponse - 12, // 22: gitaly.WikiService.WikiGetAllPages:output_type -> gitaly.WikiGetAllPagesResponse - 14, // 23: gitaly.WikiService.WikiListPages:output_type -> gitaly.WikiListPagesResponse - 19, // [19:24] is the sub-list for method output_type - 14, // [14:19] is the sub-list for method input_type - 14, // [14:14] is the sub-list for extension type_name - 14, // [14:14] is the sub-list for extension extendee - 0, // [0:14] is the sub-list for field type_name -} - -func init() { file_wiki_proto_init() } -func file_wiki_proto_init() { - if File_wiki_proto != nil { - return - } - file_lint_proto_init() - file_shared_proto_init() - if !protoimpl.UnsafeEnabled { - file_wiki_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiCommitDetails); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiPageVersion); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiPage); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiWritePageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiWritePageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiUpdatePageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiUpdatePageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiFindPageRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiFindPageResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiGetAllPagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiGetAllPagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiListPagesRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wiki_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WikiListPagesResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_wiki_proto_rawDesc, - NumEnums: 2, - NumMessages: 13, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_wiki_proto_goTypes, - DependencyIndexes: file_wiki_proto_depIdxs, - EnumInfos: file_wiki_proto_enumTypes, - MessageInfos: file_wiki_proto_msgTypes, - }.Build() - File_wiki_proto = out.File - file_wiki_proto_rawDesc = nil - file_wiki_proto_goTypes = nil - file_wiki_proto_depIdxs = nil -} diff --git a/proto/go/gitalypb/wiki_grpc.pb.go b/proto/go/gitalypb/wiki_grpc.pb.go deleted file mode 100644 index 588539968..000000000 --- a/proto/go/gitalypb/wiki_grpc.pb.go +++ /dev/null @@ -1,404 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. - -package gitalypb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.32.0 or later. -const _ = grpc.SupportPackageIsVersion7 - -// WikiServiceClient is the client API for WikiService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type WikiServiceClient interface { - // This comment is left unintentionally blank. - WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) - // This comment is left unintentionally blank. - WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) - // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. - WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) - // This comment is left unintentionally blank. - WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) - // This comment is left unintentionally blank. - WikiListPages(ctx context.Context, in *WikiListPagesRequest, opts ...grpc.CallOption) (WikiService_WikiListPagesClient, error) -} - -type wikiServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewWikiServiceClient(cc grpc.ClientConnInterface) WikiServiceClient { - return &wikiServiceClient{cc} -} - -func (c *wikiServiceClient) WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) { - stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[0], "/gitaly.WikiService/WikiWritePage", opts...) - if err != nil { - return nil, err - } - x := &wikiServiceWikiWritePageClient{stream} - return x, nil -} - -type WikiService_WikiWritePageClient interface { - Send(*WikiWritePageRequest) error - CloseAndRecv() (*WikiWritePageResponse, error) - grpc.ClientStream -} - -type wikiServiceWikiWritePageClient struct { - grpc.ClientStream -} - -func (x *wikiServiceWikiWritePageClient) Send(m *WikiWritePageRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *wikiServiceWikiWritePageClient) CloseAndRecv() (*WikiWritePageResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(WikiWritePageResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *wikiServiceClient) WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) { - stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[1], "/gitaly.WikiService/WikiUpdatePage", opts...) - if err != nil { - return nil, err - } - x := &wikiServiceWikiUpdatePageClient{stream} - return x, nil -} - -type WikiService_WikiUpdatePageClient interface { - Send(*WikiUpdatePageRequest) error - CloseAndRecv() (*WikiUpdatePageResponse, error) - grpc.ClientStream -} - -type wikiServiceWikiUpdatePageClient struct { - grpc.ClientStream -} - -func (x *wikiServiceWikiUpdatePageClient) Send(m *WikiUpdatePageRequest) error { - return x.ClientStream.SendMsg(m) -} - -func (x *wikiServiceWikiUpdatePageClient) CloseAndRecv() (*WikiUpdatePageResponse, error) { - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - m := new(WikiUpdatePageResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *wikiServiceClient) WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) { - stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[2], "/gitaly.WikiService/WikiFindPage", opts...) - if err != nil { - return nil, err - } - x := &wikiServiceWikiFindPageClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type WikiService_WikiFindPageClient interface { - Recv() (*WikiFindPageResponse, error) - grpc.ClientStream -} - -type wikiServiceWikiFindPageClient struct { - grpc.ClientStream -} - -func (x *wikiServiceWikiFindPageClient) Recv() (*WikiFindPageResponse, error) { - m := new(WikiFindPageResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *wikiServiceClient) WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) { - stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[3], "/gitaly.WikiService/WikiGetAllPages", opts...) - if err != nil { - return nil, err - } - x := &wikiServiceWikiGetAllPagesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type WikiService_WikiGetAllPagesClient interface { - Recv() (*WikiGetAllPagesResponse, error) - grpc.ClientStream -} - -type wikiServiceWikiGetAllPagesClient struct { - grpc.ClientStream -} - -func (x *wikiServiceWikiGetAllPagesClient) Recv() (*WikiGetAllPagesResponse, error) { - m := new(WikiGetAllPagesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func (c *wikiServiceClient) WikiListPages(ctx context.Context, in *WikiListPagesRequest, opts ...grpc.CallOption) (WikiService_WikiListPagesClient, error) { - stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[4], "/gitaly.WikiService/WikiListPages", opts...) - if err != nil { - return nil, err - } - x := &wikiServiceWikiListPagesClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type WikiService_WikiListPagesClient interface { - Recv() (*WikiListPagesResponse, error) - grpc.ClientStream -} - -type wikiServiceWikiListPagesClient struct { - grpc.ClientStream -} - -func (x *wikiServiceWikiListPagesClient) Recv() (*WikiListPagesResponse, error) { - m := new(WikiListPagesResponse) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -// WikiServiceServer is the server API for WikiService service. -// All implementations must embed UnimplementedWikiServiceServer -// for forward compatibility -type WikiServiceServer interface { - // This comment is left unintentionally blank. - WikiWritePage(WikiService_WikiWritePageServer) error - // This comment is left unintentionally blank. - WikiUpdatePage(WikiService_WikiUpdatePageServer) error - // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. - WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error - // This comment is left unintentionally blank. - WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error - // This comment is left unintentionally blank. - WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error - mustEmbedUnimplementedWikiServiceServer() -} - -// UnimplementedWikiServiceServer must be embedded to have forward compatible implementations. -type UnimplementedWikiServiceServer struct { -} - -func (UnimplementedWikiServiceServer) WikiWritePage(WikiService_WikiWritePageServer) error { - return status.Errorf(codes.Unimplemented, "method WikiWritePage not implemented") -} -func (UnimplementedWikiServiceServer) WikiUpdatePage(WikiService_WikiUpdatePageServer) error { - return status.Errorf(codes.Unimplemented, "method WikiUpdatePage not implemented") -} -func (UnimplementedWikiServiceServer) WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error { - return status.Errorf(codes.Unimplemented, "method WikiFindPage not implemented") -} -func (UnimplementedWikiServiceServer) WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error { - return status.Errorf(codes.Unimplemented, "method WikiGetAllPages not implemented") -} -func (UnimplementedWikiServiceServer) WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error { - return status.Errorf(codes.Unimplemented, "method WikiListPages not implemented") -} -func (UnimplementedWikiServiceServer) mustEmbedUnimplementedWikiServiceServer() {} - -// UnsafeWikiServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to WikiServiceServer will -// result in compilation errors. -type UnsafeWikiServiceServer interface { - mustEmbedUnimplementedWikiServiceServer() -} - -func RegisterWikiServiceServer(s grpc.ServiceRegistrar, srv WikiServiceServer) { - s.RegisterService(&WikiService_ServiceDesc, srv) -} - -func _WikiService_WikiWritePage_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(WikiServiceServer).WikiWritePage(&wikiServiceWikiWritePageServer{stream}) -} - -type WikiService_WikiWritePageServer interface { - SendAndClose(*WikiWritePageResponse) error - Recv() (*WikiWritePageRequest, error) - grpc.ServerStream -} - -type wikiServiceWikiWritePageServer struct { - grpc.ServerStream -} - -func (x *wikiServiceWikiWritePageServer) SendAndClose(m *WikiWritePageResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *wikiServiceWikiWritePageServer) Recv() (*WikiWritePageRequest, error) { - m := new(WikiWritePageRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _WikiService_WikiUpdatePage_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(WikiServiceServer).WikiUpdatePage(&wikiServiceWikiUpdatePageServer{stream}) -} - -type WikiService_WikiUpdatePageServer interface { - SendAndClose(*WikiUpdatePageResponse) error - Recv() (*WikiUpdatePageRequest, error) - grpc.ServerStream -} - -type wikiServiceWikiUpdatePageServer struct { - grpc.ServerStream -} - -func (x *wikiServiceWikiUpdatePageServer) SendAndClose(m *WikiUpdatePageResponse) error { - return x.ServerStream.SendMsg(m) -} - -func (x *wikiServiceWikiUpdatePageServer) Recv() (*WikiUpdatePageRequest, error) { - m := new(WikiUpdatePageRequest) - if err := x.ServerStream.RecvMsg(m); err != nil { - return nil, err - } - return m, nil -} - -func _WikiService_WikiFindPage_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(WikiFindPageRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(WikiServiceServer).WikiFindPage(m, &wikiServiceWikiFindPageServer{stream}) -} - -type WikiService_WikiFindPageServer interface { - Send(*WikiFindPageResponse) error - grpc.ServerStream -} - -type wikiServiceWikiFindPageServer struct { - grpc.ServerStream -} - -func (x *wikiServiceWikiFindPageServer) Send(m *WikiFindPageResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _WikiService_WikiGetAllPages_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(WikiGetAllPagesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(WikiServiceServer).WikiGetAllPages(m, &wikiServiceWikiGetAllPagesServer{stream}) -} - -type WikiService_WikiGetAllPagesServer interface { - Send(*WikiGetAllPagesResponse) error - grpc.ServerStream -} - -type wikiServiceWikiGetAllPagesServer struct { - grpc.ServerStream -} - -func (x *wikiServiceWikiGetAllPagesServer) Send(m *WikiGetAllPagesResponse) error { - return x.ServerStream.SendMsg(m) -} - -func _WikiService_WikiListPages_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(WikiListPagesRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(WikiServiceServer).WikiListPages(m, &wikiServiceWikiListPagesServer{stream}) -} - -type WikiService_WikiListPagesServer interface { - Send(*WikiListPagesResponse) error - grpc.ServerStream -} - -type wikiServiceWikiListPagesServer struct { - grpc.ServerStream -} - -func (x *wikiServiceWikiListPagesServer) Send(m *WikiListPagesResponse) error { - return x.ServerStream.SendMsg(m) -} - -// WikiService_ServiceDesc is the grpc.ServiceDesc for WikiService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var WikiService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "gitaly.WikiService", - HandlerType: (*WikiServiceServer)(nil), - Methods: []grpc.MethodDesc{}, - Streams: []grpc.StreamDesc{ - { - StreamName: "WikiWritePage", - Handler: _WikiService_WikiWritePage_Handler, - ClientStreams: true, - }, - { - StreamName: "WikiUpdatePage", - Handler: _WikiService_WikiUpdatePage_Handler, - ClientStreams: true, - }, - { - StreamName: "WikiFindPage", - Handler: _WikiService_WikiFindPage_Handler, - ServerStreams: true, - }, - { - StreamName: "WikiGetAllPages", - Handler: _WikiService_WikiGetAllPages_Handler, - ServerStreams: true, - }, - { - StreamName: "WikiListPages", - Handler: _WikiService_WikiListPages_Handler, - ServerStreams: true, - }, - }, - Metadata: "wiki.proto", -} diff --git a/ruby/proto/gitaly/blob_pb.rb b/ruby/proto/gitaly/blob_pb.rb index bd4c225e6..cd1f1eed2 100644 --- a/ruby/proto/gitaly/blob_pb.rb +++ b/ruby/proto/gitaly/blob_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: blob.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("blob.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/cleanup_pb.rb b/ruby/proto/gitaly/cleanup_pb.rb index f37081c68..386b58e82 100644 --- a/ruby/proto/gitaly/cleanup_pb.rb +++ b/ruby/proto/gitaly/cleanup_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: cleanup.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("cleanup.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/commit_pb.rb b/ruby/proto/gitaly/commit_pb.rb index e501fcf34..ea3be715c 100644 --- a/ruby/proto/gitaly/commit_pb.rb +++ b/ruby/proto/gitaly/commit_pb.rb @@ -1,10 +1,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: commit.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("commit.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/conflicts_pb.rb b/ruby/proto/gitaly/conflicts_pb.rb index 1dcc1cdbe..ab60ee780 100644 --- a/ruby/proto/gitaly/conflicts_pb.rb +++ b/ruby/proto/gitaly/conflicts_pb.rb @@ -1,10 +1,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: conflicts.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("conflicts.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/diff_pb.rb b/ruby/proto/gitaly/diff_pb.rb index 5a805b038..695e5b309 100644 --- a/ruby/proto/gitaly/diff_pb.rb +++ b/ruby/proto/gitaly/diff_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: diff.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("diff.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/errors_pb.rb b/ruby/proto/gitaly/errors_pb.rb index 7947f2433..bc222d8cb 100644 --- a/ruby/proto/gitaly/errors_pb.rb +++ b/ruby/proto/gitaly/errors_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: errors.proto -require 'google/protobuf/duration_pb' require 'google/protobuf' +require 'google/protobuf/duration_pb' + Google::Protobuf::DescriptorPool.generated_pool.build do add_file("errors.proto", :syntax => :proto3) do add_message "gitaly.AccessCheckError" do diff --git a/ruby/proto/gitaly/hook_pb.rb b/ruby/proto/gitaly/hook_pb.rb index beb096ee8..151133488 100644 --- a/ruby/proto/gitaly/hook_pb.rb +++ b/ruby/proto/gitaly/hook_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: hook.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("hook.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/internal_pb.rb b/ruby/proto/gitaly/internal_pb.rb index 6c6902907..8cd8d5972 100644 --- a/ruby/proto/gitaly/internal_pb.rb +++ b/ruby/proto/gitaly/internal_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: internal.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("internal.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/lint_pb.rb b/ruby/proto/gitaly/lint_pb.rb index 2cfe612e0..9eed4f6ca 100644 --- a/ruby/proto/gitaly/lint_pb.rb +++ b/ruby/proto/gitaly/lint_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: lint.proto -require 'google/protobuf/descriptor_pb' require 'google/protobuf' +require 'google/protobuf/descriptor_pb' + Google::Protobuf::DescriptorPool.generated_pool.build do add_file("lint.proto", :syntax => :proto3) do add_message "gitaly.OperationMsg" do diff --git a/ruby/proto/gitaly/namespace_pb.rb b/ruby/proto/gitaly/namespace_pb.rb index e07a04ba8..1be9574aa 100644 --- a/ruby/proto/gitaly/namespace_pb.rb +++ b/ruby/proto/gitaly/namespace_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: namespace.proto -require 'lint_pb' require 'google/protobuf' +require 'lint_pb' + Google::Protobuf::DescriptorPool.generated_pool.build do add_file("namespace.proto", :syntax => :proto3) do add_message "gitaly.AddNamespaceRequest" do diff --git a/ruby/proto/gitaly/objectpool_pb.rb b/ruby/proto/gitaly/objectpool_pb.rb index ebbe7fa8f..82df37476 100644 --- a/ruby/proto/gitaly/objectpool_pb.rb +++ b/ruby/proto/gitaly/objectpool_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: objectpool.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("objectpool.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/operations_pb.rb b/ruby/proto/gitaly/operations_pb.rb index b8b001427..795993733 100644 --- a/ruby/proto/gitaly/operations_pb.rb +++ b/ruby/proto/gitaly/operations_pb.rb @@ -1,11 +1,12 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: operations.proto +require 'google/protobuf' + require 'errors_pb' require 'google/protobuf/timestamp_pb' require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("operations.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/praefect_pb.rb b/ruby/proto/gitaly/praefect_pb.rb index 7031b6043..bb1899a89 100644 --- a/ruby/proto/gitaly/praefect_pb.rb +++ b/ruby/proto/gitaly/praefect_pb.rb @@ -1,10 +1,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: praefect.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("praefect.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb index 2a7163932..c3f0c4b0a 100644 --- a/ruby/proto/gitaly/ref_pb.rb +++ b/ruby/proto/gitaly/ref_pb.rb @@ -1,10 +1,11 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ref.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("ref.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/remote_pb.rb b/ruby/proto/gitaly/remote_pb.rb index 277808c7a..fff07c290 100644 --- a/ruby/proto/gitaly/remote_pb.rb +++ b/ruby/proto/gitaly/remote_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: remote.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("remote.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/repository_pb.rb b/ruby/proto/gitaly/repository_pb.rb index e7c24784c..1ee80d675 100644 --- a/ruby/proto/gitaly/repository_pb.rb +++ b/ruby/proto/gitaly/repository_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: repository.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("repository.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/server_pb.rb b/ruby/proto/gitaly/server_pb.rb index 8e41430d4..8a60a9aea 100644 --- a/ruby/proto/gitaly/server_pb.rb +++ b/ruby/proto/gitaly/server_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: server.proto -require 'lint_pb' require 'google/protobuf' +require 'lint_pb' + Google::Protobuf::DescriptorPool.generated_pool.build do add_file("server.proto", :syntax => :proto3) do add_message "gitaly.ServerInfoRequest" do diff --git a/ruby/proto/gitaly/shared_pb.rb b/ruby/proto/gitaly/shared_pb.rb index 80fb0bed8..3fed545c5 100644 --- a/ruby/proto/gitaly/shared_pb.rb +++ b/ruby/proto/gitaly/shared_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: shared.proto +require 'google/protobuf' + require 'google/protobuf/timestamp_pb' require 'lint_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("shared.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/smarthttp_pb.rb b/ruby/proto/gitaly/smarthttp_pb.rb index 378fc5496..330bd9486 100644 --- a/ruby/proto/gitaly/smarthttp_pb.rb +++ b/ruby/proto/gitaly/smarthttp_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: smarthttp.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("smarthttp.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/ssh_pb.rb b/ruby/proto/gitaly/ssh_pb.rb index 49e65cc14..67b38d791 100644 --- a/ruby/proto/gitaly/ssh_pb.rb +++ b/ruby/proto/gitaly/ssh_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: ssh.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("ssh.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/transaction_pb.rb b/ruby/proto/gitaly/transaction_pb.rb index b96b8fb0b..7ef733e73 100644 --- a/ruby/proto/gitaly/transaction_pb.rb +++ b/ruby/proto/gitaly/transaction_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: transaction.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("transaction.proto", :syntax => :proto3) do diff --git a/ruby/proto/gitaly/wiki_pb.rb b/ruby/proto/gitaly/wiki_pb.rb index a046da613..70c750a46 100644 --- a/ruby/proto/gitaly/wiki_pb.rb +++ b/ruby/proto/gitaly/wiki_pb.rb @@ -1,9 +1,10 @@ # Generated by the protocol buffer compiler. DO NOT EDIT! # source: wiki.proto +require 'google/protobuf' + require 'lint_pb' require 'shared_pb' -require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("wiki.proto", :syntax => :proto3) do diff --git a/streamio/stream.go b/streamio/stream.go deleted file mode 100644 index 68e6bd687..000000000 --- a/streamio/stream.go +++ /dev/null @@ -1,89 +0,0 @@ -// Package streamio contains wrappers intended for turning gRPC streams -// that send/receive messages with a []byte field into io.Writers and -// io.Readers. -// -package streamio - -import ( - "io" - "sync" -) - -// NewReader turns receiver into an io.Reader. Errors from the receiver -// function are passed on unmodified. This means receiver should emit -// io.EOF when done. -func NewReader(receiver func() ([]byte, error)) io.Reader { - return &receiveReader{receiver: receiver} -} - -type receiveReader struct { - receiver func() ([]byte, error) - data []byte - err error -} - -func (rr *receiveReader) Read(p []byte) (int, error) { - if len(rr.data) == 0 && rr.err == nil { - rr.data, rr.err = rr.receiver() - } - - n := copy(p, rr.data) - rr.data = rr.data[n:] - - // We want to return any potential error only in case we have no - // buffered data left. Otherwise, it can happen that we do not relay - // bytes when the reader returns both data and an error. - if len(rr.data) == 0 { - return n, rr.err - } - - return n, nil -} - -// NewWriter turns sender into an io.Writer. The sender callback will -// receive []byte arguments of length at most WriteBufferSize. -func NewWriter(sender func(p []byte) error) io.Writer { - return &sendWriter{sender: sender} -} - -// NewSyncWriter turns sender into an io.Writer. The sender callback will -// receive []byte arguments of length at most WriteBufferSize. All calls to the -// sender will be synchronized via the mutex. -func NewSyncWriter(m *sync.Mutex, sender func(p []byte) error) io.Writer { - return &sendWriter{ - sender: func(p []byte) error { - m.Lock() - defer m.Unlock() - - return sender(p) - }, - } -} - -// WriteBufferSize is the largest []byte that Write() will pass to its -// underlying send function. -var WriteBufferSize = 128 * 1024 - -type sendWriter struct { - sender func([]byte) error -} - -func (sw *sendWriter) Write(p []byte) (int, error) { - var sent int - - for len(p) > 0 { - chunkSize := len(p) - if chunkSize > WriteBufferSize { - chunkSize = WriteBufferSize - } - - if err := sw.sender(p[:chunkSize]); err != nil { - return sent, err - } - - sent += chunkSize - p = p[chunkSize:] - } - - return sent, nil -} diff --git a/streamio/stream_test.go b/streamio/stream_test.go deleted file mode 100644 index 8f7c841fd..000000000 --- a/streamio/stream_test.go +++ /dev/null @@ -1,149 +0,0 @@ -package streamio - -import ( - "bytes" - "errors" - "fmt" - "io" - "strings" - "sync" - "testing" - "testing/iotest" - - "github.com/stretchr/testify/require" -) - -func TestReceiveSources(t *testing.T) { - testData := "Hello this is the test data that will be received" - testCases := []struct { - desc string - r io.Reader - }{ - {desc: "base", r: strings.NewReader(testData)}, - {desc: "dataerr", r: iotest.DataErrReader(strings.NewReader(testData))}, - {desc: "onebyte", r: iotest.OneByteReader(strings.NewReader(testData))}, - {desc: "dataerr(onebyte)", r: iotest.DataErrReader(iotest.OneByteReader(strings.NewReader(testData)))}, - } - - for _, tc := range testCases { - data, err := io.ReadAll(&opaqueReader{NewReader(receiverFromReader(tc.r))}) - require.NoError(t, err, tc.desc) - require.Equal(t, testData, string(data), tc.desc) - } -} - -func TestReadSizes(t *testing.T) { - readSizes := func(t *testing.T, newReader func(string) io.Reader) { - testData := "Hello this is the test data that will be received. It goes on for a while bla bla bla." - - for n := 1; n < 100; n *= 3 { - desc := fmt.Sprintf("reads of size %d", n) - result := &bytes.Buffer{} - reader := &opaqueReader{NewReader(receiverFromReader(newReader(testData)))} - n, err := io.CopyBuffer(&opaqueWriter{result}, reader, make([]byte, n)) - - require.NoError(t, err, desc) - require.Equal(t, testData, result.String()) - require.EqualValues(t, len(testData), n) - } - } - - t.Run("normal reader", func(t *testing.T) { - readSizes(t, func(s string) io.Reader { - return strings.NewReader(s) - }) - }) - - t.Run("err reader", func(t *testing.T) { - readSizes(t, func(s string) io.Reader { - return iotest.DataErrReader(strings.NewReader(s)) - }) - }) -} - -func TestRead_rememberError(t *testing.T) { - firstRead := true - myError := errors.New("hello world") - r := NewReader(func() ([]byte, error) { - if firstRead { - firstRead = false - return nil, myError - } - panic("should never be reached") - }) - - // Intentionally call Read more than once. We want the error to be - // sticky. - for i := 0; i < 10; i++ { - _, err := r.Read(nil) - require.Equal(t, err, myError) - } -} - -func receiverFromReader(r io.Reader) func() ([]byte, error) { - return func() ([]byte, error) { - data := make([]byte, 10) - n, err := r.Read(data) - return data[:n], err - } -} - -// Hide io.WriteTo if it exists -type opaqueReader struct { - io.Reader -} - -// Hide io.ReadFrom if it exists -type opaqueWriter struct { - io.Writer -} - -func TestWriterChunking(t *testing.T) { - defer func(oldBufferSize int) { - WriteBufferSize = oldBufferSize - }(WriteBufferSize) - WriteBufferSize = 5 - - testData := "Hello this is some test data" - ts := &testSender{} - w := NewWriter(ts.send) - _, err := io.CopyBuffer(&opaqueWriter{w}, strings.NewReader(testData), make([]byte, 10)) - - require.NoError(t, err) - require.Equal(t, testData, string(bytes.Join(ts.sends, nil))) - for _, send := range ts.sends { - require.True(t, len(send) <= WriteBufferSize, "send calls may not exceed WriteBufferSize") - } -} - -func TestNewSyncWriter(t *testing.T) { - var m sync.Mutex - testData := "Hello this is some test data" - ts := &testSender{} - - w := NewSyncWriter(&m, func(p []byte) error { - // As there is no way to check whether a mutex is locked already, we can just try to - // unlock it here. If the mutex wasn't locked, it would cause a runtime error. As - // there's no concurrent writers in this test, this is safe to do. - m.Unlock() - m.Lock() - - return ts.send(p) - }) - - _, err := io.CopyBuffer(&opaqueWriter{w}, strings.NewReader(testData), make([]byte, 10)) - require.NoError(t, err) - - require.Equal(t, testData, string(bytes.Join(ts.sends, nil))) -} - -type testSender struct { - sends [][]byte -} - -func (ts *testSender) send(p []byte) error { - buf := make([]byte, len(p)) - copy(buf, p) - ts.sends = append(ts.sends, buf) - return nil -} diff --git a/tools/protoc-gen-gitaly-lint/lint.go b/tools/protoc-gen-gitaly-lint/lint.go index 901c22946..4acc1b550 100644 --- a/tools/protoc-gen-gitaly-lint/lint.go +++ b/tools/protoc-gen-gitaly-lint/lint.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "gitlab.com/gitlab-org/gitaly/v14/internal/protoutil" + "gitlab.com/gitlab-org/gitaly/internal/protoutil" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/descriptorpb" diff --git a/tools/protoc-gen-gitaly-lint/lint_test.go b/tools/protoc-gen-gitaly-lint/lint_test.go index 68a8424a4..7ae217fe7 100644 --- a/tools/protoc-gen-gitaly-lint/lint_test.go +++ b/tools/protoc-gen-gitaly-lint/lint_test.go @@ -5,7 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" - _ "gitlab.com/gitlab-org/gitaly/v14/tools/protoc-gen-gitaly-lint/testdata" + _ "gitlab.com/gitlab-org/gitaly/tools/protoc-gen-gitaly-lint/testdata" "google.golang.org/protobuf/reflect/protodesc" protoreg "google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/descriptorpb" diff --git a/tools/protoc-gen-gitaly-lint/method.go b/tools/protoc-gen-gitaly-lint/method.go index b1f5c7282..5c7c6f740 100644 --- a/tools/protoc-gen-gitaly-lint/method.go +++ b/tools/protoc-gen-gitaly-lint/method.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "gitlab.com/gitlab-org/gitaly/v14/internal/protoutil" + "gitlab.com/gitlab-org/gitaly/internal/protoutil" "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" "google.golang.org/protobuf/types/descriptorpb" "google.golang.org/protobuf/types/pluginpb" diff --git a/tools/protoc-gen-gitaly-lint/testdata/invalid.pb.go b/tools/protoc-gen-gitaly-lint/testdata/invalid.pb.go index 6ab6f2aaa..4b2fd1e86 100644 --- a/tools/protoc-gen-gitaly-lint/testdata/invalid.pb.go +++ b/tools/protoc-gen-gitaly-lint/testdata/invalid.pb.go @@ -960,12 +960,12 @@ var file_protoc_gen_gitaly_lint_testdata_invalid_proto_rawDesc = []byte{ 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, - 0xfa, 0x97, 0x28, 0x04, 0x08, 0x03, 0x10, 0x02, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x6c, + 0xfa, 0x97, 0x28, 0x04, 0x08, 0x03, 0x10, 0x02, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, - 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x74, 0x6f, 0x6f, - 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x69, - 0x74, 0x61, 0x6c, 0x79, 0x2d, 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, - 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2d, 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/tools/protoc-gen-gitaly-lint/testdata/invalid.proto b/tools/protoc-gen-gitaly-lint/testdata/invalid.proto index 80deaa416..562700d40 100644 --- a/tools/protoc-gen-gitaly-lint/testdata/invalid.proto +++ b/tools/protoc-gen-gitaly-lint/testdata/invalid.proto @@ -5,7 +5,7 @@ package test; import "lint.proto"; import "shared.proto"; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/tools/protoc-gen-gitaly-lint/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/tools/protoc-gen-gitaly-lint/testdata"; message InvalidMethodRequest { } diff --git a/tools/protoc-gen-gitaly-lint/testdata/valid.pb.go b/tools/protoc-gen-gitaly-lint/testdata/valid.pb.go index c49093be0..6483a5aef 100644 --- a/tools/protoc-gen-gitaly-lint/testdata/valid.pb.go +++ b/tools/protoc-gen-gitaly-lint/testdata/valid.pb.go @@ -649,12 +649,12 @@ var file_protoc_gen_gitaly_lint_testdata_valid_proto_rawDesc = []byte{ 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x42, 0x44, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, - 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x74, - 0x6f, 0x6f, 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, - 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2d, 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, - 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x74, 0x6f, 0x6f, 0x6c, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2d, 0x6c, 0x69, 0x6e, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/tools/protoc-gen-gitaly-lint/testdata/valid.proto b/tools/protoc-gen-gitaly-lint/testdata/valid.proto index e9763b067..77374086a 100644 --- a/tools/protoc-gen-gitaly-lint/testdata/valid.proto +++ b/tools/protoc-gen-gitaly-lint/testdata/valid.proto @@ -5,7 +5,7 @@ package test; import "lint.proto"; import "shared.proto"; -option go_package = "gitlab.com/gitlab-org/gitaly/v14/tools/protoc-gen-gitaly-lint/testdata"; +option go_package = "gitlab.com/gitlab-org/gitaly/tools/protoc-gen-gitaly-lint/testdata"; message ValidRequest { gitaly.Repository destination = 1 [(gitaly.target_repository)=true]; diff --git a/v14/auth/README.md b/v14/auth/README.md new file mode 100644 index 000000000..b5dc6f568 --- /dev/null +++ b/v14/auth/README.md @@ -0,0 +1,27 @@ +# Gitaly authentication middleware for Go + +This package contains code that plugs into +github.com/grpc-ecosystem/go-grpc-middleware/auth to provide client +and server authentication middleware for Gitaly. + +Gitaly has two authentication schemes. + +## V1 authentication (deprecated) + +This scheme uses a shared secret. The shared secret is base64-encoded +and passed by the client as a bearer token. + +## V2 authentication + +This scheme uses a time limited token derived from a shared secret. + +The client creates a timestamp and computes the SHA256 HMAC signature +for that timestamp, treating the timestamp as the message. The shared +secret is used as the key for the HMAC. The client then sends both the +message and the signature to the server as a bearer token. + +The server takes the message and computes the signature. If the +client-provided signature matches the computed signature the message is +accepted. Next, the server checks if its current time is no more than +30 seconds ahead or behind the timestamp. If the timestamp is too old +or too new the request is denied. Otherwise it goes ahead. diff --git a/v14/auth/extract_test.go b/v14/auth/extract_test.go new file mode 100644 index 000000000..77855bf62 --- /dev/null +++ b/v14/auth/extract_test.go @@ -0,0 +1,89 @@ +package gitalyauth + +import ( + "testing" + "time" + + "github.com/grpc-ecosystem/go-grpc-middleware/util/metautils" + "github.com/stretchr/testify/require" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" +) + +func TestCheckTokenV2(t *testing.T) { + // the tests below had their hmac signatures generated with the default 30s + // in our tests, we modify this number with ldflags but this test should continue + // to use the 30s number + + defer func(d time.Duration) { + tokenValidityDuration = d + }(tokenValidityDuration) + + tokenValidityDuration = 30 * time.Second + + targetTime := time.Unix(1535671600, 0) + secret := []byte("foo") + + testCases := []struct { + desc string + token string + result error + }{ + { + desc: "Valid v2 secret, future time within threshold", + token: "v2.3346cb25ecdb928defd368e7390522a86764bbdf1e8b21aaef27c4c23ec9c899.1535671615", + result: nil, + }, + { + desc: "Valid v2 secret, past time within threshold", + token: "v2.b77158328e80be2984eaf08788419d25f3484eae484aec1297af6bdf1a456610.1535671585", + result: nil, + }, + { + desc: "Invalid secret, time within threshold", + token: "v2.52a3b9016f46853c225c72b87617ac27109bba8a3068002069ab90e28253a911.1535671585", + result: errDenied, + }, + { + desc: "Valid secret, time too much in the future", + token: "v2.ab9e7315aeecf6815fc0df585370157814131acab376f41797ad4ebc4d9a823c.1535671631", + result: errDenied, + }, + { + desc: "Valid secret, time too much in the past", + token: "v2.f805bc69ca3aedd99e814b3fb1fc1e6a1094191691480b168a20fad7c2d24557.1535671569", + result: errDenied, + }, + { + desc: "Mismatching signed and clear message", + token: "v2.319b96a3194c1cb2a2e6f1386161aca1c4cda13257fa9df8a328ab6769649bb0.1535671599", + result: errDenied, + }, + { + desc: "Invalid version", + token: "v3.6fec98e8fe494284ce545c4b421799f02b9718b0eadfc3772d027e1ac5d6d569.1535671601", + result: errDenied, + }, + { + desc: "Invalid token format", + token: "foo.bar", + result: errUnauthenticated, + }, + { + desc: "Empty token", + token: "", + result: errUnauthenticated, + }, + } + + for _, tc := range testCases { + t.Run(tc.desc, func(t *testing.T) { + ctx := testhelper.Context(t) + + md := metautils.NiceMD{} + md.Set("authorization", "Bearer "+tc.token) + result := CheckToken(md.ToIncoming(ctx), string(secret), targetTime) + + require.Equal(t, tc.result, result) + }) + } +} diff --git a/v14/auth/rpccredentials.go b/v14/auth/rpccredentials.go new file mode 100644 index 000000000..9ebf19d15 --- /dev/null +++ b/v14/auth/rpccredentials.go @@ -0,0 +1,33 @@ +package gitalyauth + +import ( + "context" + "fmt" + "strconv" + "time" + + "google.golang.org/grpc/credentials" +) + +// RPCCredentialsV2 can be used with grpc.WithPerRPCCredentials to create +// a grpc.DialOption that inserts an V2 (HMAC) token with the current +// timestamp for authentication with a Gitaly server. The shared secret +// must match the one used on the Gitaly server. +func RPCCredentialsV2(sharedSecret string) credentials.PerRPCCredentials { + return &rpcCredentialsV2{sharedSecret: sharedSecret} +} + +type rpcCredentialsV2 struct { + sharedSecret string +} + +func (*rpcCredentialsV2) RequireTransportSecurity() bool { return false } + +func (rc2 *rpcCredentialsV2) GetRequestMetadata(context.Context, ...string) (map[string]string, error) { + message := strconv.FormatInt(time.Now().Unix(), 10) + signature := hmacSign([]byte(rc2.sharedSecret), message) + + return map[string]string{ + "authorization": "Bearer " + fmt.Sprintf("v2.%x.%s", signature, message), + }, nil +} diff --git a/v14/auth/token.go b/v14/auth/token.go new file mode 100644 index 000000000..d38f3ccee --- /dev/null +++ b/v14/auth/token.go @@ -0,0 +1,141 @@ +package gitalyauth + +import ( + "context" + "crypto/hmac" + "crypto/sha256" + "encoding/hex" + "fmt" + "strconv" + "strings" + "time" + + grpcmwauth "github.com/grpc-ecosystem/go-grpc-middleware/auth" + "github.com/prometheus/client_golang/prometheus" + "github.com/prometheus/client_golang/prometheus/promauto" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +var ( + //nolint: gochecknoglobals + // This infrastructure is required for testing purposes and there is no + // proper place to put it instead. While we could move it into the + // config, we certainly don't want to make it configurable for now, so + // it'd be a bad fit there. + tokenValidityDuration = 30 * time.Second + + errUnauthenticated = status.Errorf(codes.Unauthenticated, "authentication required") + errDenied = status.Errorf(codes.PermissionDenied, "permission denied") + + authErrors = promauto.NewCounterVec( + prometheus.CounterOpts{ + Name: "gitaly_authentication_errors_total", + Help: "Counts of of Gitaly request authentication errors", + }, + []string{"version", "error"}, + ) +) + +// TokenValidityDuration returns the duration for which any token will be +// valid. This is currently only used by our testing infrastructure. +func TokenValidityDuration() time.Duration { + return tokenValidityDuration +} + +// SetTokenValidityDuration changes the duration for which any token will be +// valid. It only applies to newly created tokens. +func SetTokenValidityDuration(d time.Duration) { + tokenValidityDuration = d +} + +// AuthInfo contains the authentication information coming from a request +type AuthInfo struct { + Version string + SignedMessage []byte + Message string +} + +// CheckToken checks the 'authentication' header of incoming gRPC +// metadata in ctx. It returns nil if and only if the token matches +// secret. +func CheckToken(ctx context.Context, secret string, targetTime time.Time) error { + if len(secret) == 0 { + panic("CheckToken: secret may not be empty") + } + + authInfo, err := ExtractAuthInfo(ctx) + if err != nil { + return errUnauthenticated + } + + if authInfo.Version == "v2" { + if v2HmacInfoValid(authInfo.Message, authInfo.SignedMessage, []byte(secret), targetTime, tokenValidityDuration) { + return nil + } + } + + return errDenied +} + +// ExtractAuthInfo returns an `AuthInfo` with the data extracted from `ctx` +func ExtractAuthInfo(ctx context.Context) (*AuthInfo, error) { + token, err := grpcmwauth.AuthFromMD(ctx, "bearer") + if err != nil { + return nil, err + } + + split := strings.SplitN(token, ".", 3) + + if len(split) != 3 { + return nil, fmt.Errorf("invalid token format") + } + + version, sig, msg := split[0], split[1], split[2] + decodedSig, err := hex.DecodeString(sig) + if err != nil { + return nil, err + } + + return &AuthInfo{Version: version, SignedMessage: decodedSig, Message: msg}, nil +} + +func countV2Error(message string) { authErrors.WithLabelValues("v2", message).Inc() } + +func v2HmacInfoValid(message string, signedMessage, secret []byte, targetTime time.Time, tokenValidity time.Duration) bool { + expectedHMAC := hmacSign(secret, message) + if !hmac.Equal(signedMessage, expectedHMAC) { + countV2Error("wrong hmac signature") + return false + } + + timestamp, err := strconv.ParseInt(message, 10, 64) + if err != nil { + countV2Error("cannot parse timestamp") + return false + } + + issuedAt := time.Unix(timestamp, 0) + lowerBound := targetTime.Add(-tokenValidity) + upperBound := targetTime.Add(tokenValidity) + + if issuedAt.Before(lowerBound) { + countV2Error("timestamp too old") + return false + } + + if issuedAt.After(upperBound) { + countV2Error("timestamp too new") + return false + } + + return true +} + +func hmacSign(secret []byte, message string) []byte { + mac := hmac.New(sha256.New, secret) + // hash.Hash never returns an error. + _, _ = mac.Write([]byte(message)) + + return mac.Sum(nil) +} diff --git a/v14/client/client_test.go b/v14/client/client_test.go new file mode 100644 index 000000000..2569bbde3 --- /dev/null +++ b/v14/client/client_test.go @@ -0,0 +1,11 @@ +package client + +import ( + "testing" + + "gitlab.com/gitlab-org/gitaly/internal/testhelper" +) + +func TestMain(m *testing.M) { + testhelper.Run(m) +} diff --git a/v14/client/dial.go b/v14/client/dial.go new file mode 100644 index 000000000..a5a2cb03b --- /dev/null +++ b/v14/client/dial.go @@ -0,0 +1,67 @@ +package client + +import ( + "context" + + "gitlab.com/gitlab-org/gitaly/internal/gitaly/client" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "google.golang.org/grpc" + healthpb "google.golang.org/grpc/health/grpc_health_v1" +) + +// DefaultDialOpts hold the default DialOptions for connection to Gitaly over UNIX-socket +var DefaultDialOpts = []grpc.DialOption{} + +// DialContext dials the Gitaly at the given address with the provided options. Valid address formats are +// 'unix:' for Unix sockets, 'tcp://' for insecure TCP connections and 'tls://' +// for TCP+TLS connections. +// +// The returned ClientConns are configured with tracing and correlation id interceptors to ensure they are propagated +// correctly. They're also configured to send Keepalives with settings matching what Gitaly expects. +// +// connOpts should not contain `grpc.WithInsecure` as DialContext determines whether it is needed or not from the +// scheme. `grpc.TransportCredentials` should not be provided either as those are handled internally as well. +func DialContext(ctx context.Context, rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { + return client.Dial(ctx, rawAddress, connOpts, nil) +} + +// Dial calls DialContext with the provided arguments and context.Background. Refer to DialContext's documentation +// for details. +func Dial(rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { + return DialContext(context.Background(), rawAddress, connOpts) +} + +// DialSidechannel configures the dialer to establish a Gitaly +// backchannel connection instead of a regular gRPC connection. It also +// injects sr as a sidechannel registry, so that Gitaly can establish +// sidechannels back to the client. +func DialSidechannel(ctx context.Context, rawAddress string, sr *SidechannelRegistry, connOpts []grpc.DialOption) (*grpc.ClientConn, error) { + clientHandshaker := sidechannel.NewClientHandshaker(sr.logger, sr.registry) + return client.Dial(ctx, rawAddress, connOpts, clientHandshaker) +} + +// FailOnNonTempDialError helps to identify if remote listener is ready to accept new connections. +func FailOnNonTempDialError() []grpc.DialOption { + return []grpc.DialOption{ + grpc.WithBlock(), + grpc.FailOnNonTempDialError(true), + } +} + +// HealthCheckDialer uses provided dialer as an actual dialer, but issues a health check request to the remote +// to verify the connection was set properly and could be used with no issues. +func HealthCheckDialer(base Dialer) Dialer { + return func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) { + cc, err := base(ctx, address, dialOptions) + if err != nil { + return nil, err + } + + if _, err := healthpb.NewHealthClient(cc).Check(ctx, &healthpb.HealthCheckRequest{}); err != nil { + cc.Close() + return nil, err + } + + return cc, nil + } +} diff --git a/v14/client/dial_test.go b/v14/client/dial_test.go new file mode 100644 index 000000000..6dd9ec839 --- /dev/null +++ b/v14/client/dial_test.go @@ -0,0 +1,630 @@ +package client + +import ( + "context" + "crypto/tls" + "fmt" + "io" + "net" + "os" + "path/filepath" + "strings" + "testing" + + "github.com/opentracing/opentracing-go" + "github.com/sirupsen/logrus" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/uber/jaeger-client-go" + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + proxytestdata "gitlab.com/gitlab-org/gitaly/internal/praefect/grpc-proxy/testdata" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + gitalyx509 "gitlab.com/gitlab-org/gitaly/internal/x509" + "gitlab.com/gitlab-org/labkit/correlation" + grpccorrelation "gitlab.com/gitlab-org/labkit/correlation/grpc" + grpctracing "gitlab.com/gitlab-org/labkit/tracing/grpc" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/credentials" + "google.golang.org/grpc/credentials/insecure" + healthpb "google.golang.org/grpc/health/grpc_health_v1" + "google.golang.org/grpc/status" +) + +var proxyEnvironmentKeys = []string{"http_proxy", "https_proxy", "no_proxy"} + +func TestDial(t *testing.T) { + if emitProxyWarning() { + t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") + } + + stop, connectionMap := startListeners(t, func(creds credentials.TransportCredentials) *grpc.Server { + srv := grpc.NewServer(grpc.Creds(creds)) + healthpb.RegisterHealthServer(srv, &healthServer{}) + return srv + }) + defer stop() + + unixSocketAbsPath := connectionMap["unix"] + + tempDir := testhelper.TempDir(t) + + unixSocketPath := filepath.Join(tempDir, "gitaly.socket") + require.NoError(t, os.Symlink(unixSocketAbsPath, unixSocketPath)) + + tests := []struct { + name string + rawAddress string + envSSLCertFile string + dialOpts []grpc.DialOption + expectDialFailure bool + expectHealthFailure bool + }{ + { + name: "tcp localhost with prefix", + rawAddress: "tcp://localhost:" + connectionMap["tcp"], // "tcp://localhost:1234" + expectDialFailure: false, + expectHealthFailure: false, + }, + { + name: "tls localhost", + rawAddress: "tls://localhost:" + connectionMap["tls"], // "tls://localhost:1234" + envSSLCertFile: "./testdata/gitalycert.pem", + expectDialFailure: false, + expectHealthFailure: false, + }, + { + name: "unix absolute", + rawAddress: "unix:" + unixSocketAbsPath, // "unix:/tmp/temp-socket" + expectDialFailure: false, + expectHealthFailure: false, + }, + { + name: "unix relative", + rawAddress: "unix:" + unixSocketPath, // "unix:../../tmp/temp-socket" + expectDialFailure: false, + expectHealthFailure: false, + }, + { + name: "unix absolute does not exist", + rawAddress: "unix:" + unixSocketAbsPath + ".does_not_exist", // "unix:/tmp/temp-socket.does_not_exist" + expectDialFailure: false, + expectHealthFailure: true, + }, + { + name: "unix relative does not exist", + rawAddress: "unix:" + unixSocketPath + ".does_not_exist", // "unix:../../tmp/temp-socket.does_not_exist" + expectDialFailure: false, + expectHealthFailure: true, + }, + { + // Gitaly does not support connections that do not have a scheme. + name: "tcp localhost no prefix", + rawAddress: "localhost:" + connectionMap["tcp"], // "localhost:1234" + expectDialFailure: true, + }, + { + name: "invalid", + rawAddress: ".", + expectDialFailure: true, + }, + { + name: "empty", + rawAddress: "", + expectDialFailure: true, + }, + { + name: "dial fail if there is no listener on address", + rawAddress: "tcp://invalid.address", + dialOpts: FailOnNonTempDialError(), + expectDialFailure: true, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if emitProxyWarning() { + t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") + } + + if tt.envSSLCertFile != "" { + testhelper.ModifyEnvironment(t, gitalyx509.SSLCertFile, tt.envSSLCertFile) + } + ctx := testhelper.Context(t) + + conn, err := Dial(tt.rawAddress, tt.dialOpts) + if tt.expectDialFailure { + require.Error(t, err) + return + } + require.NoError(t, err) + defer conn.Close() + + _, err = healthpb.NewHealthClient(conn).Check(ctx, &healthpb.HealthCheckRequest{}) + if tt.expectHealthFailure { + require.Error(t, err) + return + } + require.NoError(t, err) + }) + } +} + +func TestDialSidechannel(t *testing.T) { + if emitProxyWarning() { + t.Log("WARNING. Proxy configuration detected from environment settings. This test failure may be related to proxy configuration. Please process with caution") + } + + stop, connectionMap := startListeners(t, func(creds credentials.TransportCredentials) *grpc.Server { + return grpc.NewServer(TestSidechannelServer(newLogger(t), creds, func( + _ interface{}, + stream grpc.ServerStream, + sidechannelConn io.ReadWriteCloser, + ) error { + if method, ok := grpc.Method(stream.Context()); !ok || method != "/grpc.health.v1.Health/Check" { + return fmt.Errorf("unexpected method: %s", method) + } + + var req healthpb.HealthCheckRequest + if err := stream.RecvMsg(&req); err != nil { + return fmt.Errorf("recv msg: %w", err) + } + + if _, err := io.Copy(sidechannelConn, sidechannelConn); err != nil { + return fmt.Errorf("copy: %w", err) + } + + if err := stream.SendMsg(&healthpb.HealthCheckResponse{}); err != nil { + return fmt.Errorf("send msg: %w", err) + } + + return nil + })...) + }) + defer stop() + + unixSocketAbsPath := connectionMap["unix"] + + tempDir := testhelper.TempDir(t) + + unixSocketPath := filepath.Join(tempDir, "gitaly.socket") + require.NoError(t, os.Symlink(unixSocketAbsPath, unixSocketPath)) + + registry := NewSidechannelRegistry(newLogger(t)) + + tests := []struct { + name string + rawAddress string + envSSLCertFile string + dialOpts []grpc.DialOption + }{ + { + name: "tcp sidechannel", + rawAddress: "tcp://localhost:" + connectionMap["tcp"], // "tcp://localhost:1234" + }, + { + name: "tls sidechannel", + rawAddress: "tls://localhost:" + connectionMap["tls"], // "tls://localhost:1234" + envSSLCertFile: "./testdata/gitalycert.pem", + }, + { + name: "unix sidechannel", + rawAddress: "unix:" + unixSocketAbsPath, // "unix:/tmp/temp-socket" + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if tt.envSSLCertFile != "" { + testhelper.ModifyEnvironment(t, gitalyx509.SSLCertFile, tt.envSSLCertFile) + } + ctx := testhelper.Context(t) + + conn, err := DialSidechannel(ctx, tt.rawAddress, registry, tt.dialOpts) + require.NoError(t, err) + defer conn.Close() + + ctx, scw := registry.Register(ctx, func(conn SidechannelConn) error { + const message = "hello world" + if _, err := io.WriteString(conn, message); err != nil { + return err + } + if err := conn.CloseWrite(); err != nil { + return err + } + buf, err := io.ReadAll(conn) + if err != nil { + return err + } + if string(buf) != message { + return fmt.Errorf("expected %q, got %q", message, buf) + } + + return nil + }) + defer scw.Close() + + req := &healthpb.HealthCheckRequest{Service: "test sidechannel"} + _, err = healthpb.NewHealthClient(conn).Check(ctx, req) + require.NoError(t, err) + require.NoError(t, scw.Close()) + }) + } +} + +type testSvc struct { + proxytestdata.UnimplementedTestServiceServer + PingMethod func(context.Context, *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) + PingStreamMethod func(stream proxytestdata.TestService_PingStreamServer) error +} + +func (ts *testSvc) Ping(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { + if ts.PingMethod != nil { + return ts.PingMethod(ctx, r) + } + + return &proxytestdata.PingResponse{}, nil +} + +func (ts *testSvc) PingStream(stream proxytestdata.TestService_PingStreamServer) error { + if ts.PingStreamMethod != nil { + return ts.PingStreamMethod(stream) + } + + return nil +} + +func TestDial_Correlation(t *testing.T) { + t.Run("unary", func(t *testing.T) { + serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) + + listener, err := net.Listen("unix", serverSocketPath) + require.NoError(t, err) + + grpcServer := grpc.NewServer(grpc.UnaryInterceptor(grpccorrelation.UnaryServerCorrelationInterceptor())) + svc := &testSvc{ + PingMethod: func(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { + cid := correlation.ExtractFromContext(ctx) + assert.Equal(t, "correlation-id-1", cid) + return &proxytestdata.PingResponse{}, nil + }, + } + proxytestdata.RegisterTestServiceServer(grpcServer, svc) + + go func() { assert.NoError(t, grpcServer.Serve(listener)) }() + + defer grpcServer.Stop() + ctx := testhelper.Context(t) + + cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) + require.NoError(t, err) + defer cc.Close() + + client := proxytestdata.NewTestServiceClient(cc) + + ctx = correlation.ContextWithCorrelation(ctx, "correlation-id-1") + _, err = client.Ping(ctx, &proxytestdata.PingRequest{}) + require.NoError(t, err) + }) + + t.Run("stream", func(t *testing.T) { + serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) + + listener, err := net.Listen("unix", serverSocketPath) + require.NoError(t, err) + + grpcServer := grpc.NewServer(grpc.StreamInterceptor(grpccorrelation.StreamServerCorrelationInterceptor())) + svc := &testSvc{ + PingStreamMethod: func(stream proxytestdata.TestService_PingStreamServer) error { + cid := correlation.ExtractFromContext(stream.Context()) + assert.Equal(t, "correlation-id-1", cid) + _, err := stream.Recv() + assert.NoError(t, err) + return stream.Send(&proxytestdata.PingResponse{}) + }, + } + proxytestdata.RegisterTestServiceServer(grpcServer, svc) + + go func() { assert.NoError(t, grpcServer.Serve(listener)) }() + defer grpcServer.Stop() + ctx := testhelper.Context(t) + + cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) + require.NoError(t, err) + defer cc.Close() + + client := proxytestdata.NewTestServiceClient(cc) + + ctx = correlation.ContextWithCorrelation(ctx, "correlation-id-1") + stream, err := client.PingStream(ctx) + require.NoError(t, err) + + require.NoError(t, stream.Send(&proxytestdata.PingRequest{})) + require.NoError(t, stream.CloseSend()) + + _, err = stream.Recv() + require.NoError(t, err) + }) +} + +func TestDial_Tracing(t *testing.T) { + serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) + + listener, err := net.Listen("unix", serverSocketPath) + require.NoError(t, err) + + clientSendClosed := make(chan struct{}) + + // This is our test service. All it does is to create additional spans + // which should in the end be visible when collecting all registered + // spans. + grpcServer := grpc.NewServer( + grpc.UnaryInterceptor(grpctracing.UnaryServerTracingInterceptor()), + grpc.StreamInterceptor(grpctracing.StreamServerTracingInterceptor()), + ) + svc := &testSvc{ + PingMethod: func(ctx context.Context, r *proxytestdata.PingRequest) (*proxytestdata.PingResponse, error) { + span, _ := opentracing.StartSpanFromContext(ctx, "nested-span") + defer span.Finish() + span.LogKV("was", "called") + return &proxytestdata.PingResponse{}, nil + }, + PingStreamMethod: func(stream proxytestdata.TestService_PingStreamServer) error { + // synchronize the client has returned from CloseSend as the client span finishing + // races with sending the stream close to the server + select { + case <-clientSendClosed: + case <-stream.Context().Done(): + return stream.Context().Err() + } + + span, _ := opentracing.StartSpanFromContext(stream.Context(), "nested-span") + defer span.Finish() + span.LogKV("was", "called") + return nil + }, + } + proxytestdata.RegisterTestServiceServer(grpcServer, svc) + + go func() { require.NoError(t, grpcServer.Serve(listener)) }() + defer grpcServer.Stop() + ctx := testhelper.Context(t) + + t.Run("unary", func(t *testing.T) { + reporter := jaeger.NewInMemoryReporter() + tracer, tracerCloser := jaeger.NewTracer("", jaeger.NewConstSampler(true), reporter) + defer tracerCloser.Close() + + defer func(old opentracing.Tracer) { opentracing.SetGlobalTracer(old) }(opentracing.GlobalTracer()) + opentracing.SetGlobalTracer(tracer) + + // This needs to be run after setting up the global tracer as it will cause us to + // create the span when executing the RPC call further down below. + cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) + require.NoError(t, err) + defer cc.Close() + + // We set up a "main" span here, which is going to be what the + // other spans inherit from. In order to check whether baggage + // works correctly, we also set up a "stub" baggage item which + // should be inherited to child contexts. + span := tracer.StartSpan("unary-check") + span = span.SetBaggageItem("service", "stub") + ctx := opentracing.ContextWithSpan(ctx, span) + + // We're now invoking the unary RPC with the span injected into + // the context. This should create a span that's nested into + // the "stream-check" span. + _, err = proxytestdata.NewTestServiceClient(cc).Ping(ctx, &proxytestdata.PingRequest{}) + require.NoError(t, err) + + span.Finish() + + spans := reporter.GetSpans() + require.Len(t, spans, 3) + + for i, expectedSpan := range []struct { + baggage string + operation string + }{ + // This is the first span we expect, which is the + // "health" span which we've manually created inside of + // PingMethod. + {baggage: "", operation: "nested-span"}, + // This span is the RPC call to TestService/Ping. It + // inherits the "unary-check" we set up and thus has + // baggage. + {baggage: "stub", operation: "/mwitkow.testproto.TestService/Ping"}, + // And this finally is the outermost span which we + // manually set up before the RPC call. + {baggage: "stub", operation: "unary-check"}, + } { + assert.IsType(t, spans[i], &jaeger.Span{}) + span := spans[i].(*jaeger.Span) + + assert.Equal(t, expectedSpan.baggage, span.BaggageItem("service"), "wrong baggage item for span %d", i) + assert.Equal(t, expectedSpan.operation, span.OperationName(), "wrong operation name for span %d", i) + } + }) + + t.Run("stream", func(t *testing.T) { + reporter := jaeger.NewInMemoryReporter() + tracer, tracerCloser := jaeger.NewTracer("", jaeger.NewConstSampler(true), reporter) + defer tracerCloser.Close() + + defer func(old opentracing.Tracer) { opentracing.SetGlobalTracer(old) }(opentracing.GlobalTracer()) + opentracing.SetGlobalTracer(tracer) + + // This needs to be run after setting up the global tracer as it will cause us to + // create the span when executing the RPC call further down below. + cc, err := DialContext(ctx, "unix://"+serverSocketPath, nil) + require.NoError(t, err) + defer cc.Close() + + // We set up a "main" span here, which is going to be what the other spans inherit + // from. In order to check whether baggage works correctly, we also set up a "stub" + // baggage item which should be inherited to child contexts. + span := tracer.StartSpan("stream-check") + span = span.SetBaggageItem("service", "stub") + ctx := opentracing.ContextWithSpan(ctx, span) + + // We're now invoking the streaming RPC with the span injected into the context. + // This should create a span that's nested into the "stream-check" span. + stream, err := proxytestdata.NewTestServiceClient(cc).PingStream(ctx) + require.NoError(t, err) + require.NoError(t, stream.CloseSend()) + close(clientSendClosed) + + // wait for the server to finish its spans and close the stream + resp, err := stream.Recv() + require.Equal(t, err, io.EOF) + require.Nil(t, resp) + + span.Finish() + + spans := reporter.GetSpans() + require.Len(t, spans, 3) + + for i, expectedSpan := range []struct { + baggage string + operation string + }{ + // This span is the RPC call to TestService/Ping. + {baggage: "stub", operation: "/mwitkow.testproto.TestService/PingStream"}, + // This is the second span we expect, which is the "nested-span" span which + // we've manually created inside of PingMethod. This is different than for + // unary RPCs: given that one can send multiple messages to the RPC, we may + // see multiple such "nested-span"s being created. And the PingStream span + // will only be finalized last. + {baggage: "", operation: "nested-span"}, + // And this finally is the outermost span which we + // manually set up before the RPC call. + {baggage: "stub", operation: "stream-check"}, + } { + if !assert.IsType(t, spans[i], &jaeger.Span{}) { + continue + } + + span := spans[i].(*jaeger.Span) + assert.Equal(t, expectedSpan.baggage, span.BaggageItem("service"), "wrong baggage item for span %d", i) + assert.Equal(t, expectedSpan.operation, span.OperationName(), "wrong operation name for span %d", i) + } + }) +} + +// healthServer provide a basic GRPC health service endpoint for testing purposes +type healthServer struct { + healthpb.UnimplementedHealthServer +} + +func (*healthServer) Check(context.Context, *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) { + return &healthpb.HealthCheckResponse{}, nil +} + +// startTCPListener will start a insecure TCP listener on a random unused port +func startTCPListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { + listener, err := net.Listen("tcp", "localhost:0") + require.NoError(t, err) + + tcpPort := listener.Addr().(*net.TCPAddr).Port + address := fmt.Sprintf("%d", tcpPort) + + grpcServer := factory(insecure.NewCredentials()) + go grpcServer.Serve(listener) + + return func() { + grpcServer.Stop() + }, address +} + +// startUnixListener will start a unix socket listener using a temporary file +func startUnixListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { + serverSocketPath := testhelper.GetTemporaryGitalySocketFileName(t) + + listener, err := net.Listen("unix", serverSocketPath) + require.NoError(t, err) + + grpcServer := factory(insecure.NewCredentials()) + go grpcServer.Serve(listener) + + return func() { + grpcServer.Stop() + }, serverSocketPath +} + +// startTLSListener will start a secure TLS listener on a random unused port +//go:generate openssl req -newkey rsa:4096 -new -nodes -x509 -days 3650 -out testdata/gitalycert.pem -keyout testdata/gitalykey.pem -subj "/C=US/ST=California/L=San Francisco/O=GitLab/OU=GitLab-Shell/CN=localhost" -addext "subjectAltName = IP:127.0.0.1, DNS:localhost" +func startTLSListener(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { + listener, err := net.Listen("tcp", "localhost:0") + require.NoError(t, err) + + tcpPort := listener.Addr().(*net.TCPAddr).Port + address := fmt.Sprintf("%d", tcpPort) + + cert, err := tls.LoadX509KeyPair("testdata/gitalycert.pem", "testdata/gitalykey.pem") + require.NoError(t, err) + + grpcServer := factory( + credentials.NewTLS(&tls.Config{ + Certificates: []tls.Certificate{cert}, + MinVersion: tls.VersionTLS12, + }), + ) + go grpcServer.Serve(listener) + + return func() { + grpcServer.Stop() + }, address +} + +var listeners = map[string]func(testing.TB, func(credentials.TransportCredentials) *grpc.Server) (func(), string){ + "tcp": startTCPListener, + "unix": startUnixListener, + "tls": startTLSListener, +} + +// startListeners will start all the different listeners used in this test +func startListeners(t testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), map[string]string) { + var closers []func() + connectionMap := map[string]string{} + for k, v := range listeners { + closer, address := v(t, factory) + closers = append(closers, closer) + connectionMap[k] = address + } + + return func() { + for _, v := range closers { + v() + } + }, connectionMap +} + +func emitProxyWarning() bool { + for _, key := range proxyEnvironmentKeys { + value := os.Getenv(key) + if value != "" { + return true + } + value = os.Getenv(strings.ToUpper(key)) + if value != "" { + return true + } + } + return false +} + +func TestHealthCheckDialer(t *testing.T) { + _, addr, cleanup := runServer(t, "token") + defer cleanup() + ctx := testhelper.Context(t) + + _, err := HealthCheckDialer(DialContext)(ctx, addr, nil) + testhelper.RequireGrpcError(t, status.Error(codes.Unauthenticated, "authentication required"), err) + + cc, err := HealthCheckDialer(DialContext)(ctx, addr, []grpc.DialOption{grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2("token"))}) + require.NoError(t, err) + require.NoError(t, cc.Close()) +} + +func newLogger(t testing.TB) *logrus.Entry { return logrus.NewEntry(testhelper.NewDiscardingLogger(t)) } diff --git a/v14/client/pool.go b/v14/client/pool.go new file mode 100644 index 000000000..1c414870b --- /dev/null +++ b/v14/client/pool.go @@ -0,0 +1,103 @@ +package client + +import ( + "context" + "errors" + "fmt" + "sync" + + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + "google.golang.org/grpc" +) + +// Dialer is used by the Pool to create a *grpc.ClientConn. +type Dialer func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) + +type poolKey struct{ address, token string } + +// Pool is a pool of GRPC connections. Connections created by it are safe for +// concurrent use. +type Pool struct { + lock sync.RWMutex + conns map[poolKey]*grpc.ClientConn + dialer Dialer + dialOptions []grpc.DialOption +} + +// NewPool creates a new connection pool that's ready for use. +func NewPool(dialOptions ...grpc.DialOption) *Pool { + return NewPoolWithOptions(WithDialOptions(dialOptions...)) +} + +// NewPoolWithOptions creates a new connection pool that's ready for use. +func NewPoolWithOptions(poolOptions ...PoolOption) *Pool { + opts := applyPoolOptions(poolOptions) + return &Pool{ + conns: make(map[poolKey]*grpc.ClientConn), + dialer: opts.dialer, + dialOptions: opts.dialOptions, + } +} + +// Close closes all connections tracked by the connection pool. +func (p *Pool) Close() error { + p.lock.Lock() + defer p.lock.Unlock() + + var firstError error + for addr, conn := range p.conns { + if err := conn.Close(); err != nil && firstError == nil { + firstError = err + } + + delete(p.conns, addr) + } + + return firstError +} + +// Dial creates a new client connection in case no connection to the given +// address exists already or returns an already established connection. The +// returned address must not be `Close()`d. +func (p *Pool) Dial(ctx context.Context, address, token string) (*grpc.ClientConn, error) { + return p.getOrCreateConnection(ctx, address, token) +} + +func (p *Pool) getOrCreateConnection(ctx context.Context, address, token string) (*grpc.ClientConn, error) { + if address == "" { + return nil, errors.New("address is empty") + } + + key := poolKey{address: address, token: token} + + p.lock.RLock() + cc, ok := p.conns[key] + p.lock.RUnlock() + + if ok { + return cc, nil + } + + p.lock.Lock() + defer p.lock.Unlock() + + cc, ok = p.conns[key] + if ok { + return cc, nil + } + + opts := make([]grpc.DialOption, 0, len(p.dialOptions)+1) + opts = append(opts, p.dialOptions...) + if token != "" { + opts = append(opts, grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2(token))) + } + + cc, err := p.dialer(ctx, address, opts) + if err != nil { + return nil, fmt.Errorf("could not dial source: %v", err) + } + + p.conns[key] = cc + + return cc, nil +} diff --git a/v14/client/pool_options.go b/v14/client/pool_options.go new file mode 100644 index 000000000..35f924c41 --- /dev/null +++ b/v14/client/pool_options.go @@ -0,0 +1,39 @@ +package client + +import "google.golang.org/grpc" + +type poolOptions struct { + dialer Dialer + dialOptions []grpc.DialOption +} + +//nolint: revive,stylecheck // This is unintentionally missing documentation. +type PoolOption func(*poolOptions) + +func applyPoolOptions(options []PoolOption) *poolOptions { + opts := defaultPoolOptions() + for _, opt := range options { + opt(opts) + } + return opts +} + +func defaultPoolOptions() *poolOptions { + return &poolOptions{ + dialer: DialContext, + } +} + +// WithDialer sets the dialer that is called for each new gRPC connection the pool establishes. +func WithDialer(dialer Dialer) PoolOption { + return func(options *poolOptions) { + options.dialer = dialer + } +} + +// WithDialOptions sets gRPC options to use for the gRPC Dial call. +func WithDialOptions(dialOptions ...grpc.DialOption) PoolOption { + return func(options *poolOptions) { + options.dialOptions = dialOptions + } +} diff --git a/v14/client/pool_test.go b/v14/client/pool_test.go new file mode 100644 index 000000000..780f0f5b5 --- /dev/null +++ b/v14/client/pool_test.go @@ -0,0 +1,255 @@ +package client + +import ( + "context" + "net" + "sync" + "testing" + + grpcmw "github.com/grpc-ecosystem/go-grpc-middleware" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + gitalyauth "gitlab.com/gitlab-org/gitaly/v14/auth" + "gitlab.com/gitlab-org/gitaly/internal/bootstrap/starter" + gitalycfgauth "gitlab.com/gitlab-org/gitaly/internal/gitaly/config/auth" + "gitlab.com/gitlab-org/gitaly/internal/gitaly/server/auth" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/health" + "google.golang.org/grpc/health/grpc_health_v1" + "google.golang.org/grpc/status" +) + +func TestPoolDial(t *testing.T) { + _, insecure, cleanup := runServer(t, "") + defer cleanup() + + creds := "my-little-secret" + _, secure, cleanup := runServer(t, creds) + defer cleanup() + + var dialFuncInvocationCounter int + + testCases := []struct { + desc string + poolOptions []PoolOption + test func(t *testing.T, ctx context.Context, pool *Pool) + }{ + { + desc: "dialing once succeeds", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, insecure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + }, + }, + { + desc: "dialing multiple times succeeds", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + for i := 0; i < 10; i++ { + conn, err := pool.Dial(ctx, insecure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + } + }, + }, + { + desc: "redialing after close succeeds", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, insecure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + + require.NoError(t, pool.Close()) + + conn, err = pool.Dial(ctx, insecure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + }, + }, + { + desc: "dialing invalid fails", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, "foo/bar", "") + require.Error(t, err) + require.Nil(t, conn) + }, + }, + { + desc: "dialing empty fails", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, "", "") + require.Error(t, err) + require.Nil(t, conn) + }, + }, + { + desc: "dialing concurrently succeeds", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + wg := sync.WaitGroup{} + + for i := 0; i < 10; i++ { + wg.Add(1) + + go func() { + defer wg.Done() + conn, err := pool.Dial(ctx, insecure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + }() + } + + wg.Wait() + }, + }, + { + desc: "dialing with credentials succeeds", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, secure, creds) + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + }, + }, + { + desc: "dialing with invalid credentials fails", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, secure, "invalid-credential") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.PermissionDenied) + }, + }, + { + desc: "dialing with missing credentials fails", + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, secure, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.Unauthenticated) + }, + }, + { + desc: "dialing with dial options succeeds", + poolOptions: []PoolOption{ + WithDialOptions(grpc.WithPerRPCCredentials(gitalyauth.RPCCredentialsV2(creds))), + }, + test: func(t *testing.T, ctx context.Context, pool *Pool) { + conn, err := pool.Dial(ctx, secure, "") // no creds here + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) // auth passes + }, + }, + { + desc: "dial options function is invoked per dial", + poolOptions: []PoolOption{ + WithDialer(func(ctx context.Context, address string, dialOptions []grpc.DialOption) (*grpc.ClientConn, error) { + dialFuncInvocationCounter++ + return DialContext(ctx, address, dialOptions) + }), + }, + test: func(t *testing.T, ctx context.Context, pool *Pool) { + _, err := pool.Dial(ctx, secure, "") + require.NoError(t, err) + assert.Equal(t, 1, dialFuncInvocationCounter) + _, err = pool.Dial(ctx, insecure, "") + require.NoError(t, err) + assert.Equal(t, 2, dialFuncInvocationCounter) + }, + }, + } + + for _, tc := range testCases { + t.Run(tc.desc, func(t *testing.T) { + pool := NewPoolWithOptions(tc.poolOptions...) + defer func() { + require.NoError(t, pool.Close()) + }() + ctx := testhelper.Context(t) + + tc.test(t, ctx, pool) + }) + } +} + +func runServer(t *testing.T, creds string) (*health.Server, string, func()) { + return runServerWithAddr(t, creds, "127.0.0.1:0") +} + +func runServerWithAddr(t *testing.T, creds, addr string) (*health.Server, string, func()) { + t.Helper() + + var opts []grpc.ServerOption + if creds != "" { + opts = []grpc.ServerOption{ + grpc.StreamInterceptor(grpcmw.ChainStreamServer( + auth.StreamServerInterceptor(gitalycfgauth.Config{ + Token: creds, + }), + )), + grpc.UnaryInterceptor(grpcmw.ChainUnaryServer( + auth.UnaryServerInterceptor(gitalycfgauth.Config{ + Token: creds, + }), + )), + } + } + + server := grpc.NewServer(opts...) + + healthServer := health.NewServer() + grpc_health_v1.RegisterHealthServer(server, healthServer) + + listener, err := net.Listen("tcp", addr) + require.NoError(t, err) + + errQ := make(chan error) + go func() { + errQ <- server.Serve(listener) + }() + + return healthServer, "tcp://" + listener.Addr().String(), func() { + server.Stop() + require.NoError(t, <-errQ) + } +} + +func verifyConnection(t *testing.T, ctx context.Context, conn *grpc.ClientConn, expectedCode codes.Code) { + t.Helper() + + _, err := grpc_health_v1.NewHealthClient(conn).Check(ctx, &grpc_health_v1.HealthCheckRequest{}) + + if expectedCode == codes.OK { + require.NoError(t, err) + } else { + require.Equal(t, expectedCode, status.Code(err)) + } +} + +func TestPool_Dial_same_addr_another_token(t *testing.T) { + ctx := testhelper.Context(t) + + _, addr, stop1 := runServer(t, "") + defer func() { stop1() }() + + pool := NewPool() + defer pool.Close() + + // all good - server is running and serving requests + conn, err := pool.Dial(ctx, addr, "") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) + + stop1() // stop the server and all open connections + stop1 = func() {} + + cfg, err := starter.ParseEndpoint(addr) + require.NoError(t, err) + + // start server on the same address (simulation of service restart) but with token verification enabled + _, _, stop2 := runServerWithAddr(t, "token", cfg.Addr) + defer stop2() + + // all good - another server with token verification is running on the same address and new connection was established + conn, err = pool.Dial(ctx, addr, "token") + require.NoError(t, err) + verifyConnection(t, ctx, conn, codes.OK) +} diff --git a/v14/client/receive_pack.go b/v14/client/receive_pack.go new file mode 100644 index 000000000..6898b0149 --- /dev/null +++ b/v14/client/receive_pack.go @@ -0,0 +1,42 @@ +package client + +import ( + "context" + "io" + + "gitlab.com/gitlab-org/gitaly/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" + "google.golang.org/grpc" +) + +// ReceivePack proxies an SSH git-receive-pack (git push) session to Gitaly +func ReceivePack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHReceivePackRequest) (int32, error) { + ctx2, cancel := context.WithCancel(ctx) + defer cancel() + + ssh := gitalypb.NewSSHServiceClient(conn) + receivePackStream, err := ssh.SSHReceivePack(ctx2) + if err != nil { + return 0, err + } + + if err = receivePackStream.Send(req); err != nil { + return 0, err + } + + inWriter := streamio.NewWriter(func(p []byte) error { + return receivePackStream.Send(&gitalypb.SSHReceivePackRequest{Stdin: p}) + }) + + return stream.Handler(func() (stream.StdoutStderrResponse, error) { + return receivePackStream.Recv() + }, func(errC chan error) { + _, errRecv := io.Copy(inWriter, stdin) + if err := receivePackStream.CloseSend(); err != nil && errRecv == nil { + errC <- err + } else { + errC <- errRecv + } + }, stdout, stderr) +} diff --git a/v14/client/sidechannel.go b/v14/client/sidechannel.go new file mode 100644 index 000000000..ae5a6b7ee --- /dev/null +++ b/v14/client/sidechannel.go @@ -0,0 +1,100 @@ +package client + +import ( + "context" + "io" + + "github.com/sirupsen/logrus" + "gitlab.com/gitlab-org/gitaly/internal/backchannel" + "gitlab.com/gitlab-org/gitaly/internal/listenmux" + "gitlab.com/gitlab-org/gitaly/internal/sidechannel" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials" +) + +// SidechannelRegistry associates sidechannel callbacks with outbound +// gRPC calls. +type SidechannelRegistry struct { + registry *sidechannel.Registry + logger *logrus.Entry +} + +// NewSidechannelRegistry returns a new registry. +func NewSidechannelRegistry(logger *logrus.Entry) *SidechannelRegistry { + return &SidechannelRegistry{ + registry: sidechannel.NewRegistry(), + logger: logger, + } +} + +// Register registers a callback. It adds metadata to ctx and returns the +// new context. The caller must use the new context for the gRPC call. +// Caller must Close() the returned SidechannelWaiter to prevent resource +// leaks. +func (sr *SidechannelRegistry) Register( + ctx context.Context, + callback func(SidechannelConn) error, +) (context.Context, *SidechannelWaiter) { + ctx, waiter := sidechannel.RegisterSidechannel( + ctx, + sr.registry, + func(cc *sidechannel.ClientConn) error { return callback(cc) }, + ) + return ctx, &SidechannelWaiter{waiter: waiter} +} + +// SidechannelWaiter represents a pending sidechannel and its callback. +type SidechannelWaiter struct{ waiter *sidechannel.Waiter } + +// Close de-registers the sidechannel callback. If the callback is still +// running, Close blocks until it is done and returns the error return +// value of the callback. If the callback has not been called yet, Close +// returns an error immediately. +func (w *SidechannelWaiter) Close() error { return w.waiter.Close() } + +// SidechannelConn allows a client to read and write bytes with less +// overhead than doing so via gRPC messages. +type SidechannelConn interface { + io.ReadWriter + + // CloseWrite tells the server we won't write any more data. We can still + // read data from the server after CloseWrite(). A typical use case is in + // an RPC where the byte stream has a request/response pattern: the + // client then uses CloseWrite() to signal the end of the request body. + // When the client calls CloseWrite(), the server receives EOF. + CloseWrite() error +} + +// TestSidechannelServer allows downstream consumers of this package to +// create mock sidechannel gRPC servers. +func TestSidechannelServer( + logger *logrus.Entry, + creds credentials.TransportCredentials, + handler func(interface{}, grpc.ServerStream, io.ReadWriteCloser) error, +) []grpc.ServerOption { + return []grpc.ServerOption{ + SidechannelServer(logger, creds), + grpc.UnknownServiceHandler(func(srv interface{}, stream grpc.ServerStream) error { + conn, err := OpenServerSidechannel(stream.Context()) + if err != nil { + return err + } + defer conn.Close() + + return handler(srv, stream, conn) + }), + } +} + +// SidechannelServer adds sidechannel support to a gRPC server +func SidechannelServer(logger *logrus.Entry, creds credentials.TransportCredentials) grpc.ServerOption { + lm := listenmux.New(creds) + lm.Register(backchannel.NewServerHandshaker(logger, backchannel.NewRegistry(), nil)) + return grpc.Creds(lm) +} + +// OpenServerSidechannel opens a sidechannel on the server side. This +// only works if the server was created using SidechannelServer(). +func OpenServerSidechannel(ctx context.Context) (io.ReadWriteCloser, error) { + return sidechannel.OpenSidechannel(ctx) +} diff --git a/v14/client/testdata/gitalycert.pem b/v14/client/testdata/gitalycert.pem new file mode 100644 index 000000000..a64587df0 --- /dev/null +++ b/v14/client/testdata/gitalycert.pem @@ -0,0 +1,34 @@ +-----BEGIN CERTIFICATE----- +MIIF6TCCA9GgAwIBAgIUPDnPz71IoFtFm9mHRpGdKBteymQwDQYJKoZIhvcNAQEL +BQAwdjELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcM +DVNhbiBGcmFuY2lzY28xDzANBgNVBAoMBkdpdExhYjEVMBMGA1UECwwMR2l0TGFi +LVNoZWxsMRIwEAYDVQQDDAlsb2NhbGhvc3QwHhcNMjAxMjAzMDU1MDQxWhcNMzAx +MjAxMDU1MDQxWjB2MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEW +MBQGA1UEBwwNU2FuIEZyYW5jaXNjbzEPMA0GA1UECgwGR2l0TGFiMRUwEwYDVQQL +DAxHaXRMYWItU2hlbGwxEjAQBgNVBAMMCWxvY2FsaG9zdDCCAiIwDQYJKoZIhvcN +AQEBBQADggIPADCCAgoCggIBAML4wj2olYo7VfWeQv+T0jLJTXmxGOAXLJLGUnPM +rtzQUXWvnxUWvMLFITKPnc9tsLEUtJGjnu0E1mUS2fX1zOgcX/SVT5paUTQUMthV +WgeW/PaLpPX+UJ2MDErit9hYIOGkmmZa7teWac9i/XVg9QXG6emly8xK8Rvxx0r8 +CmYA1ztL5lq9agpWkFpKPlTGb7eU7Dsrx68+QPlmPZnuPZbiSiAtOz63o29stRKz +eMPDXVk9vXwMetUCmIM0cvrtUrufTuJ2xQs+9w4wbwYFO4Tb32lMxn8MjLtJddH0 +43UR6Nh/sLJuTKKA/m3Qv6gHF7E2y7nx6IW/5pTvjV3yqU/5Cg01IZ29y4yZ6ayw +/27TX6R00Bczj+QLhnm49up9rr4AsjaSPo5f7eNjPUwpxrTSga4wndIAB3gEiXii +vt9n58zktbGDXxNQJlBy0D86D1iY0Gwwa7XTqPOnWDzk0j1450ipCbwGTe2wnbeT +vFizgOPmDZCpR2jRozNZK5tb7EkavvD+ccKVib7aA0nFBHLXiiAEGsGza5hosVbG +r8XC0gbtkt9S15l2R+LywvtiiQX+Uitt9FTIdzoQZLQJM+JYB0gNxe/b8Dv/I4me +vZKpX2TxBHWCrSrr+42hAxEWbr3kPhYn4P31xwyeU5sh2Sjq8oFqsPE0UD9fvs8h +SxglAgMBAAGjbzBtMB0GA1UdDgQWBBTfhcZPjqdqwJ2Hq42VOZdSXy9ZQDAfBgNV +HSMEGDAWgBTfhcZPjqdqwJ2Hq42VOZdSXy9ZQDAPBgNVHRMBAf8EBTADAQH/MBoG +A1UdEQQTMBGHBH8AAAGCCWxvY2FsaG9zdDANBgkqhkiG9w0BAQsFAAOCAgEANEqH +eeCjRtw2yKcjJikiTLzXcLtHgh+Jd9Tqtw99NozxFbjLBuCv58mEY5irVAfJlObZ +LzIXeYrziC+DYrza0HJX4zCpQ3B/XcMfjjVIsFNJoUkUYKGUdDL0xezBjm+UtLOx +P5uGS4VGWNspPIUPEts6sl5kRlRwSAscKFvWkC+M7qAskN/23KS/cCiMAgv4A6Fu +n1HcysjgmLBkYTqqYDJNPYWI67wgBoNSVdqgAU0CQzVRqTtjw7UYJX7DXsThElO3 +Jt18v5a8eSjXs4BnluVNag61BeYdIkGK07BOS8Rt5eHpP+4bLGWsjL3ltn98f6me +OTaR6Vw1QE8qj1Nr/hUaevcfypsDInMn5TvyIbXSKOHf2KlD4HOv/XLb9Kwi3nzd +xXcU2dWxg1odnssdwM4Tf065sTiUaVUdM2qo1hz0fIs+k4IexB+T0qs52KSvqKVZ +ZY8/iGF1gV+SnDSIIgTlrGlovnQ+nkboZBvQc/feFjsE4LyOuYtyF5nyLswz6PXR +Ky4SsuUW4VWFaN9DFrLovs2crfKyZjawu07U76JyIWGTnxJsxf41YoH6w4xFfPL8 +/hrKnWIIi9zWsJD0/JyFIV1gK91oOgMg2HoaJ8ckX97KzkcyVBIfk9/MvGWRS6sw +IHxi1GSsW6bNzD7+W36W/+Mhd67zt94Q3pyCvdA= +-----END CERTIFICATE----- diff --git a/v14/client/testdata/gitalykey.pem b/v14/client/testdata/gitalykey.pem new file mode 100644 index 000000000..f728527c3 --- /dev/null +++ b/v14/client/testdata/gitalykey.pem @@ -0,0 +1,52 @@ +-----BEGIN PRIVATE KEY----- +MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDC+MI9qJWKO1X1 +nkL/k9IyyU15sRjgFyySxlJzzK7c0FF1r58VFrzCxSEyj53PbbCxFLSRo57tBNZl +Etn19czoHF/0lU+aWlE0FDLYVVoHlvz2i6T1/lCdjAxK4rfYWCDhpJpmWu7XlmnP +Yv11YPUFxunppcvMSvEb8cdK/ApmANc7S+ZavWoKVpBaSj5Uxm+3lOw7K8evPkD5 +Zj2Z7j2W4kogLTs+t6NvbLUSs3jDw11ZPb18DHrVApiDNHL67VK7n07idsULPvcO +MG8GBTuE299pTMZ/DIy7SXXR9ON1EejYf7CybkyigP5t0L+oBxexNsu58eiFv+aU +741d8qlP+QoNNSGdvcuMmemssP9u01+kdNAXM4/kC4Z5uPbqfa6+ALI2kj6OX+3j +Yz1MKca00oGuMJ3SAAd4BIl4or7fZ+fM5LWxg18TUCZQctA/Og9YmNBsMGu106jz +p1g85NI9eOdIqQm8Bk3tsJ23k7xYs4Dj5g2QqUdo0aMzWSubW+xJGr7w/nHClYm+ +2gNJxQRy14ogBBrBs2uYaLFWxq/FwtIG7ZLfUteZdkfi8sL7YokF/lIrbfRUyHc6 +EGS0CTPiWAdIDcXv2/A7/yOJnr2SqV9k8QR1gq0q6/uNoQMRFm695D4WJ+D99ccM +nlObIdko6vKBarDxNFA/X77PIUsYJQIDAQABAoICAQCo9VuWhTZ54Ouf+zMCOj6I +xku+bkspPsvgsb6YHUNXlatR+gw5AUg43Q3ku/I85EifXFsSbqF1sqB8XHbHn+ef +KZ+5235tO2FtaSeas3ReaWjz2pXsmyOPM+MfLhO1hsGP6M3ob1rVNsKg9p7AjnIn +PHZOhN/0POlulvpmr73vIUFjYGXSMpznMpbLt9UGMCR2Cbchm9Hiumch+YjekUeM +LrOf6LKTqh4WnDTabO71bqLBiDBhhIsZdrNl2Bjf/LOaZfa9Z8Ff+oOsJyq/I9+t +RcD4hpDpXp3CW2mftcE7HXcTzqv4JH+Cv5g84A6GdQcCCoNHsywWY/NVE7cFOBmh +8eR68DVkcmTinOnvGYSW2HhlI4jT699fVDCmezb6HvRVj2ma5cVrWraGV5XbKyLX +CClp4MbBv0TT2ZCrjIA3GGs044Mkqdb5QOEG9tgcx0fNc9tLvK/cAwhzj+P5Ruhx +8uTW7LHiXtw+Gfl4FdO0qMTAcRzc09r0p/DCNHJoOpvDclyp2g4UfK1Y0DaWk4Tj +7VJAR+YrDUD1OqNRhp/7+Tmd6F0tpBNOwrSkii+3/RoMxN+iOPgEZv+DJELWPKNg +8YRwdbBIe5Zb4MMDZ1/9BWZETKhDWyvZDcGav3KzeIGCg2WHk2eXeaainSwRAQkt +d6+PDuOMnIK0scyWlr2p4QKCAQEA4rYwTGady5FADl9MlYQcew0Cmgj6XM+8e+Nh +/wPDJHv7VvojNtIEbm1p1JC9ZawupG75Cw5Y2M1zc99BM3YGTXz9MqyqBCD6Zi3F +1Blot3OrmAbnzs2V7hJ3IufjruwcWrH4Py7sTmtgTRBM+Cr0g/z0iHVFat4DL9dy +WCu0Y5wYON4FAi0h13z8ET2r3PgnxUrE2nuPoXpfGbXO7N0agkB5MN8QRAsWTCeA +3aE4mH5H0dU610faelWzEpXyMlLXrG6m6F6ye7dnSknM/8TReG/r0MyCOKQIHDdW +hB4iWDt0QtlP9cBKkhZ89n4hpBsTDhWv/s+xvKLO2z8aWI4ryQKCAQEA3Cjdn2mz +ypKpUkTfadRmL+uLlTd4s1eTzdLxO2o74X85l7JppPWh4fOBBFNytfVvU5HcvHC+ +GxgWrxIhMq0s7HKIDGdISOoERRKZwc9dj4BxLN48YaxwBRW4PKl2p5q2oQULBo/u +TtnFjE2TNx33tUfu9eVv7Yq4KFdhb/lSlZQwFFTmvo4LktPGC5TtPDPolE3tLAkx +JOWNMA7WAiQeWSjL5sfJViZeGBE2xjmnplibkb2K0VyQvUw31/LMNY7yWi7JY61J +e94okLRgiJSoOxgiDrQ5icSHgjOGDLgPUF5JFwc6aA91sDXN9wnPvlzU6vrxiBFR +tscmYiLbYG9/fQKCAQEAisQdWAZPe3SSkrl+NN5CWIckGoh4RirZIbOSHfd9kG1a +8Gf2+e0ezUCnUHavlvYHLprGUSAc/cbzbe8vB4KsZO2mRUguYIyW98f4mNRcpj1k +wI8pgAmSRcCDr5fkYwMeb90TKAlelrlenozlr9kLBWblfkjZjooJxVTIJnPJ3FaE +9Pngcu6REkbsOtlWwtAZ98bGKz0KMzqlzyTbXVwQh71S8Lj4Sc3HfiGH3SB7dcuF +xkgP1gmjDtI545xoPKk8Xcz02LJt6Q/fZzc5BSzBUkifPJSQ+H5egHbWu9N+DieG +CAzfxnpGqpidMHsPuFTiGvLnYL5b+ixlFQnQ5HdREQKCAQBgaLjcZTJpZB4nu6dG +Nc/l7jT6zAbcKl68REKFLTk5vzfeOS/QIAya4MI/vbc+/VKZ+wb5sjldrgfI9Jx7 +D6DbjjALlnLuEyR5hvK0D3W+MJXe+xbgAt4vK9q5HdCrBrIxAv9YCVFnUDAVB6eO +/F2MEgsPvUBtelC4wcMWgMzsWa9QR/mfup5Q1tIkIjxdH7Iat6FDpmbR7IAOaoDH +AUAU9SuNTTHauwR7b5ZX6cmDq8u8X49ZrTpo2uadd2J7lbSFT3W7Y5gJWTjUXVjk +loyxDBll7QBBV0Gr/5oVGckC/bbuEak/Bn4YAwfFxZMmnopSuD9qwYLSEpW5ZeBB +c7IVAoIBAFcJQlh+7RlqdoNYDOMaza8rJfGpUXu4GCcWUxEbeVjiI6t5ll6rbH27 +sSvC1Ja1thn6Thhxz4xkZIPs9v6b0pYN2O9yF4UA5ip6YQy7CmXQt/huXMEiD9KQ +WdyTkTO+3p5mxc3B8BcmNuNB2tQWS6xuGv2mijgya1gB/wL1Chv4aGoe4lpcqaUN +U8rdw2BeM+8XAiyqMLdsVAGLu2vLJX9UJUMKYegHMsGHORspLU0m8weNWeALz57H +l0YlTxi6Su8gGk3MDkCOUaYM+WtKGd1HILJ9XQDuy+sEdTO7UdSx3vs5POx/KHEG +L8aOeKE3Zf7tir2LjG/0phjefjgNoH0= +-----END PRIVATE KEY----- diff --git a/v14/client/upload_archive.go b/v14/client/upload_archive.go new file mode 100644 index 000000000..f8e40c9c2 --- /dev/null +++ b/v14/client/upload_archive.go @@ -0,0 +1,42 @@ +package client + +import ( + "context" + "io" + + "gitlab.com/gitlab-org/gitaly/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" + "google.golang.org/grpc" +) + +// UploadArchive proxies an SSH git-upload-archive (git archive --remote) session to Gitaly +func UploadArchive(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadArchiveRequest) (int32, error) { + ctx2, cancel := context.WithCancel(ctx) + defer cancel() + + ssh := gitalypb.NewSSHServiceClient(conn) + uploadPackStream, err := ssh.SSHUploadArchive(ctx2) + if err != nil { + return 0, err + } + + if err = uploadPackStream.Send(req); err != nil { + return 0, err + } + + inWriter := streamio.NewWriter(func(p []byte) error { + return uploadPackStream.Send(&gitalypb.SSHUploadArchiveRequest{Stdin: p}) + }) + + return stream.Handler(func() (stream.StdoutStderrResponse, error) { + return uploadPackStream.Recv() + }, func(errC chan error) { + _, errRecv := io.Copy(inWriter, stdin) + if err := uploadPackStream.CloseSend(); err != nil && errRecv == nil { + errC <- err + } else { + errC <- errRecv + } + }, stdout, stderr) +} diff --git a/v14/client/upload_pack.go b/v14/client/upload_pack.go new file mode 100644 index 000000000..171fb1179 --- /dev/null +++ b/v14/client/upload_pack.go @@ -0,0 +1,65 @@ +package client + +import ( + "context" + "io" + + "gitlab.com/gitlab-org/gitaly/internal/stream" + "gitlab.com/gitlab-org/gitaly/v14/proto/go/gitalypb" + "gitlab.com/gitlab-org/gitaly/v14/streamio" + "google.golang.org/grpc" +) + +// UploadPack proxies an SSH git-upload-pack (git fetch) session to Gitaly +func UploadPack(ctx context.Context, conn *grpc.ClientConn, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackRequest) (int32, error) { + ctx2, cancel := context.WithCancel(ctx) + defer cancel() + + ssh := gitalypb.NewSSHServiceClient(conn) + uploadPackStream, err := ssh.SSHUploadPack(ctx2) + if err != nil { + return 0, err + } + + if err = uploadPackStream.Send(req); err != nil { + return 0, err + } + + inWriter := streamio.NewWriter(func(p []byte) error { + return uploadPackStream.Send(&gitalypb.SSHUploadPackRequest{Stdin: p}) + }) + + return stream.Handler(func() (stream.StdoutStderrResponse, error) { + return uploadPackStream.Recv() + }, func(errC chan error) { + _, errRecv := io.Copy(inWriter, stdin) + if err := uploadPackStream.CloseSend(); err != nil && errRecv == nil { + errC <- err + } else { + errC <- errRecv + } + }, stdout, stderr) +} + +// UploadPackWithSidechannel proxies an SSH git-upload-pack (git fetch) +// session to Gitaly using a sidechannel for the raw data transfer. +func UploadPackWithSidechannel(ctx context.Context, conn *grpc.ClientConn, reg *SidechannelRegistry, stdin io.Reader, stdout, stderr io.Writer, req *gitalypb.SSHUploadPackWithSidechannelRequest) (int32, error) { + ctx, cancel := context.WithCancel(ctx) + defer cancel() + + ctx, wt := reg.Register(ctx, func(c SidechannelConn) error { + return stream.ProxyPktLine(c, stdin, stdout, stderr) + }) + defer wt.Close() + + sshClient := gitalypb.NewSSHServiceClient(conn) + if _, err := sshClient.SSHUploadPackWithSidechannel(ctx, req); err != nil { + return 0, err + } + + if err := wt.Close(); err != nil { + return 0, err + } + + return 0, nil +} diff --git a/v14/go.mod b/v14/go.mod new file mode 100644 index 000000000..706b894fe --- /dev/null +++ b/v14/go.mod @@ -0,0 +1,18 @@ +module gitlab.com/gitlab-org/gitaly/v14 + +require ( + github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 + github.com/opentracing/opentracing-go v1.2.0 + github.com/prometheus/client_golang v1.12.1 + github.com/sirupsen/logrus v1.8.1 + github.com/stretchr/testify v1.7.1 + github.com/uber/jaeger-client-go v2.30.0+incompatible + gitlab.com/gitlab-org/gitaly v1.68.0 + gitlab.com/gitlab-org/labkit v1.14.0 + google.golang.org/grpc v1.46.0 + google.golang.org/protobuf v1.28.0 +) + +replace gitlab.com/gitlab-org/gitaly => ../ + +go 1.16 diff --git a/v14/proto/go/gitalypb/blob.pb.go b/v14/proto/go/gitalypb/blob.pb.go new file mode 100644 index 000000000..c4a157148 --- /dev/null +++ b/v14/proto/go/gitalypb/blob.pb.go @@ -0,0 +1,1789 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: blob.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type GetBlobRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Object ID (SHA1) of the blob we want to get + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + // Maximum number of bytes we want to receive. Use '-1' to get the full blob no matter how big. + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *GetBlobRequest) Reset() { + *x = GetBlobRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlobRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlobRequest) ProtoMessage() {} + +func (x *GetBlobRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead. +func (*GetBlobRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{0} +} + +func (x *GetBlobRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetBlobRequest) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *GetBlobRequest) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type GetBlobResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Blob size; present only in first response message + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + // Chunk of blob data + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // Object ID of the actual blob returned. Empty if no blob was found. + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` +} + +func (x *GetBlobResponse) Reset() { + *x = GetBlobResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlobResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlobResponse) ProtoMessage() {} + +func (x *GetBlobResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead. +func (*GetBlobResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{1} +} + +func (x *GetBlobResponse) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *GetBlobResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *GetBlobResponse) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +// This comment is left unintentionally blank. +type GetBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revision/Path pairs of the blobs we want to get. + RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"` + // Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big. + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *GetBlobsRequest) Reset() { + *x = GetBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlobsRequest) ProtoMessage() {} + +func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2} +} + +func (x *GetBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { + if x != nil { + return x.RevisionPaths + } + return nil +} + +func (x *GetBlobsRequest) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type GetBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Blob size; present only on the first message per blob + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + // Chunk of blob data, could span over multiple messages. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found. + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` + // This comment is left unintentionally blank. + IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` + // This comment is left unintentionally blank. + Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + // This comment is left unintentionally blank. + Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` +} + +func (x *GetBlobsResponse) Reset() { + *x = GetBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlobsResponse) ProtoMessage() {} + +func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead. +func (*GetBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{3} +} + +func (x *GetBlobsResponse) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *GetBlobsResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *GetBlobsResponse) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *GetBlobsResponse) GetIsSubmodule() bool { + if x != nil { + return x.IsSubmodule + } + return false +} + +func (x *GetBlobsResponse) GetMode() int32 { + if x != nil { + return x.Mode + } + return 0 +} + +func (x *GetBlobsResponse) GetRevision() string { + if x != nil { + return x.Revision + } + return "" +} + +func (x *GetBlobsResponse) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *GetBlobsResponse) GetType() ObjectType { + if x != nil { + return x.Type + } + return ObjectType_UNKNOWN +} + +// ListBlobsRequest is a request for the ListBlobs RPC. +type ListBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which blobs should be enumerated. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revisions is the list of revisions to retrieve blobs from. These revisions + // will be walked. Supports pseudo-revisions `--all` and `--not` as well as + // negated revisions via `^revision`. Revisions cannot start with a leading + // dash. Please consult gitrevisions(7) for more info. Must not be empty. + Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` + // Limit is the maximum number of blobs to return. If set to its default + // (`0`), then all found blobs wll be returned. + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + // BytesLimit is the maximum number of bytes to receive for each blob. If set + // to `0`, then no blob data will be sent. If `-1`, then all blob data will + // be sent without any limits. + BytesLimit int64 `protobuf:"varint,4,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` + // WithPaths determines whether paths of blobs should be returned. When + // set to `true`, paths are returned on a best-effort basis: a path will only + // exist if the blob was traversed via a tree. + WithPaths bool `protobuf:"varint,5,opt,name=with_paths,json=withPaths,proto3" json:"with_paths,omitempty"` +} + +func (x *ListBlobsRequest) Reset() { + *x = ListBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsRequest) ProtoMessage() {} + +func (x *ListBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsRequest.ProtoReflect.Descriptor instead. +func (*ListBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{4} +} + +func (x *ListBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListBlobsRequest) GetRevisions() []string { + if x != nil { + return x.Revisions + } + return nil +} + +func (x *ListBlobsRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *ListBlobsRequest) GetBytesLimit() int64 { + if x != nil { + return x.BytesLimit + } + return 0 +} + +func (x *ListBlobsRequest) GetWithPaths() bool { + if x != nil { + return x.WithPaths + } + return false +} + +// ListBlobsResponse is a response for the ListBlobs RPC. +type ListBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Blobs is the blobs which have been found. In case blob contents were + // requested and contents of a blob exceed the maximum gRPC message size, + // then this blob will be split up into multiple blob messages which span + // across multiple responses. In that case, metadata of the blob will only be + // sent on the first such message for this specific blob. + Blobs []*ListBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` +} + +func (x *ListBlobsResponse) Reset() { + *x = ListBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsResponse) ProtoMessage() {} + +func (x *ListBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsResponse.ProtoReflect.Descriptor instead. +func (*ListBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5} +} + +func (x *ListBlobsResponse) GetBlobs() []*ListBlobsResponse_Blob { + if x != nil { + return x.Blobs + } + return nil +} + +// ListAllBlobsRequest is a request for the ListAllBlobs RPC. +type ListAllBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which blobs should be enumerated. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Limit is the maximum number of blobs to return. If set to its default + // (`0`), then all found blobs wll be returned. + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + // BytesLimit is the maximum number of bytes to receive for each blob. If set + // to `0`, then no blob data will be sent. If `-1`, then all blob data will + // be sent without any limits. + BytesLimit int64 `protobuf:"varint,3,opt,name=bytes_limit,json=bytesLimit,proto3" json:"bytes_limit,omitempty"` +} + +func (x *ListAllBlobsRequest) Reset() { + *x = ListAllBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllBlobsRequest) ProtoMessage() {} + +func (x *ListAllBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllBlobsRequest.ProtoReflect.Descriptor instead. +func (*ListAllBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{6} +} + +func (x *ListAllBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListAllBlobsRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *ListAllBlobsRequest) GetBytesLimit() int64 { + if x != nil { + return x.BytesLimit + } + return 0 +} + +// ListAllBlobsResponse is a response for the ListAllBlobs RPC. +type ListAllBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Blobs is the blobs which have been found. In case blob contents were + // requested and contents of a blob exceed the maximum gRPC message size, + // then this blob will be split up into multiple blob messages which span + // across multiple responses. In that case, metadata of the blob will only be + // sent on the first such message for this specific blob. + Blobs []*ListAllBlobsResponse_Blob `protobuf:"bytes,1,rep,name=blobs,proto3" json:"blobs,omitempty"` +} + +func (x *ListAllBlobsResponse) Reset() { + *x = ListAllBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllBlobsResponse) ProtoMessage() {} + +func (x *ListAllBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllBlobsResponse.ProtoReflect.Descriptor instead. +func (*ListAllBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{7} +} + +func (x *ListAllBlobsResponse) GetBlobs() []*ListAllBlobsResponse_Blob { + if x != nil { + return x.Blobs + } + return nil +} + +// LFSPointer is a git blob which points to an LFS object. +type LFSPointer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Size is the size of the blob. This is not the size of the LFS object + // pointed to. + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + // Data is the bare data of the LFS pointer blob. It contains the pointer to + // the LFS data in the format specified by the LFS project. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // Oid is the object ID of the blob. + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` +} + +func (x *LFSPointer) Reset() { + *x = LFSPointer{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LFSPointer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LFSPointer) ProtoMessage() {} + +func (x *LFSPointer) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead. +func (*LFSPointer) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{8} +} + +func (x *LFSPointer) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *LFSPointer) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *LFSPointer) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +// This comment is left unintentionally blank. +type NewBlobObject struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + // This comment is left unintentionally blank. + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *NewBlobObject) Reset() { + *x = NewBlobObject{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NewBlobObject) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NewBlobObject) ProtoMessage() {} + +func (x *NewBlobObject) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NewBlobObject.ProtoReflect.Descriptor instead. +func (*NewBlobObject) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{9} +} + +func (x *NewBlobObject) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *NewBlobObject) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *NewBlobObject) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +// GetLFSPointersRequest is a request for the GetLFSPointers RPC. +type GetLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository for which LFS pointers should be retrieved + // from. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // BlobIds is the list of blobs to retrieve LFS pointers from. Must be a + // non-empty list of blobs IDs to fetch. + BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` +} + +func (x *GetLFSPointersRequest) Reset() { + *x = GetLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLFSPointersRequest) ProtoMessage() {} + +func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{10} +} + +func (x *GetLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetLFSPointersRequest) GetBlobIds() []string { + if x != nil { + return x.BlobIds + } + return nil +} + +// GetLFSPointersResponse is a response for the GetLFSPointers RPC. +type GetLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // LfsPointers is the list of LFS pointers which were requested. + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` +} + +func (x *GetLFSPointersResponse) Reset() { + *x = GetLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetLFSPointersResponse) ProtoMessage() {} + +func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{11} +} + +func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers + } + return nil +} + +// ListLFSPointersRequest is a request for the ListLFSPointers RPC. +type ListLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository for which LFS pointers should be retrieved + // from. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revisions is the list of revisions to retrieve LFS pointers from. Must be + // a non-empty list. + Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` + // Limit limits the number of LFS pointers returned. + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *ListLFSPointersRequest) Reset() { + *x = ListLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLFSPointersRequest) ProtoMessage() {} + +func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{12} +} + +func (x *ListLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListLFSPointersRequest) GetRevisions() []string { + if x != nil { + return x.Revisions + } + return nil +} + +func (x *ListLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +// ListLFSPointersResponse is a response for the ListLFSPointers RPC. +type ListLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // LfsPointers is the list of LFS pointers which were requested. + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` +} + +func (x *ListLFSPointersResponse) Reset() { + *x = ListLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLFSPointersResponse) ProtoMessage() {} + +func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{13} +} + +func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers + } + return nil +} + +// ListAllLFSPointersRequest is a request for the ListAllLFSPointers RPC. +type ListAllLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository for which LFS pointers should be retrieved + // from. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Limit limits the number of LFS pointers returned. + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *ListAllLFSPointersRequest) Reset() { + *x = ListAllLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllLFSPointersRequest) ProtoMessage() {} + +func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{14} +} + +func (x *ListAllLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListAllLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +// ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC. +type ListAllLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // LfsPointers is the list of LFS pointers which were requested. + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` +} + +func (x *ListAllLFSPointersResponse) Reset() { + *x = ListAllLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllLFSPointersResponse) ProtoMessage() {} + +func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{15} +} + +func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers + } + return nil +} + +// This comment is left unintentionally blank. +type GetBlobsRequest_RevisionPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *GetBlobsRequest_RevisionPath) Reset() { + *x = GetBlobsRequest_RevisionPath{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetBlobsRequest_RevisionPath) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} + +func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetBlobsRequest_RevisionPath.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *GetBlobsRequest_RevisionPath) GetRevision() string { + if x != nil { + return x.Revision + } + return "" +} + +func (x *GetBlobsRequest_RevisionPath) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +// Blob represents a Git blob object. +type ListBlobsResponse_Blob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Oid is the object ID of the blob. Will only be set for the first + // message of each specific blob. + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + // Size is the size of the blob. Will only be set for the first message + // of each specific blob. + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // Data is the contents of the blob. This field is optional and depends on + // the BytesLimit in the original request. + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + // Path is the path of the blob. May be unset depending on how the blob had + // been traversed. + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *ListBlobsResponse_Blob) Reset() { + *x = ListBlobsResponse_Blob{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBlobsResponse_Blob) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBlobsResponse_Blob) ProtoMessage() {} + +func (x *ListBlobsResponse_Blob) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBlobsResponse_Blob.ProtoReflect.Descriptor instead. +func (*ListBlobsResponse_Blob) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *ListBlobsResponse_Blob) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *ListBlobsResponse_Blob) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *ListBlobsResponse_Blob) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *ListBlobsResponse_Blob) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +// Blob represents a Git blob object. +type ListAllBlobsResponse_Blob struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Oid is the object ID of the blob. Will only be set for the first + // message of each specific blob. + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + // Size is the size of the blob. Will only be set for the first message + // of each specific blob. + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // Data is the contents of the blob. This field is optional and depends on + // the BytesLimit in the original request. + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *ListAllBlobsResponse_Blob) Reset() { + *x = ListAllBlobsResponse_Blob{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllBlobsResponse_Blob) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllBlobsResponse_Blob) ProtoMessage() {} + +func (x *ListAllBlobsResponse_Blob) ProtoReflect() protoreflect.Message { + mi := &file_blob_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllBlobsResponse_Blob.ProtoReflect.Descriptor instead. +func (*ListAllBlobsResponse_Blob) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{7, 0} +} + +func (x *ListAllBlobsResponse_Blob) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *ListAllBlobsResponse_Blob) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *ListAllBlobsResponse_Blob) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +var File_blob_proto protoreflect.FileDescriptor + +var file_blob_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, + 0xee, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4b, 0x0a, + 0x0e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x1a, 0x3e, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xc0, + 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, + 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, 0x69, 0x74, 0x68, 0x50, 0x61, 0x74, 0x68, + 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x1a, 0x54, 0x0a, + 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, + 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x91, 0x01, 0x0a, + 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x1a, 0x40, + 0x0a, 0x04, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x46, 0x0a, 0x0a, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, + 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x4e, 0x65, 0x77, 0x42, + 0x6c, 0x6f, 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x6c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, + 0x73, 0x22, 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, + 0x66, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6b, 0x0a, + 0x19, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x32, + 0xdd, 0x04, 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x44, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, + 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, + 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, + 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, + 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, + 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, + 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, + 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, + 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, + 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, + 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, + 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_blob_proto_rawDescOnce sync.Once + file_blob_proto_rawDescData = file_blob_proto_rawDesc +) + +func file_blob_proto_rawDescGZIP() []byte { + file_blob_proto_rawDescOnce.Do(func() { + file_blob_proto_rawDescData = protoimpl.X.CompressGZIP(file_blob_proto_rawDescData) + }) + return file_blob_proto_rawDescData +} + +var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_blob_proto_goTypes = []interface{}{ + (*GetBlobRequest)(nil), // 0: gitaly.GetBlobRequest + (*GetBlobResponse)(nil), // 1: gitaly.GetBlobResponse + (*GetBlobsRequest)(nil), // 2: gitaly.GetBlobsRequest + (*GetBlobsResponse)(nil), // 3: gitaly.GetBlobsResponse + (*ListBlobsRequest)(nil), // 4: gitaly.ListBlobsRequest + (*ListBlobsResponse)(nil), // 5: gitaly.ListBlobsResponse + (*ListAllBlobsRequest)(nil), // 6: gitaly.ListAllBlobsRequest + (*ListAllBlobsResponse)(nil), // 7: gitaly.ListAllBlobsResponse + (*LFSPointer)(nil), // 8: gitaly.LFSPointer + (*NewBlobObject)(nil), // 9: gitaly.NewBlobObject + (*GetLFSPointersRequest)(nil), // 10: gitaly.GetLFSPointersRequest + (*GetLFSPointersResponse)(nil), // 11: gitaly.GetLFSPointersResponse + (*ListLFSPointersRequest)(nil), // 12: gitaly.ListLFSPointersRequest + (*ListLFSPointersResponse)(nil), // 13: gitaly.ListLFSPointersResponse + (*ListAllLFSPointersRequest)(nil), // 14: gitaly.ListAllLFSPointersRequest + (*ListAllLFSPointersResponse)(nil), // 15: gitaly.ListAllLFSPointersResponse + (*GetBlobsRequest_RevisionPath)(nil), // 16: gitaly.GetBlobsRequest.RevisionPath + (*ListBlobsResponse_Blob)(nil), // 17: gitaly.ListBlobsResponse.Blob + (*ListAllBlobsResponse_Blob)(nil), // 18: gitaly.ListAllBlobsResponse.Blob + (*Repository)(nil), // 19: gitaly.Repository + (ObjectType)(0), // 20: gitaly.ObjectType +} +var file_blob_proto_depIdxs = []int32{ + 19, // 0: gitaly.GetBlobRequest.repository:type_name -> gitaly.Repository + 19, // 1: gitaly.GetBlobsRequest.repository:type_name -> gitaly.Repository + 16, // 2: gitaly.GetBlobsRequest.revision_paths:type_name -> gitaly.GetBlobsRequest.RevisionPath + 20, // 3: gitaly.GetBlobsResponse.type:type_name -> gitaly.ObjectType + 19, // 4: gitaly.ListBlobsRequest.repository:type_name -> gitaly.Repository + 17, // 5: gitaly.ListBlobsResponse.blobs:type_name -> gitaly.ListBlobsResponse.Blob + 19, // 6: gitaly.ListAllBlobsRequest.repository:type_name -> gitaly.Repository + 18, // 7: gitaly.ListAllBlobsResponse.blobs:type_name -> gitaly.ListAllBlobsResponse.Blob + 19, // 8: gitaly.GetLFSPointersRequest.repository:type_name -> gitaly.Repository + 8, // 9: gitaly.GetLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 19, // 10: gitaly.ListLFSPointersRequest.repository:type_name -> gitaly.Repository + 8, // 11: gitaly.ListLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 19, // 12: gitaly.ListAllLFSPointersRequest.repository:type_name -> gitaly.Repository + 8, // 13: gitaly.ListAllLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 0, // 14: gitaly.BlobService.GetBlob:input_type -> gitaly.GetBlobRequest + 2, // 15: gitaly.BlobService.GetBlobs:input_type -> gitaly.GetBlobsRequest + 4, // 16: gitaly.BlobService.ListBlobs:input_type -> gitaly.ListBlobsRequest + 6, // 17: gitaly.BlobService.ListAllBlobs:input_type -> gitaly.ListAllBlobsRequest + 10, // 18: gitaly.BlobService.GetLFSPointers:input_type -> gitaly.GetLFSPointersRequest + 12, // 19: gitaly.BlobService.ListLFSPointers:input_type -> gitaly.ListLFSPointersRequest + 14, // 20: gitaly.BlobService.ListAllLFSPointers:input_type -> gitaly.ListAllLFSPointersRequest + 1, // 21: gitaly.BlobService.GetBlob:output_type -> gitaly.GetBlobResponse + 3, // 22: gitaly.BlobService.GetBlobs:output_type -> gitaly.GetBlobsResponse + 5, // 23: gitaly.BlobService.ListBlobs:output_type -> gitaly.ListBlobsResponse + 7, // 24: gitaly.BlobService.ListAllBlobs:output_type -> gitaly.ListAllBlobsResponse + 11, // 25: gitaly.BlobService.GetLFSPointers:output_type -> gitaly.GetLFSPointersResponse + 13, // 26: gitaly.BlobService.ListLFSPointers:output_type -> gitaly.ListLFSPointersResponse + 15, // 27: gitaly.BlobService.ListAllLFSPointers:output_type -> gitaly.ListAllLFSPointersResponse + 21, // [21:28] is the sub-list for method output_type + 14, // [14:21] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_blob_proto_init() } +func file_blob_proto_init() { + if File_blob_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_blob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LFSPointer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewBlobObject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest_RevisionPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBlobsResponse_Blob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllBlobsResponse_Blob); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_blob_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_blob_proto_goTypes, + DependencyIndexes: file_blob_proto_depIdxs, + MessageInfos: file_blob_proto_msgTypes, + }.Build() + File_blob_proto = out.File + file_blob_proto_rawDesc = nil + file_blob_proto_goTypes = nil + file_blob_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/blob_grpc.pb.go b/v14/proto/go/gitalypb/blob_grpc.pb.go new file mode 100644 index 000000000..02dbd20b2 --- /dev/null +++ b/v14/proto/go/gitalypb/blob_grpc.pb.go @@ -0,0 +1,546 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// BlobServiceClient is the client API for BlobService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type BlobServiceClient interface { + // GetBlob returns the contents of a blob object referenced by its object + // ID. We use a stream to return a chunked arbitrarily large binary + // response + GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) + // This comment is left unintentionally blank. + GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) + // ListBlobs will list all blobs reachable from a given set of revisions by + // doing a graph walk. It is not valid to pass revisions which do not resolve + // to an existing object. + ListBlobs(ctx context.Context, in *ListBlobsRequest, opts ...grpc.CallOption) (BlobService_ListBlobsClient, error) + // ListAllBlobs retrieves all blobs pointers in the repository, including + // those not reachable by any reference. + ListAllBlobs(ctx context.Context, in *ListAllBlobsRequest, opts ...grpc.CallOption) (BlobService_ListAllBlobsClient, error) + // GetLFSPointers retrieves LFS pointers from a given set of object IDs. + // This RPC filters all requested objects and only returns those which refer + // to a valid LFS pointer. + GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) + // ListLFSPointers retrieves LFS pointers reachable from a given set of + // revisions by doing a graph walk. This includes both normal revisions like + // an object ID or branch, but also the pseudo-revisions "--all" and "--not" + // as documented in git-rev-parse(1). Revisions which don't directly or + // transitively reference any LFS pointers are ignored. It is not valid to + // pass revisions which do not resolve to an existing object. + ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) + // ListAllLFSPointers retrieves all LFS pointers in the repository, including + // those not reachable by any reference. + ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) +} + +type blobServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewBlobServiceClient(cc grpc.ClientConnInterface) BlobServiceClient { + return &blobServiceClient{cc} +} + +func (c *blobServiceClient) GetBlob(ctx context.Context, in *GetBlobRequest, opts ...grpc.CallOption) (BlobService_GetBlobClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[0], "/gitaly.BlobService/GetBlob", opts...) + if err != nil { + return nil, err + } + x := &blobServiceGetBlobClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_GetBlobClient interface { + Recv() (*GetBlobResponse, error) + grpc.ClientStream +} + +type blobServiceGetBlobClient struct { + grpc.ClientStream +} + +func (x *blobServiceGetBlobClient) Recv() (*GetBlobResponse, error) { + m := new(GetBlobResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[1], "/gitaly.BlobService/GetBlobs", opts...) + if err != nil { + return nil, err + } + x := &blobServiceGetBlobsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_GetBlobsClient interface { + Recv() (*GetBlobsResponse, error) + grpc.ClientStream +} + +type blobServiceGetBlobsClient struct { + grpc.ClientStream +} + +func (x *blobServiceGetBlobsClient) Recv() (*GetBlobsResponse, error) { + m := new(GetBlobsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) ListBlobs(ctx context.Context, in *ListBlobsRequest, opts ...grpc.CallOption) (BlobService_ListBlobsClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[2], "/gitaly.BlobService/ListBlobs", opts...) + if err != nil { + return nil, err + } + x := &blobServiceListBlobsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_ListBlobsClient interface { + Recv() (*ListBlobsResponse, error) + grpc.ClientStream +} + +type blobServiceListBlobsClient struct { + grpc.ClientStream +} + +func (x *blobServiceListBlobsClient) Recv() (*ListBlobsResponse, error) { + m := new(ListBlobsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) ListAllBlobs(ctx context.Context, in *ListAllBlobsRequest, opts ...grpc.CallOption) (BlobService_ListAllBlobsClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[3], "/gitaly.BlobService/ListAllBlobs", opts...) + if err != nil { + return nil, err + } + x := &blobServiceListAllBlobsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_ListAllBlobsClient interface { + Recv() (*ListAllBlobsResponse, error) + grpc.ClientStream +} + +type blobServiceListAllBlobsClient struct { + grpc.ClientStream +} + +func (x *blobServiceListAllBlobsClient) Recv() (*ListAllBlobsResponse, error) { + m := new(ListAllBlobsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[4], "/gitaly.BlobService/GetLFSPointers", opts...) + if err != nil { + return nil, err + } + x := &blobServiceGetLFSPointersClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_GetLFSPointersClient interface { + Recv() (*GetLFSPointersResponse, error) + grpc.ClientStream +} + +type blobServiceGetLFSPointersClient struct { + grpc.ClientStream +} + +func (x *blobServiceGetLFSPointersClient) Recv() (*GetLFSPointersResponse, error) { + m := new(GetLFSPointersResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) ListLFSPointers(ctx context.Context, in *ListLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[5], "/gitaly.BlobService/ListLFSPointers", opts...) + if err != nil { + return nil, err + } + x := &blobServiceListLFSPointersClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_ListLFSPointersClient interface { + Recv() (*ListLFSPointersResponse, error) + grpc.ClientStream +} + +type blobServiceListLFSPointersClient struct { + grpc.ClientStream +} + +func (x *blobServiceListLFSPointersClient) Recv() (*ListLFSPointersResponse, error) { + m := new(ListLFSPointersResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) ListAllLFSPointers(ctx context.Context, in *ListAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_ListAllLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &BlobService_ServiceDesc.Streams[6], "/gitaly.BlobService/ListAllLFSPointers", opts...) + if err != nil { + return nil, err + } + x := &blobServiceListAllLFSPointersClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type BlobService_ListAllLFSPointersClient interface { + Recv() (*ListAllLFSPointersResponse, error) + grpc.ClientStream +} + +type blobServiceListAllLFSPointersClient struct { + grpc.ClientStream +} + +func (x *blobServiceListAllLFSPointersClient) Recv() (*ListAllLFSPointersResponse, error) { + m := new(ListAllLFSPointersResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// BlobServiceServer is the server API for BlobService service. +// All implementations must embed UnimplementedBlobServiceServer +// for forward compatibility +type BlobServiceServer interface { + // GetBlob returns the contents of a blob object referenced by its object + // ID. We use a stream to return a chunked arbitrarily large binary + // response + GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error + // This comment is left unintentionally blank. + GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error + // ListBlobs will list all blobs reachable from a given set of revisions by + // doing a graph walk. It is not valid to pass revisions which do not resolve + // to an existing object. + ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error + // ListAllBlobs retrieves all blobs pointers in the repository, including + // those not reachable by any reference. + ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error + // GetLFSPointers retrieves LFS pointers from a given set of object IDs. + // This RPC filters all requested objects and only returns those which refer + // to a valid LFS pointer. + GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error + // ListLFSPointers retrieves LFS pointers reachable from a given set of + // revisions by doing a graph walk. This includes both normal revisions like + // an object ID or branch, but also the pseudo-revisions "--all" and "--not" + // as documented in git-rev-parse(1). Revisions which don't directly or + // transitively reference any LFS pointers are ignored. It is not valid to + // pass revisions which do not resolve to an existing object. + ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error + // ListAllLFSPointers retrieves all LFS pointers in the repository, including + // those not reachable by any reference. + ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error + mustEmbedUnimplementedBlobServiceServer() +} + +// UnimplementedBlobServiceServer must be embedded to have forward compatible implementations. +type UnimplementedBlobServiceServer struct { +} + +func (UnimplementedBlobServiceServer) GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error { + return status.Errorf(codes.Unimplemented, "method GetBlob not implemented") +} +func (UnimplementedBlobServiceServer) GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error { + return status.Errorf(codes.Unimplemented, "method GetBlobs not implemented") +} +func (UnimplementedBlobServiceServer) ListBlobs(*ListBlobsRequest, BlobService_ListBlobsServer) error { + return status.Errorf(codes.Unimplemented, "method ListBlobs not implemented") +} +func (UnimplementedBlobServiceServer) ListAllBlobs(*ListAllBlobsRequest, BlobService_ListAllBlobsServer) error { + return status.Errorf(codes.Unimplemented, "method ListAllBlobs not implemented") +} +func (UnimplementedBlobServiceServer) GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method GetLFSPointers not implemented") +} +func (UnimplementedBlobServiceServer) ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method ListLFSPointers not implemented") +} +func (UnimplementedBlobServiceServer) ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method ListAllLFSPointers not implemented") +} +func (UnimplementedBlobServiceServer) mustEmbedUnimplementedBlobServiceServer() {} + +// UnsafeBlobServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to BlobServiceServer will +// result in compilation errors. +type UnsafeBlobServiceServer interface { + mustEmbedUnimplementedBlobServiceServer() +} + +func RegisterBlobServiceServer(s grpc.ServiceRegistrar, srv BlobServiceServer) { + s.RegisterService(&BlobService_ServiceDesc, srv) +} + +func _BlobService_GetBlob_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetBlobRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).GetBlob(m, &blobServiceGetBlobServer{stream}) +} + +type BlobService_GetBlobServer interface { + Send(*GetBlobResponse) error + grpc.ServerStream +} + +type blobServiceGetBlobServer struct { + grpc.ServerStream +} + +func (x *blobServiceGetBlobServer) Send(m *GetBlobResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_GetBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetBlobsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).GetBlobs(m, &blobServiceGetBlobsServer{stream}) +} + +type BlobService_GetBlobsServer interface { + Send(*GetBlobsResponse) error + grpc.ServerStream +} + +type blobServiceGetBlobsServer struct { + grpc.ServerStream +} + +func (x *blobServiceGetBlobsServer) Send(m *GetBlobsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_ListBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListBlobsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).ListBlobs(m, &blobServiceListBlobsServer{stream}) +} + +type BlobService_ListBlobsServer interface { + Send(*ListBlobsResponse) error + grpc.ServerStream +} + +type blobServiceListBlobsServer struct { + grpc.ServerStream +} + +func (x *blobServiceListBlobsServer) Send(m *ListBlobsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_ListAllBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListAllBlobsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).ListAllBlobs(m, &blobServiceListAllBlobsServer{stream}) +} + +type BlobService_ListAllBlobsServer interface { + Send(*ListAllBlobsResponse) error + grpc.ServerStream +} + +type blobServiceListAllBlobsServer struct { + grpc.ServerStream +} + +func (x *blobServiceListAllBlobsServer) Send(m *ListAllBlobsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_GetLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetLFSPointersRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).GetLFSPointers(m, &blobServiceGetLFSPointersServer{stream}) +} + +type BlobService_GetLFSPointersServer interface { + Send(*GetLFSPointersResponse) error + grpc.ServerStream +} + +type blobServiceGetLFSPointersServer struct { + grpc.ServerStream +} + +func (x *blobServiceGetLFSPointersServer) Send(m *GetLFSPointersResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_ListLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListLFSPointersRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).ListLFSPointers(m, &blobServiceListLFSPointersServer{stream}) +} + +type BlobService_ListLFSPointersServer interface { + Send(*ListLFSPointersResponse) error + grpc.ServerStream +} + +type blobServiceListLFSPointersServer struct { + grpc.ServerStream +} + +func (x *blobServiceListLFSPointersServer) Send(m *ListLFSPointersResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_ListAllLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListAllLFSPointersRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).ListAllLFSPointers(m, &blobServiceListAllLFSPointersServer{stream}) +} + +type BlobService_ListAllLFSPointersServer interface { + Send(*ListAllLFSPointersResponse) error + grpc.ServerStream +} + +type blobServiceListAllLFSPointersServer struct { + grpc.ServerStream +} + +func (x *blobServiceListAllLFSPointersServer) Send(m *ListAllLFSPointersResponse) error { + return x.ServerStream.SendMsg(m) +} + +// BlobService_ServiceDesc is the grpc.ServiceDesc for BlobService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var BlobService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.BlobService", + HandlerType: (*BlobServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetBlob", + Handler: _BlobService_GetBlob_Handler, + ServerStreams: true, + }, + { + StreamName: "GetBlobs", + Handler: _BlobService_GetBlobs_Handler, + ServerStreams: true, + }, + { + StreamName: "ListBlobs", + Handler: _BlobService_ListBlobs_Handler, + ServerStreams: true, + }, + { + StreamName: "ListAllBlobs", + Handler: _BlobService_ListAllBlobs_Handler, + ServerStreams: true, + }, + { + StreamName: "GetLFSPointers", + Handler: _BlobService_GetLFSPointers_Handler, + ServerStreams: true, + }, + { + StreamName: "ListLFSPointers", + Handler: _BlobService_ListLFSPointers_Handler, + ServerStreams: true, + }, + { + StreamName: "ListAllLFSPointers", + Handler: _BlobService_ListAllLFSPointers_Handler, + ServerStreams: true, + }, + }, + Metadata: "blob.proto", +} diff --git a/v14/proto/go/gitalypb/cleanup.pb.go b/v14/proto/go/gitalypb/cleanup.pb.go new file mode 100644 index 000000000..abbef370f --- /dev/null +++ b/v14/proto/go/gitalypb/cleanup.pb.go @@ -0,0 +1,338 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: cleanup.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type ApplyBfgObjectMapStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Only available on the first message + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner + // Each line in the file has two object SHAs, space-separated - the original + // SHA of the object, and the SHA after BFG has rewritten the object. + ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"` +} + +func (x *ApplyBfgObjectMapStreamRequest) Reset() { + *x = ApplyBfgObjectMapStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyBfgObjectMapStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyBfgObjectMapStreamRequest) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyBfgObjectMapStreamRequest.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{0} +} + +func (x *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte { + if x != nil { + return x.ObjectMap + } + return nil +} + +// This comment is left unintentionally blank. +type ApplyBfgObjectMapStreamResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` +} + +func (x *ApplyBfgObjectMapStreamResponse) Reset() { + *x = ApplyBfgObjectMapStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyBfgObjectMapStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyBfgObjectMapStreamResponse) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyBfgObjectMapStreamResponse.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{1} +} + +func (x *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry { + if x != nil { + return x.Entries + } + return nil +} + +// We send back each parsed entry in the request's object map so the client +// can take action +type ApplyBfgObjectMapStreamResponse_Entry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` + // This comment is left unintentionally blank. + OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` + // This comment is left unintentionally blank. + NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` +} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset() { + *x = ApplyBfgObjectMapStreamResponse_Entry{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyBfgObjectMapStreamResponse_Entry.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType { + if x != nil { + return x.Type + } + return ObjectType_UNKNOWN +} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string { + if x != nil { + return x.OldOid + } + return "" +} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string { + if x != nil { + return x.NewOid + } + return "" +} + +var File_cleanup_proto protoreflect.FileDescriptor + +var file_cleanup_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x79, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x22, 0xcd, 0x01, 0x0a, + 0x1f, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, + 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x47, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x61, 0x0a, 0x05, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, + 0x64, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, + 0x4f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x4f, 0x69, 0x64, 0x32, 0x88, 0x01, 0x0a, + 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x76, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cleanup_proto_rawDescOnce sync.Once + file_cleanup_proto_rawDescData = file_cleanup_proto_rawDesc +) + +func file_cleanup_proto_rawDescGZIP() []byte { + file_cleanup_proto_rawDescOnce.Do(func() { + file_cleanup_proto_rawDescData = protoimpl.X.CompressGZIP(file_cleanup_proto_rawDescData) + }) + return file_cleanup_proto_rawDescData +} + +var file_cleanup_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_cleanup_proto_goTypes = []interface{}{ + (*ApplyBfgObjectMapStreamRequest)(nil), // 0: gitaly.ApplyBfgObjectMapStreamRequest + (*ApplyBfgObjectMapStreamResponse)(nil), // 1: gitaly.ApplyBfgObjectMapStreamResponse + (*ApplyBfgObjectMapStreamResponse_Entry)(nil), // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry + (*Repository)(nil), // 3: gitaly.Repository + (ObjectType)(0), // 4: gitaly.ObjectType +} +var file_cleanup_proto_depIdxs = []int32{ + 3, // 0: gitaly.ApplyBfgObjectMapStreamRequest.repository:type_name -> gitaly.Repository + 2, // 1: gitaly.ApplyBfgObjectMapStreamResponse.entries:type_name -> gitaly.ApplyBfgObjectMapStreamResponse.Entry + 4, // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry.type:type_name -> gitaly.ObjectType + 0, // 3: gitaly.CleanupService.ApplyBfgObjectMapStream:input_type -> gitaly.ApplyBfgObjectMapStreamRequest + 1, // 4: gitaly.CleanupService.ApplyBfgObjectMapStream:output_type -> gitaly.ApplyBfgObjectMapStreamResponse + 4, // [4:5] is the sub-list for method output_type + 3, // [3:4] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_cleanup_proto_init() } +func file_cleanup_proto_init() { + if File_cleanup_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_cleanup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cleanup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cleanup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamResponse_Entry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cleanup_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_cleanup_proto_goTypes, + DependencyIndexes: file_cleanup_proto_depIdxs, + MessageInfos: file_cleanup_proto_msgTypes, + }.Build() + File_cleanup_proto = out.File + file_cleanup_proto_rawDesc = nil + file_cleanup_proto_goTypes = nil + file_cleanup_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/cleanup_grpc.pb.go b/v14/proto/go/gitalypb/cleanup_grpc.pb.go new file mode 100644 index 000000000..dce610b19 --- /dev/null +++ b/v14/proto/go/gitalypb/cleanup_grpc.pb.go @@ -0,0 +1,135 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// CleanupServiceClient is the client API for CleanupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type CleanupServiceClient interface { + // This comment is left unintentionally blank. + ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) +} + +type cleanupServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewCleanupServiceClient(cc grpc.ClientConnInterface) CleanupServiceClient { + return &cleanupServiceClient{cc} +} + +func (c *cleanupServiceClient) ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &CleanupService_ServiceDesc.Streams[0], "/gitaly.CleanupService/ApplyBfgObjectMapStream", opts...) + if err != nil { + return nil, err + } + x := &cleanupServiceApplyBfgObjectMapStreamClient{stream} + return x, nil +} + +type CleanupService_ApplyBfgObjectMapStreamClient interface { + Send(*ApplyBfgObjectMapStreamRequest) error + Recv() (*ApplyBfgObjectMapStreamResponse, error) + grpc.ClientStream +} + +type cleanupServiceApplyBfgObjectMapStreamClient struct { + grpc.ClientStream +} + +func (x *cleanupServiceApplyBfgObjectMapStreamClient) Send(m *ApplyBfgObjectMapStreamRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *cleanupServiceApplyBfgObjectMapStreamClient) Recv() (*ApplyBfgObjectMapStreamResponse, error) { + m := new(ApplyBfgObjectMapStreamResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// CleanupServiceServer is the server API for CleanupService service. +// All implementations must embed UnimplementedCleanupServiceServer +// for forward compatibility +type CleanupServiceServer interface { + // This comment is left unintentionally blank. + ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error + mustEmbedUnimplementedCleanupServiceServer() +} + +// UnimplementedCleanupServiceServer must be embedded to have forward compatible implementations. +type UnimplementedCleanupServiceServer struct { +} + +func (UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ApplyBfgObjectMapStream not implemented") +} +func (UnimplementedCleanupServiceServer) mustEmbedUnimplementedCleanupServiceServer() {} + +// UnsafeCleanupServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to CleanupServiceServer will +// result in compilation errors. +type UnsafeCleanupServiceServer interface { + mustEmbedUnimplementedCleanupServiceServer() +} + +func RegisterCleanupServiceServer(s grpc.ServiceRegistrar, srv CleanupServiceServer) { + s.RegisterService(&CleanupService_ServiceDesc, srv) +} + +func _CleanupService_ApplyBfgObjectMapStream_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(CleanupServiceServer).ApplyBfgObjectMapStream(&cleanupServiceApplyBfgObjectMapStreamServer{stream}) +} + +type CleanupService_ApplyBfgObjectMapStreamServer interface { + Send(*ApplyBfgObjectMapStreamResponse) error + Recv() (*ApplyBfgObjectMapStreamRequest, error) + grpc.ServerStream +} + +type cleanupServiceApplyBfgObjectMapStreamServer struct { + grpc.ServerStream +} + +func (x *cleanupServiceApplyBfgObjectMapStreamServer) Send(m *ApplyBfgObjectMapStreamResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *cleanupServiceApplyBfgObjectMapStreamServer) Recv() (*ApplyBfgObjectMapStreamRequest, error) { + m := new(ApplyBfgObjectMapStreamRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// CleanupService_ServiceDesc is the grpc.ServiceDesc for CleanupService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var CleanupService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.CleanupService", + HandlerType: (*CleanupServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "ApplyBfgObjectMapStream", + Handler: _CleanupService_ApplyBfgObjectMapStream_Handler, + ServerStreams: true, + ClientStreams: true, + }, + }, + Metadata: "cleanup.proto", +} diff --git a/v14/proto/go/gitalypb/commit.pb.go b/v14/proto/go/gitalypb/commit.pb.go new file mode 100644 index 000000000..a2c9d0a20 --- /dev/null +++ b/v14/proto/go/gitalypb/commit.pb.go @@ -0,0 +1,5431 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: commit.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Order is the order in which commits shoud be traversed. +type ListCommitsRequest_Order int32 + +const ( + // NONE defaults to reverse chronological order. + ListCommitsRequest_NONE ListCommitsRequest_Order = 0 + // TOPO order will cause no parents to be shown before all of its children + // are shown. Furthermore, multiple lines of history will not be + // intermixed. + ListCommitsRequest_TOPO ListCommitsRequest_Order = 1 + // DATE order will cause no parents to be shown before all of its children + // are shown. Otherwise, commits are shown in commit timestamp order. This + // can cause history to be shown intermixed. + ListCommitsRequest_DATE ListCommitsRequest_Order = 2 +) + +// Enum value maps for ListCommitsRequest_Order. +var ( + ListCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + 2: "DATE", + } + ListCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + "DATE": 2, + } +) + +func (x ListCommitsRequest_Order) Enum() *ListCommitsRequest_Order { + p := new(ListCommitsRequest_Order) + *p = x + return p +} + +func (x ListCommitsRequest_Order) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[0].Descriptor() +} + +func (ListCommitsRequest_Order) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[0] +} + +func (x ListCommitsRequest_Order) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ListCommitsRequest_Order.Descriptor instead. +func (ListCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{0, 0} +} + +// TODO: Replace this enum with ObjectType in shared.proto +type TreeEntryResponse_ObjectType int32 + +const ( + // This comment is left unintentionally blank. + TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 + // This comment is left unintentionally blank. + TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 + // This comment is left unintentionally blank. + TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 + // This comment is left unintentionally blank. + TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 +) + +// Enum value maps for TreeEntryResponse_ObjectType. +var ( + TreeEntryResponse_ObjectType_name = map[int32]string{ + 0: "COMMIT", + 1: "BLOB", + 2: "TREE", + 3: "TAG", + } + TreeEntryResponse_ObjectType_value = map[string]int32{ + "COMMIT": 0, + "BLOB": 1, + "TREE": 2, + "TAG": 3, + } +) + +func (x TreeEntryResponse_ObjectType) Enum() *TreeEntryResponse_ObjectType { + p := new(TreeEntryResponse_ObjectType) + *p = x + return p +} + +func (x TreeEntryResponse_ObjectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TreeEntryResponse_ObjectType) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[1].Descriptor() +} + +func (TreeEntryResponse_ObjectType) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[1] +} + +func (x TreeEntryResponse_ObjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TreeEntryResponse_ObjectType.Descriptor instead. +func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{9, 0} +} + +// TODO: Replace this enum with ObjectType in shared.proto +type TreeEntry_EntryType int32 + +const ( + // This comment is left unintentionally blank. + TreeEntry_BLOB TreeEntry_EntryType = 0 + // This comment is left unintentionally blank. + TreeEntry_TREE TreeEntry_EntryType = 1 + // This comment is left unintentionally blank. + TreeEntry_COMMIT TreeEntry_EntryType = 3 +) + +// Enum value maps for TreeEntry_EntryType. +var ( + TreeEntry_EntryType_name = map[int32]string{ + 0: "BLOB", + 1: "TREE", + 3: "COMMIT", + } + TreeEntry_EntryType_value = map[string]int32{ + "BLOB": 0, + "TREE": 1, + "COMMIT": 3, + } +) + +func (x TreeEntry_EntryType) Enum() *TreeEntry_EntryType { + p := new(TreeEntry_EntryType) + *p = x + return p +} + +func (x TreeEntry_EntryType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TreeEntry_EntryType) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[2].Descriptor() +} + +func (TreeEntry_EntryType) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[2] +} + +func (x TreeEntry_EntryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TreeEntry_EntryType.Descriptor instead. +func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{14, 0} +} + +// This comment is left unintentionally blank. +type GetTreeEntriesRequest_SortBy int32 + +const ( + // This comment is left unintentionally blank. + GetTreeEntriesRequest_DEFAULT GetTreeEntriesRequest_SortBy = 0 // Preserve order of git ls-tree + // This comment is left unintentionally blank. + GetTreeEntriesRequest_TREES_FIRST GetTreeEntriesRequest_SortBy = 1 // trees, blobs, submodules +) + +// Enum value maps for GetTreeEntriesRequest_SortBy. +var ( + GetTreeEntriesRequest_SortBy_name = map[int32]string{ + 0: "DEFAULT", + 1: "TREES_FIRST", + } + GetTreeEntriesRequest_SortBy_value = map[string]int32{ + "DEFAULT": 0, + "TREES_FIRST": 1, + } +) + +func (x GetTreeEntriesRequest_SortBy) Enum() *GetTreeEntriesRequest_SortBy { + p := new(GetTreeEntriesRequest_SortBy) + *p = x + return p +} + +func (x GetTreeEntriesRequest_SortBy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GetTreeEntriesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[3].Descriptor() +} + +func (GetTreeEntriesRequest_SortBy) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[3] +} + +func (x GetTreeEntriesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GetTreeEntriesRequest_SortBy.Descriptor instead. +func (GetTreeEntriesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{15, 0} +} + +// This comment is left unintentionally blank. +type FindAllCommitsRequest_Order int32 + +const ( + // This comment is left unintentionally blank. + FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 + // This comment is left unintentionally blank. + FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 + // This comment is left unintentionally blank. + FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 +) + +// Enum value maps for FindAllCommitsRequest_Order. +var ( + FindAllCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + 2: "DATE", + } + FindAllCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + "DATE": 2, + } +) + +func (x FindAllCommitsRequest_Order) Enum() *FindAllCommitsRequest_Order { + p := new(FindAllCommitsRequest_Order) + *p = x + return p +} + +func (x FindAllCommitsRequest_Order) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FindAllCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[4].Descriptor() +} + +func (FindAllCommitsRequest_Order) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[4] +} + +func (x FindAllCommitsRequest_Order) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindAllCommitsRequest_Order.Descriptor instead. +func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{25, 0} +} + +// This comment is left unintentionally blank. +type FindCommitsRequest_Order int32 + +const ( + // This comment is left unintentionally blank. + FindCommitsRequest_NONE FindCommitsRequest_Order = 0 + // This comment is left unintentionally blank. + FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 +) + +// Enum value maps for FindCommitsRequest_Order. +var ( + FindCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + } + FindCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + } +) + +func (x FindCommitsRequest_Order) Enum() *FindCommitsRequest_Order { + p := new(FindCommitsRequest_Order) + *p = x + return p +} + +func (x FindCommitsRequest_Order) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FindCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[5].Descriptor() +} + +func (FindCommitsRequest_Order) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[5] +} + +func (x FindCommitsRequest_Order) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindCommitsRequest_Order.Descriptor instead. +func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{27, 0} +} + +// ListCommitsRequest is a request for the ListCommits RPC. +type ListCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which commits should be searched for. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revisions is the set of revisions which should be walked to enumerate + // commits. Accepts all notation as documented in gitrevisions(7) as well as + // the pseudo-revisions `--not` and `--all` as documented in git-rev-list(1). + // Must not be empty. + Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` + // PaginationParams allows implementation of pagination. The page token is + // the last commit OID that was sent. It's expected to be the full object ID + // to guard against ambigious OIDs. + PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` + // Order is the order in which commits should be traversed. Please refer to + // the enum's documentation for further information. + Order ListCommitsRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=gitaly.ListCommitsRequest_Order" json:"order,omitempty"` + // Reverse will cause all commits to be listed in reverse. + Reverse bool `protobuf:"varint,11,opt,name=reverse,proto3" json:"reverse,omitempty"` + // MaxParents will skip all commits which have more than the specified number + // of parents. If set to `0`, no filtering by parents will happen. If set to + // `1`, all merge commits will be omitted. + MaxParents uint32 `protobuf:"varint,5,opt,name=max_parents,json=maxParents,proto3" json:"max_parents,omitempty"` + // DisableWalk will disable walking the graph. As a result, only commits + // which are immediately referenced by Revisions will be returned. + DisableWalk bool `protobuf:"varint,6,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` + // FirstParent will cause the graph walk to only go down the first-parent + // chain of commits. Merge commits will thus only cause the mainline to be + // enumerated. + FirstParent bool `protobuf:"varint,7,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` + // After will only list commits which are more recent than the specified date. + After *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=after,proto3" json:"after,omitempty"` + // After will only list commits which are older than the specified date. + Before *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=before,proto3" json:"before,omitempty"` + // Author will only list commits whose author matches the given pattern, + // which is a regular expression. + Author []byte `protobuf:"bytes,10,opt,name=author,proto3" json:"author,omitempty"` +} + +func (x *ListCommitsRequest) Reset() { + *x = ListCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsRequest) ProtoMessage() {} + +func (x *ListCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsRequest.ProtoReflect.Descriptor instead. +func (*ListCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{0} +} + +func (x *ListCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListCommitsRequest) GetRevisions() []string { + if x != nil { + return x.Revisions + } + return nil +} + +func (x *ListCommitsRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams + } + return nil +} + +func (x *ListCommitsRequest) GetOrder() ListCommitsRequest_Order { + if x != nil { + return x.Order + } + return ListCommitsRequest_NONE +} + +func (x *ListCommitsRequest) GetReverse() bool { + if x != nil { + return x.Reverse + } + return false +} + +func (x *ListCommitsRequest) GetMaxParents() uint32 { + if x != nil { + return x.MaxParents + } + return 0 +} + +func (x *ListCommitsRequest) GetDisableWalk() bool { + if x != nil { + return x.DisableWalk + } + return false +} + +func (x *ListCommitsRequest) GetFirstParent() bool { + if x != nil { + return x.FirstParent + } + return false +} + +func (x *ListCommitsRequest) GetAfter() *timestamppb.Timestamp { + if x != nil { + return x.After + } + return nil +} + +func (x *ListCommitsRequest) GetBefore() *timestamppb.Timestamp { + if x != nil { + return x.Before + } + return nil +} + +func (x *ListCommitsRequest) GetAuthor() []byte { + if x != nil { + return x.Author + } + return nil +} + +// ListCommitsResponse is a response for the ListCommits RPC. +type ListCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Commits is the list of commits found. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *ListCommitsResponse) Reset() { + *x = ListCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsResponse) ProtoMessage() {} + +func (x *ListCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsResponse.ProtoReflect.Descriptor instead. +func (*ListCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{1} +} + +func (x *ListCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// ListAllCommitsRequest is a request for the ListAllCommits RPC. +type ListAllCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which commits should be searched for. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // PaginationParams allows implementation of pagination. The page token is + // the last commit OID that was sent. It's expected to be the full object ID + // to guard against ambigious OIDs. + PaginationParams *PaginationParameter `protobuf:"bytes,2,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` +} + +func (x *ListAllCommitsRequest) Reset() { + *x = ListAllCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllCommitsRequest) ProtoMessage() {} + +func (x *ListAllCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllCommitsRequest.ProtoReflect.Descriptor instead. +func (*ListAllCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{2} +} + +func (x *ListAllCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListAllCommitsRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams + } + return nil +} + +// ListAllCommitsResponse is a response for the ListAllCommits RPC. +type ListAllCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Commits is the list of commits found. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *ListAllCommitsResponse) Reset() { + *x = ListAllCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAllCommitsResponse) ProtoMessage() {} + +func (x *ListAllCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListAllCommitsResponse.ProtoReflect.Descriptor instead. +func (*ListAllCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{3} +} + +func (x *ListAllCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type CommitStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (x *CommitStatsRequest) Reset() { + *x = CommitStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitStatsRequest) ProtoMessage() {} + +func (x *CommitStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitStatsRequest.ProtoReflect.Descriptor instead. +func (*CommitStatsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{4} +} + +func (x *CommitStatsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitStatsRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +// This comment is left unintentionally blank. +type CommitStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OID is the commit. Empty means not found + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + // This comment is left unintentionally blank. + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + // This comment is left unintentionally blank. + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` +} + +func (x *CommitStatsResponse) Reset() { + *x = CommitStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitStatsResponse) ProtoMessage() {} + +func (x *CommitStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitStatsResponse.ProtoReflect.Descriptor instead. +func (*CommitStatsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{5} +} + +func (x *CommitStatsResponse) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *CommitStatsResponse) GetAdditions() int32 { + if x != nil { + return x.Additions + } + return 0 +} + +func (x *CommitStatsResponse) GetDeletions() int32 { + if x != nil { + return x.Deletions + } + return 0 +} + +// This comment is left unintentionally blank. +type CommitIsAncestorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` + // This comment is left unintentionally blank. + ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` +} + +func (x *CommitIsAncestorRequest) Reset() { + *x = CommitIsAncestorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitIsAncestorRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitIsAncestorRequest) ProtoMessage() {} + +func (x *CommitIsAncestorRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitIsAncestorRequest.ProtoReflect.Descriptor instead. +func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{6} +} + +func (x *CommitIsAncestorRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitIsAncestorRequest) GetAncestorId() string { + if x != nil { + return x.AncestorId + } + return "" +} + +func (x *CommitIsAncestorRequest) GetChildId() string { + if x != nil { + return x.ChildId + } + return "" +} + +// This comment is left unintentionally blank. +type CommitIsAncestorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *CommitIsAncestorResponse) Reset() { + *x = CommitIsAncestorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitIsAncestorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitIsAncestorResponse) ProtoMessage() {} + +func (x *CommitIsAncestorResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitIsAncestorResponse.ProtoReflect.Descriptor instead. +func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{7} +} + +func (x *CommitIsAncestorResponse) GetValue() bool { + if x != nil { + return x.Value + } + return false +} + +// This comment is left unintentionally blank. +type TreeEntryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // commit ID or refname + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // entry path relative to repository root + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // Limit is the maximum number of bytes to fetch. If object is bigger, remaining bytes are not sent + // 0 means there is no limit. + Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + // MaxSize is the maximum allowed object size. If bigger, a FailedPrecondition error is returned + // 0 means there is no maximum size. + MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` +} + +func (x *TreeEntryRequest) Reset() { + *x = TreeEntryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreeEntryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreeEntryRequest) ProtoMessage() {} + +func (x *TreeEntryRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreeEntryRequest.ProtoReflect.Descriptor instead. +func (*TreeEntryRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{8} +} + +func (x *TreeEntryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *TreeEntryRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *TreeEntryRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *TreeEntryRequest) GetLimit() int64 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *TreeEntryRequest) GetMaxSize() int64 { + if x != nil { + return x.MaxSize + } + return 0 +} + +// This comment is left unintentionally blank. +type TreeEntryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"` + // SHA1 object ID + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + // This comment is left unintentionally blank. + Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` + // file mode + Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` + // raw object contents + Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *TreeEntryResponse) Reset() { + *x = TreeEntryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreeEntryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreeEntryResponse) ProtoMessage() {} + +func (x *TreeEntryResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreeEntryResponse.ProtoReflect.Descriptor instead. +func (*TreeEntryResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{9} +} + +func (x *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { + if x != nil { + return x.Type + } + return TreeEntryResponse_COMMIT +} + +func (x *TreeEntryResponse) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *TreeEntryResponse) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *TreeEntryResponse) GetMode() int32 { + if x != nil { + return x.Mode + } + return 0 +} + +func (x *TreeEntryResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type CountCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + After *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` + // This comment is left unintentionally blank. + Before *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` + // all and revision are mutually exclusive + All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` + // This comment is left unintentionally blank. + FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` + // This comment is left unintentionally blank. + GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` +} + +func (x *CountCommitsRequest) Reset() { + *x = CountCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountCommitsRequest) ProtoMessage() {} + +func (x *CountCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountCommitsRequest.ProtoReflect.Descriptor instead. +func (*CountCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{10} +} + +func (x *CountCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CountCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *CountCommitsRequest) GetAfter() *timestamppb.Timestamp { + if x != nil { + return x.After + } + return nil +} + +func (x *CountCommitsRequest) GetBefore() *timestamppb.Timestamp { + if x != nil { + return x.Before + } + return nil +} + +func (x *CountCommitsRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *CountCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount + } + return 0 +} + +func (x *CountCommitsRequest) GetAll() bool { + if x != nil { + return x.All + } + return false +} + +func (x *CountCommitsRequest) GetFirstParent() bool { + if x != nil { + return x.FirstParent + } + return false +} + +func (x *CountCommitsRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions + } + return nil +} + +// This comment is left unintentionally blank. +type CountCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` +} + +func (x *CountCommitsResponse) Reset() { + *x = CountCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountCommitsResponse) ProtoMessage() {} + +func (x *CountCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountCommitsResponse.ProtoReflect.Descriptor instead. +func (*CountCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{11} +} + +func (x *CountCommitsResponse) GetCount() int32 { + if x != nil { + return x.Count + } + return 0 +} + +// This comment is left unintentionally blank. +type CountDivergingCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + // This comment is left unintentionally blank. + To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + // This comment is left unintentionally blank. + MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` +} + +func (x *CountDivergingCommitsRequest) Reset() { + *x = CountDivergingCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountDivergingCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountDivergingCommitsRequest) ProtoMessage() {} + +func (x *CountDivergingCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountDivergingCommitsRequest.ProtoReflect.Descriptor instead. +func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{12} +} + +func (x *CountDivergingCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CountDivergingCommitsRequest) GetFrom() []byte { + if x != nil { + return x.From + } + return nil +} + +func (x *CountDivergingCommitsRequest) GetTo() []byte { + if x != nil { + return x.To + } + return nil +} + +func (x *CountDivergingCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount + } + return 0 +} + +// This comment is left unintentionally blank. +type CountDivergingCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` + // This comment is left unintentionally blank. + RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` +} + +func (x *CountDivergingCommitsResponse) Reset() { + *x = CountDivergingCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CountDivergingCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CountDivergingCommitsResponse) ProtoMessage() {} + +func (x *CountDivergingCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CountDivergingCommitsResponse.ProtoReflect.Descriptor instead. +func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{13} +} + +func (x *CountDivergingCommitsResponse) GetLeftCount() int32 { + if x != nil { + return x.LeftCount + } + return 0 +} + +func (x *CountDivergingCommitsResponse) GetRightCount() int32 { + if x != nil { + return x.RightCount + } + return 0 +} + +// This comment is left unintentionally blank. +type TreeEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // OID of the object this tree entry points to + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + // OID of the tree attached to commit_oid + RootOid string `protobuf:"bytes,2,opt,name=root_oid,json=rootOid,proto3" json:"root_oid,omitempty"` + // Path relative to repository root + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Type TreeEntry_EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=gitaly.TreeEntry_EntryType" json:"type,omitempty"` + // File mode e.g. 0644 + Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + // The commit object via which this entry was retrieved + CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` + // Relative path of the first subdir that doesn't have only one directory descendant + FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` +} + +func (x *TreeEntry) Reset() { + *x = TreeEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TreeEntry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TreeEntry) ProtoMessage() {} + +func (x *TreeEntry) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead. +func (*TreeEntry) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{14} +} + +func (x *TreeEntry) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *TreeEntry) GetRootOid() string { + if x != nil { + return x.RootOid + } + return "" +} + +func (x *TreeEntry) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *TreeEntry) GetType() TreeEntry_EntryType { + if x != nil { + return x.Type + } + return TreeEntry_BLOB +} + +func (x *TreeEntry) GetMode() int32 { + if x != nil { + return x.Mode + } + return 0 +} + +func (x *TreeEntry) GetCommitOid() string { + if x != nil { + return x.CommitOid + } + return "" +} + +func (x *TreeEntry) GetFlatPath() []byte { + if x != nil { + return x.FlatPath + } + return nil +} + +// This comment is left unintentionally blank. +type GetTreeEntriesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` + // This comment is left unintentionally blank. + Sort GetTreeEntriesRequest_SortBy `protobuf:"varint,5,opt,name=sort,proto3,enum=gitaly.GetTreeEntriesRequest_SortBy" json:"sort,omitempty"` + // The page token is the last commit OID that was sent. It's expected to be the + // full object ID to guard against ambigious OIDs. + PaginationParams *PaginationParameter `protobuf:"bytes,6,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` +} + +func (x *GetTreeEntriesRequest) Reset() { + *x = GetTreeEntriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTreeEntriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTreeEntriesRequest) ProtoMessage() {} + +func (x *GetTreeEntriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTreeEntriesRequest.ProtoReflect.Descriptor instead. +func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{15} +} + +func (x *GetTreeEntriesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetTreeEntriesRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *GetTreeEntriesRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *GetTreeEntriesRequest) GetRecursive() bool { + if x != nil { + return x.Recursive + } + return false +} + +func (x *GetTreeEntriesRequest) GetSort() GetTreeEntriesRequest_SortBy { + if x != nil { + return x.Sort + } + return GetTreeEntriesRequest_DEFAULT +} + +func (x *GetTreeEntriesRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams + } + return nil +} + +// This comment is left unintentionally blank. +type GetTreeEntriesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` + // This comment is left unintentionally blank. + PaginationCursor *PaginationCursor `protobuf:"bytes,2,opt,name=pagination_cursor,json=paginationCursor,proto3" json:"pagination_cursor,omitempty"` +} + +func (x *GetTreeEntriesResponse) Reset() { + *x = GetTreeEntriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTreeEntriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTreeEntriesResponse) ProtoMessage() {} + +func (x *GetTreeEntriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTreeEntriesResponse.ProtoReflect.Descriptor instead. +func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{16} +} + +func (x *GetTreeEntriesResponse) GetEntries() []*TreeEntry { + if x != nil { + return x.Entries + } + return nil +} + +func (x *GetTreeEntriesResponse) GetPaginationCursor() *PaginationCursor { + if x != nil { + return x.PaginationCursor + } + return nil +} + +// This comment is left unintentionally blank. +type ListFilesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (x *ListFilesRequest) Reset() { + *x = ListFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListFilesRequest) ProtoMessage() {} + +func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. +func (*ListFilesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{17} +} + +func (x *ListFilesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListFilesRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +// A single 'page' of the paginated response +type ListFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Remember to force encoding utf-8 on the client side + Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` +} + +func (x *ListFilesResponse) Reset() { + *x = ListFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListFilesResponse) ProtoMessage() {} + +func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. +func (*ListFilesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{18} +} + +func (x *ListFilesResponse) GetPaths() [][]byte { + if x != nil { + return x.Paths + } + return nil +} + +// This comment is left unintentionally blank. +type FindCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` +} + +func (x *FindCommitRequest) Reset() { + *x = FindCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindCommitRequest) ProtoMessage() {} + +func (x *FindCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindCommitRequest.ProtoReflect.Descriptor instead. +func (*FindCommitRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{19} +} + +func (x *FindCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindCommitRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *FindCommitRequest) GetTrailers() bool { + if x != nil { + return x.Trailers + } + return false +} + +// This comment is left unintentionally blank. +type FindCommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // commit is nil when the commit was not found + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` +} + +func (x *FindCommitResponse) Reset() { + *x = FindCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindCommitResponse) ProtoMessage() {} + +func (x *FindCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindCommitResponse.ProtoReflect.Descriptor instead. +func (*FindCommitResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{20} +} + +func (x *FindCommitResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +// This comment is left unintentionally blank. +type ListCommitsByOidRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED +} + +func (x *ListCommitsByOidRequest) Reset() { + *x = ListCommitsByOidRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByOidRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByOidRequest) ProtoMessage() {} + +func (x *ListCommitsByOidRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByOidRequest.ProtoReflect.Descriptor instead. +func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{21} +} + +func (x *ListCommitsByOidRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListCommitsByOidRequest) GetOid() []string { + if x != nil { + return x.Oid + } + return nil +} + +// This comment is left unintentionally blank. +type ListCommitsByOidResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *ListCommitsByOidResponse) Reset() { + *x = ListCommitsByOidResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByOidResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByOidResponse) ProtoMessage() {} + +func (x *ListCommitsByOidResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByOidResponse.ProtoReflect.Descriptor instead. +func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{22} +} + +func (x *ListCommitsByOidResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type ListCommitsByRefNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` +} + +func (x *ListCommitsByRefNameRequest) Reset() { + *x = ListCommitsByRefNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByRefNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByRefNameRequest) ProtoMessage() {} + +func (x *ListCommitsByRefNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByRefNameRequest.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{23} +} + +func (x *ListCommitsByRefNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListCommitsByRefNameRequest) GetRefNames() [][]byte { + if x != nil { + return x.RefNames + } + return nil +} + +// This comment is left unintentionally blank. +type ListCommitsByRefNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` +} + +func (x *ListCommitsByRefNameResponse) Reset() { + *x = ListCommitsByRefNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByRefNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByRefNameResponse) ProtoMessage() {} + +func (x *ListCommitsByRefNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByRefNameResponse.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{24} +} + +func (x *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef { + if x != nil { + return x.CommitRefs + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // When nil, return all commits reachable by any branch in the repo + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` + // This comment is left unintentionally blank. + Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` + // This comment is left unintentionally blank. + Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` +} + +func (x *FindAllCommitsRequest) Reset() { + *x = FindAllCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllCommitsRequest) ProtoMessage() {} + +func (x *FindAllCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllCommitsRequest.ProtoReflect.Descriptor instead. +func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{25} +} + +func (x *FindAllCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindAllCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *FindAllCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount + } + return 0 +} + +func (x *FindAllCommitsRequest) GetSkip() int32 { + if x != nil { + return x.Skip + } + return 0 +} + +func (x *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { + if x != nil { + return x.Order + } + return FindAllCommitsRequest_NONE +} + +// A single 'page' of the result set +type FindAllCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *FindAllCommitsResponse) Reset() { + *x = FindAllCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllCommitsResponse) ProtoMessage() {} + +func (x *FindAllCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllCommitsResponse.ProtoReflect.Descriptor instead. +func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{26} +} + +func (x *FindAllCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type FindCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + // This comment is left unintentionally blank. + Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` + // This comment is left unintentionally blank. + Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` + // This comment is left unintentionally blank. + Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"` + // This comment is left unintentionally blank. + SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"` + // This comment is left unintentionally blank. + DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` + // This comment is left unintentionally blank. + After *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` + // This comment is left unintentionally blank. + Before *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"` + // all and revision are mutually exclusive + All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` + // This comment is left unintentionally blank. + FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` + // This comment is left unintentionally blank. + Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` + // This comment is left unintentionally blank. + Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` + // This comment is left unintentionally blank. + GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` + // This comment is left unintentionally blank. + Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` +} + +func (x *FindCommitsRequest) Reset() { + *x = FindCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindCommitsRequest) ProtoMessage() {} + +func (x *FindCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindCommitsRequest.ProtoReflect.Descriptor instead. +func (*FindCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{27} +} + +func (x *FindCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *FindCommitsRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *FindCommitsRequest) GetOffset() int32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *FindCommitsRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths + } + return nil +} + +func (x *FindCommitsRequest) GetFollow() bool { + if x != nil { + return x.Follow + } + return false +} + +func (x *FindCommitsRequest) GetSkipMerges() bool { + if x != nil { + return x.SkipMerges + } + return false +} + +func (x *FindCommitsRequest) GetDisableWalk() bool { + if x != nil { + return x.DisableWalk + } + return false +} + +func (x *FindCommitsRequest) GetAfter() *timestamppb.Timestamp { + if x != nil { + return x.After + } + return nil +} + +func (x *FindCommitsRequest) GetBefore() *timestamppb.Timestamp { + if x != nil { + return x.Before + } + return nil +} + +func (x *FindCommitsRequest) GetAll() bool { + if x != nil { + return x.All + } + return false +} + +func (x *FindCommitsRequest) GetFirstParent() bool { + if x != nil { + return x.FirstParent + } + return false +} + +func (x *FindCommitsRequest) GetAuthor() []byte { + if x != nil { + return x.Author + } + return nil +} + +func (x *FindCommitsRequest) GetOrder() FindCommitsRequest_Order { + if x != nil { + return x.Order + } + return FindCommitsRequest_NONE +} + +func (x *FindCommitsRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions + } + return nil +} + +func (x *FindCommitsRequest) GetTrailers() bool { + if x != nil { + return x.Trailers + } + return false +} + +// A single 'page' of the result set +type FindCommitsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *FindCommitsResponse) Reset() { + *x = FindCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindCommitsResponse) ProtoMessage() {} + +func (x *FindCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindCommitsResponse.ProtoReflect.Descriptor instead. +func (*FindCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{28} +} + +func (x *FindCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type CommitLanguagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (x *CommitLanguagesRequest) Reset() { + *x = CommitLanguagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitLanguagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitLanguagesRequest) ProtoMessage() {} + +func (x *CommitLanguagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitLanguagesRequest.ProtoReflect.Descriptor instead. +func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{29} +} + +func (x *CommitLanguagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitLanguagesRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +// This comment is left unintentionally blank. +type CommitLanguagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` +} + +func (x *CommitLanguagesResponse) Reset() { + *x = CommitLanguagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitLanguagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitLanguagesResponse) ProtoMessage() {} + +func (x *CommitLanguagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitLanguagesResponse.ProtoReflect.Descriptor instead. +func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{30} +} + +func (x *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { + if x != nil { + return x.Languages + } + return nil +} + +// This comment is left unintentionally blank. +type RawBlameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // Comma-separated range of line numbers to perform the blame on: "1,1000". + // Optional - if no range is provided, the whole file will be blamed. + Range []byte `protobuf:"bytes,4,opt,name=range,proto3" json:"range,omitempty"` +} + +func (x *RawBlameRequest) Reset() { + *x = RawBlameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawBlameRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawBlameRequest) ProtoMessage() {} + +func (x *RawBlameRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawBlameRequest.ProtoReflect.Descriptor instead. +func (*RawBlameRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{31} +} + +func (x *RawBlameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RawBlameRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *RawBlameRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *RawBlameRequest) GetRange() []byte { + if x != nil { + return x.Range + } + return nil +} + +// This comment is left unintentionally blank. +type RawBlameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *RawBlameResponse) Reset() { + *x = RawBlameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawBlameResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawBlameResponse) ProtoMessage() {} + +func (x *RawBlameResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawBlameResponse.ProtoReflect.Descriptor instead. +func (*RawBlameResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{32} +} + +func (x *RawBlameResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type LastCommitForPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + // This comment is left unintentionally blank. + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecate after Rails stops using this + // This comment is left unintentionally blank. + GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` +} + +func (x *LastCommitForPathRequest) Reset() { + *x = LastCommitForPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LastCommitForPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LastCommitForPathRequest) ProtoMessage() {} + +func (x *LastCommitForPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LastCommitForPathRequest.ProtoReflect.Descriptor instead. +func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{33} +} + +func (x *LastCommitForPathRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *LastCommitForPathRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *LastCommitForPathRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *LastCommitForPathRequest) GetLiteralPathspec() bool { + if x != nil { + return x.LiteralPathspec + } + return false +} + +func (x *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions + } + return nil +} + +// This comment is left unintentionally blank. +type LastCommitForPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // commit is nil when the commit was not found + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` +} + +func (x *LastCommitForPathResponse) Reset() { + *x = LastCommitForPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LastCommitForPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LastCommitForPathResponse) ProtoMessage() {} + +func (x *LastCommitForPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LastCommitForPathResponse.ProtoReflect.Descriptor instead. +func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{34} +} + +func (x *LastCommitForPathResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +// This comment is left unintentionally blank. +type ListLastCommitsForTreeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + // This comment is left unintentionally blank. + Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` + // This comment is left unintentionally blank. + // + // Deprecated: Do not use. + LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` + // This comment is left unintentionally blank. + GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` +} + +func (x *ListLastCommitsForTreeRequest) Reset() { + *x = ListLastCommitsForTreeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLastCommitsForTreeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLastCommitsForTreeRequest) ProtoMessage() {} + +func (x *ListLastCommitsForTreeRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLastCommitsForTreeRequest.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{35} +} + +func (x *ListLastCommitsForTreeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListLastCommitsForTreeRequest) GetRevision() string { + if x != nil { + return x.Revision + } + return "" +} + +func (x *ListLastCommitsForTreeRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *ListLastCommitsForTreeRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *ListLastCommitsForTreeRequest) GetOffset() int32 { + if x != nil { + return x.Offset + } + return 0 +} + +// Deprecated: Do not use. +func (x *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool { + if x != nil { + return x.LiteralPathspec + } + return false +} + +func (x *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions + } + return nil +} + +// This comment is left unintentionally blank. +type ListLastCommitsForTreeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *ListLastCommitsForTreeResponse) Reset() { + *x = ListLastCommitsForTreeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLastCommitsForTreeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLastCommitsForTreeResponse) ProtoMessage() {} + +func (x *ListLastCommitsForTreeResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLastCommitsForTreeResponse.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{36} +} + +func (x *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type CommitsByMessageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + // This comment is left unintentionally blank. + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` + // This comment is left unintentionally blank. + GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` +} + +func (x *CommitsByMessageRequest) Reset() { + *x = CommitsByMessageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitsByMessageRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitsByMessageRequest) ProtoMessage() {} + +func (x *CommitsByMessageRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitsByMessageRequest.ProtoReflect.Descriptor instead. +func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{37} +} + +func (x *CommitsByMessageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitsByMessageRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *CommitsByMessageRequest) GetOffset() int32 { + if x != nil { + return x.Offset + } + return 0 +} + +func (x *CommitsByMessageRequest) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *CommitsByMessageRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *CommitsByMessageRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions + } + return nil +} + +// One 'page' of the paginated response of CommitsByMessage +type CommitsByMessageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *CommitsByMessageResponse) Reset() { + *x = CommitsByMessageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitsByMessageResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitsByMessageResponse) ProtoMessage() {} + +func (x *CommitsByMessageResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitsByMessageResponse.ProtoReflect.Descriptor instead. +func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{38} +} + +func (x *CommitsByMessageResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits + } + return nil +} + +// This comment is left unintentionally blank. +type FilterShasWithSignaturesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` +} + +func (x *FilterShasWithSignaturesRequest) Reset() { + *x = FilterShasWithSignaturesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FilterShasWithSignaturesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FilterShasWithSignaturesRequest) ProtoMessage() {} + +func (x *FilterShasWithSignaturesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FilterShasWithSignaturesRequest.ProtoReflect.Descriptor instead. +func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{39} +} + +func (x *FilterShasWithSignaturesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FilterShasWithSignaturesRequest) GetShas() [][]byte { + if x != nil { + return x.Shas + } + return nil +} + +// This comment is left unintentionally blank. +type FilterShasWithSignaturesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` +} + +func (x *FilterShasWithSignaturesResponse) Reset() { + *x = FilterShasWithSignaturesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FilterShasWithSignaturesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FilterShasWithSignaturesResponse) ProtoMessage() {} + +func (x *FilterShasWithSignaturesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FilterShasWithSignaturesResponse.ProtoReflect.Descriptor instead. +func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{40} +} + +func (x *FilterShasWithSignaturesResponse) GetShas() [][]byte { + if x != nil { + return x.Shas + } + return nil +} + +// This comment is left unintentionally blank. +type ExtractCommitSignatureRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` +} + +func (x *ExtractCommitSignatureRequest) Reset() { + *x = ExtractCommitSignatureRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtractCommitSignatureRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtractCommitSignatureRequest) ProtoMessage() {} + +func (x *ExtractCommitSignatureRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtractCommitSignatureRequest.ProtoReflect.Descriptor instead. +func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{41} +} + +func (x *ExtractCommitSignatureRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ExtractCommitSignatureRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +// Either of the 'signature' and 'signed_text' fields may be present. It +// is up to the caller to stitch them together. +type ExtractCommitSignatureResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + // This comment is left unintentionally blank. + SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` +} + +func (x *ExtractCommitSignatureResponse) Reset() { + *x = ExtractCommitSignatureResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtractCommitSignatureResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtractCommitSignatureResponse) ProtoMessage() {} + +func (x *ExtractCommitSignatureResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtractCommitSignatureResponse.ProtoReflect.Descriptor instead. +func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{42} +} + +func (x *ExtractCommitSignatureResponse) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *ExtractCommitSignatureResponse) GetSignedText() []byte { + if x != nil { + return x.SignedText + } + return nil +} + +// This comment is left unintentionally blank. +type GetCommitSignaturesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` +} + +func (x *GetCommitSignaturesRequest) Reset() { + *x = GetCommitSignaturesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCommitSignaturesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCommitSignaturesRequest) ProtoMessage() {} + +func (x *GetCommitSignaturesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitSignaturesRequest.ProtoReflect.Descriptor instead. +func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{43} +} + +func (x *GetCommitSignaturesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetCommitSignaturesRequest) GetCommitIds() []string { + if x != nil { + return x.CommitIds + } + return nil +} + +// This comment is left unintentionally blank. +type GetCommitSignaturesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Only present for a new commit signature data. + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // See ExtractCommitSignatureResponse above for how these fields should be handled. + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + // This comment is left unintentionally blank. + SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` +} + +func (x *GetCommitSignaturesResponse) Reset() { + *x = GetCommitSignaturesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCommitSignaturesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCommitSignaturesResponse) ProtoMessage() {} + +func (x *GetCommitSignaturesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitSignaturesResponse.ProtoReflect.Descriptor instead. +func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{44} +} + +func (x *GetCommitSignaturesResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *GetCommitSignaturesResponse) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *GetCommitSignaturesResponse) GetSignedText() []byte { + if x != nil { + return x.SignedText + } + return nil +} + +// This comment is left unintentionally blank. +type GetCommitMessagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` +} + +func (x *GetCommitMessagesRequest) Reset() { + *x = GetCommitMessagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCommitMessagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCommitMessagesRequest) ProtoMessage() {} + +func (x *GetCommitMessagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitMessagesRequest.ProtoReflect.Descriptor instead. +func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{45} +} + +func (x *GetCommitMessagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetCommitMessagesRequest) GetCommitIds() []string { + if x != nil { + return x.CommitIds + } + return nil +} + +// This comment is left unintentionally blank. +type GetCommitMessagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Only present for a new commit message + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // This comment is left unintentionally blank. + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *GetCommitMessagesResponse) Reset() { + *x = GetCommitMessagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCommitMessagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCommitMessagesResponse) ProtoMessage() {} + +func (x *GetCommitMessagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitMessagesResponse.ProtoReflect.Descriptor instead. +func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{46} +} + +func (x *GetCommitMessagesResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *GetCommitMessagesResponse) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +// CheckObjectsExistRequest is a request for the CheckObjectsExist RPC. Only +// the initial request must contain a repository, the repository of all +// subsequent requests will be ignored. +type CheckObjectsExistRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which existence of objects and refs + // are checked. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Revisions contains the revisions that shall be checked for existence. This accepts all revisions + // as documented in gitrevisions(7) + Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` +} + +func (x *CheckObjectsExistRequest) Reset() { + *x = CheckObjectsExistRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckObjectsExistRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckObjectsExistRequest) ProtoMessage() {} + +func (x *CheckObjectsExistRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckObjectsExistRequest.ProtoReflect.Descriptor instead. +func (*CheckObjectsExistRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{47} +} + +func (x *CheckObjectsExistRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CheckObjectsExistRequest) GetRevisions() [][]byte { + if x != nil { + return x.Revisions + } + return nil +} + +// This comment is left unintentionally blank. +type CheckObjectsExistResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Revisions []*CheckObjectsExistResponse_RevisionExistence `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` +} + +func (x *CheckObjectsExistResponse) Reset() { + *x = CheckObjectsExistResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckObjectsExistResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckObjectsExistResponse) ProtoMessage() {} + +func (x *CheckObjectsExistResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckObjectsExistResponse.ProtoReflect.Descriptor instead. +func (*CheckObjectsExistResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{48} +} + +func (x *CheckObjectsExistResponse) GetRevisions() []*CheckObjectsExistResponse_RevisionExistence { + if x != nil { + return x.Revisions + } + return nil +} + +// This comment is left unintentionally blank. +type ListCommitsByRefNameResponse_CommitForRef struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + // This comment is left unintentionally blank. + RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) Reset() { + *x = ListCommitsByRefNameResponse_CommitForRef{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage() {} + +func (x *ListCommitsByRefNameResponse_CommitForRef) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByRefNameResponse_CommitForRef.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{24, 0} +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte { + if x != nil { + return x.RefName + } + return nil +} + +// This comment is left unintentionally blank. +type CommitLanguagesResponse_Language struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` + // This comment is left unintentionally blank. + Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` + // This comment is left unintentionally blank. + FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` + // This comment is left unintentionally blank. + Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` +} + +func (x *CommitLanguagesResponse_Language) Reset() { + *x = CommitLanguagesResponse_Language{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitLanguagesResponse_Language) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitLanguagesResponse_Language) ProtoMessage() {} + +func (x *CommitLanguagesResponse_Language) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitLanguagesResponse_Language.ProtoReflect.Descriptor instead. +func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{30, 0} +} + +func (x *CommitLanguagesResponse_Language) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CommitLanguagesResponse_Language) GetShare() float32 { + if x != nil { + return x.Share + } + return 0 +} + +func (x *CommitLanguagesResponse_Language) GetColor() string { + if x != nil { + return x.Color + } + return "" +} + +func (x *CommitLanguagesResponse_Language) GetFileCount() uint32 { + if x != nil { + return x.FileCount + } + return 0 +} + +func (x *CommitLanguagesResponse_Language) GetBytes() uint64 { + if x != nil { + return x.Bytes + } + return 0 +} + +// This comment is left unintentionally blank. +type ListLastCommitsForTreeResponse_CommitForTree struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + // This comment is left unintentionally blank. + PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset() { + *x = ListLastCommitsForTreeResponse_CommitForTree{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLastCommitsForTreeResponse_CommitForTree.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{36, 0} +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { + if x != nil { + return x.PathBytes + } + return nil +} + +// This comment is left unintentionally blank. +type CheckObjectsExistResponse_RevisionExistence struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` +} + +func (x *CheckObjectsExistResponse_RevisionExistence) Reset() { + *x = CheckObjectsExistResponse_RevisionExistence{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckObjectsExistResponse_RevisionExistence) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckObjectsExistResponse_RevisionExistence) ProtoMessage() {} + +func (x *CheckObjectsExistResponse_RevisionExistence) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckObjectsExistResponse_RevisionExistence.ProtoReflect.Descriptor instead. +func (*CheckObjectsExistResponse_RevisionExistence) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{48, 0} +} + +func (x *CheckObjectsExistResponse_RevisionExistence) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *CheckObjectsExistResponse_RevisionExistence) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +var File_commit_proto protoreflect.FileDescriptor + +var file_commit_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x94, 0x04, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x05, 0x6f, 0x72, + 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, + 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, + 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x61, 0x6c, 0x6b, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x61, 0x6c, 0x6b, + 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, + 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x22, 0x25, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x12, 0x08, + 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x22, 0x42, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, + 0x15, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x45, 0x0a, 0x16, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x22, 0x6a, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, + 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x69, + 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x69, + 0x6c, 0x64, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, + 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x65, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x65, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, + 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x03, 0x22, 0xf5, 0x02, 0x0a, 0x13, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, + 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, + 0x6c, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, + 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x2c, 0x0a, 0x14, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0xab, 0x01, 0x0a, 0x1c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, + 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, + 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, + 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, + 0x5f, 0x0a, 0x1d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x22, 0xfa, 0x01, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, + 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6f, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, + 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x4f, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x6c, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, + 0x22, 0x2b, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, + 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, 0x10, + 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x22, 0xcb, 0x02, + 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, + 0x38, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, + 0x74, 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, + 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x22, 0x26, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x0b, 0x0a, + 0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x52, + 0x45, 0x45, 0x53, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x10, 0x01, 0x22, 0x8c, 0x01, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, + 0x69, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x68, 0x0a, 0x10, 0x4c, 0x69, + 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, + 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, + 0x85, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x74, + 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, + 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x3f, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, + 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x65, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, + 0x47, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, + 0x4f, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x74, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xce, + 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, + 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x52, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x66, 0x73, 0x1a, 0x54, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, + 0x52, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x19, + 0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, + 0x80, 0x02, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, + 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x25, 0x0a, 0x05, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, + 0x10, 0x02, 0x22, 0x45, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0xec, 0x04, 0x0a, 0x12, 0x46, 0x69, + 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, + 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, + 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f, 0x6c, 0x6c, + 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, + 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x6b, 0x69, 0x70, 0x4d, 0x65, 0x72, + 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x77, + 0x61, 0x6c, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x57, 0x61, 0x6c, 0x6b, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, + 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, + 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, + 0x61, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x21, + 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x36, 0x0a, 0x05, 0x6f, 0x72, 0x64, + 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, + 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x1b, 0x0a, 0x05, 0x4f, + 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x22, 0x42, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x6e, 0x0a, 0x16, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xe2, 0x01, 0x0a, + 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x67, + 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, + 0x1a, 0x7f, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, + 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x14, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x72, 0x61, 0x6e, 0x67, 0x65, 0x22, 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xed, 0x01, + 0x0a, 0x18, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, + 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, + 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x46, 0x0a, + 0x19, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, + 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0xa4, 0x02, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, + 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, + 0x2d, 0x0a, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x6c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, + 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd7, 0x01, 0x0a, + 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, + 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x1a, + 0x65, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, + 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x70, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, + 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x85, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, + 0x65, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, + 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x47, + 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x1f, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, 0x22, 0x36, 0x0a, 0x20, 0x46, 0x69, 0x6c, 0x74, + 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x68, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, + 0x22, 0x76, 0x0a, 0x1d, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x75, 0x0a, 0x1a, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, + 0x22, 0x79, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, + 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, + 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x73, 0x0a, 0x18, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, + 0x22, 0x52, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0x72, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x19, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x32, 0xf1, 0x10, 0x0a, 0x0d, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0b, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, + 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, + 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, + 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4a, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, + 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x6c, 0x0a, 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, + 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, + 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, + 0x12, 0x4a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x18, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, + 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4e, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x59, 0x0a, 0x0e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x12, 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x12, 0x17, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x11, 0x4c, + 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x61, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x71, 0x0a, + 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, + 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, + 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x42, 0x79, 0x4f, 0x69, 0x64, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, + 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x79, 0x0a, 0x18, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, + 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x27, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, + 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, + 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x73, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x11, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x73, 0x45, 0x78, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, + 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, + 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, + 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commit_proto_rawDescOnce sync.Once + file_commit_proto_rawDescData = file_commit_proto_rawDesc +) + +func file_commit_proto_rawDescGZIP() []byte { + file_commit_proto_rawDescOnce.Do(func() { + file_commit_proto_rawDescData = protoimpl.X.CompressGZIP(file_commit_proto_rawDescData) + }) + return file_commit_proto_rawDescData +} + +var file_commit_proto_enumTypes = make([]protoimpl.EnumInfo, 6) +var file_commit_proto_msgTypes = make([]protoimpl.MessageInfo, 53) +var file_commit_proto_goTypes = []interface{}{ + (ListCommitsRequest_Order)(0), // 0: gitaly.ListCommitsRequest.Order + (TreeEntryResponse_ObjectType)(0), // 1: gitaly.TreeEntryResponse.ObjectType + (TreeEntry_EntryType)(0), // 2: gitaly.TreeEntry.EntryType + (GetTreeEntriesRequest_SortBy)(0), // 3: gitaly.GetTreeEntriesRequest.SortBy + (FindAllCommitsRequest_Order)(0), // 4: gitaly.FindAllCommitsRequest.Order + (FindCommitsRequest_Order)(0), // 5: gitaly.FindCommitsRequest.Order + (*ListCommitsRequest)(nil), // 6: gitaly.ListCommitsRequest + (*ListCommitsResponse)(nil), // 7: gitaly.ListCommitsResponse + (*ListAllCommitsRequest)(nil), // 8: gitaly.ListAllCommitsRequest + (*ListAllCommitsResponse)(nil), // 9: gitaly.ListAllCommitsResponse + (*CommitStatsRequest)(nil), // 10: gitaly.CommitStatsRequest + (*CommitStatsResponse)(nil), // 11: gitaly.CommitStatsResponse + (*CommitIsAncestorRequest)(nil), // 12: gitaly.CommitIsAncestorRequest + (*CommitIsAncestorResponse)(nil), // 13: gitaly.CommitIsAncestorResponse + (*TreeEntryRequest)(nil), // 14: gitaly.TreeEntryRequest + (*TreeEntryResponse)(nil), // 15: gitaly.TreeEntryResponse + (*CountCommitsRequest)(nil), // 16: gitaly.CountCommitsRequest + (*CountCommitsResponse)(nil), // 17: gitaly.CountCommitsResponse + (*CountDivergingCommitsRequest)(nil), // 18: gitaly.CountDivergingCommitsRequest + (*CountDivergingCommitsResponse)(nil), // 19: gitaly.CountDivergingCommitsResponse + (*TreeEntry)(nil), // 20: gitaly.TreeEntry + (*GetTreeEntriesRequest)(nil), // 21: gitaly.GetTreeEntriesRequest + (*GetTreeEntriesResponse)(nil), // 22: gitaly.GetTreeEntriesResponse + (*ListFilesRequest)(nil), // 23: gitaly.ListFilesRequest + (*ListFilesResponse)(nil), // 24: gitaly.ListFilesResponse + (*FindCommitRequest)(nil), // 25: gitaly.FindCommitRequest + (*FindCommitResponse)(nil), // 26: gitaly.FindCommitResponse + (*ListCommitsByOidRequest)(nil), // 27: gitaly.ListCommitsByOidRequest + (*ListCommitsByOidResponse)(nil), // 28: gitaly.ListCommitsByOidResponse + (*ListCommitsByRefNameRequest)(nil), // 29: gitaly.ListCommitsByRefNameRequest + (*ListCommitsByRefNameResponse)(nil), // 30: gitaly.ListCommitsByRefNameResponse + (*FindAllCommitsRequest)(nil), // 31: gitaly.FindAllCommitsRequest + (*FindAllCommitsResponse)(nil), // 32: gitaly.FindAllCommitsResponse + (*FindCommitsRequest)(nil), // 33: gitaly.FindCommitsRequest + (*FindCommitsResponse)(nil), // 34: gitaly.FindCommitsResponse + (*CommitLanguagesRequest)(nil), // 35: gitaly.CommitLanguagesRequest + (*CommitLanguagesResponse)(nil), // 36: gitaly.CommitLanguagesResponse + (*RawBlameRequest)(nil), // 37: gitaly.RawBlameRequest + (*RawBlameResponse)(nil), // 38: gitaly.RawBlameResponse + (*LastCommitForPathRequest)(nil), // 39: gitaly.LastCommitForPathRequest + (*LastCommitForPathResponse)(nil), // 40: gitaly.LastCommitForPathResponse + (*ListLastCommitsForTreeRequest)(nil), // 41: gitaly.ListLastCommitsForTreeRequest + (*ListLastCommitsForTreeResponse)(nil), // 42: gitaly.ListLastCommitsForTreeResponse + (*CommitsByMessageRequest)(nil), // 43: gitaly.CommitsByMessageRequest + (*CommitsByMessageResponse)(nil), // 44: gitaly.CommitsByMessageResponse + (*FilterShasWithSignaturesRequest)(nil), // 45: gitaly.FilterShasWithSignaturesRequest + (*FilterShasWithSignaturesResponse)(nil), // 46: gitaly.FilterShasWithSignaturesResponse + (*ExtractCommitSignatureRequest)(nil), // 47: gitaly.ExtractCommitSignatureRequest + (*ExtractCommitSignatureResponse)(nil), // 48: gitaly.ExtractCommitSignatureResponse + (*GetCommitSignaturesRequest)(nil), // 49: gitaly.GetCommitSignaturesRequest + (*GetCommitSignaturesResponse)(nil), // 50: gitaly.GetCommitSignaturesResponse + (*GetCommitMessagesRequest)(nil), // 51: gitaly.GetCommitMessagesRequest + (*GetCommitMessagesResponse)(nil), // 52: gitaly.GetCommitMessagesResponse + (*CheckObjectsExistRequest)(nil), // 53: gitaly.CheckObjectsExistRequest + (*CheckObjectsExistResponse)(nil), // 54: gitaly.CheckObjectsExistResponse + (*ListCommitsByRefNameResponse_CommitForRef)(nil), // 55: gitaly.ListCommitsByRefNameResponse.CommitForRef + (*CommitLanguagesResponse_Language)(nil), // 56: gitaly.CommitLanguagesResponse.Language + (*ListLastCommitsForTreeResponse_CommitForTree)(nil), // 57: gitaly.ListLastCommitsForTreeResponse.CommitForTree + (*CheckObjectsExistResponse_RevisionExistence)(nil), // 58: gitaly.CheckObjectsExistResponse.RevisionExistence + (*Repository)(nil), // 59: gitaly.Repository + (*PaginationParameter)(nil), // 60: gitaly.PaginationParameter + (*timestamppb.Timestamp)(nil), // 61: google.protobuf.Timestamp + (*GitCommit)(nil), // 62: gitaly.GitCommit + (*GlobalOptions)(nil), // 63: gitaly.GlobalOptions + (*PaginationCursor)(nil), // 64: gitaly.PaginationCursor +} +var file_commit_proto_depIdxs = []int32{ + 59, // 0: gitaly.ListCommitsRequest.repository:type_name -> gitaly.Repository + 60, // 1: gitaly.ListCommitsRequest.pagination_params:type_name -> gitaly.PaginationParameter + 0, // 2: gitaly.ListCommitsRequest.order:type_name -> gitaly.ListCommitsRequest.Order + 61, // 3: gitaly.ListCommitsRequest.after:type_name -> google.protobuf.Timestamp + 61, // 4: gitaly.ListCommitsRequest.before:type_name -> google.protobuf.Timestamp + 62, // 5: gitaly.ListCommitsResponse.commits:type_name -> gitaly.GitCommit + 59, // 6: gitaly.ListAllCommitsRequest.repository:type_name -> gitaly.Repository + 60, // 7: gitaly.ListAllCommitsRequest.pagination_params:type_name -> gitaly.PaginationParameter + 62, // 8: gitaly.ListAllCommitsResponse.commits:type_name -> gitaly.GitCommit + 59, // 9: gitaly.CommitStatsRequest.repository:type_name -> gitaly.Repository + 59, // 10: gitaly.CommitIsAncestorRequest.repository:type_name -> gitaly.Repository + 59, // 11: gitaly.TreeEntryRequest.repository:type_name -> gitaly.Repository + 1, // 12: gitaly.TreeEntryResponse.type:type_name -> gitaly.TreeEntryResponse.ObjectType + 59, // 13: gitaly.CountCommitsRequest.repository:type_name -> gitaly.Repository + 61, // 14: gitaly.CountCommitsRequest.after:type_name -> google.protobuf.Timestamp + 61, // 15: gitaly.CountCommitsRequest.before:type_name -> google.protobuf.Timestamp + 63, // 16: gitaly.CountCommitsRequest.global_options:type_name -> gitaly.GlobalOptions + 59, // 17: gitaly.CountDivergingCommitsRequest.repository:type_name -> gitaly.Repository + 2, // 18: gitaly.TreeEntry.type:type_name -> gitaly.TreeEntry.EntryType + 59, // 19: gitaly.GetTreeEntriesRequest.repository:type_name -> gitaly.Repository + 3, // 20: gitaly.GetTreeEntriesRequest.sort:type_name -> gitaly.GetTreeEntriesRequest.SortBy + 60, // 21: gitaly.GetTreeEntriesRequest.pagination_params:type_name -> gitaly.PaginationParameter + 20, // 22: gitaly.GetTreeEntriesResponse.entries:type_name -> gitaly.TreeEntry + 64, // 23: gitaly.GetTreeEntriesResponse.pagination_cursor:type_name -> gitaly.PaginationCursor + 59, // 24: gitaly.ListFilesRequest.repository:type_name -> gitaly.Repository + 59, // 25: gitaly.FindCommitRequest.repository:type_name -> gitaly.Repository + 62, // 26: gitaly.FindCommitResponse.commit:type_name -> gitaly.GitCommit + 59, // 27: gitaly.ListCommitsByOidRequest.repository:type_name -> gitaly.Repository + 62, // 28: gitaly.ListCommitsByOidResponse.commits:type_name -> gitaly.GitCommit + 59, // 29: gitaly.ListCommitsByRefNameRequest.repository:type_name -> gitaly.Repository + 55, // 30: gitaly.ListCommitsByRefNameResponse.commit_refs:type_name -> gitaly.ListCommitsByRefNameResponse.CommitForRef + 59, // 31: gitaly.FindAllCommitsRequest.repository:type_name -> gitaly.Repository + 4, // 32: gitaly.FindAllCommitsRequest.order:type_name -> gitaly.FindAllCommitsRequest.Order + 62, // 33: gitaly.FindAllCommitsResponse.commits:type_name -> gitaly.GitCommit + 59, // 34: gitaly.FindCommitsRequest.repository:type_name -> gitaly.Repository + 61, // 35: gitaly.FindCommitsRequest.after:type_name -> google.protobuf.Timestamp + 61, // 36: gitaly.FindCommitsRequest.before:type_name -> google.protobuf.Timestamp + 5, // 37: gitaly.FindCommitsRequest.order:type_name -> gitaly.FindCommitsRequest.Order + 63, // 38: gitaly.FindCommitsRequest.global_options:type_name -> gitaly.GlobalOptions + 62, // 39: gitaly.FindCommitsResponse.commits:type_name -> gitaly.GitCommit + 59, // 40: gitaly.CommitLanguagesRequest.repository:type_name -> gitaly.Repository + 56, // 41: gitaly.CommitLanguagesResponse.languages:type_name -> gitaly.CommitLanguagesResponse.Language + 59, // 42: gitaly.RawBlameRequest.repository:type_name -> gitaly.Repository + 59, // 43: gitaly.LastCommitForPathRequest.repository:type_name -> gitaly.Repository + 63, // 44: gitaly.LastCommitForPathRequest.global_options:type_name -> gitaly.GlobalOptions + 62, // 45: gitaly.LastCommitForPathResponse.commit:type_name -> gitaly.GitCommit + 59, // 46: gitaly.ListLastCommitsForTreeRequest.repository:type_name -> gitaly.Repository + 63, // 47: gitaly.ListLastCommitsForTreeRequest.global_options:type_name -> gitaly.GlobalOptions + 57, // 48: gitaly.ListLastCommitsForTreeResponse.commits:type_name -> gitaly.ListLastCommitsForTreeResponse.CommitForTree + 59, // 49: gitaly.CommitsByMessageRequest.repository:type_name -> gitaly.Repository + 63, // 50: gitaly.CommitsByMessageRequest.global_options:type_name -> gitaly.GlobalOptions + 62, // 51: gitaly.CommitsByMessageResponse.commits:type_name -> gitaly.GitCommit + 59, // 52: gitaly.FilterShasWithSignaturesRequest.repository:type_name -> gitaly.Repository + 59, // 53: gitaly.ExtractCommitSignatureRequest.repository:type_name -> gitaly.Repository + 59, // 54: gitaly.GetCommitSignaturesRequest.repository:type_name -> gitaly.Repository + 59, // 55: gitaly.GetCommitMessagesRequest.repository:type_name -> gitaly.Repository + 59, // 56: gitaly.CheckObjectsExistRequest.repository:type_name -> gitaly.Repository + 58, // 57: gitaly.CheckObjectsExistResponse.revisions:type_name -> gitaly.CheckObjectsExistResponse.RevisionExistence + 62, // 58: gitaly.ListCommitsByRefNameResponse.CommitForRef.commit:type_name -> gitaly.GitCommit + 62, // 59: gitaly.ListLastCommitsForTreeResponse.CommitForTree.commit:type_name -> gitaly.GitCommit + 6, // 60: gitaly.CommitService.ListCommits:input_type -> gitaly.ListCommitsRequest + 8, // 61: gitaly.CommitService.ListAllCommits:input_type -> gitaly.ListAllCommitsRequest + 12, // 62: gitaly.CommitService.CommitIsAncestor:input_type -> gitaly.CommitIsAncestorRequest + 14, // 63: gitaly.CommitService.TreeEntry:input_type -> gitaly.TreeEntryRequest + 16, // 64: gitaly.CommitService.CountCommits:input_type -> gitaly.CountCommitsRequest + 18, // 65: gitaly.CommitService.CountDivergingCommits:input_type -> gitaly.CountDivergingCommitsRequest + 21, // 66: gitaly.CommitService.GetTreeEntries:input_type -> gitaly.GetTreeEntriesRequest + 23, // 67: gitaly.CommitService.ListFiles:input_type -> gitaly.ListFilesRequest + 25, // 68: gitaly.CommitService.FindCommit:input_type -> gitaly.FindCommitRequest + 10, // 69: gitaly.CommitService.CommitStats:input_type -> gitaly.CommitStatsRequest + 31, // 70: gitaly.CommitService.FindAllCommits:input_type -> gitaly.FindAllCommitsRequest + 33, // 71: gitaly.CommitService.FindCommits:input_type -> gitaly.FindCommitsRequest + 35, // 72: gitaly.CommitService.CommitLanguages:input_type -> gitaly.CommitLanguagesRequest + 37, // 73: gitaly.CommitService.RawBlame:input_type -> gitaly.RawBlameRequest + 39, // 74: gitaly.CommitService.LastCommitForPath:input_type -> gitaly.LastCommitForPathRequest + 41, // 75: gitaly.CommitService.ListLastCommitsForTree:input_type -> gitaly.ListLastCommitsForTreeRequest + 43, // 76: gitaly.CommitService.CommitsByMessage:input_type -> gitaly.CommitsByMessageRequest + 27, // 77: gitaly.CommitService.ListCommitsByOid:input_type -> gitaly.ListCommitsByOidRequest + 29, // 78: gitaly.CommitService.ListCommitsByRefName:input_type -> gitaly.ListCommitsByRefNameRequest + 45, // 79: gitaly.CommitService.FilterShasWithSignatures:input_type -> gitaly.FilterShasWithSignaturesRequest + 49, // 80: gitaly.CommitService.GetCommitSignatures:input_type -> gitaly.GetCommitSignaturesRequest + 51, // 81: gitaly.CommitService.GetCommitMessages:input_type -> gitaly.GetCommitMessagesRequest + 53, // 82: gitaly.CommitService.CheckObjectsExist:input_type -> gitaly.CheckObjectsExistRequest + 7, // 83: gitaly.CommitService.ListCommits:output_type -> gitaly.ListCommitsResponse + 9, // 84: gitaly.CommitService.ListAllCommits:output_type -> gitaly.ListAllCommitsResponse + 13, // 85: gitaly.CommitService.CommitIsAncestor:output_type -> gitaly.CommitIsAncestorResponse + 15, // 86: gitaly.CommitService.TreeEntry:output_type -> gitaly.TreeEntryResponse + 17, // 87: gitaly.CommitService.CountCommits:output_type -> gitaly.CountCommitsResponse + 19, // 88: gitaly.CommitService.CountDivergingCommits:output_type -> gitaly.CountDivergingCommitsResponse + 22, // 89: gitaly.CommitService.GetTreeEntries:output_type -> gitaly.GetTreeEntriesResponse + 24, // 90: gitaly.CommitService.ListFiles:output_type -> gitaly.ListFilesResponse + 26, // 91: gitaly.CommitService.FindCommit:output_type -> gitaly.FindCommitResponse + 11, // 92: gitaly.CommitService.CommitStats:output_type -> gitaly.CommitStatsResponse + 32, // 93: gitaly.CommitService.FindAllCommits:output_type -> gitaly.FindAllCommitsResponse + 34, // 94: gitaly.CommitService.FindCommits:output_type -> gitaly.FindCommitsResponse + 36, // 95: gitaly.CommitService.CommitLanguages:output_type -> gitaly.CommitLanguagesResponse + 38, // 96: gitaly.CommitService.RawBlame:output_type -> gitaly.RawBlameResponse + 40, // 97: gitaly.CommitService.LastCommitForPath:output_type -> gitaly.LastCommitForPathResponse + 42, // 98: gitaly.CommitService.ListLastCommitsForTree:output_type -> gitaly.ListLastCommitsForTreeResponse + 44, // 99: gitaly.CommitService.CommitsByMessage:output_type -> gitaly.CommitsByMessageResponse + 28, // 100: gitaly.CommitService.ListCommitsByOid:output_type -> gitaly.ListCommitsByOidResponse + 30, // 101: gitaly.CommitService.ListCommitsByRefName:output_type -> gitaly.ListCommitsByRefNameResponse + 46, // 102: gitaly.CommitService.FilterShasWithSignatures:output_type -> gitaly.FilterShasWithSignaturesResponse + 50, // 103: gitaly.CommitService.GetCommitSignatures:output_type -> gitaly.GetCommitSignaturesResponse + 52, // 104: gitaly.CommitService.GetCommitMessages:output_type -> gitaly.GetCommitMessagesResponse + 54, // 105: gitaly.CommitService.CheckObjectsExist:output_type -> gitaly.CheckObjectsExistResponse + 83, // [83:106] is the sub-list for method output_type + 60, // [60:83] is the sub-list for method input_type + 60, // [60:60] is the sub-list for extension type_name + 60, // [60:60] is the sub-list for extension extendee + 0, // [0:60] is the sub-list for field type_name +} + +func init() { file_commit_proto_init() } +func file_commit_proto_init() { + if File_commit_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_commit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitIsAncestorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitIsAncestorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountDivergingCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountDivergingCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTreeEntriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTreeEntriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByOidRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByOidResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawBlameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawBlameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LastCommitForPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LastCommitForPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsByMessageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsByMessageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterShasWithSignaturesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterShasWithSignaturesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtractCommitSignatureRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtractCommitSignatureResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitSignaturesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitSignaturesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitMessagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitMessagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckObjectsExistRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckObjectsExistResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameResponse_CommitForRef); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesResponse_Language); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeResponse_CommitForTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckObjectsExistResponse_RevisionExistence); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commit_proto_rawDesc, + NumEnums: 6, + NumMessages: 53, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_commit_proto_goTypes, + DependencyIndexes: file_commit_proto_depIdxs, + EnumInfos: file_commit_proto_enumTypes, + MessageInfos: file_commit_proto_msgTypes, + }.Build() + File_commit_proto = out.File + file_commit_proto_rawDesc = nil + file_commit_proto_goTypes = nil + file_commit_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/commit_grpc.pb.go b/v14/proto/go/gitalypb/commit_grpc.pb.go new file mode 100644 index 000000000..54ce4ad3f --- /dev/null +++ b/v14/proto/go/gitalypb/commit_grpc.pb.go @@ -0,0 +1,1394 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// CommitServiceClient is the client API for CommitService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type CommitServiceClient interface { + // ListCommits lists all commits reachable via a set of references by doing a + // graph walk. This deprecates FindAllCommits and FindCommits (except Follow + // is not yet supported). Any unknown revisions will cause the RPC to fail. + ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (CommitService_ListCommitsClient, error) + // ListAllCommits lists all commits present in the repository, including + // those not reachable by any reference. + ListAllCommits(ctx context.Context, in *ListAllCommitsRequest, opts ...grpc.CallOption) (CommitService_ListAllCommitsClient, error) + // This comment is left unintentionally blank. + CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) + // This comment is left unintentionally blank. + TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) + // This comment is left unintentionally blank. + CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) + // This comment is left unintentionally blank. + CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) + // This comment is left unintentionally blank. + GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) + // This comment is left unintentionally blank. + ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) + // This comment is left unintentionally blank. + FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) + // This comment is left unintentionally blank. + CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) + // Use a stream to paginate the result set + FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) + // This comment is left unintentionally blank. + FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) + // This comment is left unintentionally blank. + CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) + // This comment is left unintentionally blank. + RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) + // This comment is left unintentionally blank. + LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) + // This comment is left unintentionally blank. + ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) + // This comment is left unintentionally blank. + CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) + // This comment is left unintentionally blank. + ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) + // This comment is left unintentionally blank. + ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) + // This comment is left unintentionally blank. + FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) + // This comment is left unintentionally blank. + GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) + // This comment is left unintentionally blank. + GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) + // CheckObjectsExist will check for the existence of revisions against a + // repository. It returns two sets of data. An array containing the revisions + // fromm the input that it found on the repository, and an array that contains all + // revisions from the input it did not find on the repository. + CheckObjectsExist(ctx context.Context, opts ...grpc.CallOption) (CommitService_CheckObjectsExistClient, error) +} + +type commitServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewCommitServiceClient(cc grpc.ClientConnInterface) CommitServiceClient { + return &commitServiceClient{cc} +} + +func (c *commitServiceClient) ListCommits(ctx context.Context, in *ListCommitsRequest, opts ...grpc.CallOption) (CommitService_ListCommitsClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[0], "/gitaly.CommitService/ListCommits", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListCommitsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListCommitsClient interface { + Recv() (*ListCommitsResponse, error) + grpc.ClientStream +} + +type commitServiceListCommitsClient struct { + grpc.ClientStream +} + +func (x *commitServiceListCommitsClient) Recv() (*ListCommitsResponse, error) { + m := new(ListCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) ListAllCommits(ctx context.Context, in *ListAllCommitsRequest, opts ...grpc.CallOption) (CommitService_ListAllCommitsClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[1], "/gitaly.CommitService/ListAllCommits", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListAllCommitsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListAllCommitsClient interface { + Recv() (*ListAllCommitsResponse, error) + grpc.ClientStream +} + +type commitServiceListAllCommitsClient struct { + grpc.ClientStream +} + +func (x *commitServiceListAllCommitsClient) Recv() (*ListAllCommitsResponse, error) { + m := new(ListAllCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) { + out := new(CommitIsAncestorResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitIsAncestor", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[2], "/gitaly.CommitService/TreeEntry", opts...) + if err != nil { + return nil, err + } + x := &commitServiceTreeEntryClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_TreeEntryClient interface { + Recv() (*TreeEntryResponse, error) + grpc.ClientStream +} + +type commitServiceTreeEntryClient struct { + grpc.ClientStream +} + +func (x *commitServiceTreeEntryClient) Recv() (*TreeEntryResponse, error) { + m := new(TreeEntryResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) { + out := new(CountCommitsResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountCommits", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) { + out := new(CountDivergingCommitsResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/CountDivergingCommits", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[3], "/gitaly.CommitService/GetTreeEntries", opts...) + if err != nil { + return nil, err + } + x := &commitServiceGetTreeEntriesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_GetTreeEntriesClient interface { + Recv() (*GetTreeEntriesResponse, error) + grpc.ClientStream +} + +type commitServiceGetTreeEntriesClient struct { + grpc.ClientStream +} + +func (x *commitServiceGetTreeEntriesClient) Recv() (*GetTreeEntriesResponse, error) { + m := new(GetTreeEntriesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[4], "/gitaly.CommitService/ListFiles", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListFilesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListFilesClient interface { + Recv() (*ListFilesResponse, error) + grpc.ClientStream +} + +type commitServiceListFilesClient struct { + grpc.ClientStream +} + +func (x *commitServiceListFilesClient) Recv() (*ListFilesResponse, error) { + m := new(ListFilesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) { + out := new(FindCommitResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/FindCommit", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) CommitStats(ctx context.Context, in *CommitStatsRequest, opts ...grpc.CallOption) (*CommitStatsResponse, error) { + out := new(CommitStatsResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitStats", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) FindAllCommits(ctx context.Context, in *FindAllCommitsRequest, opts ...grpc.CallOption) (CommitService_FindAllCommitsClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[5], "/gitaly.CommitService/FindAllCommits", opts...) + if err != nil { + return nil, err + } + x := &commitServiceFindAllCommitsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_FindAllCommitsClient interface { + Recv() (*FindAllCommitsResponse, error) + grpc.ClientStream +} + +type commitServiceFindAllCommitsClient struct { + grpc.ClientStream +} + +func (x *commitServiceFindAllCommitsClient) Recv() (*FindAllCommitsResponse, error) { + m := new(FindAllCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[6], "/gitaly.CommitService/FindCommits", opts...) + if err != nil { + return nil, err + } + x := &commitServiceFindCommitsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_FindCommitsClient interface { + Recv() (*FindCommitsResponse, error) + grpc.ClientStream +} + +type commitServiceFindCommitsClient struct { + grpc.ClientStream +} + +func (x *commitServiceFindCommitsClient) Recv() (*FindCommitsResponse, error) { + m := new(FindCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) { + out := new(CommitLanguagesResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/CommitLanguages", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[7], "/gitaly.CommitService/RawBlame", opts...) + if err != nil { + return nil, err + } + x := &commitServiceRawBlameClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_RawBlameClient interface { + Recv() (*RawBlameResponse, error) + grpc.ClientStream +} + +type commitServiceRawBlameClient struct { + grpc.ClientStream +} + +func (x *commitServiceRawBlameClient) Recv() (*RawBlameResponse, error) { + m := new(RawBlameResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) { + out := new(LastCommitForPathResponse) + err := c.cc.Invoke(ctx, "/gitaly.CommitService/LastCommitForPath", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *commitServiceClient) ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[8], "/gitaly.CommitService/ListLastCommitsForTree", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListLastCommitsForTreeClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListLastCommitsForTreeClient interface { + Recv() (*ListLastCommitsForTreeResponse, error) + grpc.ClientStream +} + +type commitServiceListLastCommitsForTreeClient struct { + grpc.ClientStream +} + +func (x *commitServiceListLastCommitsForTreeClient) Recv() (*ListLastCommitsForTreeResponse, error) { + m := new(ListLastCommitsForTreeResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[9], "/gitaly.CommitService/CommitsByMessage", opts...) + if err != nil { + return nil, err + } + x := &commitServiceCommitsByMessageClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_CommitsByMessageClient interface { + Recv() (*CommitsByMessageResponse, error) + grpc.ClientStream +} + +type commitServiceCommitsByMessageClient struct { + grpc.ClientStream +} + +func (x *commitServiceCommitsByMessageClient) Recv() (*CommitsByMessageResponse, error) { + m := new(CommitsByMessageResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[10], "/gitaly.CommitService/ListCommitsByOid", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListCommitsByOidClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListCommitsByOidClient interface { + Recv() (*ListCommitsByOidResponse, error) + grpc.ClientStream +} + +type commitServiceListCommitsByOidClient struct { + grpc.ClientStream +} + +func (x *commitServiceListCommitsByOidClient) Recv() (*ListCommitsByOidResponse, error) { + m := new(ListCommitsByOidResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[11], "/gitaly.CommitService/ListCommitsByRefName", opts...) + if err != nil { + return nil, err + } + x := &commitServiceListCommitsByRefNameClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_ListCommitsByRefNameClient interface { + Recv() (*ListCommitsByRefNameResponse, error) + grpc.ClientStream +} + +type commitServiceListCommitsByRefNameClient struct { + grpc.ClientStream +} + +func (x *commitServiceListCommitsByRefNameClient) Recv() (*ListCommitsByRefNameResponse, error) { + m := new(ListCommitsByRefNameResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[12], "/gitaly.CommitService/FilterShasWithSignatures", opts...) + if err != nil { + return nil, err + } + x := &commitServiceFilterShasWithSignaturesClient{stream} + return x, nil +} + +type CommitService_FilterShasWithSignaturesClient interface { + Send(*FilterShasWithSignaturesRequest) error + Recv() (*FilterShasWithSignaturesResponse, error) + grpc.ClientStream +} + +type commitServiceFilterShasWithSignaturesClient struct { + grpc.ClientStream +} + +func (x *commitServiceFilterShasWithSignaturesClient) Send(m *FilterShasWithSignaturesRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *commitServiceFilterShasWithSignaturesClient) Recv() (*FilterShasWithSignaturesResponse, error) { + m := new(FilterShasWithSignaturesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[13], "/gitaly.CommitService/GetCommitSignatures", opts...) + if err != nil { + return nil, err + } + x := &commitServiceGetCommitSignaturesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_GetCommitSignaturesClient interface { + Recv() (*GetCommitSignaturesResponse, error) + grpc.ClientStream +} + +type commitServiceGetCommitSignaturesClient struct { + grpc.ClientStream +} + +func (x *commitServiceGetCommitSignaturesClient) Recv() (*GetCommitSignaturesResponse, error) { + m := new(GetCommitSignaturesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[14], "/gitaly.CommitService/GetCommitMessages", opts...) + if err != nil { + return nil, err + } + x := &commitServiceGetCommitMessagesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type CommitService_GetCommitMessagesClient interface { + Recv() (*GetCommitMessagesResponse, error) + grpc.ClientStream +} + +type commitServiceGetCommitMessagesClient struct { + grpc.ClientStream +} + +func (x *commitServiceGetCommitMessagesClient) Recv() (*GetCommitMessagesResponse, error) { + m := new(GetCommitMessagesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *commitServiceClient) CheckObjectsExist(ctx context.Context, opts ...grpc.CallOption) (CommitService_CheckObjectsExistClient, error) { + stream, err := c.cc.NewStream(ctx, &CommitService_ServiceDesc.Streams[15], "/gitaly.CommitService/CheckObjectsExist", opts...) + if err != nil { + return nil, err + } + x := &commitServiceCheckObjectsExistClient{stream} + return x, nil +} + +type CommitService_CheckObjectsExistClient interface { + Send(*CheckObjectsExistRequest) error + Recv() (*CheckObjectsExistResponse, error) + grpc.ClientStream +} + +type commitServiceCheckObjectsExistClient struct { + grpc.ClientStream +} + +func (x *commitServiceCheckObjectsExistClient) Send(m *CheckObjectsExistRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *commitServiceCheckObjectsExistClient) Recv() (*CheckObjectsExistResponse, error) { + m := new(CheckObjectsExistResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// CommitServiceServer is the server API for CommitService service. +// All implementations must embed UnimplementedCommitServiceServer +// for forward compatibility +type CommitServiceServer interface { + // ListCommits lists all commits reachable via a set of references by doing a + // graph walk. This deprecates FindAllCommits and FindCommits (except Follow + // is not yet supported). Any unknown revisions will cause the RPC to fail. + ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error + // ListAllCommits lists all commits present in the repository, including + // those not reachable by any reference. + ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error + // This comment is left unintentionally blank. + CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) + // This comment is left unintentionally blank. + TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error + // This comment is left unintentionally blank. + CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) + // This comment is left unintentionally blank. + CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) + // This comment is left unintentionally blank. + GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error + // This comment is left unintentionally blank. + ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error + // This comment is left unintentionally blank. + FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) + // This comment is left unintentionally blank. + CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) + // Use a stream to paginate the result set + FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error + // This comment is left unintentionally blank. + FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error + // This comment is left unintentionally blank. + CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) + // This comment is left unintentionally blank. + RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error + // This comment is left unintentionally blank. + LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) + // This comment is left unintentionally blank. + ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error + // This comment is left unintentionally blank. + CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error + // This comment is left unintentionally blank. + ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error + // This comment is left unintentionally blank. + ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error + // This comment is left unintentionally blank. + FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error + // This comment is left unintentionally blank. + GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error + // This comment is left unintentionally blank. + GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error + // CheckObjectsExist will check for the existence of revisions against a + // repository. It returns two sets of data. An array containing the revisions + // fromm the input that it found on the repository, and an array that contains all + // revisions from the input it did not find on the repository. + CheckObjectsExist(CommitService_CheckObjectsExistServer) error + mustEmbedUnimplementedCommitServiceServer() +} + +// UnimplementedCommitServiceServer must be embedded to have forward compatible implementations. +type UnimplementedCommitServiceServer struct { +} + +func (UnimplementedCommitServiceServer) ListCommits(*ListCommitsRequest, CommitService_ListCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method ListCommits not implemented") +} +func (UnimplementedCommitServiceServer) ListAllCommits(*ListAllCommitsRequest, CommitService_ListAllCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method ListAllCommits not implemented") +} +func (UnimplementedCommitServiceServer) CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitIsAncestor not implemented") +} +func (UnimplementedCommitServiceServer) TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error { + return status.Errorf(codes.Unimplemented, "method TreeEntry not implemented") +} +func (UnimplementedCommitServiceServer) CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountCommits not implemented") +} +func (UnimplementedCommitServiceServer) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountDivergingCommits not implemented") +} +func (UnimplementedCommitServiceServer) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error { + return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") +} +func (UnimplementedCommitServiceServer) ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error { + return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") +} +func (UnimplementedCommitServiceServer) FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindCommit not implemented") +} +func (UnimplementedCommitServiceServer) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitStats not implemented") +} +func (UnimplementedCommitServiceServer) FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllCommits not implemented") +} +func (UnimplementedCommitServiceServer) FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method FindCommits not implemented") +} +func (UnimplementedCommitServiceServer) CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitLanguages not implemented") +} +func (UnimplementedCommitServiceServer) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error { + return status.Errorf(codes.Unimplemented, "method RawBlame not implemented") +} +func (UnimplementedCommitServiceServer) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LastCommitForPath not implemented") +} +func (UnimplementedCommitServiceServer) ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error { + return status.Errorf(codes.Unimplemented, "method ListLastCommitsForTree not implemented") +} +func (UnimplementedCommitServiceServer) CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error { + return status.Errorf(codes.Unimplemented, "method CommitsByMessage not implemented") +} +func (UnimplementedCommitServiceServer) ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error { + return status.Errorf(codes.Unimplemented, "method ListCommitsByOid not implemented") +} +func (UnimplementedCommitServiceServer) ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error { + return status.Errorf(codes.Unimplemented, "method ListCommitsByRefName not implemented") +} +func (UnimplementedCommitServiceServer) FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error { + return status.Errorf(codes.Unimplemented, "method FilterShasWithSignatures not implemented") +} +func (UnimplementedCommitServiceServer) GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error { + return status.Errorf(codes.Unimplemented, "method GetCommitSignatures not implemented") +} +func (UnimplementedCommitServiceServer) GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error { + return status.Errorf(codes.Unimplemented, "method GetCommitMessages not implemented") +} +func (UnimplementedCommitServiceServer) CheckObjectsExist(CommitService_CheckObjectsExistServer) error { + return status.Errorf(codes.Unimplemented, "method CheckObjectsExist not implemented") +} +func (UnimplementedCommitServiceServer) mustEmbedUnimplementedCommitServiceServer() {} + +// UnsafeCommitServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to CommitServiceServer will +// result in compilation errors. +type UnsafeCommitServiceServer interface { + mustEmbedUnimplementedCommitServiceServer() +} + +func RegisterCommitServiceServer(s grpc.ServiceRegistrar, srv CommitServiceServer) { + s.RegisterService(&CommitService_ServiceDesc, srv) +} + +func _CommitService_ListCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListCommits(m, &commitServiceListCommitsServer{stream}) +} + +type CommitService_ListCommitsServer interface { + Send(*ListCommitsResponse) error + grpc.ServerStream +} + +type commitServiceListCommitsServer struct { + grpc.ServerStream +} + +func (x *commitServiceListCommitsServer) Send(m *ListCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_ListAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListAllCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListAllCommits(m, &commitServiceListAllCommitsServer{stream}) +} + +type CommitService_ListAllCommitsServer interface { + Send(*ListAllCommitsResponse) error + grpc.ServerStream +} + +type commitServiceListAllCommitsServer struct { + grpc.ServerStream +} + +func (x *commitServiceListAllCommitsServer) Send(m *ListAllCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_CommitIsAncestor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommitIsAncestorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CommitIsAncestor(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CommitIsAncestor", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CommitIsAncestor(ctx, req.(*CommitIsAncestorRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_TreeEntry_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(TreeEntryRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).TreeEntry(m, &commitServiceTreeEntryServer{stream}) +} + +type CommitService_TreeEntryServer interface { + Send(*TreeEntryResponse) error + grpc.ServerStream +} + +type commitServiceTreeEntryServer struct { + grpc.ServerStream +} + +func (x *commitServiceTreeEntryServer) Send(m *TreeEntryResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_CountCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountCommitsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CountCommits(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CountCommits", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CountCommits(ctx, req.(*CountCommitsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_CountDivergingCommits_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CountDivergingCommitsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CountDivergingCommits(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CountDivergingCommits", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CountDivergingCommits(ctx, req.(*CountDivergingCommitsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_GetTreeEntries_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetTreeEntriesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).GetTreeEntries(m, &commitServiceGetTreeEntriesServer{stream}) +} + +type CommitService_GetTreeEntriesServer interface { + Send(*GetTreeEntriesResponse) error + grpc.ServerStream +} + +type commitServiceGetTreeEntriesServer struct { + grpc.ServerStream +} + +func (x *commitServiceGetTreeEntriesServer) Send(m *GetTreeEntriesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_ListFiles_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListFilesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListFiles(m, &commitServiceListFilesServer{stream}) +} + +type CommitService_ListFilesServer interface { + Send(*ListFilesResponse) error + grpc.ServerStream +} + +type commitServiceListFilesServer struct { + grpc.ServerStream +} + +func (x *commitServiceListFilesServer) Send(m *ListFilesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_FindCommit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindCommitRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).FindCommit(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/FindCommit", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).FindCommit(ctx, req.(*FindCommitRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_CommitStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommitStatsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CommitStats(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CommitStats", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CommitStats(ctx, req.(*CommitStatsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_FindAllCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).FindAllCommits(m, &commitServiceFindAllCommitsServer{stream}) +} + +type CommitService_FindAllCommitsServer interface { + Send(*FindAllCommitsResponse) error + grpc.ServerStream +} + +type commitServiceFindAllCommitsServer struct { + grpc.ServerStream +} + +func (x *commitServiceFindAllCommitsServer) Send(m *FindAllCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_FindCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).FindCommits(m, &commitServiceFindCommitsServer{stream}) +} + +type CommitService_FindCommitsServer interface { + Send(*FindCommitsResponse) error + grpc.ServerStream +} + +type commitServiceFindCommitsServer struct { + grpc.ServerStream +} + +func (x *commitServiceFindCommitsServer) Send(m *FindCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_CommitLanguages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CommitLanguagesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).CommitLanguages(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/CommitLanguages", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).CommitLanguages(ctx, req.(*CommitLanguagesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_RawBlame_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(RawBlameRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).RawBlame(m, &commitServiceRawBlameServer{stream}) +} + +type CommitService_RawBlameServer interface { + Send(*RawBlameResponse) error + grpc.ServerStream +} + +type commitServiceRawBlameServer struct { + grpc.ServerStream +} + +func (x *commitServiceRawBlameServer) Send(m *RawBlameResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_LastCommitForPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LastCommitForPathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CommitServiceServer).LastCommitForPath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CommitService/LastCommitForPath", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CommitServiceServer).LastCommitForPath(ctx, req.(*LastCommitForPathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _CommitService_ListLastCommitsForTree_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListLastCommitsForTreeRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListLastCommitsForTree(m, &commitServiceListLastCommitsForTreeServer{stream}) +} + +type CommitService_ListLastCommitsForTreeServer interface { + Send(*ListLastCommitsForTreeResponse) error + grpc.ServerStream +} + +type commitServiceListLastCommitsForTreeServer struct { + grpc.ServerStream +} + +func (x *commitServiceListLastCommitsForTreeServer) Send(m *ListLastCommitsForTreeResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_CommitsByMessage_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommitsByMessageRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).CommitsByMessage(m, &commitServiceCommitsByMessageServer{stream}) +} + +type CommitService_CommitsByMessageServer interface { + Send(*CommitsByMessageResponse) error + grpc.ServerStream +} + +type commitServiceCommitsByMessageServer struct { + grpc.ServerStream +} + +func (x *commitServiceCommitsByMessageServer) Send(m *CommitsByMessageResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_ListCommitsByOid_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListCommitsByOidRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListCommitsByOid(m, &commitServiceListCommitsByOidServer{stream}) +} + +type CommitService_ListCommitsByOidServer interface { + Send(*ListCommitsByOidResponse) error + grpc.ServerStream +} + +type commitServiceListCommitsByOidServer struct { + grpc.ServerStream +} + +func (x *commitServiceListCommitsByOidServer) Send(m *ListCommitsByOidResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_ListCommitsByRefName_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListCommitsByRefNameRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ListCommitsByRefName(m, &commitServiceListCommitsByRefNameServer{stream}) +} + +type CommitService_ListCommitsByRefNameServer interface { + Send(*ListCommitsByRefNameResponse) error + grpc.ServerStream +} + +type commitServiceListCommitsByRefNameServer struct { + grpc.ServerStream +} + +func (x *commitServiceListCommitsByRefNameServer) Send(m *ListCommitsByRefNameResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_FilterShasWithSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(CommitServiceServer).FilterShasWithSignatures(&commitServiceFilterShasWithSignaturesServer{stream}) +} + +type CommitService_FilterShasWithSignaturesServer interface { + Send(*FilterShasWithSignaturesResponse) error + Recv() (*FilterShasWithSignaturesRequest, error) + grpc.ServerStream +} + +type commitServiceFilterShasWithSignaturesServer struct { + grpc.ServerStream +} + +func (x *commitServiceFilterShasWithSignaturesServer) Send(m *FilterShasWithSignaturesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *commitServiceFilterShasWithSignaturesServer) Recv() (*FilterShasWithSignaturesRequest, error) { + m := new(FilterShasWithSignaturesRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _CommitService_GetCommitSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetCommitSignaturesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).GetCommitSignatures(m, &commitServiceGetCommitSignaturesServer{stream}) +} + +type CommitService_GetCommitSignaturesServer interface { + Send(*GetCommitSignaturesResponse) error + grpc.ServerStream +} + +type commitServiceGetCommitSignaturesServer struct { + grpc.ServerStream +} + +func (x *commitServiceGetCommitSignaturesServer) Send(m *GetCommitSignaturesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_GetCommitMessages_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetCommitMessagesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).GetCommitMessages(m, &commitServiceGetCommitMessagesServer{stream}) +} + +type CommitService_GetCommitMessagesServer interface { + Send(*GetCommitMessagesResponse) error + grpc.ServerStream +} + +type commitServiceGetCommitMessagesServer struct { + grpc.ServerStream +} + +func (x *commitServiceGetCommitMessagesServer) Send(m *GetCommitMessagesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _CommitService_CheckObjectsExist_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(CommitServiceServer).CheckObjectsExist(&commitServiceCheckObjectsExistServer{stream}) +} + +type CommitService_CheckObjectsExistServer interface { + Send(*CheckObjectsExistResponse) error + Recv() (*CheckObjectsExistRequest, error) + grpc.ServerStream +} + +type commitServiceCheckObjectsExistServer struct { + grpc.ServerStream +} + +func (x *commitServiceCheckObjectsExistServer) Send(m *CheckObjectsExistResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *commitServiceCheckObjectsExistServer) Recv() (*CheckObjectsExistRequest, error) { + m := new(CheckObjectsExistRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// CommitService_ServiceDesc is the grpc.ServiceDesc for CommitService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var CommitService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.CommitService", + HandlerType: (*CommitServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CommitIsAncestor", + Handler: _CommitService_CommitIsAncestor_Handler, + }, + { + MethodName: "CountCommits", + Handler: _CommitService_CountCommits_Handler, + }, + { + MethodName: "CountDivergingCommits", + Handler: _CommitService_CountDivergingCommits_Handler, + }, + { + MethodName: "FindCommit", + Handler: _CommitService_FindCommit_Handler, + }, + { + MethodName: "CommitStats", + Handler: _CommitService_CommitStats_Handler, + }, + { + MethodName: "CommitLanguages", + Handler: _CommitService_CommitLanguages_Handler, + }, + { + MethodName: "LastCommitForPath", + Handler: _CommitService_LastCommitForPath_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListCommits", + Handler: _CommitService_ListCommits_Handler, + ServerStreams: true, + }, + { + StreamName: "ListAllCommits", + Handler: _CommitService_ListAllCommits_Handler, + ServerStreams: true, + }, + { + StreamName: "TreeEntry", + Handler: _CommitService_TreeEntry_Handler, + ServerStreams: true, + }, + { + StreamName: "GetTreeEntries", + Handler: _CommitService_GetTreeEntries_Handler, + ServerStreams: true, + }, + { + StreamName: "ListFiles", + Handler: _CommitService_ListFiles_Handler, + ServerStreams: true, + }, + { + StreamName: "FindAllCommits", + Handler: _CommitService_FindAllCommits_Handler, + ServerStreams: true, + }, + { + StreamName: "FindCommits", + Handler: _CommitService_FindCommits_Handler, + ServerStreams: true, + }, + { + StreamName: "RawBlame", + Handler: _CommitService_RawBlame_Handler, + ServerStreams: true, + }, + { + StreamName: "ListLastCommitsForTree", + Handler: _CommitService_ListLastCommitsForTree_Handler, + ServerStreams: true, + }, + { + StreamName: "CommitsByMessage", + Handler: _CommitService_CommitsByMessage_Handler, + ServerStreams: true, + }, + { + StreamName: "ListCommitsByOid", + Handler: _CommitService_ListCommitsByOid_Handler, + ServerStreams: true, + }, + { + StreamName: "ListCommitsByRefName", + Handler: _CommitService_ListCommitsByRefName_Handler, + ServerStreams: true, + }, + { + StreamName: "FilterShasWithSignatures", + Handler: _CommitService_FilterShasWithSignatures_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "GetCommitSignatures", + Handler: _CommitService_GetCommitSignatures_Handler, + ServerStreams: true, + }, + { + StreamName: "GetCommitMessages", + Handler: _CommitService_GetCommitMessages_Handler, + ServerStreams: true, + }, + { + StreamName: "CheckObjectsExist", + Handler: _CommitService_CheckObjectsExist_Handler, + ServerStreams: true, + ClientStreams: true, + }, + }, + Metadata: "commit.proto", +} diff --git a/v14/proto/go/gitalypb/conflicts.pb.go b/v14/proto/go/gitalypb/conflicts.pb.go new file mode 100644 index 000000000..48dcc1f3f --- /dev/null +++ b/v14/proto/go/gitalypb/conflicts.pb.go @@ -0,0 +1,860 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: conflicts.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type ListConflictFilesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` + // This comment is left unintentionally blank. + TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` + // AllowTreeConflicts will not cause the request to fail in case there are + // tree conflicts. If set to true, then responses may contain conflict files + // where some of the paths are unset. + AllowTreeConflicts bool `protobuf:"varint,4,opt,name=allow_tree_conflicts,json=allowTreeConflicts,proto3" json:"allow_tree_conflicts,omitempty"` +} + +func (x *ListConflictFilesRequest) Reset() { + *x = ListConflictFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListConflictFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListConflictFilesRequest) ProtoMessage() {} + +func (x *ListConflictFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListConflictFilesRequest.ProtoReflect.Descriptor instead. +func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{0} +} + +func (x *ListConflictFilesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListConflictFilesRequest) GetOurCommitOid() string { + if x != nil { + return x.OurCommitOid + } + return "" +} + +func (x *ListConflictFilesRequest) GetTheirCommitOid() string { + if x != nil { + return x.TheirCommitOid + } + return "" +} + +func (x *ListConflictFilesRequest) GetAllowTreeConflicts() bool { + if x != nil { + return x.AllowTreeConflicts + } + return false +} + +// This comment is left unintentionally blank. +type ConflictFileHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` + // This comment is left unintentionally blank. + TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` + // This comment is left unintentionally blank. + OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` + // This comment is left unintentionally blank. + OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` + // This comment is left unintentionally blank. + AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"` +} + +func (x *ConflictFileHeader) Reset() { + *x = ConflictFileHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConflictFileHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConflictFileHeader) ProtoMessage() {} + +func (x *ConflictFileHeader) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConflictFileHeader.ProtoReflect.Descriptor instead. +func (*ConflictFileHeader) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{1} +} + +func (x *ConflictFileHeader) GetCommitOid() string { + if x != nil { + return x.CommitOid + } + return "" +} + +func (x *ConflictFileHeader) GetTheirPath() []byte { + if x != nil { + return x.TheirPath + } + return nil +} + +func (x *ConflictFileHeader) GetOurPath() []byte { + if x != nil { + return x.OurPath + } + return nil +} + +func (x *ConflictFileHeader) GetOurMode() int32 { + if x != nil { + return x.OurMode + } + return 0 +} + +func (x *ConflictFileHeader) GetAncestorPath() []byte { + if x != nil { + return x.AncestorPath + } + return nil +} + +// This comment is left unintentionally blank. +type ConflictFile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ConflictFilePayload: + // *ConflictFile_Header + // *ConflictFile_Content + ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` +} + +func (x *ConflictFile) Reset() { + *x = ConflictFile{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConflictFile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConflictFile) ProtoMessage() {} + +func (x *ConflictFile) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConflictFile.ProtoReflect.Descriptor instead. +func (*ConflictFile) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{2} +} + +func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload { + if m != nil { + return m.ConflictFilePayload + } + return nil +} + +func (x *ConflictFile) GetHeader() *ConflictFileHeader { + if x, ok := x.GetConflictFilePayload().(*ConflictFile_Header); ok { + return x.Header + } + return nil +} + +func (x *ConflictFile) GetContent() []byte { + if x, ok := x.GetConflictFilePayload().(*ConflictFile_Content); ok { + return x.Content + } + return nil +} + +type isConflictFile_ConflictFilePayload interface { + isConflictFile_ConflictFilePayload() +} + +type ConflictFile_Header struct { + // This comment is left unintentionally blank. + Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type ConflictFile_Content struct { + // This comment is left unintentionally blank. + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +} + +func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {} + +func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {} + +// This comment is left unintentionally blank. +type ListConflictFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` +} + +func (x *ListConflictFilesResponse) Reset() { + *x = ListConflictFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListConflictFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListConflictFilesResponse) ProtoMessage() {} + +func (x *ListConflictFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListConflictFilesResponse.ProtoReflect.Descriptor instead. +func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{3} +} + +func (x *ListConflictFilesResponse) GetFiles() []*ConflictFile { + if x != nil { + return x.Files + } + return nil +} + +// ResolveConflictsRequestHeader is the first message that must be sent for +// each ResolveConflicts call. +type ResolveConflictsRequestHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which conflicts shall be resolved and + // where SourceBranch shall be updated with the resolved conflict. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // OurCommitOid is the OID of the commit representing the local commit. + OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` + // TargetRepository is the repository from which TheirCommitOid shall be + // retrieved. + TargetRepository *Repository `protobuf:"bytes,3,opt,name=target_repository,json=targetRepository,proto3" json:"target_repository,omitempty"` + // TheirCommitOid is the OID of the commit representing the remote commit + // which is to be merged into the local commit. + TheirCommitOid string `protobuf:"bytes,4,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` + // SourceBranch is the branch on which the new commit shall be created. + SourceBranch []byte `protobuf:"bytes,5,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` + // TargetBranch identifies the branch which will be fetched from + // TargetRepository in case TheirCommitOid does not exist in Repository. + TargetBranch []byte `protobuf:"bytes,6,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` + // CommitMessage is the message of the newly created merge commit. + CommitMessage []byte `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + // User is the user used as author and committer of the newly created merge + // commit. + User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` + // timestamp is the optional timestamp to use for the commit as committer + // date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *ResolveConflictsRequestHeader) Reset() { + *x = ResolveConflictsRequestHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveConflictsRequestHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveConflictsRequestHeader) ProtoMessage() {} + +func (x *ResolveConflictsRequestHeader) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveConflictsRequestHeader.ProtoReflect.Descriptor instead. +func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{4} +} + +func (x *ResolveConflictsRequestHeader) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetOurCommitOid() string { + if x != nil { + return x.OurCommitOid + } + return "" +} + +func (x *ResolveConflictsRequestHeader) GetTargetRepository() *Repository { + if x != nil { + return x.TargetRepository + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetTheirCommitOid() string { + if x != nil { + return x.TheirCommitOid + } + return "" +} + +func (x *ResolveConflictsRequestHeader) GetSourceBranch() []byte { + if x != nil { + return x.SourceBranch + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetTargetBranch() []byte { + if x != nil { + return x.TargetBranch + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *ResolveConflictsRequestHeader) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// ResolveConflictsRequest is a request for the ResolveConflicts RPC. +type ResolveConflictsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // RequestPayload is the payload part of the request. The first message sent + // must always be a ResolveConflictsRequestHeader, whereas all remaining + // requests must be FilesJson requests. + // + // Types that are assignable to ResolveConflictsRequestPayload: + // *ResolveConflictsRequest_Header + // *ResolveConflictsRequest_FilesJson + ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"` +} + +func (x *ResolveConflictsRequest) Reset() { + *x = ResolveConflictsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveConflictsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveConflictsRequest) ProtoMessage() {} + +func (x *ResolveConflictsRequest) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveConflictsRequest.ProtoReflect.Descriptor instead. +func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{5} +} + +func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload { + if m != nil { + return m.ResolveConflictsRequestPayload + } + return nil +} + +func (x *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader { + if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok { + return x.Header + } + return nil +} + +func (x *ResolveConflictsRequest) GetFilesJson() []byte { + if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok { + return x.FilesJson + } + return nil +} + +type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { + isResolveConflictsRequest_ResolveConflictsRequestPayload() +} + +type ResolveConflictsRequest_Header struct { + // Header is the initial message specifying parameters of the RPC call. + Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type ResolveConflictsRequest_FilesJson struct { + // FilesJson is a JSON-encoded list of conflicts resolutions. + FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` +} + +func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} + +func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() { +} + +// ResolveConflictsResponse is a response of the ResolveConflicts RPC. Conflict +// resolution may have failed even if the RPC has returned OK. The user must +// check ResolutionError to verify whether the merge commit was correctly +// computed or not. +type ResolveConflictsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ResolutionError contains a description of why conflict resolution has + // failed. + ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` +} + +func (x *ResolveConflictsResponse) Reset() { + *x = ResolveConflictsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveConflictsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveConflictsResponse) ProtoMessage() {} + +func (x *ResolveConflictsResponse) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveConflictsResponse.ProtoReflect.Descriptor instead. +func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{6} +} + +func (x *ResolveConflictsResponse) GetResolutionError() string { + if x != nil { + return x.ResolutionError + } + return "" +} + +var File_conflicts_proto protoreflect.FileDescriptor + +var file_conflicts_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd6, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, + 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, + 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, + 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, + 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, + 0x54, 0x72, 0x65, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x22, 0xb3, 0x01, + 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x4f, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x68, 0x65, 0x69, 0x72, 0x50, 0x61, + 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x75, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, + 0x08, 0x6f, 0x75, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x6f, 0x75, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x4a, 0x04, 0x08, + 0x01, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, + 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x17, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, + 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x47, + 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x66, + 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, + 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xb7, 0x03, 0x0a, 0x1d, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x11, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, + 0x65, 0x69, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x4f, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0xa0, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1f, + 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, + 0x23, 0x0a, 0x21, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, + 0x69, 0x63, 0x74, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x45, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, + 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd7, 0x01, 0x0a, 0x10, + 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x62, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, + 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_conflicts_proto_rawDescOnce sync.Once + file_conflicts_proto_rawDescData = file_conflicts_proto_rawDesc +) + +func file_conflicts_proto_rawDescGZIP() []byte { + file_conflicts_proto_rawDescOnce.Do(func() { + file_conflicts_proto_rawDescData = protoimpl.X.CompressGZIP(file_conflicts_proto_rawDescData) + }) + return file_conflicts_proto_rawDescData +} + +var file_conflicts_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_conflicts_proto_goTypes = []interface{}{ + (*ListConflictFilesRequest)(nil), // 0: gitaly.ListConflictFilesRequest + (*ConflictFileHeader)(nil), // 1: gitaly.ConflictFileHeader + (*ConflictFile)(nil), // 2: gitaly.ConflictFile + (*ListConflictFilesResponse)(nil), // 3: gitaly.ListConflictFilesResponse + (*ResolveConflictsRequestHeader)(nil), // 4: gitaly.ResolveConflictsRequestHeader + (*ResolveConflictsRequest)(nil), // 5: gitaly.ResolveConflictsRequest + (*ResolveConflictsResponse)(nil), // 6: gitaly.ResolveConflictsResponse + (*Repository)(nil), // 7: gitaly.Repository + (*User)(nil), // 8: gitaly.User + (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp +} +var file_conflicts_proto_depIdxs = []int32{ + 7, // 0: gitaly.ListConflictFilesRequest.repository:type_name -> gitaly.Repository + 1, // 1: gitaly.ConflictFile.header:type_name -> gitaly.ConflictFileHeader + 2, // 2: gitaly.ListConflictFilesResponse.files:type_name -> gitaly.ConflictFile + 7, // 3: gitaly.ResolveConflictsRequestHeader.repository:type_name -> gitaly.Repository + 7, // 4: gitaly.ResolveConflictsRequestHeader.target_repository:type_name -> gitaly.Repository + 8, // 5: gitaly.ResolveConflictsRequestHeader.user:type_name -> gitaly.User + 9, // 6: gitaly.ResolveConflictsRequestHeader.timestamp:type_name -> google.protobuf.Timestamp + 4, // 7: gitaly.ResolveConflictsRequest.header:type_name -> gitaly.ResolveConflictsRequestHeader + 0, // 8: gitaly.ConflictsService.ListConflictFiles:input_type -> gitaly.ListConflictFilesRequest + 5, // 9: gitaly.ConflictsService.ResolveConflicts:input_type -> gitaly.ResolveConflictsRequest + 3, // 10: gitaly.ConflictsService.ListConflictFiles:output_type -> gitaly.ListConflictFilesResponse + 6, // 11: gitaly.ConflictsService.ResolveConflicts:output_type -> gitaly.ResolveConflictsResponse + 10, // [10:12] is the sub-list for method output_type + 8, // [8:10] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_conflicts_proto_init() } +func file_conflicts_proto_init() { + if File_conflicts_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_conflicts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListConflictFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConflictFileHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConflictFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListConflictFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsRequestHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_conflicts_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*ConflictFile_Header)(nil), + (*ConflictFile_Content)(nil), + } + file_conflicts_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ResolveConflictsRequest_Header)(nil), + (*ResolveConflictsRequest_FilesJson)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_conflicts_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_conflicts_proto_goTypes, + DependencyIndexes: file_conflicts_proto_depIdxs, + MessageInfos: file_conflicts_proto_msgTypes, + }.Build() + File_conflicts_proto = out.File + file_conflicts_proto_rawDesc = nil + file_conflicts_proto_goTypes = nil + file_conflicts_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/conflicts_grpc.pb.go b/v14/proto/go/gitalypb/conflicts_grpc.pb.go new file mode 100644 index 000000000..f50ae2a56 --- /dev/null +++ b/v14/proto/go/gitalypb/conflicts_grpc.pb.go @@ -0,0 +1,208 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// ConflictsServiceClient is the client API for ConflictsService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ConflictsServiceClient interface { + // ListConflictFiles returns all conflicting files which result from a merge + // of two specified commit objects. + ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) + // ResolveConflicts tries to resolve a conflicting merge with a set of + // user-provided merge resolutions. If resolving the conflict succeeds, the + // result will be a new merge commit. + ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) +} + +type conflictsServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewConflictsServiceClient(cc grpc.ClientConnInterface) ConflictsServiceClient { + return &conflictsServiceClient{cc} +} + +func (c *conflictsServiceClient) ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) { + stream, err := c.cc.NewStream(ctx, &ConflictsService_ServiceDesc.Streams[0], "/gitaly.ConflictsService/ListConflictFiles", opts...) + if err != nil { + return nil, err + } + x := &conflictsServiceListConflictFilesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type ConflictsService_ListConflictFilesClient interface { + Recv() (*ListConflictFilesResponse, error) + grpc.ClientStream +} + +type conflictsServiceListConflictFilesClient struct { + grpc.ClientStream +} + +func (x *conflictsServiceListConflictFilesClient) Recv() (*ListConflictFilesResponse, error) { + m := new(ListConflictFilesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *conflictsServiceClient) ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) { + stream, err := c.cc.NewStream(ctx, &ConflictsService_ServiceDesc.Streams[1], "/gitaly.ConflictsService/ResolveConflicts", opts...) + if err != nil { + return nil, err + } + x := &conflictsServiceResolveConflictsClient{stream} + return x, nil +} + +type ConflictsService_ResolveConflictsClient interface { + Send(*ResolveConflictsRequest) error + CloseAndRecv() (*ResolveConflictsResponse, error) + grpc.ClientStream +} + +type conflictsServiceResolveConflictsClient struct { + grpc.ClientStream +} + +func (x *conflictsServiceResolveConflictsClient) Send(m *ResolveConflictsRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *conflictsServiceResolveConflictsClient) CloseAndRecv() (*ResolveConflictsResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(ResolveConflictsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// ConflictsServiceServer is the server API for ConflictsService service. +// All implementations must embed UnimplementedConflictsServiceServer +// for forward compatibility +type ConflictsServiceServer interface { + // ListConflictFiles returns all conflicting files which result from a merge + // of two specified commit objects. + ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error + // ResolveConflicts tries to resolve a conflicting merge with a set of + // user-provided merge resolutions. If resolving the conflict succeeds, the + // result will be a new merge commit. + ResolveConflicts(ConflictsService_ResolveConflictsServer) error + mustEmbedUnimplementedConflictsServiceServer() +} + +// UnimplementedConflictsServiceServer must be embedded to have forward compatible implementations. +type UnimplementedConflictsServiceServer struct { +} + +func (UnimplementedConflictsServiceServer) ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error { + return status.Errorf(codes.Unimplemented, "method ListConflictFiles not implemented") +} +func (UnimplementedConflictsServiceServer) ResolveConflicts(ConflictsService_ResolveConflictsServer) error { + return status.Errorf(codes.Unimplemented, "method ResolveConflicts not implemented") +} +func (UnimplementedConflictsServiceServer) mustEmbedUnimplementedConflictsServiceServer() {} + +// UnsafeConflictsServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ConflictsServiceServer will +// result in compilation errors. +type UnsafeConflictsServiceServer interface { + mustEmbedUnimplementedConflictsServiceServer() +} + +func RegisterConflictsServiceServer(s grpc.ServiceRegistrar, srv ConflictsServiceServer) { + s.RegisterService(&ConflictsService_ServiceDesc, srv) +} + +func _ConflictsService_ListConflictFiles_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListConflictFilesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(ConflictsServiceServer).ListConflictFiles(m, &conflictsServiceListConflictFilesServer{stream}) +} + +type ConflictsService_ListConflictFilesServer interface { + Send(*ListConflictFilesResponse) error + grpc.ServerStream +} + +type conflictsServiceListConflictFilesServer struct { + grpc.ServerStream +} + +func (x *conflictsServiceListConflictFilesServer) Send(m *ListConflictFilesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _ConflictsService_ResolveConflicts_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(ConflictsServiceServer).ResolveConflicts(&conflictsServiceResolveConflictsServer{stream}) +} + +type ConflictsService_ResolveConflictsServer interface { + SendAndClose(*ResolveConflictsResponse) error + Recv() (*ResolveConflictsRequest, error) + grpc.ServerStream +} + +type conflictsServiceResolveConflictsServer struct { + grpc.ServerStream +} + +func (x *conflictsServiceResolveConflictsServer) SendAndClose(m *ResolveConflictsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *conflictsServiceResolveConflictsServer) Recv() (*ResolveConflictsRequest, error) { + m := new(ResolveConflictsRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// ConflictsService_ServiceDesc is the grpc.ServiceDesc for ConflictsService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ConflictsService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.ConflictsService", + HandlerType: (*ConflictsServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListConflictFiles", + Handler: _ConflictsService_ListConflictFiles_Handler, + ServerStreams: true, + }, + { + StreamName: "ResolveConflicts", + Handler: _ConflictsService_ResolveConflicts_Handler, + ClientStreams: true, + }, + }, + Metadata: "conflicts.proto", +} diff --git a/v14/proto/go/gitalypb/diff.pb.go b/v14/proto/go/gitalypb/diff.pb.go new file mode 100644 index 000000000..cc2114b9c --- /dev/null +++ b/v14/proto/go/gitalypb/diff.pb.go @@ -0,0 +1,1746 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: diff.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type CommitDiffRequest_DiffMode int32 + +const ( + // DEFAULT is the standard diff mode and results in a linewise diff for textfiles. + CommitDiffRequest_DEFAULT CommitDiffRequest_DiffMode = 0 + // WORDDIFF is a word diff and computes the diff for whitespace separated words instead of for whole lines. + CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 +) + +// Enum value maps for CommitDiffRequest_DiffMode. +var ( + CommitDiffRequest_DiffMode_name = map[int32]string{ + 0: "DEFAULT", + 1: "WORDDIFF", + } + CommitDiffRequest_DiffMode_value = map[string]int32{ + "DEFAULT": 0, + "WORDDIFF": 1, + } +) + +func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode { + p := new(CommitDiffRequest_DiffMode) + *p = x + return p +} + +func (x CommitDiffRequest_DiffMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor { + return file_diff_proto_enumTypes[0].Descriptor() +} + +func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType { + return &file_diff_proto_enumTypes[0] +} + +func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CommitDiffRequest_DiffMode.Descriptor instead. +func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{0, 0} +} + +// This comment is left unintentionally blank. +type ChangedPaths_Status int32 + +const ( + // This comment is left unintentionally blank. + ChangedPaths_ADDED ChangedPaths_Status = 0 + // This comment is left unintentionally blank. + ChangedPaths_MODIFIED ChangedPaths_Status = 1 + // This comment is left unintentionally blank. + ChangedPaths_DELETED ChangedPaths_Status = 2 + // This comment is left unintentionally blank. + ChangedPaths_TYPE_CHANGE ChangedPaths_Status = 3 + // This comment is left unintentionally blank. + ChangedPaths_COPIED ChangedPaths_Status = 4 +) + +// Enum value maps for ChangedPaths_Status. +var ( + ChangedPaths_Status_name = map[int32]string{ + 0: "ADDED", + 1: "MODIFIED", + 2: "DELETED", + 3: "TYPE_CHANGE", + 4: "COPIED", + } + ChangedPaths_Status_value = map[string]int32{ + "ADDED": 0, + "MODIFIED": 1, + "DELETED": 2, + "TYPE_CHANGE": 3, + "COPIED": 4, + } +) + +func (x ChangedPaths_Status) Enum() *ChangedPaths_Status { + p := new(ChangedPaths_Status) + *p = x + return p +} + +func (x ChangedPaths_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor { + return file_diff_proto_enumTypes[1].Descriptor() +} + +func (ChangedPaths_Status) Type() protoreflect.EnumType { + return &file_diff_proto_enumTypes[1] +} + +func (x ChangedPaths_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChangedPaths_Status.Descriptor instead. +func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{14, 0} +} + +// This comment is left unintentionally blank. +type CommitDiffRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + // This comment is left unintentionally blank. + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + // This comment is left unintentionally blank. + IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange,proto3" json:"ignore_whitespace_change,omitempty"` + // This comment is left unintentionally blank. + Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` + // This comment is left unintentionally blank. + CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"` + // This comment is left unintentionally blank. + EnforceLimits bool `protobuf:"varint,7,opt,name=enforce_limits,json=enforceLimits,proto3" json:"enforce_limits,omitempty"` + // These limits are only enforced when enforce_limits == true. + MaxFiles int32 `protobuf:"varint,8,opt,name=max_files,json=maxFiles,proto3" json:"max_files,omitempty"` + // This comment is left unintentionally blank. + MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` + // This comment is left unintentionally blank. + MaxBytes int32 `protobuf:"varint,10,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"` + // Limitation of a single diff patch, + // patches surpassing this limit are pruned by default. + // If this is 0 you will get back empty patches. + MaxPatchBytes int32 `protobuf:"varint,14,opt,name=max_patch_bytes,json=maxPatchBytes,proto3" json:"max_patch_bytes,omitempty"` + // These limits are only enforced if collapse_diffs == true. + SafeMaxFiles int32 `protobuf:"varint,11,opt,name=safe_max_files,json=safeMaxFiles,proto3" json:"safe_max_files,omitempty"` + // This comment is left unintentionally blank. + SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` + // This comment is left unintentionally blank. + SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` + // DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. + DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"` +} + +func (x *CommitDiffRequest) Reset() { + *x = CommitDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitDiffRequest) ProtoMessage() {} + +func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitDiffRequest.ProtoReflect.Descriptor instead. +func (*CommitDiffRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{0} +} + +func (x *CommitDiffRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitDiffRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId + } + return "" +} + +func (x *CommitDiffRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId + } + return "" +} + +func (x *CommitDiffRequest) GetIgnoreWhitespaceChange() bool { + if x != nil { + return x.IgnoreWhitespaceChange + } + return false +} + +func (x *CommitDiffRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths + } + return nil +} + +func (x *CommitDiffRequest) GetCollapseDiffs() bool { + if x != nil { + return x.CollapseDiffs + } + return false +} + +func (x *CommitDiffRequest) GetEnforceLimits() bool { + if x != nil { + return x.EnforceLimits + } + return false +} + +func (x *CommitDiffRequest) GetMaxFiles() int32 { + if x != nil { + return x.MaxFiles + } + return 0 +} + +func (x *CommitDiffRequest) GetMaxLines() int32 { + if x != nil { + return x.MaxLines + } + return 0 +} + +func (x *CommitDiffRequest) GetMaxBytes() int32 { + if x != nil { + return x.MaxBytes + } + return 0 +} + +func (x *CommitDiffRequest) GetMaxPatchBytes() int32 { + if x != nil { + return x.MaxPatchBytes + } + return 0 +} + +func (x *CommitDiffRequest) GetSafeMaxFiles() int32 { + if x != nil { + return x.SafeMaxFiles + } + return 0 +} + +func (x *CommitDiffRequest) GetSafeMaxLines() int32 { + if x != nil { + return x.SafeMaxLines + } + return 0 +} + +func (x *CommitDiffRequest) GetSafeMaxBytes() int32 { + if x != nil { + return x.SafeMaxBytes + } + return 0 +} + +func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode { + if x != nil { + return x.DiffMode + } + return CommitDiffRequest_DEFAULT +} + +// A CommitDiffResponse corresponds to a single changed file in a commit. +type CommitDiffResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` + // This comment is left unintentionally blank. + ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` + // Blob ID as returned via `git diff --full-index` + FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` + // This comment is left unintentionally blank. + ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` + // This comment is left unintentionally blank. + OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + // This comment is left unintentionally blank. + NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` + // This comment is left unintentionally blank. + Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"` + // This comment is left unintentionally blank. + RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"` + // This comment is left unintentionally blank. + EndOfPatch bool `protobuf:"varint,10,opt,name=end_of_patch,json=endOfPatch,proto3" json:"end_of_patch,omitempty"` + // Indicates the diff file at which we overflow according to the limitations sent, + // in which case only this attribute will be set. + OverflowMarker bool `protobuf:"varint,11,opt,name=overflow_marker,json=overflowMarker,proto3" json:"overflow_marker,omitempty"` + // Indicates the patch surpassed a "safe" limit and was therefore pruned, but + // the client may still request the full patch on a separate request. + Collapsed bool `protobuf:"varint,12,opt,name=collapsed,proto3" json:"collapsed,omitempty"` + // Indicates the patch was pruned since it surpassed a hard limit, and can + // therefore not be expanded. + TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` +} + +func (x *CommitDiffResponse) Reset() { + *x = CommitDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitDiffResponse) ProtoMessage() {} + +func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitDiffResponse.ProtoReflect.Descriptor instead. +func (*CommitDiffResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{1} +} + +func (x *CommitDiffResponse) GetFromPath() []byte { + if x != nil { + return x.FromPath + } + return nil +} + +func (x *CommitDiffResponse) GetToPath() []byte { + if x != nil { + return x.ToPath + } + return nil +} + +func (x *CommitDiffResponse) GetFromId() string { + if x != nil { + return x.FromId + } + return "" +} + +func (x *CommitDiffResponse) GetToId() string { + if x != nil { + return x.ToId + } + return "" +} + +func (x *CommitDiffResponse) GetOldMode() int32 { + if x != nil { + return x.OldMode + } + return 0 +} + +func (x *CommitDiffResponse) GetNewMode() int32 { + if x != nil { + return x.NewMode + } + return 0 +} + +func (x *CommitDiffResponse) GetBinary() bool { + if x != nil { + return x.Binary + } + return false +} + +func (x *CommitDiffResponse) GetRawPatchData() []byte { + if x != nil { + return x.RawPatchData + } + return nil +} + +func (x *CommitDiffResponse) GetEndOfPatch() bool { + if x != nil { + return x.EndOfPatch + } + return false +} + +func (x *CommitDiffResponse) GetOverflowMarker() bool { + if x != nil { + return x.OverflowMarker + } + return false +} + +func (x *CommitDiffResponse) GetCollapsed() bool { + if x != nil { + return x.Collapsed + } + return false +} + +func (x *CommitDiffResponse) GetTooLarge() bool { + if x != nil { + return x.TooLarge + } + return false +} + +// This comment is left unintentionally blank. +type CommitDeltaRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + // This comment is left unintentionally blank. + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + // This comment is left unintentionally blank. + Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` +} + +func (x *CommitDeltaRequest) Reset() { + *x = CommitDeltaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitDeltaRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitDeltaRequest) ProtoMessage() {} + +func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitDeltaRequest.ProtoReflect.Descriptor instead. +func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{2} +} + +func (x *CommitDeltaRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CommitDeltaRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId + } + return "" +} + +func (x *CommitDeltaRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId + } + return "" +} + +func (x *CommitDeltaRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths + } + return nil +} + +// This comment is left unintentionally blank. +type CommitDelta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` + // This comment is left unintentionally blank. + ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` + // Blob ID as returned via `git diff --full-index` + FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` + // This comment is left unintentionally blank. + ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` + // This comment is left unintentionally blank. + OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + // This comment is left unintentionally blank. + NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` +} + +func (x *CommitDelta) Reset() { + *x = CommitDelta{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitDelta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitDelta) ProtoMessage() {} + +func (x *CommitDelta) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitDelta.ProtoReflect.Descriptor instead. +func (*CommitDelta) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{3} +} + +func (x *CommitDelta) GetFromPath() []byte { + if x != nil { + return x.FromPath + } + return nil +} + +func (x *CommitDelta) GetToPath() []byte { + if x != nil { + return x.ToPath + } + return nil +} + +func (x *CommitDelta) GetFromId() string { + if x != nil { + return x.FromId + } + return "" +} + +func (x *CommitDelta) GetToId() string { + if x != nil { + return x.ToId + } + return "" +} + +func (x *CommitDelta) GetOldMode() int32 { + if x != nil { + return x.OldMode + } + return 0 +} + +func (x *CommitDelta) GetNewMode() int32 { + if x != nil { + return x.NewMode + } + return 0 +} + +// This comment is left unintentionally blank. +type CommitDeltaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` +} + +func (x *CommitDeltaResponse) Reset() { + *x = CommitDeltaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitDeltaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitDeltaResponse) ProtoMessage() {} + +func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitDeltaResponse.ProtoReflect.Descriptor instead. +func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{4} +} + +func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta { + if x != nil { + return x.Deltas + } + return nil +} + +// This comment is left unintentionally blank. +type RawDiffRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + // This comment is left unintentionally blank. + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` +} + +func (x *RawDiffRequest) Reset() { + *x = RawDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawDiffRequest) ProtoMessage() {} + +func (x *RawDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawDiffRequest.ProtoReflect.Descriptor instead. +func (*RawDiffRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{5} +} + +func (x *RawDiffRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RawDiffRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId + } + return "" +} + +func (x *RawDiffRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId + } + return "" +} + +// This comment is left unintentionally blank. +type RawDiffResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *RawDiffResponse) Reset() { + *x = RawDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawDiffResponse) ProtoMessage() {} + +func (x *RawDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawDiffResponse.ProtoReflect.Descriptor instead. +func (*RawDiffResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{6} +} + +func (x *RawDiffResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type RawPatchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + // This comment is left unintentionally blank. + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` +} + +func (x *RawPatchRequest) Reset() { + *x = RawPatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawPatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawPatchRequest) ProtoMessage() {} + +func (x *RawPatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawPatchRequest.ProtoReflect.Descriptor instead. +func (*RawPatchRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{7} +} + +func (x *RawPatchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RawPatchRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId + } + return "" +} + +func (x *RawPatchRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId + } + return "" +} + +// This comment is left unintentionally blank. +type RawPatchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *RawPatchResponse) Reset() { + *x = RawPatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RawPatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RawPatchResponse) ProtoMessage() {} + +func (x *RawPatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RawPatchResponse.ProtoReflect.Descriptor instead. +func (*RawPatchResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{8} +} + +func (x *RawPatchResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type DiffStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + // This comment is left unintentionally blank. + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` +} + +func (x *DiffStatsRequest) Reset() { + *x = DiffStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiffStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiffStatsRequest) ProtoMessage() {} + +func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiffStatsRequest.ProtoReflect.Descriptor instead. +func (*DiffStatsRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{9} +} + +func (x *DiffStatsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *DiffStatsRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId + } + return "" +} + +func (x *DiffStatsRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId + } + return "" +} + +// This comment is left unintentionally blank. +type DiffStats struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + // This comment is left unintentionally blank. + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` + // This comment is left unintentionally blank. + OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` +} + +func (x *DiffStats) Reset() { + *x = DiffStats{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiffStats) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiffStats) ProtoMessage() {} + +func (x *DiffStats) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiffStats.ProtoReflect.Descriptor instead. +func (*DiffStats) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{10} +} + +func (x *DiffStats) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *DiffStats) GetAdditions() int32 { + if x != nil { + return x.Additions + } + return 0 +} + +func (x *DiffStats) GetDeletions() int32 { + if x != nil { + return x.Deletions + } + return 0 +} + +func (x *DiffStats) GetOldPath() []byte { + if x != nil { + return x.OldPath + } + return nil +} + +// This comment is left unintentionally blank. +type DiffStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` +} + +func (x *DiffStatsResponse) Reset() { + *x = DiffStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiffStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiffStatsResponse) ProtoMessage() {} + +func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiffStatsResponse.ProtoReflect.Descriptor instead. +func (*DiffStatsResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{11} +} + +func (x *DiffStatsResponse) GetStats() []*DiffStats { + if x != nil { + return x.Stats + } + return nil +} + +// Given a list of commits, return the files changed. Each commit is compared +// to its parent. Merge commits will show files which are different to all of +// its parents. +type FindChangedPathsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` +} + +func (x *FindChangedPathsRequest) Reset() { + *x = FindChangedPathsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindChangedPathsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindChangedPathsRequest) ProtoMessage() {} + +func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindChangedPathsRequest.ProtoReflect.Descriptor instead. +func (*FindChangedPathsRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{12} +} + +func (x *FindChangedPathsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindChangedPathsRequest) GetCommits() []string { + if x != nil { + return x.Commits + } + return nil +} + +// Returns a list of files that have been changed in the commits given +type FindChangedPathsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` +} + +func (x *FindChangedPathsResponse) Reset() { + *x = FindChangedPathsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindChangedPathsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindChangedPathsResponse) ProtoMessage() {} + +func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindChangedPathsResponse.ProtoReflect.Descriptor instead. +func (*FindChangedPathsResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{13} +} + +func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths { + if x != nil { + return x.Paths + } + return nil +} + +// Includes the path of the file, and the status of the change +type ChangedPaths struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` +} + +func (x *ChangedPaths) Reset() { + *x = ChangedPaths{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangedPaths) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangedPaths) ProtoMessage() {} + +func (x *ChangedPaths) ProtoReflect() protoreflect.Message { + mi := &file_diff_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangedPaths.ProtoReflect.Descriptor instead. +func (*ChangedPaths) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{14} +} + +func (x *ChangedPaths) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *ChangedPaths) GetStatus() ChangedPaths_Status { + if x != nil { + return x.Status + } + return ChangedPaths_ADDED +} + +var File_diff_proto protoreflect.FileDescriptor + +var file_diff_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, + 0x05, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, + 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x44, 0x69, + 0x66, 0x66, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, + 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, + 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, + 0x69, 0x6e, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, + 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, + 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, + 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, + 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, + 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, + 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x64, + 0x69, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, + 0x64, 0x65, 0x52, 0x08, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x25, 0x0a, 0x08, + 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, + 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x4f, 0x52, 0x44, 0x44, 0x49, 0x46, + 0x46, 0x10, 0x01, 0x22, 0xf8, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, + 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, + 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, + 0x61, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, + 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, + 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x6f, 0x6f, 0x5f, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x74, 0x6f, 0x6f, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xb2, + 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, + 0x74, 0x68, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, + 0x6c, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, + 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x42, 0x0a, + 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, + 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, + 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0f, + 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, + 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3c, 0x0a, 0x11, + 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x6d, 0x0a, 0x17, 0x46, 0x69, + 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x18, 0x46, 0x69, 0x6e, + 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, + 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x04, 0x32, 0xea, 0x03, 0x0a, 0x0b, 0x44, 0x69, 0x66, + 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x07, 0x52, 0x61, 0x77, + 0x44, 0x69, 0x66, 0x66, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, + 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, + 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, + 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, + 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_diff_proto_rawDescOnce sync.Once + file_diff_proto_rawDescData = file_diff_proto_rawDesc +) + +func file_diff_proto_rawDescGZIP() []byte { + file_diff_proto_rawDescOnce.Do(func() { + file_diff_proto_rawDescData = protoimpl.X.CompressGZIP(file_diff_proto_rawDescData) + }) + return file_diff_proto_rawDescData +} + +var file_diff_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_diff_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_diff_proto_goTypes = []interface{}{ + (CommitDiffRequest_DiffMode)(0), // 0: gitaly.CommitDiffRequest.DiffMode + (ChangedPaths_Status)(0), // 1: gitaly.ChangedPaths.Status + (*CommitDiffRequest)(nil), // 2: gitaly.CommitDiffRequest + (*CommitDiffResponse)(nil), // 3: gitaly.CommitDiffResponse + (*CommitDeltaRequest)(nil), // 4: gitaly.CommitDeltaRequest + (*CommitDelta)(nil), // 5: gitaly.CommitDelta + (*CommitDeltaResponse)(nil), // 6: gitaly.CommitDeltaResponse + (*RawDiffRequest)(nil), // 7: gitaly.RawDiffRequest + (*RawDiffResponse)(nil), // 8: gitaly.RawDiffResponse + (*RawPatchRequest)(nil), // 9: gitaly.RawPatchRequest + (*RawPatchResponse)(nil), // 10: gitaly.RawPatchResponse + (*DiffStatsRequest)(nil), // 11: gitaly.DiffStatsRequest + (*DiffStats)(nil), // 12: gitaly.DiffStats + (*DiffStatsResponse)(nil), // 13: gitaly.DiffStatsResponse + (*FindChangedPathsRequest)(nil), // 14: gitaly.FindChangedPathsRequest + (*FindChangedPathsResponse)(nil), // 15: gitaly.FindChangedPathsResponse + (*ChangedPaths)(nil), // 16: gitaly.ChangedPaths + (*Repository)(nil), // 17: gitaly.Repository +} +var file_diff_proto_depIdxs = []int32{ + 17, // 0: gitaly.CommitDiffRequest.repository:type_name -> gitaly.Repository + 0, // 1: gitaly.CommitDiffRequest.diff_mode:type_name -> gitaly.CommitDiffRequest.DiffMode + 17, // 2: gitaly.CommitDeltaRequest.repository:type_name -> gitaly.Repository + 5, // 3: gitaly.CommitDeltaResponse.deltas:type_name -> gitaly.CommitDelta + 17, // 4: gitaly.RawDiffRequest.repository:type_name -> gitaly.Repository + 17, // 5: gitaly.RawPatchRequest.repository:type_name -> gitaly.Repository + 17, // 6: gitaly.DiffStatsRequest.repository:type_name -> gitaly.Repository + 12, // 7: gitaly.DiffStatsResponse.stats:type_name -> gitaly.DiffStats + 17, // 8: gitaly.FindChangedPathsRequest.repository:type_name -> gitaly.Repository + 16, // 9: gitaly.FindChangedPathsResponse.paths:type_name -> gitaly.ChangedPaths + 1, // 10: gitaly.ChangedPaths.status:type_name -> gitaly.ChangedPaths.Status + 2, // 11: gitaly.DiffService.CommitDiff:input_type -> gitaly.CommitDiffRequest + 4, // 12: gitaly.DiffService.CommitDelta:input_type -> gitaly.CommitDeltaRequest + 7, // 13: gitaly.DiffService.RawDiff:input_type -> gitaly.RawDiffRequest + 9, // 14: gitaly.DiffService.RawPatch:input_type -> gitaly.RawPatchRequest + 11, // 15: gitaly.DiffService.DiffStats:input_type -> gitaly.DiffStatsRequest + 14, // 16: gitaly.DiffService.FindChangedPaths:input_type -> gitaly.FindChangedPathsRequest + 3, // 17: gitaly.DiffService.CommitDiff:output_type -> gitaly.CommitDiffResponse + 6, // 18: gitaly.DiffService.CommitDelta:output_type -> gitaly.CommitDeltaResponse + 8, // 19: gitaly.DiffService.RawDiff:output_type -> gitaly.RawDiffResponse + 10, // 20: gitaly.DiffService.RawPatch:output_type -> gitaly.RawPatchResponse + 13, // 21: gitaly.DiffService.DiffStats:output_type -> gitaly.DiffStatsResponse + 15, // 22: gitaly.DiffService.FindChangedPaths:output_type -> gitaly.FindChangedPathsResponse + 17, // [17:23] is the sub-list for method output_type + 11, // [11:17] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_diff_proto_init() } +func file_diff_proto_init() { + if File_diff_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_diff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDiffRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDiffResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDeltaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDelta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDeltaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawDiffRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawDiffResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawPatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawPatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindChangedPathsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindChangedPathsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangedPaths); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_diff_proto_rawDesc, + NumEnums: 2, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_diff_proto_goTypes, + DependencyIndexes: file_diff_proto_depIdxs, + EnumInfos: file_diff_proto_enumTypes, + MessageInfos: file_diff_proto_msgTypes, + }.Build() + File_diff_proto = out.File + file_diff_proto_rawDesc = nil + file_diff_proto_goTypes = nil + file_diff_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/diff_grpc.pb.go b/v14/proto/go/gitalypb/diff_grpc.pb.go new file mode 100644 index 000000000..c946202b6 --- /dev/null +++ b/v14/proto/go/gitalypb/diff_grpc.pb.go @@ -0,0 +1,455 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// DiffServiceClient is the client API for DiffService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type DiffServiceClient interface { + // Returns stream of CommitDiffResponse with patches chunked over messages + CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) + // Return a stream so we can divide the response in chunks of deltas + CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) + // This comment is left unintentionally blank. + RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) + // This comment is left unintentionally blank. + RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) + // This comment is left unintentionally blank. + DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) + // Return a list of files changed along with the status of each file + FindChangedPaths(ctx context.Context, in *FindChangedPathsRequest, opts ...grpc.CallOption) (DiffService_FindChangedPathsClient, error) +} + +type diffServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewDiffServiceClient(cc grpc.ClientConnInterface) DiffServiceClient { + return &diffServiceClient{cc} +} + +func (c *diffServiceClient) CommitDiff(ctx context.Context, in *CommitDiffRequest, opts ...grpc.CallOption) (DiffService_CommitDiffClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[0], "/gitaly.DiffService/CommitDiff", opts...) + if err != nil { + return nil, err + } + x := &diffServiceCommitDiffClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_CommitDiffClient interface { + Recv() (*CommitDiffResponse, error) + grpc.ClientStream +} + +type diffServiceCommitDiffClient struct { + grpc.ClientStream +} + +func (x *diffServiceCommitDiffClient) Recv() (*CommitDiffResponse, error) { + m := new(CommitDiffResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *diffServiceClient) CommitDelta(ctx context.Context, in *CommitDeltaRequest, opts ...grpc.CallOption) (DiffService_CommitDeltaClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[1], "/gitaly.DiffService/CommitDelta", opts...) + if err != nil { + return nil, err + } + x := &diffServiceCommitDeltaClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_CommitDeltaClient interface { + Recv() (*CommitDeltaResponse, error) + grpc.ClientStream +} + +type diffServiceCommitDeltaClient struct { + grpc.ClientStream +} + +func (x *diffServiceCommitDeltaClient) Recv() (*CommitDeltaResponse, error) { + m := new(CommitDeltaResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *diffServiceClient) RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[2], "/gitaly.DiffService/RawDiff", opts...) + if err != nil { + return nil, err + } + x := &diffServiceRawDiffClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_RawDiffClient interface { + Recv() (*RawDiffResponse, error) + grpc.ClientStream +} + +type diffServiceRawDiffClient struct { + grpc.ClientStream +} + +func (x *diffServiceRawDiffClient) Recv() (*RawDiffResponse, error) { + m := new(RawDiffResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *diffServiceClient) RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[3], "/gitaly.DiffService/RawPatch", opts...) + if err != nil { + return nil, err + } + x := &diffServiceRawPatchClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_RawPatchClient interface { + Recv() (*RawPatchResponse, error) + grpc.ClientStream +} + +type diffServiceRawPatchClient struct { + grpc.ClientStream +} + +func (x *diffServiceRawPatchClient) Recv() (*RawPatchResponse, error) { + m := new(RawPatchResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *diffServiceClient) DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[4], "/gitaly.DiffService/DiffStats", opts...) + if err != nil { + return nil, err + } + x := &diffServiceDiffStatsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_DiffStatsClient interface { + Recv() (*DiffStatsResponse, error) + grpc.ClientStream +} + +type diffServiceDiffStatsClient struct { + grpc.ClientStream +} + +func (x *diffServiceDiffStatsClient) Recv() (*DiffStatsResponse, error) { + m := new(DiffStatsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *diffServiceClient) FindChangedPaths(ctx context.Context, in *FindChangedPathsRequest, opts ...grpc.CallOption) (DiffService_FindChangedPathsClient, error) { + stream, err := c.cc.NewStream(ctx, &DiffService_ServiceDesc.Streams[5], "/gitaly.DiffService/FindChangedPaths", opts...) + if err != nil { + return nil, err + } + x := &diffServiceFindChangedPathsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type DiffService_FindChangedPathsClient interface { + Recv() (*FindChangedPathsResponse, error) + grpc.ClientStream +} + +type diffServiceFindChangedPathsClient struct { + grpc.ClientStream +} + +func (x *diffServiceFindChangedPathsClient) Recv() (*FindChangedPathsResponse, error) { + m := new(FindChangedPathsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// DiffServiceServer is the server API for DiffService service. +// All implementations must embed UnimplementedDiffServiceServer +// for forward compatibility +type DiffServiceServer interface { + // Returns stream of CommitDiffResponse with patches chunked over messages + CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error + // Return a stream so we can divide the response in chunks of deltas + CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error + // This comment is left unintentionally blank. + RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error + // This comment is left unintentionally blank. + RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error + // This comment is left unintentionally blank. + DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error + // Return a list of files changed along with the status of each file + FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error + mustEmbedUnimplementedDiffServiceServer() +} + +// UnimplementedDiffServiceServer must be embedded to have forward compatible implementations. +type UnimplementedDiffServiceServer struct { +} + +func (UnimplementedDiffServiceServer) CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error { + return status.Errorf(codes.Unimplemented, "method CommitDiff not implemented") +} +func (UnimplementedDiffServiceServer) CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error { + return status.Errorf(codes.Unimplemented, "method CommitDelta not implemented") +} +func (UnimplementedDiffServiceServer) RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error { + return status.Errorf(codes.Unimplemented, "method RawDiff not implemented") +} +func (UnimplementedDiffServiceServer) RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error { + return status.Errorf(codes.Unimplemented, "method RawPatch not implemented") +} +func (UnimplementedDiffServiceServer) DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error { + return status.Errorf(codes.Unimplemented, "method DiffStats not implemented") +} +func (UnimplementedDiffServiceServer) FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error { + return status.Errorf(codes.Unimplemented, "method FindChangedPaths not implemented") +} +func (UnimplementedDiffServiceServer) mustEmbedUnimplementedDiffServiceServer() {} + +// UnsafeDiffServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to DiffServiceServer will +// result in compilation errors. +type UnsafeDiffServiceServer interface { + mustEmbedUnimplementedDiffServiceServer() +} + +func RegisterDiffServiceServer(s grpc.ServiceRegistrar, srv DiffServiceServer) { + s.RegisterService(&DiffService_ServiceDesc, srv) +} + +func _DiffService_CommitDiff_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommitDiffRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).CommitDiff(m, &diffServiceCommitDiffServer{stream}) +} + +type DiffService_CommitDiffServer interface { + Send(*CommitDiffResponse) error + grpc.ServerStream +} + +type diffServiceCommitDiffServer struct { + grpc.ServerStream +} + +func (x *diffServiceCommitDiffServer) Send(m *CommitDiffResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DiffService_CommitDelta_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommitDeltaRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).CommitDelta(m, &diffServiceCommitDeltaServer{stream}) +} + +type DiffService_CommitDeltaServer interface { + Send(*CommitDeltaResponse) error + grpc.ServerStream +} + +type diffServiceCommitDeltaServer struct { + grpc.ServerStream +} + +func (x *diffServiceCommitDeltaServer) Send(m *CommitDeltaResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DiffService_RawDiff_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(RawDiffRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).RawDiff(m, &diffServiceRawDiffServer{stream}) +} + +type DiffService_RawDiffServer interface { + Send(*RawDiffResponse) error + grpc.ServerStream +} + +type diffServiceRawDiffServer struct { + grpc.ServerStream +} + +func (x *diffServiceRawDiffServer) Send(m *RawDiffResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DiffService_RawPatch_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(RawPatchRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).RawPatch(m, &diffServiceRawPatchServer{stream}) +} + +type DiffService_RawPatchServer interface { + Send(*RawPatchResponse) error + grpc.ServerStream +} + +type diffServiceRawPatchServer struct { + grpc.ServerStream +} + +func (x *diffServiceRawPatchServer) Send(m *RawPatchResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DiffService_DiffStats_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(DiffStatsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).DiffStats(m, &diffServiceDiffStatsServer{stream}) +} + +type DiffService_DiffStatsServer interface { + Send(*DiffStatsResponse) error + grpc.ServerStream +} + +type diffServiceDiffStatsServer struct { + grpc.ServerStream +} + +func (x *diffServiceDiffStatsServer) Send(m *DiffStatsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _DiffService_FindChangedPaths_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindChangedPathsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).FindChangedPaths(m, &diffServiceFindChangedPathsServer{stream}) +} + +type DiffService_FindChangedPathsServer interface { + Send(*FindChangedPathsResponse) error + grpc.ServerStream +} + +type diffServiceFindChangedPathsServer struct { + grpc.ServerStream +} + +func (x *diffServiceFindChangedPathsServer) Send(m *FindChangedPathsResponse) error { + return x.ServerStream.SendMsg(m) +} + +// DiffService_ServiceDesc is the grpc.ServiceDesc for DiffService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var DiffService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.DiffService", + HandlerType: (*DiffServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "CommitDiff", + Handler: _DiffService_CommitDiff_Handler, + ServerStreams: true, + }, + { + StreamName: "CommitDelta", + Handler: _DiffService_CommitDelta_Handler, + ServerStreams: true, + }, + { + StreamName: "RawDiff", + Handler: _DiffService_RawDiff_Handler, + ServerStreams: true, + }, + { + StreamName: "RawPatch", + Handler: _DiffService_RawPatch_Handler, + ServerStreams: true, + }, + { + StreamName: "DiffStats", + Handler: _DiffService_DiffStats_Handler, + ServerStreams: true, + }, + { + StreamName: "FindChangedPaths", + Handler: _DiffService_FindChangedPaths_Handler, + ServerStreams: true, + }, + }, + Metadata: "diff.proto", +} diff --git a/v14/proto/go/gitalypb/errors.pb.go b/v14/proto/go/gitalypb/errors.pb.go new file mode 100644 index 000000000..4131727c6 --- /dev/null +++ b/v14/proto/go/gitalypb/errors.pb.go @@ -0,0 +1,623 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: errors.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AccessCheckError is an error returned by GitLab's `/internal/allowed` +// endpoint. +type AccessCheckError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ErrorMessage is the error message as returned by the endpoint. + ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + // Protocol is the protocol used. + Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` + // UserId is the user ID as which changes had been pushed. + UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // Changes is the set of changes which have failed the access check. + Changes []byte `protobuf:"bytes,4,opt,name=changes,proto3" json:"changes,omitempty"` +} + +func (x *AccessCheckError) Reset() { + *x = AccessCheckError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccessCheckError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccessCheckError) ProtoMessage() {} + +func (x *AccessCheckError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AccessCheckError.ProtoReflect.Descriptor instead. +func (*AccessCheckError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{0} +} + +func (x *AccessCheckError) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + +func (x *AccessCheckError) GetProtocol() string { + if x != nil { + return x.Protocol + } + return "" +} + +func (x *AccessCheckError) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *AccessCheckError) GetChanges() []byte { + if x != nil { + return x.Changes + } + return nil +} + +// NotAncestorError is an error returned when parent_revision is not an ancestor +// of the child_revision. +type NotAncestorError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ParentRevision is the revision checked against ChildRevision for whether it + // is an ancestor of ChildRevision + ParentRevision []byte `protobuf:"bytes,1,opt,name=parent_revision,json=parentRevision,proto3" json:"parent_revision,omitempty"` + // ChildRevision is the revision checked against ParentRevision for whether + // it is a descendent of ChildRevision. + ChildRevision []byte `protobuf:"bytes,2,opt,name=child_revision,json=childRevision,proto3" json:"child_revision,omitempty"` +} + +func (x *NotAncestorError) Reset() { + *x = NotAncestorError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NotAncestorError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NotAncestorError) ProtoMessage() {} + +func (x *NotAncestorError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NotAncestorError.ProtoReflect.Descriptor instead. +func (*NotAncestorError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{1} +} + +func (x *NotAncestorError) GetParentRevision() []byte { + if x != nil { + return x.ParentRevision + } + return nil +} + +func (x *NotAncestorError) GetChildRevision() []byte { + if x != nil { + return x.ChildRevision + } + return nil +} + +// ChangesAlreadyAppliedError is an error returned when the operation would +// have resulted in no changes because these changes have already been applied. +type ChangesAlreadyAppliedError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ChangesAlreadyAppliedError) Reset() { + *x = ChangesAlreadyAppliedError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangesAlreadyAppliedError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangesAlreadyAppliedError) ProtoMessage() {} + +func (x *ChangesAlreadyAppliedError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ChangesAlreadyAppliedError.ProtoReflect.Descriptor instead. +func (*ChangesAlreadyAppliedError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{2} +} + +// MergeConflictError is an error returned in the case when merging two commits +// fails due to a merge conflict. +type MergeConflictError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ConflictingFiles is the set of files which have been conflicting. If this + // field is empty, then there has still been a merge conflict, but it wasn't + // able to determine which files have been conflicting. + ConflictingFiles [][]byte `protobuf:"bytes,1,rep,name=conflicting_files,json=conflictingFiles,proto3" json:"conflicting_files,omitempty"` +} + +func (x *MergeConflictError) Reset() { + *x = MergeConflictError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MergeConflictError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MergeConflictError) ProtoMessage() {} + +func (x *MergeConflictError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MergeConflictError.ProtoReflect.Descriptor instead. +func (*MergeConflictError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{3} +} + +func (x *MergeConflictError) GetConflictingFiles() [][]byte { + if x != nil { + return x.ConflictingFiles + } + return nil +} + +// ReferenceUpdateError is an error returned when updating a reference has +// failed. +type ReferenceUpdateError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ReferenceName is the name of the reference that failed to be updated. + ReferenceName []byte `protobuf:"bytes,1,opt,name=reference_name,json=referenceName,proto3" json:"reference_name,omitempty"` + // OldOid is the object ID the reference should have pointed to before the update. + OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` + // NewOid is the object ID the reference should have pointed to after the update. + NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` +} + +func (x *ReferenceUpdateError) Reset() { + *x = ReferenceUpdateError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReferenceUpdateError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReferenceUpdateError) ProtoMessage() {} + +func (x *ReferenceUpdateError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReferenceUpdateError.ProtoReflect.Descriptor instead. +func (*ReferenceUpdateError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{4} +} + +func (x *ReferenceUpdateError) GetReferenceName() []byte { + if x != nil { + return x.ReferenceName + } + return nil +} + +func (x *ReferenceUpdateError) GetOldOid() string { + if x != nil { + return x.OldOid + } + return "" +} + +func (x *ReferenceUpdateError) GetNewOid() string { + if x != nil { + return x.NewOid + } + return "" +} + +// ResolveRevisionError is an error returned when resolving a specific revision +// has failed. +type ResolveRevisionError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Revision is the name of the revision that was tried to be resolved. + Revision []byte `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (x *ResolveRevisionError) Reset() { + *x = ResolveRevisionError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResolveRevisionError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResolveRevisionError) ProtoMessage() {} + +func (x *ResolveRevisionError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResolveRevisionError.ProtoReflect.Descriptor instead. +func (*ResolveRevisionError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{5} +} + +func (x *ResolveRevisionError) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +// LimitError is an error returned when Gitaly enforces request limits. +type LimitError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ErrorMessage provides context into why a limit was enforced. + ErrorMessage string `protobuf:"bytes,1,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` + // RetryAfter provides the duration after which a retry is safe. + // 0 indicates non-retryable. + RetryAfter *durationpb.Duration `protobuf:"bytes,2,opt,name=retry_after,json=retryAfter,proto3" json:"retry_after,omitempty"` +} + +func (x *LimitError) Reset() { + *x = LimitError{} + if protoimpl.UnsafeEnabled { + mi := &file_errors_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LimitError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LimitError) ProtoMessage() {} + +func (x *LimitError) ProtoReflect() protoreflect.Message { + mi := &file_errors_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LimitError.ProtoReflect.Descriptor instead. +func (*LimitError) Descriptor() ([]byte, []int) { + return file_errors_proto_rawDescGZIP(), []int{6} +} + +func (x *LimitError) GetErrorMessage() string { + if x != nil { + return x.ErrorMessage + } + return "" +} + +func (x *LimitError) GetRetryAfter() *durationpb.Duration { + if x != nil { + return x.RetryAfter + } + return nil +} + +var File_errors_proto protoreflect.FileDescriptor + +var file_errors_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, + 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x22, + 0x62, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, + 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x41, 0x0a, 0x12, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, + 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x66, 0x6c, + 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x22, 0x6f, 0x0a, 0x14, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x4f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, + 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, + 0x65, 0x77, 0x4f, 0x69, 0x64, 0x22, 0x32, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, + 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x6d, 0x0a, 0x0a, 0x4c, 0x69, 0x6d, + 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x0b, + 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x72, 0x65, + 0x74, 0x72, 0x79, 0x41, 0x66, 0x74, 0x65, 0x72, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, + 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_errors_proto_rawDescOnce sync.Once + file_errors_proto_rawDescData = file_errors_proto_rawDesc +) + +func file_errors_proto_rawDescGZIP() []byte { + file_errors_proto_rawDescOnce.Do(func() { + file_errors_proto_rawDescData = protoimpl.X.CompressGZIP(file_errors_proto_rawDescData) + }) + return file_errors_proto_rawDescData +} + +var file_errors_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_errors_proto_goTypes = []interface{}{ + (*AccessCheckError)(nil), // 0: gitaly.AccessCheckError + (*NotAncestorError)(nil), // 1: gitaly.NotAncestorError + (*ChangesAlreadyAppliedError)(nil), // 2: gitaly.ChangesAlreadyAppliedError + (*MergeConflictError)(nil), // 3: gitaly.MergeConflictError + (*ReferenceUpdateError)(nil), // 4: gitaly.ReferenceUpdateError + (*ResolveRevisionError)(nil), // 5: gitaly.ResolveRevisionError + (*LimitError)(nil), // 6: gitaly.LimitError + (*durationpb.Duration)(nil), // 7: google.protobuf.Duration +} +var file_errors_proto_depIdxs = []int32{ + 7, // 0: gitaly.LimitError.retry_after:type_name -> google.protobuf.Duration + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_errors_proto_init() } +func file_errors_proto_init() { + if File_errors_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_errors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessCheckError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NotAncestorError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangesAlreadyAppliedError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MergeConflictError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceUpdateError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveRevisionError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_errors_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LimitError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_errors_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_errors_proto_goTypes, + DependencyIndexes: file_errors_proto_depIdxs, + MessageInfos: file_errors_proto_msgTypes, + }.Build() + File_errors_proto = out.File + file_errors_proto_rawDesc = nil + file_errors_proto_goTypes = nil + file_errors_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/hook.pb.go b/v14/proto/go/gitalypb/hook.pb.go new file mode 100644 index 000000000..8fd4fe4c3 --- /dev/null +++ b/v14/proto/go/gitalypb/hook.pb.go @@ -0,0 +1,1104 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: hook.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type ReferenceTransactionHookRequest_State int32 + +const ( + // This comment is left unintentionally blank. + ReferenceTransactionHookRequest_PREPARED ReferenceTransactionHookRequest_State = 0 + // This comment is left unintentionally blank. + ReferenceTransactionHookRequest_COMMITTED ReferenceTransactionHookRequest_State = 1 + // This comment is left unintentionally blank. + ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 +) + +// Enum value maps for ReferenceTransactionHookRequest_State. +var ( + ReferenceTransactionHookRequest_State_name = map[int32]string{ + 0: "PREPARED", + 1: "COMMITTED", + 2: "ABORTED", + } + ReferenceTransactionHookRequest_State_value = map[string]int32{ + "PREPARED": 0, + "COMMITTED": 1, + "ABORTED": 2, + } +) + +func (x ReferenceTransactionHookRequest_State) Enum() *ReferenceTransactionHookRequest_State { + p := new(ReferenceTransactionHookRequest_State) + *p = x + return p +} + +func (x ReferenceTransactionHookRequest_State) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor { + return file_hook_proto_enumTypes[0].Descriptor() +} + +func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType { + return &file_hook_proto_enumTypes[0] +} + +func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReferenceTransactionHookRequest_State.Descriptor instead. +func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{6, 0} +} + +// This comment is left unintentionally blank. +type PreReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` + // This comment is left unintentionally blank. + Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` + // This comment is left unintentionally blank. + GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` +} + +func (x *PreReceiveHookRequest) Reset() { + *x = PreReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreReceiveHookRequest) ProtoMessage() {} + +func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{0} +} + +func (x *PreReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables + } + return nil +} + +func (x *PreReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +func (x *PreReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions + } + return nil +} + +// This comment is left unintentionally blank. +type PreReceiveHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // This comment is left unintentionally blank. + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This comment is left unintentionally blank. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *PreReceiveHookResponse) Reset() { + *x = PreReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreReceiveHookResponse) ProtoMessage() {} + +func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{1} +} + +func (x *PreReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *PreReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type PostReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` + // This comment is left unintentionally blank. + Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` + // This comment is left unintentionally blank. + GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` +} + +func (x *PostReceiveHookRequest) Reset() { + *x = PostReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostReceiveHookRequest) ProtoMessage() {} + +func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{2} +} + +func (x *PostReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables + } + return nil +} + +func (x *PostReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +func (x *PostReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions + } + return nil +} + +// This comment is left unintentionally blank. +type PostReceiveHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // This comment is left unintentionally blank. + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This comment is left unintentionally blank. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *PostReceiveHookResponse) Reset() { + *x = PostReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostReceiveHookResponse) ProtoMessage() {} + +func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{3} +} + +func (x *PostReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *PostReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type UpdateHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` + // This comment is left unintentionally blank. + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + // This comment is left unintentionally blank. + OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` + // This comment is left unintentionally blank. + NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` +} + +func (x *UpdateHookRequest) Reset() { + *x = UpdateHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateHookRequest) ProtoMessage() {} + +func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead. +func (*UpdateHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{4} +} + +func (x *UpdateHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UpdateHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables + } + return nil +} + +func (x *UpdateHookRequest) GetRef() []byte { + if x != nil { + return x.Ref + } + return nil +} + +func (x *UpdateHookRequest) GetOldValue() string { + if x != nil { + return x.OldValue + } + return "" +} + +func (x *UpdateHookRequest) GetNewValue() string { + if x != nil { + return x.NewValue + } + return "" +} + +// This comment is left unintentionally blank. +type UpdateHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // This comment is left unintentionally blank. + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This comment is left unintentionally blank. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *UpdateHookResponse) Reset() { + *x = UpdateHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateHookResponse) ProtoMessage() {} + +func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateHookResponse.ProtoReflect.Descriptor instead. +func (*UpdateHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{5} +} + +func (x *UpdateHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *UpdateHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *UpdateHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type ReferenceTransactionHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` + // This comment is left unintentionally blank. + Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` + // This comment is left unintentionally blank. + State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"` +} + +func (x *ReferenceTransactionHookRequest) Reset() { + *x = ReferenceTransactionHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReferenceTransactionHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReferenceTransactionHookRequest) ProtoMessage() {} + +func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReferenceTransactionHookRequest.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{6} +} + +func (x *ReferenceTransactionHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables + } + return nil +} + +func (x *ReferenceTransactionHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { + if x != nil { + return x.State + } + return ReferenceTransactionHookRequest_PREPARED +} + +// This comment is left unintentionally blank. +type ReferenceTransactionHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // This comment is left unintentionally blank. + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This comment is left unintentionally blank. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *ReferenceTransactionHookResponse) Reset() { + *x = ReferenceTransactionHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReferenceTransactionHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReferenceTransactionHookResponse) ProtoMessage() {} + +func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReferenceTransactionHookResponse.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{7} +} + +func (x *ReferenceTransactionHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *ReferenceTransactionHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type PackObjectsHookWithSidechannelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // args contains the arguments passed to the pack-objects hook, without the leading "git" + Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` +} + +func (x *PackObjectsHookWithSidechannelRequest) Reset() { + *x = PackObjectsHookWithSidechannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PackObjectsHookWithSidechannelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PackObjectsHookWithSidechannelRequest) ProtoMessage() {} + +func (x *PackObjectsHookWithSidechannelRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PackObjectsHookWithSidechannelRequest.ProtoReflect.Descriptor instead. +func (*PackObjectsHookWithSidechannelRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{8} +} + +func (x *PackObjectsHookWithSidechannelRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PackObjectsHookWithSidechannelRequest) GetArgs() []string { + if x != nil { + return x.Args + } + return nil +} + +// This comment is left unintentionally blank. +type PackObjectsHookWithSidechannelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PackObjectsHookWithSidechannelResponse) Reset() { + *x = PackObjectsHookWithSidechannelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PackObjectsHookWithSidechannelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PackObjectsHookWithSidechannelResponse) ProtoMessage() {} + +func (x *PackObjectsHookWithSidechannelResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PackObjectsHookWithSidechannelResponse.ProtoReflect.Descriptor instead. +func (*PackObjectsHookWithSidechannelResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{9} +} + +var File_hook_proto protoreflect.FileDescriptor + +var file_hook_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc6, + 0x01, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, + 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, + 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, + 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc7, 0x01, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, + 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x7e, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, + 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, + 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0xce, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x79, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9e, 0x02, 0x0a, + 0x1f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x33, 0x0a, 0x15, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x31, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x87, 0x01, + 0x0a, 0x20, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x75, 0x0a, 0x25, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, + 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0x28, + 0x0a, 0x26, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, + 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x9e, 0x04, 0x0a, 0x0b, 0x48, 0x6f, 0x6f, + 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x18, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, + 0x12, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, + 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, + 0x87, 0x01, 0x0a, 0x1e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, + 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x12, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, + 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, + 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, + 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, + 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_hook_proto_rawDescOnce sync.Once + file_hook_proto_rawDescData = file_hook_proto_rawDesc +) + +func file_hook_proto_rawDescGZIP() []byte { + file_hook_proto_rawDescOnce.Do(func() { + file_hook_proto_rawDescData = protoimpl.X.CompressGZIP(file_hook_proto_rawDescData) + }) + return file_hook_proto_rawDescData +} + +var file_hook_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_hook_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_hook_proto_goTypes = []interface{}{ + (ReferenceTransactionHookRequest_State)(0), // 0: gitaly.ReferenceTransactionHookRequest.State + (*PreReceiveHookRequest)(nil), // 1: gitaly.PreReceiveHookRequest + (*PreReceiveHookResponse)(nil), // 2: gitaly.PreReceiveHookResponse + (*PostReceiveHookRequest)(nil), // 3: gitaly.PostReceiveHookRequest + (*PostReceiveHookResponse)(nil), // 4: gitaly.PostReceiveHookResponse + (*UpdateHookRequest)(nil), // 5: gitaly.UpdateHookRequest + (*UpdateHookResponse)(nil), // 6: gitaly.UpdateHookResponse + (*ReferenceTransactionHookRequest)(nil), // 7: gitaly.ReferenceTransactionHookRequest + (*ReferenceTransactionHookResponse)(nil), // 8: gitaly.ReferenceTransactionHookResponse + (*PackObjectsHookWithSidechannelRequest)(nil), // 9: gitaly.PackObjectsHookWithSidechannelRequest + (*PackObjectsHookWithSidechannelResponse)(nil), // 10: gitaly.PackObjectsHookWithSidechannelResponse + (*Repository)(nil), // 11: gitaly.Repository + (*ExitStatus)(nil), // 12: gitaly.ExitStatus +} +var file_hook_proto_depIdxs = []int32{ + 11, // 0: gitaly.PreReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 1: gitaly.PreReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 2: gitaly.PostReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 3: gitaly.PostReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 4: gitaly.UpdateHookRequest.repository:type_name -> gitaly.Repository + 12, // 5: gitaly.UpdateHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 6: gitaly.ReferenceTransactionHookRequest.repository:type_name -> gitaly.Repository + 0, // 7: gitaly.ReferenceTransactionHookRequest.state:type_name -> gitaly.ReferenceTransactionHookRequest.State + 12, // 8: gitaly.ReferenceTransactionHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 9: gitaly.PackObjectsHookWithSidechannelRequest.repository:type_name -> gitaly.Repository + 1, // 10: gitaly.HookService.PreReceiveHook:input_type -> gitaly.PreReceiveHookRequest + 3, // 11: gitaly.HookService.PostReceiveHook:input_type -> gitaly.PostReceiveHookRequest + 5, // 12: gitaly.HookService.UpdateHook:input_type -> gitaly.UpdateHookRequest + 7, // 13: gitaly.HookService.ReferenceTransactionHook:input_type -> gitaly.ReferenceTransactionHookRequest + 9, // 14: gitaly.HookService.PackObjectsHookWithSidechannel:input_type -> gitaly.PackObjectsHookWithSidechannelRequest + 2, // 15: gitaly.HookService.PreReceiveHook:output_type -> gitaly.PreReceiveHookResponse + 4, // 16: gitaly.HookService.PostReceiveHook:output_type -> gitaly.PostReceiveHookResponse + 6, // 17: gitaly.HookService.UpdateHook:output_type -> gitaly.UpdateHookResponse + 8, // 18: gitaly.HookService.ReferenceTransactionHook:output_type -> gitaly.ReferenceTransactionHookResponse + 10, // 19: gitaly.HookService.PackObjectsHookWithSidechannel:output_type -> gitaly.PackObjectsHookWithSidechannelResponse + 15, // [15:20] is the sub-list for method output_type + 10, // [10:15] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_hook_proto_init() } +func file_hook_proto_init() { + if File_hook_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_hook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookWithSidechannelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookWithSidechannelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_hook_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_hook_proto_goTypes, + DependencyIndexes: file_hook_proto_depIdxs, + EnumInfos: file_hook_proto_enumTypes, + MessageInfos: file_hook_proto_msgTypes, + }.Build() + File_hook_proto = out.File + file_hook_proto_rawDesc = nil + file_hook_proto_goTypes = nil + file_hook_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/hook_grpc.pb.go b/v14/proto/go/gitalypb/hook_grpc.pb.go new file mode 100644 index 000000000..a87c5f932 --- /dev/null +++ b/v14/proto/go/gitalypb/hook_grpc.pb.go @@ -0,0 +1,381 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// HookServiceClient is the client API for HookService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type HookServiceClient interface { + // This comment is left unintentionally blank. + PreReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PreReceiveHookClient, error) + // This comment is left unintentionally blank. + PostReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PostReceiveHookClient, error) + // This comment is left unintentionally blank. + UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (HookService_UpdateHookClient, error) + // This comment is left unintentionally blank. + ReferenceTransactionHook(ctx context.Context, opts ...grpc.CallOption) (HookService_ReferenceTransactionHookClient, error) + // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses + // a unix socket side channel. + PackObjectsHookWithSidechannel(ctx context.Context, in *PackObjectsHookWithSidechannelRequest, opts ...grpc.CallOption) (*PackObjectsHookWithSidechannelResponse, error) +} + +type hookServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient { + return &hookServiceClient{cc} +} + +func (c *hookServiceClient) PreReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PreReceiveHookClient, error) { + stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[0], "/gitaly.HookService/PreReceiveHook", opts...) + if err != nil { + return nil, err + } + x := &hookServicePreReceiveHookClient{stream} + return x, nil +} + +type HookService_PreReceiveHookClient interface { + Send(*PreReceiveHookRequest) error + Recv() (*PreReceiveHookResponse, error) + grpc.ClientStream +} + +type hookServicePreReceiveHookClient struct { + grpc.ClientStream +} + +func (x *hookServicePreReceiveHookClient) Send(m *PreReceiveHookRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *hookServicePreReceiveHookClient) Recv() (*PreReceiveHookResponse, error) { + m := new(PreReceiveHookResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *hookServiceClient) PostReceiveHook(ctx context.Context, opts ...grpc.CallOption) (HookService_PostReceiveHookClient, error) { + stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[1], "/gitaly.HookService/PostReceiveHook", opts...) + if err != nil { + return nil, err + } + x := &hookServicePostReceiveHookClient{stream} + return x, nil +} + +type HookService_PostReceiveHookClient interface { + Send(*PostReceiveHookRequest) error + Recv() (*PostReceiveHookResponse, error) + grpc.ClientStream +} + +type hookServicePostReceiveHookClient struct { + grpc.ClientStream +} + +func (x *hookServicePostReceiveHookClient) Send(m *PostReceiveHookRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *hookServicePostReceiveHookClient) Recv() (*PostReceiveHookResponse, error) { + m := new(PostReceiveHookResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *hookServiceClient) UpdateHook(ctx context.Context, in *UpdateHookRequest, opts ...grpc.CallOption) (HookService_UpdateHookClient, error) { + stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[2], "/gitaly.HookService/UpdateHook", opts...) + if err != nil { + return nil, err + } + x := &hookServiceUpdateHookClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type HookService_UpdateHookClient interface { + Recv() (*UpdateHookResponse, error) + grpc.ClientStream +} + +type hookServiceUpdateHookClient struct { + grpc.ClientStream +} + +func (x *hookServiceUpdateHookClient) Recv() (*UpdateHookResponse, error) { + m := new(UpdateHookResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *hookServiceClient) ReferenceTransactionHook(ctx context.Context, opts ...grpc.CallOption) (HookService_ReferenceTransactionHookClient, error) { + stream, err := c.cc.NewStream(ctx, &HookService_ServiceDesc.Streams[3], "/gitaly.HookService/ReferenceTransactionHook", opts...) + if err != nil { + return nil, err + } + x := &hookServiceReferenceTransactionHookClient{stream} + return x, nil +} + +type HookService_ReferenceTransactionHookClient interface { + Send(*ReferenceTransactionHookRequest) error + Recv() (*ReferenceTransactionHookResponse, error) + grpc.ClientStream +} + +type hookServiceReferenceTransactionHookClient struct { + grpc.ClientStream +} + +func (x *hookServiceReferenceTransactionHookClient) Send(m *ReferenceTransactionHookRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *hookServiceReferenceTransactionHookClient) Recv() (*ReferenceTransactionHookResponse, error) { + m := new(ReferenceTransactionHookResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *hookServiceClient) PackObjectsHookWithSidechannel(ctx context.Context, in *PackObjectsHookWithSidechannelRequest, opts ...grpc.CallOption) (*PackObjectsHookWithSidechannelResponse, error) { + out := new(PackObjectsHookWithSidechannelResponse) + err := c.cc.Invoke(ctx, "/gitaly.HookService/PackObjectsHookWithSidechannel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// HookServiceServer is the server API for HookService service. +// All implementations must embed UnimplementedHookServiceServer +// for forward compatibility +type HookServiceServer interface { + // This comment is left unintentionally blank. + PreReceiveHook(HookService_PreReceiveHookServer) error + // This comment is left unintentionally blank. + PostReceiveHook(HookService_PostReceiveHookServer) error + // This comment is left unintentionally blank. + UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error + // This comment is left unintentionally blank. + ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error + // PackObjectsHookWithSidechannel is an optimized version of PackObjectsHook that uses + // a unix socket side channel. + PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error) + mustEmbedUnimplementedHookServiceServer() +} + +// UnimplementedHookServiceServer must be embedded to have forward compatible implementations. +type UnimplementedHookServiceServer struct { +} + +func (UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error { + return status.Errorf(codes.Unimplemented, "method PreReceiveHook not implemented") +} +func (UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error { + return status.Errorf(codes.Unimplemented, "method PostReceiveHook not implemented") +} +func (UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error { + return status.Errorf(codes.Unimplemented, "method UpdateHook not implemented") +} +func (UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error { + return status.Errorf(codes.Unimplemented, "method ReferenceTransactionHook not implemented") +} +func (UnimplementedHookServiceServer) PackObjectsHookWithSidechannel(context.Context, *PackObjectsHookWithSidechannelRequest) (*PackObjectsHookWithSidechannelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PackObjectsHookWithSidechannel not implemented") +} +func (UnimplementedHookServiceServer) mustEmbedUnimplementedHookServiceServer() {} + +// UnsafeHookServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to HookServiceServer will +// result in compilation errors. +type UnsafeHookServiceServer interface { + mustEmbedUnimplementedHookServiceServer() +} + +func RegisterHookServiceServer(s grpc.ServiceRegistrar, srv HookServiceServer) { + s.RegisterService(&HookService_ServiceDesc, srv) +} + +func _HookService_PreReceiveHook_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(HookServiceServer).PreReceiveHook(&hookServicePreReceiveHookServer{stream}) +} + +type HookService_PreReceiveHookServer interface { + Send(*PreReceiveHookResponse) error + Recv() (*PreReceiveHookRequest, error) + grpc.ServerStream +} + +type hookServicePreReceiveHookServer struct { + grpc.ServerStream +} + +func (x *hookServicePreReceiveHookServer) Send(m *PreReceiveHookResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *hookServicePreReceiveHookServer) Recv() (*PreReceiveHookRequest, error) { + m := new(PreReceiveHookRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _HookService_PostReceiveHook_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(HookServiceServer).PostReceiveHook(&hookServicePostReceiveHookServer{stream}) +} + +type HookService_PostReceiveHookServer interface { + Send(*PostReceiveHookResponse) error + Recv() (*PostReceiveHookRequest, error) + grpc.ServerStream +} + +type hookServicePostReceiveHookServer struct { + grpc.ServerStream +} + +func (x *hookServicePostReceiveHookServer) Send(m *PostReceiveHookResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *hookServicePostReceiveHookServer) Recv() (*PostReceiveHookRequest, error) { + m := new(PostReceiveHookRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _HookService_UpdateHook_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(UpdateHookRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(HookServiceServer).UpdateHook(m, &hookServiceUpdateHookServer{stream}) +} + +type HookService_UpdateHookServer interface { + Send(*UpdateHookResponse) error + grpc.ServerStream +} + +type hookServiceUpdateHookServer struct { + grpc.ServerStream +} + +func (x *hookServiceUpdateHookServer) Send(m *UpdateHookResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _HookService_ReferenceTransactionHook_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(HookServiceServer).ReferenceTransactionHook(&hookServiceReferenceTransactionHookServer{stream}) +} + +type HookService_ReferenceTransactionHookServer interface { + Send(*ReferenceTransactionHookResponse) error + Recv() (*ReferenceTransactionHookRequest, error) + grpc.ServerStream +} + +type hookServiceReferenceTransactionHookServer struct { + grpc.ServerStream +} + +func (x *hookServiceReferenceTransactionHookServer) Send(m *ReferenceTransactionHookResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *hookServiceReferenceTransactionHookServer) Recv() (*ReferenceTransactionHookRequest, error) { + m := new(ReferenceTransactionHookRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _HookService_PackObjectsHookWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PackObjectsHookWithSidechannelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(HookServiceServer).PackObjectsHookWithSidechannel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.HookService/PackObjectsHookWithSidechannel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(HookServiceServer).PackObjectsHookWithSidechannel(ctx, req.(*PackObjectsHookWithSidechannelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// HookService_ServiceDesc is the grpc.ServiceDesc for HookService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var HookService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.HookService", + HandlerType: (*HookServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "PackObjectsHookWithSidechannel", + Handler: _HookService_PackObjectsHookWithSidechannel_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "PreReceiveHook", + Handler: _HookService_PreReceiveHook_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "PostReceiveHook", + Handler: _HookService_PostReceiveHook_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "UpdateHook", + Handler: _HookService_UpdateHook_Handler, + ServerStreams: true, + }, + { + StreamName: "ReferenceTransactionHook", + Handler: _HookService_ReferenceTransactionHook_Handler, + ServerStreams: true, + ClientStreams: true, + }, + }, + Metadata: "hook.proto", +} diff --git a/v14/proto/go/gitalypb/internal.pb.go b/v14/proto/go/gitalypb/internal.pb.go new file mode 100644 index 000000000..ed3f6bcd4 --- /dev/null +++ b/v14/proto/go/gitalypb/internal.pb.go @@ -0,0 +1,244 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: internal.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type WalkReposRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` +} + +func (x *WalkReposRequest) Reset() { + *x = WalkReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WalkReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WalkReposRequest) ProtoMessage() {} + +func (x *WalkReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_internal_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WalkReposRequest.ProtoReflect.Descriptor instead. +func (*WalkReposRequest) Descriptor() ([]byte, []int) { + return file_internal_proto_rawDescGZIP(), []int{0} +} + +func (x *WalkReposRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +// This comment is left unintentionally blank. +type WalkReposResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // modification_time is the modification time of the repository directory. + // This can be used as a proxy for when the repository was last + // modified. + ModificationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=modification_time,json=modificationTime,proto3" json:"modification_time,omitempty"` +} + +func (x *WalkReposResponse) Reset() { + *x = WalkReposResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WalkReposResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WalkReposResponse) ProtoMessage() {} + +func (x *WalkReposResponse) ProtoReflect() protoreflect.Message { + mi := &file_internal_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WalkReposResponse.ProtoReflect.Descriptor instead. +func (*WalkReposResponse) Descriptor() ([]byte, []int) { + return file_internal_proto_rawDescGZIP(), []int{1} +} + +func (x *WalkReposResponse) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *WalkReposResponse) GetModificationTime() *timestamppb.Timestamp { + if x != nil { + return x.ModificationTime + } + return nil +} + +var File_internal_proto protoreflect.FileDescriptor + +var file_internal_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x10, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, + 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x47, 0x0a, + 0x11, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x32, 0x5e, 0x0a, 0x0e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x47, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x12, 0x4c, 0x0a, 0x09, 0x57, 0x61, 0x6c, 0x6b, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, + 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, + 0x08, 0x02, 0x10, 0x02, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_internal_proto_rawDescOnce sync.Once + file_internal_proto_rawDescData = file_internal_proto_rawDesc +) + +func file_internal_proto_rawDescGZIP() []byte { + file_internal_proto_rawDescOnce.Do(func() { + file_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_proto_rawDescData) + }) + return file_internal_proto_rawDescData +} + +var file_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_internal_proto_goTypes = []interface{}{ + (*WalkReposRequest)(nil), // 0: gitaly.WalkReposRequest + (*WalkReposResponse)(nil), // 1: gitaly.WalkReposResponse + (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp +} +var file_internal_proto_depIdxs = []int32{ + 2, // 0: gitaly.WalkReposResponse.modification_time:type_name -> google.protobuf.Timestamp + 0, // 1: gitaly.InternalGitaly.WalkRepos:input_type -> gitaly.WalkReposRequest + 1, // 2: gitaly.InternalGitaly.WalkRepos:output_type -> gitaly.WalkReposResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_internal_proto_init() } +func file_internal_proto_init() { + if File_internal_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WalkReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WalkReposResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_internal_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_internal_proto_goTypes, + DependencyIndexes: file_internal_proto_depIdxs, + MessageInfos: file_internal_proto_msgTypes, + }.Build() + File_internal_proto = out.File + file_internal_proto_rawDesc = nil + file_internal_proto_goTypes = nil + file_internal_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/internal_grpc.pb.go b/v14/proto/go/gitalypb/internal_grpc.pb.go new file mode 100644 index 000000000..6b5b3564c --- /dev/null +++ b/v14/proto/go/gitalypb/internal_grpc.pb.go @@ -0,0 +1,132 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// InternalGitalyClient is the client API for InternalGitaly service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type InternalGitalyClient interface { + // WalkRepos walks the storage and streams back all known git repos on the + // requested storage + WalkRepos(ctx context.Context, in *WalkReposRequest, opts ...grpc.CallOption) (InternalGitaly_WalkReposClient, error) +} + +type internalGitalyClient struct { + cc grpc.ClientConnInterface +} + +func NewInternalGitalyClient(cc grpc.ClientConnInterface) InternalGitalyClient { + return &internalGitalyClient{cc} +} + +func (c *internalGitalyClient) WalkRepos(ctx context.Context, in *WalkReposRequest, opts ...grpc.CallOption) (InternalGitaly_WalkReposClient, error) { + stream, err := c.cc.NewStream(ctx, &InternalGitaly_ServiceDesc.Streams[0], "/gitaly.InternalGitaly/WalkRepos", opts...) + if err != nil { + return nil, err + } + x := &internalGitalyWalkReposClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type InternalGitaly_WalkReposClient interface { + Recv() (*WalkReposResponse, error) + grpc.ClientStream +} + +type internalGitalyWalkReposClient struct { + grpc.ClientStream +} + +func (x *internalGitalyWalkReposClient) Recv() (*WalkReposResponse, error) { + m := new(WalkReposResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// InternalGitalyServer is the server API for InternalGitaly service. +// All implementations must embed UnimplementedInternalGitalyServer +// for forward compatibility +type InternalGitalyServer interface { + // WalkRepos walks the storage and streams back all known git repos on the + // requested storage + WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error + mustEmbedUnimplementedInternalGitalyServer() +} + +// UnimplementedInternalGitalyServer must be embedded to have forward compatible implementations. +type UnimplementedInternalGitalyServer struct { +} + +func (UnimplementedInternalGitalyServer) WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error { + return status.Errorf(codes.Unimplemented, "method WalkRepos not implemented") +} +func (UnimplementedInternalGitalyServer) mustEmbedUnimplementedInternalGitalyServer() {} + +// UnsafeInternalGitalyServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to InternalGitalyServer will +// result in compilation errors. +type UnsafeInternalGitalyServer interface { + mustEmbedUnimplementedInternalGitalyServer() +} + +func RegisterInternalGitalyServer(s grpc.ServiceRegistrar, srv InternalGitalyServer) { + s.RegisterService(&InternalGitaly_ServiceDesc, srv) +} + +func _InternalGitaly_WalkRepos_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WalkReposRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(InternalGitalyServer).WalkRepos(m, &internalGitalyWalkReposServer{stream}) +} + +type InternalGitaly_WalkReposServer interface { + Send(*WalkReposResponse) error + grpc.ServerStream +} + +type internalGitalyWalkReposServer struct { + grpc.ServerStream +} + +func (x *internalGitalyWalkReposServer) Send(m *WalkReposResponse) error { + return x.ServerStream.SendMsg(m) +} + +// InternalGitaly_ServiceDesc is the grpc.ServiceDesc for InternalGitaly service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var InternalGitaly_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.InternalGitaly", + HandlerType: (*InternalGitalyServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "WalkRepos", + Handler: _InternalGitaly_WalkRepos_Handler, + ServerStreams: true, + }, + }, + Metadata: "internal.proto", +} diff --git a/v14/proto/go/gitalypb/lint.pb.go b/v14/proto/go/gitalypb/lint.pb.go new file mode 100644 index 000000000..08d2ad0ae --- /dev/null +++ b/v14/proto/go/gitalypb/lint.pb.go @@ -0,0 +1,438 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: lint.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + descriptorpb "google.golang.org/protobuf/types/descriptorpb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type OperationMsg_Operation int32 + +const ( + // This comment is left unintentionally blank. + OperationMsg_UNKNOWN OperationMsg_Operation = 0 + // This comment is left unintentionally blank. + OperationMsg_MUTATOR OperationMsg_Operation = 1 + // This comment is left unintentionally blank. + OperationMsg_ACCESSOR OperationMsg_Operation = 2 + // This comment is left unintentionally blank. + OperationMsg_MAINTENANCE OperationMsg_Operation = 3 +) + +// Enum value maps for OperationMsg_Operation. +var ( + OperationMsg_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "MUTATOR", + 2: "ACCESSOR", + 3: "MAINTENANCE", + } + OperationMsg_Operation_value = map[string]int32{ + "UNKNOWN": 0, + "MUTATOR": 1, + "ACCESSOR": 2, + "MAINTENANCE": 3, + } +) + +func (x OperationMsg_Operation) Enum() *OperationMsg_Operation { + p := new(OperationMsg_Operation) + *p = x + return p +} + +func (x OperationMsg_Operation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OperationMsg_Operation) Descriptor() protoreflect.EnumDescriptor { + return file_lint_proto_enumTypes[0].Descriptor() +} + +func (OperationMsg_Operation) Type() protoreflect.EnumType { + return &file_lint_proto_enumTypes[0] +} + +func (x OperationMsg_Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OperationMsg_Operation.Descriptor instead. +func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int) { + return file_lint_proto_rawDescGZIP(), []int{0, 0} +} + +// This comment is left unintentionally blank. +type OperationMsg_Scope int32 + +const ( + // This comment is left unintentionally blank. + OperationMsg_REPOSITORY OperationMsg_Scope = 0 + // This comment is left unintentionally blank. + OperationMsg_STORAGE OperationMsg_Scope = 2 +) + +// Enum value maps for OperationMsg_Scope. +var ( + OperationMsg_Scope_name = map[int32]string{ + 0: "REPOSITORY", + 2: "STORAGE", + } + OperationMsg_Scope_value = map[string]int32{ + "REPOSITORY": 0, + "STORAGE": 2, + } +) + +func (x OperationMsg_Scope) Enum() *OperationMsg_Scope { + p := new(OperationMsg_Scope) + *p = x + return p +} + +func (x OperationMsg_Scope) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OperationMsg_Scope) Descriptor() protoreflect.EnumDescriptor { + return file_lint_proto_enumTypes[1].Descriptor() +} + +func (OperationMsg_Scope) Type() protoreflect.EnumType { + return &file_lint_proto_enumTypes[1] +} + +func (x OperationMsg_Scope) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OperationMsg_Scope.Descriptor instead. +func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int) { + return file_lint_proto_rawDescGZIP(), []int{0, 1} +} + +// This comment is left unintentionally blank. +type OperationMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"` + // Scope level indicates what level an RPC interacts with a server: + // - REPOSITORY: scoped to only a single repo + // - SERVER: affects the entire server and potentially all repos + // - STORAGE: scoped to a specific storage location and all repos within + ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` +} + +func (x *OperationMsg) Reset() { + *x = OperationMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_lint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OperationMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OperationMsg) ProtoMessage() {} + +func (x *OperationMsg) ProtoReflect() protoreflect.Message { + mi := &file_lint_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OperationMsg.ProtoReflect.Descriptor instead. +func (*OperationMsg) Descriptor() ([]byte, []int) { + return file_lint_proto_rawDescGZIP(), []int{0} +} + +func (x *OperationMsg) GetOp() OperationMsg_Operation { + if x != nil { + return x.Op + } + return OperationMsg_UNKNOWN +} + +func (x *OperationMsg) GetScopeLevel() OperationMsg_Scope { + if x != nil { + return x.ScopeLevel + } + return OperationMsg_REPOSITORY +} + +var file_lint_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptorpb.ServiceOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 82302, + Name: "gitaly.intercepted", + Tag: "varint,82302,opt,name=intercepted", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.MethodOptions)(nil), + ExtensionType: (*OperationMsg)(nil), + Field: 82303, + Name: "gitaly.op_type", + Tag: "bytes,82303,opt,name=op_type", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.MethodOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 82304, + Name: "gitaly.intercepted_method", + Tag: "varint,82304,opt,name=intercepted_method", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91233, + Name: "gitaly.storage", + Tag: "varint,91233,opt,name=storage", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91234, + Name: "gitaly.repository", + Tag: "varint,91234,opt,name=repository", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91235, + Name: "gitaly.target_repository", + Tag: "varint,91235,opt,name=target_repository", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptorpb.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91236, + Name: "gitaly.additional_repository", + Tag: "varint,91236,opt,name=additional_repository", + Filename: "lint.proto", + }, +} + +// Extension fields to descriptorpb.ServiceOptions. +var ( + // intercepted indicates whether the proxy intercepts and handles the call + // instead of proxying. Intercepted services do not require scope or operation + // annotations. + // + // optional bool intercepted = 82302; + E_Intercepted = &file_lint_proto_extTypes[0] +) + +// Extension fields to descriptorpb.MethodOptions. +var ( + // Random high number.. + // + // optional gitaly.OperationMsg op_type = 82303; + E_OpType = &file_lint_proto_extTypes[1] + // intercepted_method indicates whether the proxy intercepts and handles the method call + // instead of proxying. Intercepted methods do not require operation type annotations. + // + // optional bool intercepted_method = 82304; + E_InterceptedMethod = &file_lint_proto_extTypes[2] +) + +// Extension fields to descriptorpb.FieldOptions. +var ( + // Used to mark field containing name of affected storage. + // + // optional bool storage = 91233; + E_Storage = &file_lint_proto_extTypes[3] // Random high number.. + // If this operation modifies a repository, this annotations + // will specify the location of the Repository field within + // the request message. + // + // Repository annotation is used mark field used as repository + // when parent message is marked as target or additional repository + // + // optional bool repository = 91234; + E_Repository = &file_lint_proto_extTypes[4] + // Used to mark target repository + // + // optional bool target_repository = 91235; + E_TargetRepository = &file_lint_proto_extTypes[5] + // Used to mark additional repository + // + // optional bool additional_repository = 91236; + E_AdditionalRepository = &file_lint_proto_extTypes[6] +) + +var File_lint_proto protoreflect.FileDescriptor + +var file_lint_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x01, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x70, 0x65, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x73, 0x67, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x22, 0x44, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, + 0x0a, 0x07, 0x4d, 0x55, 0x54, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, + 0x43, 0x43, 0x45, 0x53, 0x53, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x41, 0x49, + 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x03, 0x22, 0x32, 0x0a, 0x05, 0x53, 0x63, + 0x6f, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, + 0x59, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x02, + 0x22, 0x04, 0x08, 0x01, 0x10, 0x01, 0x2a, 0x06, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x3a, 0x43, + 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfe, + 0x82, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, + 0x74, 0x65, 0x64, 0x3a, 0x4f, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xff, + 0x82, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x52, 0x06, 0x6f, 0x70, + 0x54, 0x79, 0x70, 0x65, 0x3a, 0x4f, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, + 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x80, 0x83, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3a, 0x39, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0xe1, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x3a, 0x3f, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe2, 0xc8, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x3a, 0x4c, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe3, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x3a, + 0x54, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe4, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_lint_proto_rawDescOnce sync.Once + file_lint_proto_rawDescData = file_lint_proto_rawDesc +) + +func file_lint_proto_rawDescGZIP() []byte { + file_lint_proto_rawDescOnce.Do(func() { + file_lint_proto_rawDescData = protoimpl.X.CompressGZIP(file_lint_proto_rawDescData) + }) + return file_lint_proto_rawDescData +} + +var file_lint_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_lint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_lint_proto_goTypes = []interface{}{ + (OperationMsg_Operation)(0), // 0: gitaly.OperationMsg.Operation + (OperationMsg_Scope)(0), // 1: gitaly.OperationMsg.Scope + (*OperationMsg)(nil), // 2: gitaly.OperationMsg + (*descriptorpb.ServiceOptions)(nil), // 3: google.protobuf.ServiceOptions + (*descriptorpb.MethodOptions)(nil), // 4: google.protobuf.MethodOptions + (*descriptorpb.FieldOptions)(nil), // 5: google.protobuf.FieldOptions +} +var file_lint_proto_depIdxs = []int32{ + 0, // 0: gitaly.OperationMsg.op:type_name -> gitaly.OperationMsg.Operation + 1, // 1: gitaly.OperationMsg.scope_level:type_name -> gitaly.OperationMsg.Scope + 3, // 2: gitaly.intercepted:extendee -> google.protobuf.ServiceOptions + 4, // 3: gitaly.op_type:extendee -> google.protobuf.MethodOptions + 4, // 4: gitaly.intercepted_method:extendee -> google.protobuf.MethodOptions + 5, // 5: gitaly.storage:extendee -> google.protobuf.FieldOptions + 5, // 6: gitaly.repository:extendee -> google.protobuf.FieldOptions + 5, // 7: gitaly.target_repository:extendee -> google.protobuf.FieldOptions + 5, // 8: gitaly.additional_repository:extendee -> google.protobuf.FieldOptions + 2, // 9: gitaly.op_type:type_name -> gitaly.OperationMsg + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 9, // [9:10] is the sub-list for extension type_name + 2, // [2:9] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_lint_proto_init() } +func file_lint_proto_init() { + if File_lint_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_lint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_lint_proto_rawDesc, + NumEnums: 2, + NumMessages: 1, + NumExtensions: 7, + NumServices: 0, + }, + GoTypes: file_lint_proto_goTypes, + DependencyIndexes: file_lint_proto_depIdxs, + EnumInfos: file_lint_proto_enumTypes, + MessageInfos: file_lint_proto_msgTypes, + ExtensionInfos: file_lint_proto_extTypes, + }.Build() + File_lint_proto = out.File + file_lint_proto_rawDesc = nil + file_lint_proto_goTypes = nil + file_lint_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/namespace.pb.go b/v14/proto/go/gitalypb/namespace.pb.go new file mode 100644 index 000000000..135661650 --- /dev/null +++ b/v14/proto/go/gitalypb/namespace.pb.go @@ -0,0 +1,658 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: namespace.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type AddNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *AddNamespaceRequest) Reset() { + *x = AddNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddNamespaceRequest) ProtoMessage() {} + +func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddNamespaceRequest.ProtoReflect.Descriptor instead. +func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{0} +} + +func (x *AddNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *AddNamespaceRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// This comment is left unintentionally blank. +type RemoveNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *RemoveNamespaceRequest) Reset() { + *x = RemoveNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveNamespaceRequest) ProtoMessage() {} + +func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead. +func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{1} +} + +func (x *RemoveNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *RemoveNamespaceRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// This comment is left unintentionally blank. +type RenameNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + // This comment is left unintentionally blank. + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` +} + +func (x *RenameNamespaceRequest) Reset() { + *x = RenameNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RenameNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RenameNamespaceRequest) ProtoMessage() {} + +func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RenameNamespaceRequest.ProtoReflect.Descriptor instead. +func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{2} +} + +func (x *RenameNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *RenameNamespaceRequest) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +func (x *RenameNamespaceRequest) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +// This comment is left unintentionally blank. +type NamespaceExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *NamespaceExistsRequest) Reset() { + *x = NamespaceExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceExistsRequest) ProtoMessage() {} + +func (x *NamespaceExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NamespaceExistsRequest.ProtoReflect.Descriptor instead. +func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{3} +} + +func (x *NamespaceExistsRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *NamespaceExistsRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// This comment is left unintentionally blank. +type NamespaceExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` +} + +func (x *NamespaceExistsResponse) Reset() { + *x = NamespaceExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespaceExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespaceExistsResponse) ProtoMessage() {} + +func (x *NamespaceExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NamespaceExistsResponse.ProtoReflect.Descriptor instead. +func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{4} +} + +func (x *NamespaceExistsResponse) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +// This comment is left unintentionally blank. +type AddNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AddNamespaceResponse) Reset() { + *x = AddNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddNamespaceResponse) ProtoMessage() {} + +func (x *AddNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AddNamespaceResponse.ProtoReflect.Descriptor instead. +func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{5} +} + +// This comment is left unintentionally blank. +type RemoveNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveNamespaceResponse) Reset() { + *x = RemoveNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveNamespaceResponse) ProtoMessage() {} + +func (x *RemoveNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveNamespaceResponse.ProtoReflect.Descriptor instead. +func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{6} +} + +// This comment is left unintentionally blank. +type RenameNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RenameNamespaceResponse) Reset() { + *x = RenameNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RenameNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RenameNamespaceResponse) ProtoMessage() {} + +func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RenameNamespaceResponse.ProtoReflect.Descriptor instead. +func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{7} +} + +var File_namespace_proto protoreflect.FileDescriptor + +var file_namespace_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x52, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x16, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, + 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x65, 0x0a, 0x16, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, + 0x0a, 0x17, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x22, 0x16, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0x81, 0x03, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, + 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, + 0x02, 0x10, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_namespace_proto_rawDescOnce sync.Once + file_namespace_proto_rawDescData = file_namespace_proto_rawDesc +) + +func file_namespace_proto_rawDescGZIP() []byte { + file_namespace_proto_rawDescOnce.Do(func() { + file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData) + }) + return file_namespace_proto_rawDescData +} + +var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_namespace_proto_goTypes = []interface{}{ + (*AddNamespaceRequest)(nil), // 0: gitaly.AddNamespaceRequest + (*RemoveNamespaceRequest)(nil), // 1: gitaly.RemoveNamespaceRequest + (*RenameNamespaceRequest)(nil), // 2: gitaly.RenameNamespaceRequest + (*NamespaceExistsRequest)(nil), // 3: gitaly.NamespaceExistsRequest + (*NamespaceExistsResponse)(nil), // 4: gitaly.NamespaceExistsResponse + (*AddNamespaceResponse)(nil), // 5: gitaly.AddNamespaceResponse + (*RemoveNamespaceResponse)(nil), // 6: gitaly.RemoveNamespaceResponse + (*RenameNamespaceResponse)(nil), // 7: gitaly.RenameNamespaceResponse +} +var file_namespace_proto_depIdxs = []int32{ + 0, // 0: gitaly.NamespaceService.AddNamespace:input_type -> gitaly.AddNamespaceRequest + 1, // 1: gitaly.NamespaceService.RemoveNamespace:input_type -> gitaly.RemoveNamespaceRequest + 2, // 2: gitaly.NamespaceService.RenameNamespace:input_type -> gitaly.RenameNamespaceRequest + 3, // 3: gitaly.NamespaceService.NamespaceExists:input_type -> gitaly.NamespaceExistsRequest + 5, // 4: gitaly.NamespaceService.AddNamespace:output_type -> gitaly.AddNamespaceResponse + 6, // 5: gitaly.NamespaceService.RemoveNamespace:output_type -> gitaly.RemoveNamespaceResponse + 7, // 6: gitaly.NamespaceService.RenameNamespace:output_type -> gitaly.RenameNamespaceResponse + 4, // 7: gitaly.NamespaceService.NamespaceExists:output_type -> gitaly.NamespaceExistsResponse + 4, // [4:8] is the sub-list for method output_type + 0, // [0:4] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_namespace_proto_init() } +func file_namespace_proto_init() { + if File_namespace_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_namespace_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_namespace_proto_goTypes, + DependencyIndexes: file_namespace_proto_depIdxs, + MessageInfos: file_namespace_proto_msgTypes, + }.Build() + File_namespace_proto = out.File + file_namespace_proto_rawDesc = nil + file_namespace_proto_goTypes = nil + file_namespace_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/namespace_grpc.pb.go b/v14/proto/go/gitalypb/namespace_grpc.pb.go new file mode 100644 index 000000000..b7d1b33ab --- /dev/null +++ b/v14/proto/go/gitalypb/namespace_grpc.pb.go @@ -0,0 +1,217 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// NamespaceServiceClient is the client API for NamespaceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type NamespaceServiceClient interface { + // This comment is left unintentionally blank. + AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) + // This comment is left unintentionally blank. + RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) + // This comment is left unintentionally blank. + RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) + // This comment is left unintentionally blank. + NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) +} + +type namespaceServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { + return &namespaceServiceClient{cc} +} + +func (c *namespaceServiceClient) AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) { + out := new(AddNamespaceResponse) + err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/AddNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) { + out := new(RemoveNamespaceResponse) + err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/RemoveNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) { + out := new(RenameNamespaceResponse) + err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/RenameNamespace", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *namespaceServiceClient) NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) { + out := new(NamespaceExistsResponse) + err := c.cc.Invoke(ctx, "/gitaly.NamespaceService/NamespaceExists", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// NamespaceServiceServer is the server API for NamespaceService service. +// All implementations must embed UnimplementedNamespaceServiceServer +// for forward compatibility +type NamespaceServiceServer interface { + // This comment is left unintentionally blank. + AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) + // This comment is left unintentionally blank. + RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) + // This comment is left unintentionally blank. + RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) + // This comment is left unintentionally blank. + NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) + mustEmbedUnimplementedNamespaceServiceServer() +} + +// UnimplementedNamespaceServiceServer must be embedded to have forward compatible implementations. +type UnimplementedNamespaceServiceServer struct { +} + +func (UnimplementedNamespaceServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameNamespace not implemented") +} +func (UnimplementedNamespaceServiceServer) NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NamespaceExists not implemented") +} +func (UnimplementedNamespaceServiceServer) mustEmbedUnimplementedNamespaceServiceServer() {} + +// UnsafeNamespaceServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to NamespaceServiceServer will +// result in compilation errors. +type UnsafeNamespaceServiceServer interface { + mustEmbedUnimplementedNamespaceServiceServer() +} + +func RegisterNamespaceServiceServer(s grpc.ServiceRegistrar, srv NamespaceServiceServer) { + s.RegisterService(&NamespaceService_ServiceDesc, srv) +} + +func _NamespaceService_AddNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).AddNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.NamespaceService/AddNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).AddNamespace(ctx, req.(*AddNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_RemoveNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).RemoveNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.NamespaceService/RemoveNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).RemoveNamespace(ctx, req.(*RemoveNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_RenameNamespace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RenameNamespaceRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).RenameNamespace(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.NamespaceService/RenameNamespace", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).RenameNamespace(ctx, req.(*RenameNamespaceRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _NamespaceService_NamespaceExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NamespaceExistsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(NamespaceServiceServer).NamespaceExists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.NamespaceService/NamespaceExists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(NamespaceServiceServer).NamespaceExists(ctx, req.(*NamespaceExistsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// NamespaceService_ServiceDesc is the grpc.ServiceDesc for NamespaceService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var NamespaceService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.NamespaceService", + HandlerType: (*NamespaceServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AddNamespace", + Handler: _NamespaceService_AddNamespace_Handler, + }, + { + MethodName: "RemoveNamespace", + Handler: _NamespaceService_RemoveNamespace_Handler, + }, + { + MethodName: "RenameNamespace", + Handler: _NamespaceService_RenameNamespace_Handler, + }, + { + MethodName: "NamespaceExists", + Handler: _NamespaceService_NamespaceExists_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "namespace.proto", +} diff --git a/v14/proto/go/gitalypb/objectpool.pb.go b/v14/proto/go/gitalypb/objectpool.pb.go new file mode 100644 index 000000000..461d6a992 --- /dev/null +++ b/v14/proto/go/gitalypb/objectpool.pb.go @@ -0,0 +1,1073 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: objectpool.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Creates an object pool from the repository. The client is responsible for +// joining this pool later with this repository. +type CreateObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + // This comment is left unintentionally blank. + Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` +} + +func (x *CreateObjectPoolRequest) Reset() { + *x = CreateObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateObjectPoolRequest) ProtoMessage() {} + +func (x *CreateObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{0} +} + +func (x *CreateObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool + } + return nil +} + +func (x *CreateObjectPoolRequest) GetOrigin() *Repository { + if x != nil { + return x.Origin + } + return nil +} + +// This comment is left unintentionally blank. +type CreateObjectPoolResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateObjectPoolResponse) Reset() { + *x = CreateObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateObjectPoolResponse) ProtoMessage() {} + +func (x *CreateObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{1} +} + +// Removes the directory from disk, caller is responsible for leaving the object +// pool before calling this RPC +type DeleteObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` +} + +func (x *DeleteObjectPoolRequest) Reset() { + *x = DeleteObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteObjectPoolRequest) ProtoMessage() {} + +func (x *DeleteObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{2} +} + +func (x *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool + } + return nil +} + +// This comment is left unintentionally blank. +type DeleteObjectPoolResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteObjectPoolResponse) Reset() { + *x = DeleteObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteObjectPoolResponse) ProtoMessage() {} + +func (x *DeleteObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{3} +} + +// This comment is left unintentionally blank. +type LinkRepositoryToObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *LinkRepositoryToObjectPoolRequest) Reset() { + *x = LinkRepositoryToObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LinkRepositoryToObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {} + +func (x *LinkRepositoryToObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LinkRepositoryToObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{4} +} + +func (x *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool + } + return nil +} + +func (x *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type LinkRepositoryToObjectPoolResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *LinkRepositoryToObjectPoolResponse) Reset() { + *x = LinkRepositoryToObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LinkRepositoryToObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {} + +func (x *LinkRepositoryToObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use LinkRepositoryToObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{5} +} + +// This comment is left unintentionally blank. +type ReduplicateRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *ReduplicateRepositoryRequest) Reset() { + *x = ReduplicateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReduplicateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReduplicateRepositoryRequest) ProtoMessage() {} + +func (x *ReduplicateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReduplicateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*ReduplicateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{6} +} + +func (x *ReduplicateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type ReduplicateRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReduplicateRepositoryResponse) Reset() { + *x = ReduplicateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReduplicateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReduplicateRepositoryResponse) ProtoMessage() {} + +func (x *ReduplicateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReduplicateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*ReduplicateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{7} +} + +// This comment is left unintentionally blank. +type DisconnectGitAlternatesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *DisconnectGitAlternatesRequest) Reset() { + *x = DisconnectGitAlternatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisconnectGitAlternatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectGitAlternatesRequest) ProtoMessage() {} + +func (x *DisconnectGitAlternatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectGitAlternatesRequest.ProtoReflect.Descriptor instead. +func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{8} +} + +func (x *DisconnectGitAlternatesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type DisconnectGitAlternatesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisconnectGitAlternatesResponse) Reset() { + *x = DisconnectGitAlternatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisconnectGitAlternatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectGitAlternatesResponse) ProtoMessage() {} + +func (x *DisconnectGitAlternatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectGitAlternatesResponse.ProtoReflect.Descriptor instead. +func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{9} +} + +// This comment is left unintentionally blank. +type FetchIntoObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` + // This comment is left unintentionally blank. + ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + // This comment is left unintentionally blank. + Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"` +} + +func (x *FetchIntoObjectPoolRequest) Reset() { + *x = FetchIntoObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchIntoObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchIntoObjectPoolRequest) ProtoMessage() {} + +func (x *FetchIntoObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchIntoObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{10} +} + +func (x *FetchIntoObjectPoolRequest) GetOrigin() *Repository { + if x != nil { + return x.Origin + } + return nil +} + +func (x *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool + } + return nil +} + +func (x *FetchIntoObjectPoolRequest) GetRepack() bool { + if x != nil { + return x.Repack + } + return false +} + +// This comment is left unintentionally blank. +type FetchIntoObjectPoolResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FetchIntoObjectPoolResponse) Reset() { + *x = FetchIntoObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchIntoObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchIntoObjectPoolResponse) ProtoMessage() {} + +func (x *FetchIntoObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchIntoObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{11} +} + +// This comment is left unintentionally blank. +type GetObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *GetObjectPoolRequest) Reset() { + *x = GetObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetObjectPoolRequest) ProtoMessage() {} + +func (x *GetObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*GetObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{12} +} + +func (x *GetObjectPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type GetObjectPoolResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` +} + +func (x *GetObjectPoolResponse) Reset() { + *x = GetObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetObjectPoolResponse) ProtoMessage() {} + +func (x *GetObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*GetObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{13} +} + +func (x *GetObjectPoolResponse) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool + } + return nil +} + +var File_objectpool_proto protoreflect.FileDescriptor + +var file_objectpool_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x70, 0x6f, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x30, 0x0a, 0x06, 0x6f, + 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x1a, 0x0a, + 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x17, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, + 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x22, + 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x21, + 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x24, 0x0a, 0x22, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x0a, 0x1c, + 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, 0x1e, 0x44, 0x69, 0x73, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x22, 0x21, 0x0a, 0x1f, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x01, 0x0a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, + 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, + 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x22, 0x1d, 0x0a, 0x1b, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4c, 0x0a, 0x15, 0x47, + 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, + 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x0a, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x32, 0xee, 0x05, 0x0a, 0x11, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, + 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, + 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x7b, 0x0a, + 0x1a, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, + 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x29, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x6c, 0x0a, 0x15, 0x52, 0x65, + 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x64, + 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x72, 0x0a, 0x17, 0x44, 0x69, 0x73, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x74, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, + 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, 0x0a, 0x13, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, + 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_objectpool_proto_rawDescOnce sync.Once + file_objectpool_proto_rawDescData = file_objectpool_proto_rawDesc +) + +func file_objectpool_proto_rawDescGZIP() []byte { + file_objectpool_proto_rawDescOnce.Do(func() { + file_objectpool_proto_rawDescData = protoimpl.X.CompressGZIP(file_objectpool_proto_rawDescData) + }) + return file_objectpool_proto_rawDescData +} + +var file_objectpool_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_objectpool_proto_goTypes = []interface{}{ + (*CreateObjectPoolRequest)(nil), // 0: gitaly.CreateObjectPoolRequest + (*CreateObjectPoolResponse)(nil), // 1: gitaly.CreateObjectPoolResponse + (*DeleteObjectPoolRequest)(nil), // 2: gitaly.DeleteObjectPoolRequest + (*DeleteObjectPoolResponse)(nil), // 3: gitaly.DeleteObjectPoolResponse + (*LinkRepositoryToObjectPoolRequest)(nil), // 4: gitaly.LinkRepositoryToObjectPoolRequest + (*LinkRepositoryToObjectPoolResponse)(nil), // 5: gitaly.LinkRepositoryToObjectPoolResponse + (*ReduplicateRepositoryRequest)(nil), // 6: gitaly.ReduplicateRepositoryRequest + (*ReduplicateRepositoryResponse)(nil), // 7: gitaly.ReduplicateRepositoryResponse + (*DisconnectGitAlternatesRequest)(nil), // 8: gitaly.DisconnectGitAlternatesRequest + (*DisconnectGitAlternatesResponse)(nil), // 9: gitaly.DisconnectGitAlternatesResponse + (*FetchIntoObjectPoolRequest)(nil), // 10: gitaly.FetchIntoObjectPoolRequest + (*FetchIntoObjectPoolResponse)(nil), // 11: gitaly.FetchIntoObjectPoolResponse + (*GetObjectPoolRequest)(nil), // 12: gitaly.GetObjectPoolRequest + (*GetObjectPoolResponse)(nil), // 13: gitaly.GetObjectPoolResponse + (*ObjectPool)(nil), // 14: gitaly.ObjectPool + (*Repository)(nil), // 15: gitaly.Repository +} +var file_objectpool_proto_depIdxs = []int32{ + 14, // 0: gitaly.CreateObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 15, // 1: gitaly.CreateObjectPoolRequest.origin:type_name -> gitaly.Repository + 14, // 2: gitaly.DeleteObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 14, // 3: gitaly.LinkRepositoryToObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 15, // 4: gitaly.LinkRepositoryToObjectPoolRequest.repository:type_name -> gitaly.Repository + 15, // 5: gitaly.ReduplicateRepositoryRequest.repository:type_name -> gitaly.Repository + 15, // 6: gitaly.DisconnectGitAlternatesRequest.repository:type_name -> gitaly.Repository + 15, // 7: gitaly.FetchIntoObjectPoolRequest.origin:type_name -> gitaly.Repository + 14, // 8: gitaly.FetchIntoObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 15, // 9: gitaly.GetObjectPoolRequest.repository:type_name -> gitaly.Repository + 14, // 10: gitaly.GetObjectPoolResponse.object_pool:type_name -> gitaly.ObjectPool + 0, // 11: gitaly.ObjectPoolService.CreateObjectPool:input_type -> gitaly.CreateObjectPoolRequest + 2, // 12: gitaly.ObjectPoolService.DeleteObjectPool:input_type -> gitaly.DeleteObjectPoolRequest + 4, // 13: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:input_type -> gitaly.LinkRepositoryToObjectPoolRequest + 6, // 14: gitaly.ObjectPoolService.ReduplicateRepository:input_type -> gitaly.ReduplicateRepositoryRequest + 8, // 15: gitaly.ObjectPoolService.DisconnectGitAlternates:input_type -> gitaly.DisconnectGitAlternatesRequest + 10, // 16: gitaly.ObjectPoolService.FetchIntoObjectPool:input_type -> gitaly.FetchIntoObjectPoolRequest + 12, // 17: gitaly.ObjectPoolService.GetObjectPool:input_type -> gitaly.GetObjectPoolRequest + 1, // 18: gitaly.ObjectPoolService.CreateObjectPool:output_type -> gitaly.CreateObjectPoolResponse + 3, // 19: gitaly.ObjectPoolService.DeleteObjectPool:output_type -> gitaly.DeleteObjectPoolResponse + 5, // 20: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:output_type -> gitaly.LinkRepositoryToObjectPoolResponse + 7, // 21: gitaly.ObjectPoolService.ReduplicateRepository:output_type -> gitaly.ReduplicateRepositoryResponse + 9, // 22: gitaly.ObjectPoolService.DisconnectGitAlternates:output_type -> gitaly.DisconnectGitAlternatesResponse + 11, // 23: gitaly.ObjectPoolService.FetchIntoObjectPool:output_type -> gitaly.FetchIntoObjectPoolResponse + 13, // 24: gitaly.ObjectPoolService.GetObjectPool:output_type -> gitaly.GetObjectPoolResponse + 18, // [18:25] is the sub-list for method output_type + 11, // [11:18] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_objectpool_proto_init() } +func file_objectpool_proto_init() { + if File_objectpool_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_objectpool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepositoryToObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepositoryToObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReduplicateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReduplicateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectGitAlternatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectGitAlternatesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchIntoObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchIntoObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_objectpool_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_objectpool_proto_goTypes, + DependencyIndexes: file_objectpool_proto_depIdxs, + MessageInfos: file_objectpool_proto_msgTypes, + }.Build() + File_objectpool_proto = out.File + file_objectpool_proto_rawDesc = nil + file_objectpool_proto_goTypes = nil + file_objectpool_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/objectpool_grpc.pb.go b/v14/proto/go/gitalypb/objectpool_grpc.pb.go new file mode 100644 index 000000000..c052d4ec3 --- /dev/null +++ b/v14/proto/go/gitalypb/objectpool_grpc.pb.go @@ -0,0 +1,331 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// ObjectPoolServiceClient is the client API for ObjectPoolService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ObjectPoolServiceClient interface { + // This comment is left unintentionally blank. + CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) + // This comment is left unintentionally blank. + DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) + // Repositories are assumed to be stored on the same disk + LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) + // This comment is left unintentionally blank. + ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) + // This comment is left unintentionally blank. + DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) + // This comment is left unintentionally blank. + FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) + // This comment is left unintentionally blank. + GetObjectPool(ctx context.Context, in *GetObjectPoolRequest, opts ...grpc.CallOption) (*GetObjectPoolResponse, error) +} + +type objectPoolServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewObjectPoolServiceClient(cc grpc.ClientConnInterface) ObjectPoolServiceClient { + return &objectPoolServiceClient{cc} +} + +func (c *objectPoolServiceClient) CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) { + out := new(CreateObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/CreateObjectPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) DeleteObjectPool(ctx context.Context, in *DeleteObjectPoolRequest, opts ...grpc.CallOption) (*DeleteObjectPoolResponse, error) { + out := new(DeleteObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/DeleteObjectPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) LinkRepositoryToObjectPool(ctx context.Context, in *LinkRepositoryToObjectPoolRequest, opts ...grpc.CallOption) (*LinkRepositoryToObjectPoolResponse, error) { + out := new(LinkRepositoryToObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) { + out := new(ReduplicateRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/ReduplicateRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) { + out := new(DisconnectGitAlternatesResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/DisconnectGitAlternates", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) { + out := new(FetchIntoObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/FetchIntoObjectPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *objectPoolServiceClient) GetObjectPool(ctx context.Context, in *GetObjectPoolRequest, opts ...grpc.CallOption) (*GetObjectPoolResponse, error) { + out := new(GetObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/GetObjectPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ObjectPoolServiceServer is the server API for ObjectPoolService service. +// All implementations must embed UnimplementedObjectPoolServiceServer +// for forward compatibility +type ObjectPoolServiceServer interface { + // This comment is left unintentionally blank. + CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) + // This comment is left unintentionally blank. + DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) + // Repositories are assumed to be stored on the same disk + LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) + // This comment is left unintentionally blank. + ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) + // This comment is left unintentionally blank. + DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) + // This comment is left unintentionally blank. + FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) + // This comment is left unintentionally blank. + GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) + mustEmbedUnimplementedObjectPoolServiceServer() +} + +// UnimplementedObjectPoolServiceServer must be embedded to have forward compatible implementations. +type UnimplementedObjectPoolServiceServer struct { +} + +func (UnimplementedObjectPoolServiceServer) CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateObjectPool not implemented") +} +func (UnimplementedObjectPoolServiceServer) DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteObjectPool not implemented") +} +func (UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LinkRepositoryToObjectPool not implemented") +} +func (UnimplementedObjectPoolServiceServer) ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReduplicateRepository not implemented") +} +func (UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisconnectGitAlternates not implemented") +} +func (UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchIntoObjectPool not implemented") +} +func (UnimplementedObjectPoolServiceServer) GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetObjectPool not implemented") +} +func (UnimplementedObjectPoolServiceServer) mustEmbedUnimplementedObjectPoolServiceServer() {} + +// UnsafeObjectPoolServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ObjectPoolServiceServer will +// result in compilation errors. +type UnsafeObjectPoolServiceServer interface { + mustEmbedUnimplementedObjectPoolServiceServer() +} + +func RegisterObjectPoolServiceServer(s grpc.ServiceRegistrar, srv ObjectPoolServiceServer) { + s.RegisterService(&ObjectPoolService_ServiceDesc, srv) +} + +func _ObjectPoolService_CreateObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/CreateObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).CreateObjectPool(ctx, req.(*CreateObjectPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_DeleteObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/DeleteObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).DeleteObjectPool(ctx, req.(*DeleteObjectPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_LinkRepositoryToObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(LinkRepositoryToObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/LinkRepositoryToObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).LinkRepositoryToObjectPool(ctx, req.(*LinkRepositoryToObjectPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_ReduplicateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReduplicateRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).ReduplicateRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/ReduplicateRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).ReduplicateRepository(ctx, req.(*ReduplicateRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_DisconnectGitAlternates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DisconnectGitAlternatesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).DisconnectGitAlternates(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/DisconnectGitAlternates", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).DisconnectGitAlternates(ctx, req.(*DisconnectGitAlternatesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_FetchIntoObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchIntoObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).FetchIntoObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/FetchIntoObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).FetchIntoObjectPool(ctx, req.(*FetchIntoObjectPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ObjectPoolService_GetObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).GetObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/GetObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).GetObjectPool(ctx, req.(*GetObjectPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ObjectPoolService_ServiceDesc is the grpc.ServiceDesc for ObjectPoolService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ObjectPoolService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.ObjectPoolService", + HandlerType: (*ObjectPoolServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateObjectPool", + Handler: _ObjectPoolService_CreateObjectPool_Handler, + }, + { + MethodName: "DeleteObjectPool", + Handler: _ObjectPoolService_DeleteObjectPool_Handler, + }, + { + MethodName: "LinkRepositoryToObjectPool", + Handler: _ObjectPoolService_LinkRepositoryToObjectPool_Handler, + }, + { + MethodName: "ReduplicateRepository", + Handler: _ObjectPoolService_ReduplicateRepository_Handler, + }, + { + MethodName: "DisconnectGitAlternates", + Handler: _ObjectPoolService_DisconnectGitAlternates_Handler, + }, + { + MethodName: "FetchIntoObjectPool", + Handler: _ObjectPoolService_FetchIntoObjectPool_Handler, + }, + { + MethodName: "GetObjectPool", + Handler: _ObjectPoolService_GetObjectPool_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "objectpool.proto", +} diff --git a/v14/proto/go/gitalypb/operations.pb.go b/v14/proto/go/gitalypb/operations.pb.go new file mode 100644 index 000000000..67c8676e1 --- /dev/null +++ b/v14/proto/go/gitalypb/operations.pb.go @@ -0,0 +1,5006 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: operations.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// CreateTreeError represents an error which happened when computing the +// cherry-pick. +type UserCherryPickResponse_CreateTreeError int32 + +const ( + // NONE denotes that no error occurred. + UserCherryPickResponse_NONE UserCherryPickResponse_CreateTreeError = 0 + // EMPTY denotes that the cherry-pick would've resulted in an empty commit, + // typically because it has already been applied to the target branch. + UserCherryPickResponse_EMPTY UserCherryPickResponse_CreateTreeError = 1 + // CONFLICT denotes that the cherry-pick resulted in a conflict. + UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2 +) + +// Enum value maps for UserCherryPickResponse_CreateTreeError. +var ( + UserCherryPickResponse_CreateTreeError_name = map[int32]string{ + 0: "NONE", + 1: "EMPTY", + 2: "CONFLICT", + } + UserCherryPickResponse_CreateTreeError_value = map[string]int32{ + "NONE": 0, + "EMPTY": 1, + "CONFLICT": 2, + } +) + +func (x UserCherryPickResponse_CreateTreeError) Enum() *UserCherryPickResponse_CreateTreeError { + p := new(UserCherryPickResponse_CreateTreeError) + *p = x + return p +} + +func (x UserCherryPickResponse_CreateTreeError) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserCherryPickResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[0].Descriptor() +} + +func (UserCherryPickResponse_CreateTreeError) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[0] +} + +func (x UserCherryPickResponse_CreateTreeError) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserCherryPickResponse_CreateTreeError.Descriptor instead. +func (UserCherryPickResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{19, 0} +} + +// CreateTreeError represents an error which happened when computing the +// revert. +type UserRevertResponse_CreateTreeError int32 + +const ( + // NONE denotes that no error occurred. + UserRevertResponse_NONE UserRevertResponse_CreateTreeError = 0 + // EMPTY denotes that the revert would've resulted in an empty commit, + // typically because it has already been applied to the target branch. + UserRevertResponse_EMPTY UserRevertResponse_CreateTreeError = 1 + // CONFLICT denotes that the revert resulted in a conflict. + UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 +) + +// Enum value maps for UserRevertResponse_CreateTreeError. +var ( + UserRevertResponse_CreateTreeError_name = map[int32]string{ + 0: "NONE", + 1: "EMPTY", + 2: "CONFLICT", + } + UserRevertResponse_CreateTreeError_value = map[string]int32{ + "NONE": 0, + "EMPTY": 1, + "CONFLICT": 2, + } +) + +func (x UserRevertResponse_CreateTreeError) Enum() *UserRevertResponse_CreateTreeError { + p := new(UserRevertResponse_CreateTreeError) + *p = x + return p +} + +func (x UserRevertResponse_CreateTreeError) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserRevertResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[1].Descriptor() +} + +func (UserRevertResponse_CreateTreeError) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[1] +} + +func (x UserRevertResponse_CreateTreeError) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserRevertResponse_CreateTreeError.Descriptor instead. +func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{22, 0} +} + +// This comment is left unintentionally blank. +type UserCommitFilesActionHeader_ActionType int32 + +const ( + // CREATE creates a new file. + UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 + // CREATE_DIR creates a new directory. + UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 + // UPDATE updates an existing file. + UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 + // MOVE moves an existing file to a new path. + UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 + // DELETE deletes an existing file. + UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 + // CHMOD changes the permissions of an existing file. + UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 +) + +// Enum value maps for UserCommitFilesActionHeader_ActionType. +var ( + UserCommitFilesActionHeader_ActionType_name = map[int32]string{ + 0: "CREATE", + 1: "CREATE_DIR", + 2: "UPDATE", + 3: "MOVE", + 4: "DELETE", + 5: "CHMOD", + } + UserCommitFilesActionHeader_ActionType_value = map[string]int32{ + "CREATE": 0, + "CREATE_DIR": 1, + "UPDATE": 2, + "MOVE": 3, + "DELETE": 4, + "CHMOD": 5, + } +) + +func (x UserCommitFilesActionHeader_ActionType) Enum() *UserCommitFilesActionHeader_ActionType { + p := new(UserCommitFilesActionHeader_ActionType) + *p = x + return p +} + +func (x UserCommitFilesActionHeader_ActionType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserCommitFilesActionHeader_ActionType) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[2].Descriptor() +} + +func (UserCommitFilesActionHeader_ActionType) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[2] +} + +func (x UserCommitFilesActionHeader_ActionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserCommitFilesActionHeader_ActionType.Descriptor instead. +func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{23, 0} +} + +// This comment is left unintentionally blank. +type UserCreateBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // This comment is left unintentionally blank. + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + // This comment is left unintentionally blank. + StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` +} + +func (x *UserCreateBranchRequest) Reset() { + *x = UserCreateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCreateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCreateBranchRequest) ProtoMessage() {} + +func (x *UserCreateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreateBranchRequest.ProtoReflect.Descriptor instead. +func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{0} +} + +func (x *UserCreateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserCreateBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserCreateBranchRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserCreateBranchRequest) GetStartPoint() []byte { + if x != nil { + return x.StartPoint + } + return nil +} + +// This comment is left unintentionally blank. +type UserCreateBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` + // Error returned by the pre-receive hook. If no error was thrown, + // it's the empty string ("") + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserCreateBranchResponse) Reset() { + *x = UserCreateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCreateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCreateBranchResponse) ProtoMessage() {} + +func (x *UserCreateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreateBranchResponse.ProtoReflect.Descriptor instead. +func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{1} +} + +func (x *UserCreateBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch + } + return nil +} + +func (x *UserCreateBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserUpdateBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // This comment is left unintentionally blank. + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + // This comment is left unintentionally blank. + Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` + // This comment is left unintentionally blank. + Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` +} + +func (x *UserUpdateBranchRequest) Reset() { + *x = UserUpdateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserUpdateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserUpdateBranchRequest) ProtoMessage() {} + +func (x *UserUpdateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserUpdateBranchRequest.ProtoReflect.Descriptor instead. +func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{2} +} + +func (x *UserUpdateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserUpdateBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserUpdateBranchRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserUpdateBranchRequest) GetNewrev() []byte { + if x != nil { + return x.Newrev + } + return nil +} + +func (x *UserUpdateBranchRequest) GetOldrev() []byte { + if x != nil { + return x.Oldrev + } + return nil +} + +// This comment is left unintentionally blank. +type UserUpdateBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserUpdateBranchResponse) Reset() { + *x = UserUpdateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserUpdateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserUpdateBranchResponse) ProtoMessage() {} + +func (x *UserUpdateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserUpdateBranchResponse.ProtoReflect.Descriptor instead. +func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{3} +} + +func (x *UserUpdateBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserDeleteBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // This comment is left unintentionally blank. + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` +} + +func (x *UserDeleteBranchRequest) Reset() { + *x = UserDeleteBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserDeleteBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserDeleteBranchRequest) ProtoMessage() {} + +func (x *UserDeleteBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserDeleteBranchRequest.ProtoReflect.Descriptor instead. +func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{4} +} + +func (x *UserDeleteBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserDeleteBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserDeleteBranchRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +// This comment is left unintentionally blank. +type UserDeleteBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserDeleteBranchResponse) Reset() { + *x = UserDeleteBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserDeleteBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserDeleteBranchResponse) ProtoMessage() {} + +func (x *UserDeleteBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserDeleteBranchResponse.ProtoReflect.Descriptor instead. +func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{5} +} + +func (x *UserDeleteBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserDeleteTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` + // This comment is left unintentionally blank. + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` +} + +func (x *UserDeleteTagRequest) Reset() { + *x = UserDeleteTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserDeleteTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserDeleteTagRequest) ProtoMessage() {} + +func (x *UserDeleteTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserDeleteTagRequest.ProtoReflect.Descriptor instead. +func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{6} +} + +func (x *UserDeleteTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserDeleteTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName + } + return nil +} + +func (x *UserDeleteTagRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +// This comment is left unintentionally blank. +type UserDeleteTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserDeleteTagResponse) Reset() { + *x = UserDeleteTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserDeleteTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserDeleteTagResponse) ProtoMessage() {} + +func (x *UserDeleteTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserDeleteTagResponse.ProtoReflect.Descriptor instead. +func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{7} +} + +func (x *UserDeleteTagResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserCreateTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the tag shall be created. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // tag_name is the name of the tag that shall be created. + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` + // user is the user as which the tag shall be created. + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + // target_revision is the revision which the tag should point to. + TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"` + // message is the message of the tag. If it is empty, a lightweight tag is + // created. Otherwise, an annotated tag is created. + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // timestamp is the optional timestamp to use for the created tag tags. If + // it's not set, the current time will be used. It's only used if an + // annotated tag is being created. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserCreateTagRequest) Reset() { + *x = UserCreateTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCreateTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCreateTagRequest) ProtoMessage() {} + +func (x *UserCreateTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreateTagRequest.ProtoReflect.Descriptor instead. +func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{8} +} + +func (x *UserCreateTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserCreateTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName + } + return nil +} + +func (x *UserCreateTagRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserCreateTagRequest) GetTargetRevision() []byte { + if x != nil { + return x.TargetRevision + } + return nil +} + +func (x *UserCreateTagRequest) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *UserCreateTagRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserCreateTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // tag is the newly created tag. + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` + // exists denotes whether the tag has existed already. + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + // pre_receive_error contains an error message if updating the tag failed + // because of a pre-receive error. + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserCreateTagResponse) Reset() { + *x = UserCreateTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCreateTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCreateTagResponse) ProtoMessage() {} + +func (x *UserCreateTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreateTagResponse.ProtoReflect.Descriptor instead. +func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{9} +} + +func (x *UserCreateTagResponse) GetTag() *Tag { + if x != nil { + return x.Tag + } + return nil +} + +func (x *UserCreateTagResponse) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +func (x *UserCreateTagResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserMergeBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository to compute the merge for. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user to compute the merge as. Its name and mail address are + // used as author and committer of the merge. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // commit_id is the object ID (hash) of the object that shall be merged into + // the target branch. + CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // branch is the branch into which the given commit shall be merged and whose + // reference is going to be updated. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + // message is the message to use for the merge commit. + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // timestamp is the optional timestamp to use for the merge commit. If it's + // not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + // apply must only be set in the second message. Only if this second message + // is sent and if apply is set to true will the branch be updated to point to + // the merge commit. + Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` +} + +func (x *UserMergeBranchRequest) Reset() { + *x = UserMergeBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserMergeBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserMergeBranchRequest) ProtoMessage() {} + +func (x *UserMergeBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserMergeBranchRequest.ProtoReflect.Descriptor instead. +func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{10} +} + +func (x *UserMergeBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserMergeBranchRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserMergeBranchRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *UserMergeBranchRequest) GetBranch() []byte { + if x != nil { + return x.Branch + } + return nil +} + +func (x *UserMergeBranchRequest) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *UserMergeBranchRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +func (x *UserMergeBranchRequest) GetApply() bool { + if x != nil { + return x.Apply + } + return false +} + +// This comment is left unintentionally blank. +type UserMergeBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // First message + // The merge commit the branch will be updated to. The caller can still abort the merge. + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Second message + // If set, the merge has been applied to the branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // PreReceiveError is never set. Instead, we return a proper gRPC error with + // UserMergeBranchError details set to an AccessCheckError. + // + // Deprecated: Do not use. + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserMergeBranchResponse) Reset() { + *x = UserMergeBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserMergeBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserMergeBranchResponse) ProtoMessage() {} + +func (x *UserMergeBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserMergeBranchResponse.ProtoReflect.Descriptor instead. +func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{11} +} + +func (x *UserMergeBranchResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +// Deprecated: Do not use. +func (x *UserMergeBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// UserMergeBranchError includes error descriptions which may be set as error +// details in case UserMergeBranch fails. +type UserMergeBranchError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Error: + // *UserMergeBranchError_AccessCheck + // *UserMergeBranchError_ReferenceUpdate + Error isUserMergeBranchError_Error `protobuf_oneof:"error"` +} + +func (x *UserMergeBranchError) Reset() { + *x = UserMergeBranchError{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserMergeBranchError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserMergeBranchError) ProtoMessage() {} + +func (x *UserMergeBranchError) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserMergeBranchError.ProtoReflect.Descriptor instead. +func (*UserMergeBranchError) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{12} +} + +func (m *UserMergeBranchError) GetError() isUserMergeBranchError_Error { + if m != nil { + return m.Error + } + return nil +} + +func (x *UserMergeBranchError) GetAccessCheck() *AccessCheckError { + if x, ok := x.GetError().(*UserMergeBranchError_AccessCheck); ok { + return x.AccessCheck + } + return nil +} + +func (x *UserMergeBranchError) GetReferenceUpdate() *ReferenceUpdateError { + if x, ok := x.GetError().(*UserMergeBranchError_ReferenceUpdate); ok { + return x.ReferenceUpdate + } + return nil +} + +type isUserMergeBranchError_Error interface { + isUserMergeBranchError_Error() +} + +type UserMergeBranchError_AccessCheck struct { + // AccessCheckError is set if the RPC failed because `/internal/allowed` failed. + AccessCheck *AccessCheckError `protobuf:"bytes,1,opt,name=access_check,json=accessCheck,proto3,oneof"` +} + +type UserMergeBranchError_ReferenceUpdate struct { + // ReferenceUpdateError is set if the RPC failed because updating the + // reference to the new object ID has failed. + ReferenceUpdate *ReferenceUpdateError `protobuf:"bytes,2,opt,name=reference_update,json=referenceUpdate,proto3,oneof"` +} + +func (*UserMergeBranchError_AccessCheck) isUserMergeBranchError_Error() {} + +func (*UserMergeBranchError_ReferenceUpdate) isUserMergeBranchError_Error() {} + +// This comment is left unintentionally blank. +type UserMergeToRefRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the merge shall be computed. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user as which the merge commit shall be created. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // source_sha is the object ID of the second parent of the computed merge. + SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"` + // branch contains the name of the branch which should be used as the first + // parent of the computed merge. It is deprecated in favor of + // `first_parent_ref` and will be ignored in case it is set. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + // target_ref contains the fully qualified reference which should be updated + // with the computed merge commit. + TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` + // message is the message to use for the merge commit. + Message []byte `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + // first_parent_ref is the name of the reference which should be used as the + // first parent of the computed merge. Overrides `branch`. + FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"` + // Allow conflicts to occur. Any conflict markers will be part of the merge commit. + // When tree-based conflicts occur, no conflict markers will be added to the + // file on the merge commit. The `Their` side of the conflict will be kept and + // `Our` and `Ancestor` will be ignored. + AllowConflicts bool `protobuf:"varint,8,opt,name=allow_conflicts,json=allowConflicts,proto3" json:"allow_conflicts,omitempty"` + // timestamp is the optional timestamp to use for the merge commit. If it's + // not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserMergeToRefRequest) Reset() { + *x = UserMergeToRefRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserMergeToRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserMergeToRefRequest) ProtoMessage() {} + +func (x *UserMergeToRefRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserMergeToRefRequest.ProtoReflect.Descriptor instead. +func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{13} +} + +func (x *UserMergeToRefRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserMergeToRefRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserMergeToRefRequest) GetSourceSha() string { + if x != nil { + return x.SourceSha + } + return "" +} + +func (x *UserMergeToRefRequest) GetBranch() []byte { + if x != nil { + return x.Branch + } + return nil +} + +func (x *UserMergeToRefRequest) GetTargetRef() []byte { + if x != nil { + return x.TargetRef + } + return nil +} + +func (x *UserMergeToRefRequest) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *UserMergeToRefRequest) GetFirstParentRef() []byte { + if x != nil { + return x.FirstParentRef + } + return nil +} + +func (x *UserMergeToRefRequest) GetAllowConflicts() bool { + if x != nil { + return x.AllowConflicts + } + return false +} + +func (x *UserMergeToRefRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserMergeToRefResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // commit_id is the object ID of the computed merge commit. + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // PreReceiveError is never set because this RPC does not perform + // authentication via `/internal/allowed`. + // + // Deprecated: Do not use. + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserMergeToRefResponse) Reset() { + *x = UserMergeToRefResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserMergeToRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserMergeToRefResponse) ProtoMessage() {} + +func (x *UserMergeToRefResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserMergeToRefResponse.ProtoReflect.Descriptor instead. +func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{14} +} + +func (x *UserMergeToRefResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +// Deprecated: Do not use. +func (x *UserMergeToRefResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// OperationBranchUpdate contains the details of a branch update. +type OperationBranchUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // commit_id is set to the OID of the created commit if a branch was created or updated. + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // repo_created indicates whether the branch created was the first one in the repository. + // Used for cache invalidation in GitLab. + RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"` + // branch_created indicates whether the branch already existed in the repository + // and was updated or whether it was created. Used for cache invalidation in GitLab. + BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` +} + +func (x *OperationBranchUpdate) Reset() { + *x = OperationBranchUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OperationBranchUpdate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OperationBranchUpdate) ProtoMessage() {} + +func (x *OperationBranchUpdate) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OperationBranchUpdate.ProtoReflect.Descriptor instead. +func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{15} +} + +func (x *OperationBranchUpdate) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *OperationBranchUpdate) GetRepoCreated() bool { + if x != nil { + return x.RepoCreated + } + return false +} + +func (x *OperationBranchUpdate) GetBranchCreated() bool { + if x != nil { + return x.BranchCreated + } + return false +} + +// UserFFBranchRequest contains parameters for the UserFFBranch RPC. +type UserFFBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository for which to perform the fast-forward merge. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user which to perform the fast-forward merge as. This is used + // for authorization checks. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // commit_id is the commit ID to update the branch to. + CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // branch is the name of the branch that shall be update. This must be the + // branch name only and not a fully qualified reference, e.g. "master" + // instead of "refs/heads/master". + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` +} + +func (x *UserFFBranchRequest) Reset() { + *x = UserFFBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserFFBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserFFBranchRequest) ProtoMessage() {} + +func (x *UserFFBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserFFBranchRequest.ProtoReflect.Descriptor instead. +func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{16} +} + +func (x *UserFFBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserFFBranchRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserFFBranchRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *UserFFBranchRequest) GetBranch() []byte { + if x != nil { + return x.Branch + } + return nil +} + +// This comment is left unintentionally blank. +type UserFFBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // This comment is left unintentionally blank. + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserFFBranchResponse) Reset() { + *x = UserFFBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserFFBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserFFBranchResponse) ProtoMessage() {} + +func (x *UserFFBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserFFBranchResponse.ProtoReflect.Descriptor instead. +func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{17} +} + +func (x *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +func (x *UserFFBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserCherryPickRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository into which the cherry-pick shall be + // performed. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user to perform the cherry-pick as. This is used for + // authorization checks and as the committer of the computed cherry-pick. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // commit is the commit to cherry-pick onto the given branch. + Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` + // branch_name is the name of the branch onto which the cherry-pick shall be + // executed. + BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // message is the message to use for the cherry-picked commit. + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // start_branch_name is is used in case the branch_name branch does not + // exist. In that case, it will be created from the start_branch_name. + StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + // start_repository is used in case the branch_name branch does not exist. In + // that case, it will be created from start_branch_name in the + // start_repository. + StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + // dry_run will compute the cherry-pick, but not update the target branch. + DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // timestamp is the optional timestamp to use for the created cherry-picked + // commit's committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserCherryPickRequest) Reset() { + *x = UserCherryPickRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCherryPickRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCherryPickRequest) ProtoMessage() {} + +func (x *UserCherryPickRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCherryPickRequest.ProtoReflect.Descriptor instead. +func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{18} +} + +func (x *UserCherryPickRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserCherryPickRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserCherryPickRequest) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *UserCherryPickRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserCherryPickRequest) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *UserCherryPickRequest) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName + } + return nil +} + +func (x *UserCherryPickRequest) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository + } + return nil +} + +func (x *UserCherryPickRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *UserCherryPickRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserCherryPickResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update represents details about the updated branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // create_tree_error contains the error message if creation of the tree + // failed. + CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` + // commit_error contains the error message if updating the reference failed. + CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` + // pre_receive_error contains the error message if the pre-receive hook + // failed. + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + // create_tree_error_code contains the error code if creation of the tree + // failed. + CreateTreeErrorCode UserCherryPickResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserCherryPickResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` +} + +func (x *UserCherryPickResponse) Reset() { + *x = UserCherryPickResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCherryPickResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCherryPickResponse) ProtoMessage() {} + +func (x *UserCherryPickResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCherryPickResponse.ProtoReflect.Descriptor instead. +func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{19} +} + +func (x *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +func (x *UserCherryPickResponse) GetCreateTreeError() string { + if x != nil { + return x.CreateTreeError + } + return "" +} + +func (x *UserCherryPickResponse) GetCommitError() string { + if x != nil { + return x.CommitError + } + return "" +} + +func (x *UserCherryPickResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +func (x *UserCherryPickResponse) GetCreateTreeErrorCode() UserCherryPickResponse_CreateTreeError { + if x != nil { + return x.CreateTreeErrorCode + } + return UserCherryPickResponse_NONE +} + +// UserCherryPickError is an error returned by the UserCherryPick RPC. +type UserCherryPickError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Error: + // *UserCherryPickError_CherryPickConflict + // *UserCherryPickError_TargetBranchDiverged + // *UserCherryPickError_ChangesAlreadyApplied + // *UserCherryPickError_AccessCheck + Error isUserCherryPickError_Error `protobuf_oneof:"error"` +} + +func (x *UserCherryPickError) Reset() { + *x = UserCherryPickError{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCherryPickError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCherryPickError) ProtoMessage() {} + +func (x *UserCherryPickError) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCherryPickError.ProtoReflect.Descriptor instead. +func (*UserCherryPickError) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{20} +} + +func (m *UserCherryPickError) GetError() isUserCherryPickError_Error { + if m != nil { + return m.Error + } + return nil +} + +func (x *UserCherryPickError) GetCherryPickConflict() *MergeConflictError { + if x, ok := x.GetError().(*UserCherryPickError_CherryPickConflict); ok { + return x.CherryPickConflict + } + return nil +} + +func (x *UserCherryPickError) GetTargetBranchDiverged() *NotAncestorError { + if x, ok := x.GetError().(*UserCherryPickError_TargetBranchDiverged); ok { + return x.TargetBranchDiverged + } + return nil +} + +func (x *UserCherryPickError) GetChangesAlreadyApplied() *ChangesAlreadyAppliedError { + if x, ok := x.GetError().(*UserCherryPickError_ChangesAlreadyApplied); ok { + return x.ChangesAlreadyApplied + } + return nil +} + +func (x *UserCherryPickError) GetAccessCheck() *AccessCheckError { + if x, ok := x.GetError().(*UserCherryPickError_AccessCheck); ok { + return x.AccessCheck + } + return nil +} + +type isUserCherryPickError_Error interface { + isUserCherryPickError_Error() +} + +type UserCherryPickError_CherryPickConflict struct { + // CherryPickConflict is returned if there is a conflict when applying the cherry + // pick. + CherryPickConflict *MergeConflictError `protobuf:"bytes,1,opt,name=cherry_pick_conflict,json=cherryPickConflict,proto3,oneof"` +} + +type UserCherryPickError_TargetBranchDiverged struct { + // TargetBranchDiverged is returned whenever the tip commit of the branch we're + // about to apply the new commit on is not a direct ancestor of the newly created + // cherry-picked commit. This may happen either due to a race where the reference + // is modified while we compute the cherry-picked commit, or alternatively if the + // commit fetched from the start branch of the remote repository is not an ancestor + // of of the local target branch. + TargetBranchDiverged *NotAncestorError `protobuf:"bytes,2,opt,name=target_branch_diverged,json=targetBranchDiverged,proto3,oneof"` +} + +type UserCherryPickError_ChangesAlreadyApplied struct { + // ChangesAlreadyApplied is returned if the result after applying the cherry pick is empty. + ChangesAlreadyApplied *ChangesAlreadyAppliedError `protobuf:"bytes,3,opt,name=changes_already_applied,json=changesAlreadyApplied,proto3,oneof"` +} + +type UserCherryPickError_AccessCheck struct { + // AccessCheck is returned in case GitLab's `/internal/allowed` endpoint rejected + // the change. + AccessCheck *AccessCheckError `protobuf:"bytes,4,opt,name=access_check,json=accessCheck,proto3,oneof"` +} + +func (*UserCherryPickError_CherryPickConflict) isUserCherryPickError_Error() {} + +func (*UserCherryPickError_TargetBranchDiverged) isUserCherryPickError_Error() {} + +func (*UserCherryPickError_ChangesAlreadyApplied) isUserCherryPickError_Error() {} + +func (*UserCherryPickError_AccessCheck) isUserCherryPickError_Error() {} + +// This comment is left unintentionally blank. +type UserRevertRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the revert shall be applied. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user to perform the revert as. This is used both for + // authorization and as author/committer for the revert commit. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // commit iis the commit to revert. + Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` + // branch_name is the name of the branch onto which the reverted commit shall + // be committed. + BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // message is the message to use for the revert commit. + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // start_branch_name is is used in case the branch_name branch does not + // exist. In that case, it will be created from the start_branch_name. + StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + // start_repository is used in case the branch_name branch does not exist. In + // that case, it will be created from start_branch_name in the + // start_repository. + StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + // dry_run will compute the revert, but not update the target branch. + DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` + // timestamp is the optional timestamp to use for the created cherry-picked + // commit's committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserRevertRequest) Reset() { + *x = UserRevertRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRevertRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRevertRequest) ProtoMessage() {} + +func (x *UserRevertRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRevertRequest.ProtoReflect.Descriptor instead. +func (*UserRevertRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{21} +} + +func (x *UserRevertRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserRevertRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserRevertRequest) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *UserRevertRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserRevertRequest) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *UserRevertRequest) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName + } + return nil +} + +func (x *UserRevertRequest) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository + } + return nil +} + +func (x *UserRevertRequest) GetDryRun() bool { + if x != nil { + return x.DryRun + } + return false +} + +func (x *UserRevertRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserRevertResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update represents details about the updated branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // create_tree_error contains the error message if creation of the tree + // failed. + CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` + // commit_error contains the error message if updating the reference failed. + CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` + // pre_receive_error contains the error message if the pre-receive hook + // failed. + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + // create_tree_error_code contains the error code if creation of the tree + // failed. + CreateTreeErrorCode UserRevertResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserRevertResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` +} + +func (x *UserRevertResponse) Reset() { + *x = UserRevertResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRevertResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRevertResponse) ProtoMessage() {} + +func (x *UserRevertResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRevertResponse.ProtoReflect.Descriptor instead. +func (*UserRevertResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{22} +} + +func (x *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +func (x *UserRevertResponse) GetCreateTreeError() string { + if x != nil { + return x.CreateTreeError + } + return "" +} + +func (x *UserRevertResponse) GetCommitError() string { + if x != nil { + return x.CommitError + } + return "" +} + +func (x *UserRevertResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +func (x *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError { + if x != nil { + return x.CreateTreeErrorCode + } + return UserRevertResponse_NONE +} + +// UserCommitFilesActionHeader contains the details of the action to be performed. +type UserCommitFilesActionHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // action is the type of the action taken to build a commit. Not all fields are + // used for all of the actions. + Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"` + // file_path refers to the file or directory being modified. The meaning differs for each + // action: + // 1. CREATE: path of the file to create + // 2. CREATE_DIR: path of the directory to create + // 3. UPDATE: path of the file to update + // 4. MOVE: the new path of the moved file + // 5. DELETE: path of the file to delete + // 6. CHMOD: path of the file to modify permissions for + FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + // previous_path is used in MOVE action to specify the path of the file to move. + PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"` + // base64_content indicates the content of the file is base64 encoded. The encoding + // must be the standard base64 encoding defined in RFC 4648. Only used for CREATE and + // UPDATE actions. + Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content,proto3" json:"base64_content,omitempty"` + // execute_filemode determines whether the file is created with execute permissions. + // The field is only used in CREATE and CHMOD actions. + ExecuteFilemode bool `protobuf:"varint,5,opt,name=execute_filemode,json=executeFilemode,proto3" json:"execute_filemode,omitempty"` + // Move actions that change the file path, but not its content, should set + // infer_content to true instead of populating the content field. Ignored for + // other action types. + InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"` +} + +func (x *UserCommitFilesActionHeader) Reset() { + *x = UserCommitFilesActionHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCommitFilesActionHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCommitFilesActionHeader) ProtoMessage() {} + +func (x *UserCommitFilesActionHeader) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCommitFilesActionHeader.ProtoReflect.Descriptor instead. +func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{23} +} + +func (x *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType { + if x != nil { + return x.Action + } + return UserCommitFilesActionHeader_CREATE +} + +func (x *UserCommitFilesActionHeader) GetFilePath() []byte { + if x != nil { + return x.FilePath + } + return nil +} + +func (x *UserCommitFilesActionHeader) GetPreviousPath() []byte { + if x != nil { + return x.PreviousPath + } + return nil +} + +func (x *UserCommitFilesActionHeader) GetBase64Content() bool { + if x != nil { + return x.Base64Content + } + return false +} + +func (x *UserCommitFilesActionHeader) GetExecuteFilemode() bool { + if x != nil { + return x.ExecuteFilemode + } + return false +} + +func (x *UserCommitFilesActionHeader) GetInferContent() bool { + if x != nil { + return x.InferContent + } + return false +} + +// UserCommitFilesAction is the request message used to stream in the actions to build a commit. +type UserCommitFilesAction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserCommitFilesActionPayload: + // *UserCommitFilesAction_Header + // *UserCommitFilesAction_Content + UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"` +} + +func (x *UserCommitFilesAction) Reset() { + *x = UserCommitFilesAction{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCommitFilesAction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCommitFilesAction) ProtoMessage() {} + +func (x *UserCommitFilesAction) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCommitFilesAction.ProtoReflect.Descriptor instead. +func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{24} +} + +func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload { + if m != nil { + return m.UserCommitFilesActionPayload + } + return nil +} + +func (x *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader { + if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok { + return x.Header + } + return nil +} + +func (x *UserCommitFilesAction) GetContent() []byte { + if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok { + return x.Content + } + return nil +} + +type isUserCommitFilesAction_UserCommitFilesActionPayload interface { + isUserCommitFilesAction_UserCommitFilesActionPayload() +} + +type UserCommitFilesAction_Header struct { + // header contains the details of action being performed. Header must be sent before the + // content if content is used by the action. + Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserCommitFilesAction_Content struct { + // content is the content of the file streamed in one or more messages. Only used with CREATE + // and UPDATE actions. + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +} + +func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + +func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + +// UserCommitFilesRequestHeader is the header of the UserCommitFiles that defines the commit details, +// parent and other information related to the call. +type UserCommitFilesRequestHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the target repository where to apply the commit. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user peforming the call. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // branch_name is the name of the branch to point to the new commit. If start_sha and start_branch_name + // are not defined, the commit of branch_name is used as the parent commit. + BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + // commit_message is the message to use in the commit. + CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + // commit_author_name is the commit author's name. If not provided, the user's name is + // used instead. + CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"` + // commit_author_email is the commit author's email. If not provided, the user's email is + // used instead. + CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"` + // start_branch_name specifies the branch whose commit to use as the parent commit. Takes priority + // over branch_name. Optional. + StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + // start_repository specifies which contains the parent commit. If not specified, repository itself + // is used to look up the parent commit. Optional. + StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + // force determines whether to force update the target branch specified by branch_name to + // point to the new commit. + Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"` + // start_sha specifies the SHA of the commit to use as the parent of new commit. Takes priority + // over start_branch_name and branc_name. Optional. + StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` + // timestamp is the optional timestamp to use for the commits as author and + // committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserCommitFilesRequestHeader) Reset() { + *x = UserCommitFilesRequestHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCommitFilesRequestHeader) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCommitFilesRequestHeader) ProtoMessage() {} + +func (x *UserCommitFilesRequestHeader) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCommitFilesRequestHeader.ProtoReflect.Descriptor instead. +func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{25} +} + +func (x *UserCommitFilesRequestHeader) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetBranchName() []byte { + if x != nil { + return x.BranchName + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte { + if x != nil { + return x.CommitAuthorName + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte { + if x != nil { + return x.CommitAuthorEmail + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository + } + return nil +} + +func (x *UserCommitFilesRequestHeader) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *UserCommitFilesRequestHeader) GetStartSha() string { + if x != nil { + return x.StartSha + } + return "" +} + +func (x *UserCommitFilesRequestHeader) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// UserCommitFiles is the request of UserCommitFiles. +type UserCommitFilesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserCommitFilesRequestPayload: + // *UserCommitFilesRequest_Header + // *UserCommitFilesRequest_Action + UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"` +} + +func (x *UserCommitFilesRequest) Reset() { + *x = UserCommitFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCommitFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCommitFilesRequest) ProtoMessage() {} + +func (x *UserCommitFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCommitFilesRequest.ProtoReflect.Descriptor instead. +func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{26} +} + +func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload { + if m != nil { + return m.UserCommitFilesRequestPayload + } + return nil +} + +func (x *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader { + if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok { + return x.Header + } + return nil +} + +func (x *UserCommitFilesRequest) GetAction() *UserCommitFilesAction { + if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok { + return x.Action + } + return nil +} + +type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface { + isUserCommitFilesRequest_UserCommitFilesRequestPayload() +} + +type UserCommitFilesRequest_Header struct { + // header defines the details of where to commit, the details and which commit to use as the parent. + // header must always be sent as the first request of the stream. + Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserCommitFilesRequest_Action struct { + // action contains an action to build a commit. There can be multiple actions per stream. + Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` +} + +func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + +func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + +// UserCommitFilesResponse is the response object of UserCommitFiles. +type UserCommitFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update contains the details of the commit and the branch update. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // index_error is set to the error message when an invalid action was attempted, such as + // trying to create a file that already existed. + IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` + // pre_receive_error is set when the pre-receive hook errored. + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` +} + +func (x *UserCommitFilesResponse) Reset() { + *x = UserCommitFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserCommitFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserCommitFilesResponse) ProtoMessage() {} + +func (x *UserCommitFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCommitFilesResponse.ProtoReflect.Descriptor instead. +func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{27} +} + +func (x *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +func (x *UserCommitFilesResponse) GetIndexError() string { + if x != nil { + return x.IndexError + } + return "" +} + +func (x *UserCommitFilesResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +// This comment is left unintentionally blank. +type UserRebaseConfirmableRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserRebaseConfirmableRequestPayload: + // *UserRebaseConfirmableRequest_Header_ + // *UserRebaseConfirmableRequest_Apply + UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"` +} + +func (x *UserRebaseConfirmableRequest) Reset() { + *x = UserRebaseConfirmableRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRebaseConfirmableRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRebaseConfirmableRequest) ProtoMessage() {} + +func (x *UserRebaseConfirmableRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRebaseConfirmableRequest.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{28} +} + +func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload { + if m != nil { + return m.UserRebaseConfirmableRequestPayload + } + return nil +} + +func (x *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header { + if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok { + return x.Header + } + return nil +} + +func (x *UserRebaseConfirmableRequest) GetApply() bool { + if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok { + return x.Apply + } + return false +} + +type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface { + isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() +} + +type UserRebaseConfirmableRequest_Header_ struct { + // For each request stream there must be first a request with a header + // containing details about the rebase to perform. + Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserRebaseConfirmableRequest_Apply struct { + // A second request must be made to confirm that the rebase should + // be applied to the branch. + Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` +} + +func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +} + +func (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +} + +// This comment is left unintentionally blank. +type UserRebaseConfirmableResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserRebaseConfirmableResponsePayload: + // *UserRebaseConfirmableResponse_RebaseSha + // *UserRebaseConfirmableResponse_RebaseApplied + UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"` + // pre_receive_error contains an error message if the rebase failed because + // of an error raised by hooks. + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + // git_error contains an error message if git operations have failed. + GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` +} + +func (x *UserRebaseConfirmableResponse) Reset() { + *x = UserRebaseConfirmableResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRebaseConfirmableResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRebaseConfirmableResponse) ProtoMessage() {} + +func (x *UserRebaseConfirmableResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRebaseConfirmableResponse.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{29} +} + +func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload { + if m != nil { + return m.UserRebaseConfirmableResponsePayload + } + return nil +} + +func (x *UserRebaseConfirmableResponse) GetRebaseSha() string { + if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok { + return x.RebaseSha + } + return "" +} + +func (x *UserRebaseConfirmableResponse) GetRebaseApplied() bool { + if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok { + return x.RebaseApplied + } + return false +} + +func (x *UserRebaseConfirmableResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +func (x *UserRebaseConfirmableResponse) GetGitError() string { + if x != nil { + return x.GitError + } + return "" +} + +type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface { + isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() +} + +type UserRebaseConfirmableResponse_RebaseSha struct { + // The first response will contain the rebase commit the branch will + // be updated to. The caller can still abort the rebase. + RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` +} + +type UserRebaseConfirmableResponse_RebaseApplied struct { + // The second response confirms that the rebase has been applied to + // the branch. + RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` +} + +func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +} + +func (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +} + +// This comment is left unintentionally blank. +type UserSquashRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository into which the squashed commit shall be + // written. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is used for authorization checks. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // start_sha is the object ID of the start commit of the range which shall be + // squashed. Must be an ancestor of end_sha. + StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` + // end_sha is the object ID of the end commit of the range which shall be + // squashed. + EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha,proto3" json:"end_sha,omitempty"` + // author will be used as the author of the squashed commit. + Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` + // commit_message is the message to be used for the squashed commit. + CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + // timestamp is the optional timestamp to use for the squashed commit as + // committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserSquashRequest) Reset() { + *x = UserSquashRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserSquashRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserSquashRequest) ProtoMessage() {} + +func (x *UserSquashRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserSquashRequest.ProtoReflect.Descriptor instead. +func (*UserSquashRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{30} +} + +func (x *UserSquashRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserSquashRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserSquashRequest) GetStartSha() string { + if x != nil { + return x.StartSha + } + return "" +} + +func (x *UserSquashRequest) GetEndSha() string { + if x != nil { + return x.EndSha + } + return "" +} + +func (x *UserSquashRequest) GetAuthor() *User { + if x != nil { + return x.Author + } + return nil +} + +func (x *UserSquashRequest) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage + } + return nil +} + +func (x *UserSquashRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserSquashResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // squash_sha is the object ID of the squashed commit. + SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` + // GitError is not used anymore. Instead, this RPC always returns a real + // error with an optional UserRebaseConfirmableError, which may be set on + // special errors. + // + // Deprecated: Do not use. + GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` +} + +func (x *UserSquashResponse) Reset() { + *x = UserSquashResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserSquashResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserSquashResponse) ProtoMessage() {} + +func (x *UserSquashResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserSquashResponse.ProtoReflect.Descriptor instead. +func (*UserSquashResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{31} +} + +func (x *UserSquashResponse) GetSquashSha() string { + if x != nil { + return x.SquashSha + } + return "" +} + +// Deprecated: Do not use. +func (x *UserSquashResponse) GetGitError() string { + if x != nil { + return x.GitError + } + return "" +} + +// This comment is left unintentionally blank. +type UserRebaseConfirmableError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Error: + // *UserRebaseConfirmableError_RebaseConflict + // *UserRebaseConfirmableError_AccessCheck + Error isUserRebaseConfirmableError_Error `protobuf_oneof:"error"` +} + +func (x *UserRebaseConfirmableError) Reset() { + *x = UserRebaseConfirmableError{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRebaseConfirmableError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRebaseConfirmableError) ProtoMessage() {} + +func (x *UserRebaseConfirmableError) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRebaseConfirmableError.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableError) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{32} +} + +func (m *UserRebaseConfirmableError) GetError() isUserRebaseConfirmableError_Error { + if m != nil { + return m.Error + } + return nil +} + +func (x *UserRebaseConfirmableError) GetRebaseConflict() *MergeConflictError { + if x, ok := x.GetError().(*UserRebaseConfirmableError_RebaseConflict); ok { + return x.RebaseConflict + } + return nil +} + +func (x *UserRebaseConfirmableError) GetAccessCheck() *AccessCheckError { + if x, ok := x.GetError().(*UserRebaseConfirmableError_AccessCheck); ok { + return x.AccessCheck + } + return nil +} + +type isUserRebaseConfirmableError_Error interface { + isUserRebaseConfirmableError_Error() +} + +type UserRebaseConfirmableError_RebaseConflict struct { + // RebaseConflict is returned in case rebasing commits on top of the start + // commit fails with a merge conflict and in case merge squashing commits + // fails with a merge conflict. + RebaseConflict *MergeConflictError `protobuf:"bytes,1,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` +} + +type UserRebaseConfirmableError_AccessCheck struct { + // AccessCheckError is returned in case GitLab's `/internal/allowed` endpoint rejected + // the change. + AccessCheck *AccessCheckError `protobuf:"bytes,2,opt,name=access_check,json=accessCheck,proto3,oneof"` +} + +func (*UserRebaseConfirmableError_RebaseConflict) isUserRebaseConfirmableError_Error() {} + +func (*UserRebaseConfirmableError_AccessCheck) isUserRebaseConfirmableError_Error() {} + +// UserSquashError is an error that may be returned when the UserSquash RPC +// fails. +type UserSquashError struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Error: + // *UserSquashError_ResolveRevision + // *UserSquashError_RebaseConflict + Error isUserSquashError_Error `protobuf_oneof:"error"` +} + +func (x *UserSquashError) Reset() { + *x = UserSquashError{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserSquashError) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserSquashError) ProtoMessage() {} + +func (x *UserSquashError) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserSquashError.ProtoReflect.Descriptor instead. +func (*UserSquashError) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{33} +} + +func (m *UserSquashError) GetError() isUserSquashError_Error { + if m != nil { + return m.Error + } + return nil +} + +func (x *UserSquashError) GetResolveRevision() *ResolveRevisionError { + if x, ok := x.GetError().(*UserSquashError_ResolveRevision); ok { + return x.ResolveRevision + } + return nil +} + +func (x *UserSquashError) GetRebaseConflict() *MergeConflictError { + if x, ok := x.GetError().(*UserSquashError_RebaseConflict); ok { + return x.RebaseConflict + } + return nil +} + +type isUserSquashError_Error interface { + isUserSquashError_Error() +} + +type UserSquashError_ResolveRevision struct { + // ResolveRevision is returned in case resolving either the start or end + // revision has failed. + ResolveRevision *ResolveRevisionError `protobuf:"bytes,1,opt,name=resolve_revision,json=resolveRevision,proto3,oneof"` +} + +type UserSquashError_RebaseConflict struct { + // RebaseConflict is returned in case rebasing commits on top of the start + // commit fails with a merge conflict. + RebaseConflict *MergeConflictError `protobuf:"bytes,2,opt,name=rebase_conflict,json=rebaseConflict,proto3,oneof"` +} + +func (*UserSquashError_ResolveRevision) isUserSquashError_Error() {} + +func (*UserSquashError_RebaseConflict) isUserSquashError_Error() {} + +// This comment is left unintentionally blank. +type UserApplyPatchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserApplyPatchRequestPayload: + // *UserApplyPatchRequest_Header_ + // *UserApplyPatchRequest_Patches + UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"` +} + +func (x *UserApplyPatchRequest) Reset() { + *x = UserApplyPatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserApplyPatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserApplyPatchRequest) ProtoMessage() {} + +func (x *UserApplyPatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserApplyPatchRequest.ProtoReflect.Descriptor instead. +func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{34} +} + +func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload { + if m != nil { + return m.UserApplyPatchRequestPayload + } + return nil +} + +func (x *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header { + if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok { + return x.Header + } + return nil +} + +func (x *UserApplyPatchRequest) GetPatches() []byte { + if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok { + return x.Patches + } + return nil +} + +type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface { + isUserApplyPatchRequest_UserApplyPatchRequestPayload() +} + +type UserApplyPatchRequest_Header_ struct { + // header must be sent as the first message and contains information about + // how to apply the patches. + Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserApplyPatchRequest_Patches struct { + // patches contains the patch data. + Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"` +} + +func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} + +func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} + +// This comment is left unintentionally blank. +type UserApplyPatchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update contains information about the updated branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` +} + +func (x *UserApplyPatchResponse) Reset() { + *x = UserApplyPatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserApplyPatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserApplyPatchResponse) ProtoMessage() {} + +func (x *UserApplyPatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserApplyPatchResponse.ProtoReflect.Descriptor instead. +func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{35} +} + +func (x *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +// This comment is left unintentionally blank. +type UserUpdateSubmoduleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the submodule shall be updated. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is used both for authorization and as author/committer of the + // resulting commit. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // commit_sha is the object ID the submodule shall be updated to. + CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` + // branch is the branch which shall be updated. This is the unqualified name + // of the branch, it must not have a "refs/heads/" prefix. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + // submodule is the path to the submodule which shall be updated. + Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` + // commit_message is the message updating the submodule. + CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + // timestamp is the optional timestamp to use for the commit updating the + // submodule as committer date. If it's not set, the current time will be + // used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserUpdateSubmoduleRequest) Reset() { + *x = UserUpdateSubmoduleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserUpdateSubmoduleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserUpdateSubmoduleRequest) ProtoMessage() {} + +func (x *UserUpdateSubmoduleRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserUpdateSubmoduleRequest.ProtoReflect.Descriptor instead. +func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{36} +} + +func (x *UserUpdateSubmoduleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserUpdateSubmoduleRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserUpdateSubmoduleRequest) GetCommitSha() string { + if x != nil { + return x.CommitSha + } + return "" +} + +func (x *UserUpdateSubmoduleRequest) GetBranch() []byte { + if x != nil { + return x.Branch + } + return nil +} + +func (x *UserUpdateSubmoduleRequest) GetSubmodule() []byte { + if x != nil { + return x.Submodule + } + return nil +} + +func (x *UserUpdateSubmoduleRequest) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage + } + return nil +} + +func (x *UserUpdateSubmoduleRequest) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// This comment is left unintentionally blank. +type UserUpdateSubmoduleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update contains information about the updated branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // pre_receive_error contains an error message if the pre-receive hook + // rejects the update. + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + // commit_error contains an error message if committing the update fails. + CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` +} + +func (x *UserUpdateSubmoduleResponse) Reset() { + *x = UserUpdateSubmoduleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserUpdateSubmoduleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserUpdateSubmoduleResponse) ProtoMessage() {} + +func (x *UserUpdateSubmoduleResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserUpdateSubmoduleResponse.ProtoReflect.Descriptor instead. +func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{37} +} + +func (x *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil +} + +func (x *UserUpdateSubmoduleResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} + +func (x *UserUpdateSubmoduleResponse) GetCommitError() string { + if x != nil { + return x.CommitError + } + return "" +} + +// Header contains information to compute the rebase and must be sent as +// first message. +type UserRebaseConfirmableRequest_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the rebase will be computed and + // applied. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is the user to compute the rebase as. It will be used as + // "committer" of rebased commits. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // RebaseId does nothing anymore. + // + // Deprecated: Do not use. + RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` + // branch is the branch onto which the rebase shall happen. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + // branch_sha is the expected object ID which branch currently points to. + // This is used as a safety guard to avoid races when branch has been + // updated meanwhile. + BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` + // remote_repository is the repository which contains the branch which + // shall be rebased onto the local branch. + RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` + // remote_branch contains the branch name which shall re rebased onto the + // local branch. + RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` + // git_push_options contain options which shall be passed to the git hooks + // when the local branch gets updated. + GitPushOptions []string `protobuf:"bytes,8,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` + // timestamp is the optional timestamp to use for the rebased commits as + // committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserRebaseConfirmableRequest_Header) Reset() { + *x = UserRebaseConfirmableRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserRebaseConfirmableRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} + +func (x *UserRebaseConfirmableRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserRebaseConfirmableRequest_Header.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{28, 0} +} + +func (x *UserRebaseConfirmableRequest_Header) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserRebaseConfirmableRequest_Header) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +// Deprecated: Do not use. +func (x *UserRebaseConfirmableRequest_Header) GetRebaseId() string { + if x != nil { + return x.RebaseId + } + return "" +} + +func (x *UserRebaseConfirmableRequest_Header) GetBranch() []byte { + if x != nil { + return x.Branch + } + return nil +} + +func (x *UserRebaseConfirmableRequest_Header) GetBranchSha() string { + if x != nil { + return x.BranchSha + } + return "" +} + +func (x *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository { + if x != nil { + return x.RemoteRepository + } + return nil +} + +func (x *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte { + if x != nil { + return x.RemoteBranch + } + return nil +} + +func (x *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions + } + return nil +} + +func (x *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +// Header contains information about how to apply the patches. +type UserApplyPatchRequest_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository to which the patches shall be applied to. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is used for authentication. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // target_branch is the branch onto which the patches shall be applied. + TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` + // timestamp is the optional timestamp to use for the squashed commit as + // committer date. If it's not set, the current time will be used. + Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *UserApplyPatchRequest_Header) Reset() { + *x = UserApplyPatchRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserApplyPatchRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserApplyPatchRequest_Header) ProtoMessage() {} + +func (x *UserApplyPatchRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserApplyPatchRequest_Header.ProtoReflect.Descriptor instead. +func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{34, 0} +} + +func (x *UserApplyPatchRequest_Header) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UserApplyPatchRequest_Header) GetUser() *User { + if x != nil { + return x.User + } + return nil +} + +func (x *UserApplyPatchRequest_Header) GetTargetBranch() []byte { + if x != nil { + return x.TargetBranch + } + return nil +} + +func (x *UserApplyPatchRequest_Header) GetTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.Timestamp + } + return nil +} + +var File_operations_proto protoreflect.FileDescriptor + +var file_operations_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0c, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x6e, 0x0a, + 0x18, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, + 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc6, 0x01, + 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x77, 0x72, 0x65, 0x76, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x72, 0x65, 0x76, 0x12, 0x16, + 0x0a, 0x06, 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x96, + 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x8d, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, + 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, + 0x43, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, + 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0x8a, 0x02, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0x7a, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x74, 0x61, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, + 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x93, 0x02, + 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x61, 0x70, + 0x70, 0x6c, 0x79, 0x22, 0xb0, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0d, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x12, 0x2e, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xa9, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x4d, + 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, + 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, + 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x49, + 0x0a, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0xf0, 0x02, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, + 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, + 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x66, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x65, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, + 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x11, + 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x70, 0x72, 0x65, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x15, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xa6, 0x01, 0x0a, + 0x13, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, + 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, + 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, + 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x97, + 0x03, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, + 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, + 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xf2, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, + 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x12, 0x63, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12, + 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, 0x22, 0xdd, 0x02, + 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x14, 0x63, 0x68, 0x65, 0x72, 0x72, 0x79, 0x5f, + 0x70, 0x69, 0x63, 0x6b, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, 0x72, + 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, + 0x00, 0x52, 0x12, 0x63, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x12, 0x50, 0x0a, 0x16, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x64, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4e, + 0x6f, 0x74, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, + 0x00, 0x52, 0x14, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x44, + 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x64, 0x12, 0x5c, 0x0a, 0x17, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, + 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x15, + 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x41, 0x70, + 0x70, 0x6c, 0x69, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x93, 0x03, + 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, + 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x22, 0xea, 0x02, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, + 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, + 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, + 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, + 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, + 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, + 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, + 0x22, 0xf5, 0x02, 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x12, 0x46, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, + 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, + 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, + 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x72, + 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, + 0x73, 0x65, 0x36, 0x34, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, + 0x65, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x69, 0x6e, 0x66, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x22, 0x55, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0a, 0x0a, 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, + 0x52, 0x45, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, + 0x50, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x56, 0x45, 0x10, + 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x12, 0x09, 0x0a, + 0x05, 0x43, 0x48, 0x4d, 0x4f, 0x44, 0x10, 0x05, 0x22, 0x96, 0x01, 0x0a, 0x15, 0x55, 0x73, 0x65, + 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x22, 0x0a, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x6c, + 0x65, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x22, 0xf8, 0x03, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, + 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x45, + 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, + 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, + 0x68, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, + 0x68, 0x61, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xb6, 0x01, 0x0a, + 0x16, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x23, 0x0a, 0x21, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, + 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x22, 0xb1, 0x04, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x45, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x05, 0x61, 0x70, + 0x70, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x61, 0x70, 0x70, + 0x6c, 0x79, 0x1a, 0x86, 0x03, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x09, 0x72, 0x65, 0x62, + 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x08, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x68, 0x61, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x68, + 0x61, 0x12, 0x3f, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, + 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x29, 0x0a, 0x27, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, + 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xde, 0x01, 0x0a, 0x1d, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x72, 0x65, 0x62, 0x61, + 0x73, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, + 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x53, 0x68, 0x61, 0x12, 0x27, 0x0a, 0x0e, 0x72, 0x65, 0x62, + 0x61, 0x73, 0x65, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x08, 0x48, 0x00, 0x52, 0x0d, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, + 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, + 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x2a, 0x0a, 0x28, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xc3, 0x02, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x53, 0x68, 0x61, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x68, + 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x12, + 0x24, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, + 0x10, 0x05, 0x52, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, 0x22, 0x6d, 0x0a, + 0x12, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x53, + 0x68, 0x61, 0x12, 0x1f, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xab, 0x01, 0x0a, + 0x1a, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x0f, 0x72, + 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, + 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, + 0x63, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x72, 0x72, + 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xac, 0x01, 0x0a, 0x0f, 0x55, + 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x49, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0f, 0x72, 0x65, 0x62, + 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x65, 0x72, 0x67, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, + 0x52, 0x0e, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, + 0x42, 0x07, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xdd, 0x02, 0x0a, 0x15, 0x55, 0x73, + 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x1a, + 0xc3, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x38, 0x0a, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x22, 0x0a, 0x20, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x70, + 0x70, 0x6c, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x5c, 0x0a, 0x16, 0x55, 0x73, 0x65, + 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xae, 0x02, 0x0a, 0x1a, 0x55, 0x73, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x68, 0x61, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x68, + 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x75, + 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, + 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc9, 0x01, 0x0a, 0x1b, 0x55, 0x73, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, + 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x03, 0x10, + 0x04, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x32, 0xed, 0x0a, 0x0a, 0x10, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, + 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, + 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, + 0x6f, 0x52, 0x65, 0x66, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x55, + 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1e, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x55, + 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1b, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x57, + 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, + 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, + 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, + 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x70, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, + 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x24, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, + 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, + 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x76, 0x65, 0x72, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, + 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, + 0x73, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, + 0x74, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x66, 0x0a, 0x13, + 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, + 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_operations_proto_rawDescOnce sync.Once + file_operations_proto_rawDescData = file_operations_proto_rawDesc +) + +func file_operations_proto_rawDescGZIP() []byte { + file_operations_proto_rawDescOnce.Do(func() { + file_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_operations_proto_rawDescData) + }) + return file_operations_proto_rawDescData +} + +var file_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 40) +var file_operations_proto_goTypes = []interface{}{ + (UserCherryPickResponse_CreateTreeError)(0), // 0: gitaly.UserCherryPickResponse.CreateTreeError + (UserRevertResponse_CreateTreeError)(0), // 1: gitaly.UserRevertResponse.CreateTreeError + (UserCommitFilesActionHeader_ActionType)(0), // 2: gitaly.UserCommitFilesActionHeader.ActionType + (*UserCreateBranchRequest)(nil), // 3: gitaly.UserCreateBranchRequest + (*UserCreateBranchResponse)(nil), // 4: gitaly.UserCreateBranchResponse + (*UserUpdateBranchRequest)(nil), // 5: gitaly.UserUpdateBranchRequest + (*UserUpdateBranchResponse)(nil), // 6: gitaly.UserUpdateBranchResponse + (*UserDeleteBranchRequest)(nil), // 7: gitaly.UserDeleteBranchRequest + (*UserDeleteBranchResponse)(nil), // 8: gitaly.UserDeleteBranchResponse + (*UserDeleteTagRequest)(nil), // 9: gitaly.UserDeleteTagRequest + (*UserDeleteTagResponse)(nil), // 10: gitaly.UserDeleteTagResponse + (*UserCreateTagRequest)(nil), // 11: gitaly.UserCreateTagRequest + (*UserCreateTagResponse)(nil), // 12: gitaly.UserCreateTagResponse + (*UserMergeBranchRequest)(nil), // 13: gitaly.UserMergeBranchRequest + (*UserMergeBranchResponse)(nil), // 14: gitaly.UserMergeBranchResponse + (*UserMergeBranchError)(nil), // 15: gitaly.UserMergeBranchError + (*UserMergeToRefRequest)(nil), // 16: gitaly.UserMergeToRefRequest + (*UserMergeToRefResponse)(nil), // 17: gitaly.UserMergeToRefResponse + (*OperationBranchUpdate)(nil), // 18: gitaly.OperationBranchUpdate + (*UserFFBranchRequest)(nil), // 19: gitaly.UserFFBranchRequest + (*UserFFBranchResponse)(nil), // 20: gitaly.UserFFBranchResponse + (*UserCherryPickRequest)(nil), // 21: gitaly.UserCherryPickRequest + (*UserCherryPickResponse)(nil), // 22: gitaly.UserCherryPickResponse + (*UserCherryPickError)(nil), // 23: gitaly.UserCherryPickError + (*UserRevertRequest)(nil), // 24: gitaly.UserRevertRequest + (*UserRevertResponse)(nil), // 25: gitaly.UserRevertResponse + (*UserCommitFilesActionHeader)(nil), // 26: gitaly.UserCommitFilesActionHeader + (*UserCommitFilesAction)(nil), // 27: gitaly.UserCommitFilesAction + (*UserCommitFilesRequestHeader)(nil), // 28: gitaly.UserCommitFilesRequestHeader + (*UserCommitFilesRequest)(nil), // 29: gitaly.UserCommitFilesRequest + (*UserCommitFilesResponse)(nil), // 30: gitaly.UserCommitFilesResponse + (*UserRebaseConfirmableRequest)(nil), // 31: gitaly.UserRebaseConfirmableRequest + (*UserRebaseConfirmableResponse)(nil), // 32: gitaly.UserRebaseConfirmableResponse + (*UserSquashRequest)(nil), // 33: gitaly.UserSquashRequest + (*UserSquashResponse)(nil), // 34: gitaly.UserSquashResponse + (*UserRebaseConfirmableError)(nil), // 35: gitaly.UserRebaseConfirmableError + (*UserSquashError)(nil), // 36: gitaly.UserSquashError + (*UserApplyPatchRequest)(nil), // 37: gitaly.UserApplyPatchRequest + (*UserApplyPatchResponse)(nil), // 38: gitaly.UserApplyPatchResponse + (*UserUpdateSubmoduleRequest)(nil), // 39: gitaly.UserUpdateSubmoduleRequest + (*UserUpdateSubmoduleResponse)(nil), // 40: gitaly.UserUpdateSubmoduleResponse + (*UserRebaseConfirmableRequest_Header)(nil), // 41: gitaly.UserRebaseConfirmableRequest.Header + (*UserApplyPatchRequest_Header)(nil), // 42: gitaly.UserApplyPatchRequest.Header + (*Repository)(nil), // 43: gitaly.Repository + (*User)(nil), // 44: gitaly.User + (*Branch)(nil), // 45: gitaly.Branch + (*timestamppb.Timestamp)(nil), // 46: google.protobuf.Timestamp + (*Tag)(nil), // 47: gitaly.Tag + (*AccessCheckError)(nil), // 48: gitaly.AccessCheckError + (*ReferenceUpdateError)(nil), // 49: gitaly.ReferenceUpdateError + (*GitCommit)(nil), // 50: gitaly.GitCommit + (*MergeConflictError)(nil), // 51: gitaly.MergeConflictError + (*NotAncestorError)(nil), // 52: gitaly.NotAncestorError + (*ChangesAlreadyAppliedError)(nil), // 53: gitaly.ChangesAlreadyAppliedError + (*ResolveRevisionError)(nil), // 54: gitaly.ResolveRevisionError +} +var file_operations_proto_depIdxs = []int32{ + 43, // 0: gitaly.UserCreateBranchRequest.repository:type_name -> gitaly.Repository + 44, // 1: gitaly.UserCreateBranchRequest.user:type_name -> gitaly.User + 45, // 2: gitaly.UserCreateBranchResponse.branch:type_name -> gitaly.Branch + 43, // 3: gitaly.UserUpdateBranchRequest.repository:type_name -> gitaly.Repository + 44, // 4: gitaly.UserUpdateBranchRequest.user:type_name -> gitaly.User + 43, // 5: gitaly.UserDeleteBranchRequest.repository:type_name -> gitaly.Repository + 44, // 6: gitaly.UserDeleteBranchRequest.user:type_name -> gitaly.User + 43, // 7: gitaly.UserDeleteTagRequest.repository:type_name -> gitaly.Repository + 44, // 8: gitaly.UserDeleteTagRequest.user:type_name -> gitaly.User + 43, // 9: gitaly.UserCreateTagRequest.repository:type_name -> gitaly.Repository + 44, // 10: gitaly.UserCreateTagRequest.user:type_name -> gitaly.User + 46, // 11: gitaly.UserCreateTagRequest.timestamp:type_name -> google.protobuf.Timestamp + 47, // 12: gitaly.UserCreateTagResponse.tag:type_name -> gitaly.Tag + 43, // 13: gitaly.UserMergeBranchRequest.repository:type_name -> gitaly.Repository + 44, // 14: gitaly.UserMergeBranchRequest.user:type_name -> gitaly.User + 46, // 15: gitaly.UserMergeBranchRequest.timestamp:type_name -> google.protobuf.Timestamp + 18, // 16: gitaly.UserMergeBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 48, // 17: gitaly.UserMergeBranchError.access_check:type_name -> gitaly.AccessCheckError + 49, // 18: gitaly.UserMergeBranchError.reference_update:type_name -> gitaly.ReferenceUpdateError + 43, // 19: gitaly.UserMergeToRefRequest.repository:type_name -> gitaly.Repository + 44, // 20: gitaly.UserMergeToRefRequest.user:type_name -> gitaly.User + 46, // 21: gitaly.UserMergeToRefRequest.timestamp:type_name -> google.protobuf.Timestamp + 43, // 22: gitaly.UserFFBranchRequest.repository:type_name -> gitaly.Repository + 44, // 23: gitaly.UserFFBranchRequest.user:type_name -> gitaly.User + 18, // 24: gitaly.UserFFBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 43, // 25: gitaly.UserCherryPickRequest.repository:type_name -> gitaly.Repository + 44, // 26: gitaly.UserCherryPickRequest.user:type_name -> gitaly.User + 50, // 27: gitaly.UserCherryPickRequest.commit:type_name -> gitaly.GitCommit + 43, // 28: gitaly.UserCherryPickRequest.start_repository:type_name -> gitaly.Repository + 46, // 29: gitaly.UserCherryPickRequest.timestamp:type_name -> google.protobuf.Timestamp + 18, // 30: gitaly.UserCherryPickResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 0, // 31: gitaly.UserCherryPickResponse.create_tree_error_code:type_name -> gitaly.UserCherryPickResponse.CreateTreeError + 51, // 32: gitaly.UserCherryPickError.cherry_pick_conflict:type_name -> gitaly.MergeConflictError + 52, // 33: gitaly.UserCherryPickError.target_branch_diverged:type_name -> gitaly.NotAncestorError + 53, // 34: gitaly.UserCherryPickError.changes_already_applied:type_name -> gitaly.ChangesAlreadyAppliedError + 48, // 35: gitaly.UserCherryPickError.access_check:type_name -> gitaly.AccessCheckError + 43, // 36: gitaly.UserRevertRequest.repository:type_name -> gitaly.Repository + 44, // 37: gitaly.UserRevertRequest.user:type_name -> gitaly.User + 50, // 38: gitaly.UserRevertRequest.commit:type_name -> gitaly.GitCommit + 43, // 39: gitaly.UserRevertRequest.start_repository:type_name -> gitaly.Repository + 46, // 40: gitaly.UserRevertRequest.timestamp:type_name -> google.protobuf.Timestamp + 18, // 41: gitaly.UserRevertResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 1, // 42: gitaly.UserRevertResponse.create_tree_error_code:type_name -> gitaly.UserRevertResponse.CreateTreeError + 2, // 43: gitaly.UserCommitFilesActionHeader.action:type_name -> gitaly.UserCommitFilesActionHeader.ActionType + 26, // 44: gitaly.UserCommitFilesAction.header:type_name -> gitaly.UserCommitFilesActionHeader + 43, // 45: gitaly.UserCommitFilesRequestHeader.repository:type_name -> gitaly.Repository + 44, // 46: gitaly.UserCommitFilesRequestHeader.user:type_name -> gitaly.User + 43, // 47: gitaly.UserCommitFilesRequestHeader.start_repository:type_name -> gitaly.Repository + 46, // 48: gitaly.UserCommitFilesRequestHeader.timestamp:type_name -> google.protobuf.Timestamp + 28, // 49: gitaly.UserCommitFilesRequest.header:type_name -> gitaly.UserCommitFilesRequestHeader + 27, // 50: gitaly.UserCommitFilesRequest.action:type_name -> gitaly.UserCommitFilesAction + 18, // 51: gitaly.UserCommitFilesResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 41, // 52: gitaly.UserRebaseConfirmableRequest.header:type_name -> gitaly.UserRebaseConfirmableRequest.Header + 43, // 53: gitaly.UserSquashRequest.repository:type_name -> gitaly.Repository + 44, // 54: gitaly.UserSquashRequest.user:type_name -> gitaly.User + 44, // 55: gitaly.UserSquashRequest.author:type_name -> gitaly.User + 46, // 56: gitaly.UserSquashRequest.timestamp:type_name -> google.protobuf.Timestamp + 51, // 57: gitaly.UserRebaseConfirmableError.rebase_conflict:type_name -> gitaly.MergeConflictError + 48, // 58: gitaly.UserRebaseConfirmableError.access_check:type_name -> gitaly.AccessCheckError + 54, // 59: gitaly.UserSquashError.resolve_revision:type_name -> gitaly.ResolveRevisionError + 51, // 60: gitaly.UserSquashError.rebase_conflict:type_name -> gitaly.MergeConflictError + 42, // 61: gitaly.UserApplyPatchRequest.header:type_name -> gitaly.UserApplyPatchRequest.Header + 18, // 62: gitaly.UserApplyPatchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 43, // 63: gitaly.UserUpdateSubmoduleRequest.repository:type_name -> gitaly.Repository + 44, // 64: gitaly.UserUpdateSubmoduleRequest.user:type_name -> gitaly.User + 46, // 65: gitaly.UserUpdateSubmoduleRequest.timestamp:type_name -> google.protobuf.Timestamp + 18, // 66: gitaly.UserUpdateSubmoduleResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 43, // 67: gitaly.UserRebaseConfirmableRequest.Header.repository:type_name -> gitaly.Repository + 44, // 68: gitaly.UserRebaseConfirmableRequest.Header.user:type_name -> gitaly.User + 43, // 69: gitaly.UserRebaseConfirmableRequest.Header.remote_repository:type_name -> gitaly.Repository + 46, // 70: gitaly.UserRebaseConfirmableRequest.Header.timestamp:type_name -> google.protobuf.Timestamp + 43, // 71: gitaly.UserApplyPatchRequest.Header.repository:type_name -> gitaly.Repository + 44, // 72: gitaly.UserApplyPatchRequest.Header.user:type_name -> gitaly.User + 46, // 73: gitaly.UserApplyPatchRequest.Header.timestamp:type_name -> google.protobuf.Timestamp + 3, // 74: gitaly.OperationService.UserCreateBranch:input_type -> gitaly.UserCreateBranchRequest + 5, // 75: gitaly.OperationService.UserUpdateBranch:input_type -> gitaly.UserUpdateBranchRequest + 7, // 76: gitaly.OperationService.UserDeleteBranch:input_type -> gitaly.UserDeleteBranchRequest + 11, // 77: gitaly.OperationService.UserCreateTag:input_type -> gitaly.UserCreateTagRequest + 9, // 78: gitaly.OperationService.UserDeleteTag:input_type -> gitaly.UserDeleteTagRequest + 16, // 79: gitaly.OperationService.UserMergeToRef:input_type -> gitaly.UserMergeToRefRequest + 13, // 80: gitaly.OperationService.UserMergeBranch:input_type -> gitaly.UserMergeBranchRequest + 19, // 81: gitaly.OperationService.UserFFBranch:input_type -> gitaly.UserFFBranchRequest + 21, // 82: gitaly.OperationService.UserCherryPick:input_type -> gitaly.UserCherryPickRequest + 29, // 83: gitaly.OperationService.UserCommitFiles:input_type -> gitaly.UserCommitFilesRequest + 31, // 84: gitaly.OperationService.UserRebaseConfirmable:input_type -> gitaly.UserRebaseConfirmableRequest + 24, // 85: gitaly.OperationService.UserRevert:input_type -> gitaly.UserRevertRequest + 33, // 86: gitaly.OperationService.UserSquash:input_type -> gitaly.UserSquashRequest + 37, // 87: gitaly.OperationService.UserApplyPatch:input_type -> gitaly.UserApplyPatchRequest + 39, // 88: gitaly.OperationService.UserUpdateSubmodule:input_type -> gitaly.UserUpdateSubmoduleRequest + 4, // 89: gitaly.OperationService.UserCreateBranch:output_type -> gitaly.UserCreateBranchResponse + 6, // 90: gitaly.OperationService.UserUpdateBranch:output_type -> gitaly.UserUpdateBranchResponse + 8, // 91: gitaly.OperationService.UserDeleteBranch:output_type -> gitaly.UserDeleteBranchResponse + 12, // 92: gitaly.OperationService.UserCreateTag:output_type -> gitaly.UserCreateTagResponse + 10, // 93: gitaly.OperationService.UserDeleteTag:output_type -> gitaly.UserDeleteTagResponse + 17, // 94: gitaly.OperationService.UserMergeToRef:output_type -> gitaly.UserMergeToRefResponse + 14, // 95: gitaly.OperationService.UserMergeBranch:output_type -> gitaly.UserMergeBranchResponse + 20, // 96: gitaly.OperationService.UserFFBranch:output_type -> gitaly.UserFFBranchResponse + 22, // 97: gitaly.OperationService.UserCherryPick:output_type -> gitaly.UserCherryPickResponse + 30, // 98: gitaly.OperationService.UserCommitFiles:output_type -> gitaly.UserCommitFilesResponse + 32, // 99: gitaly.OperationService.UserRebaseConfirmable:output_type -> gitaly.UserRebaseConfirmableResponse + 25, // 100: gitaly.OperationService.UserRevert:output_type -> gitaly.UserRevertResponse + 34, // 101: gitaly.OperationService.UserSquash:output_type -> gitaly.UserSquashResponse + 38, // 102: gitaly.OperationService.UserApplyPatch:output_type -> gitaly.UserApplyPatchResponse + 40, // 103: gitaly.OperationService.UserUpdateSubmodule:output_type -> gitaly.UserUpdateSubmoduleResponse + 89, // [89:104] is the sub-list for method output_type + 74, // [74:89] is the sub-list for method input_type + 74, // [74:74] is the sub-list for extension type_name + 74, // [74:74] is the sub-list for extension extendee + 0, // [0:74] is the sub-list for field type_name +} + +func init() { file_operations_proto_init() } +func file_operations_proto_init() { + if File_operations_proto != nil { + return + } + file_errors_proto_init() + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_operations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeBranchError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeToRefRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeToRefResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationBranchUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserFFBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserFFBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCherryPickRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCherryPickResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCherryPickError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRevertRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRevertResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesActionHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesRequestHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSquashRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSquashResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSquashError); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateSubmoduleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateSubmoduleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_operations_proto_msgTypes[12].OneofWrappers = []interface{}{ + (*UserMergeBranchError_AccessCheck)(nil), + (*UserMergeBranchError_ReferenceUpdate)(nil), + } + file_operations_proto_msgTypes[20].OneofWrappers = []interface{}{ + (*UserCherryPickError_CherryPickConflict)(nil), + (*UserCherryPickError_TargetBranchDiverged)(nil), + (*UserCherryPickError_ChangesAlreadyApplied)(nil), + (*UserCherryPickError_AccessCheck)(nil), + } + file_operations_proto_msgTypes[24].OneofWrappers = []interface{}{ + (*UserCommitFilesAction_Header)(nil), + (*UserCommitFilesAction_Content)(nil), + } + file_operations_proto_msgTypes[26].OneofWrappers = []interface{}{ + (*UserCommitFilesRequest_Header)(nil), + (*UserCommitFilesRequest_Action)(nil), + } + file_operations_proto_msgTypes[28].OneofWrappers = []interface{}{ + (*UserRebaseConfirmableRequest_Header_)(nil), + (*UserRebaseConfirmableRequest_Apply)(nil), + } + file_operations_proto_msgTypes[29].OneofWrappers = []interface{}{ + (*UserRebaseConfirmableResponse_RebaseSha)(nil), + (*UserRebaseConfirmableResponse_RebaseApplied)(nil), + } + file_operations_proto_msgTypes[32].OneofWrappers = []interface{}{ + (*UserRebaseConfirmableError_RebaseConflict)(nil), + (*UserRebaseConfirmableError_AccessCheck)(nil), + } + file_operations_proto_msgTypes[33].OneofWrappers = []interface{}{ + (*UserSquashError_ResolveRevision)(nil), + (*UserSquashError_RebaseConflict)(nil), + } + file_operations_proto_msgTypes[34].OneofWrappers = []interface{}{ + (*UserApplyPatchRequest_Header_)(nil), + (*UserApplyPatchRequest_Patches)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_operations_proto_rawDesc, + NumEnums: 3, + NumMessages: 40, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_operations_proto_goTypes, + DependencyIndexes: file_operations_proto_depIdxs, + EnumInfos: file_operations_proto_enumTypes, + MessageInfos: file_operations_proto_msgTypes, + }.Build() + File_operations_proto = out.File + file_operations_proto_rawDesc = nil + file_operations_proto_goTypes = nil + file_operations_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/operations_grpc.pb.go b/v14/proto/go/gitalypb/operations_grpc.pb.go new file mode 100644 index 000000000..a1db433bc --- /dev/null +++ b/v14/proto/go/gitalypb/operations_grpc.pb.go @@ -0,0 +1,826 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// OperationServiceClient is the client API for OperationService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type OperationServiceClient interface { + // This comment is left unintentionally blank. + UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) + // This comment is left unintentionally blank. + UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) + // This comment is left unintentionally blank. + UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) + // UserCreateTag creates a new tag. + UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) + // This comment is left unintentionally blank. + UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) + // UserMergeRef creates a merge commit and updates target_ref to point to that + // new commit. The first parent of the merge commit (the main line) is taken + // from first_parent_ref. The second parent is specified by its commit ID in source_sha. + // If target_ref already exists it will be overwritten. + UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) + // UserMergeBranch tries to merge the given commit into the target branch. + // The merge commit is created with the given user as author/committer and + // the given message. + // + // This RPC requires confirmation to make any user-visible changes to the + // repository. The first request sent shall contain details about the + // requested merge, which will result in a response with the created merge + // commit ID. Only if a second message with `apply = true` is sent will the + // merge be applied. + UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) + // UserFFBranch tries to perform a fast-forward merge of the given branch to + // the given commit. If the merge is not a fast-forward merge, the request + // will fail. The RPC will return an empty response in case updating the + // reference fails e.g. because of a race. + UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) + // UserCherryPick tries to perform a cherry-pick of a given commit onto a + // branch. + UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) + // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. + // UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. + // Following that, a variable number of actions can be sent to build a new commit. Each action consists of + // a header followed by content if used by the action. + UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) + // UserRebaseConfirmable rebases the given remote branch onto a target + // branch. The remote branch may be part of another repository. + // + // This RPC requires confirmation to make any user-visible changes to the + // repository. The first request sent shall contains details about the + // requested rebase, which will result in a response with the created rebase + // commit ID. Only if a second message with `apply = true` is sent will the + // rebase be applied. + UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) + // UserRevert tries to perform a revert of a given commit onto a branch. + UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) + // UserSquash squashes a range of commits into a single commit. If + // successful, it returns the object ID of the newly created squash commit. + // On error, it returns a gRPC error. Some specific errors will have an + // embedded UserSquashError such that clients can deduce what exactly has + // failed. + UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) + // UserApplyPatch applies patches to a given branch. + UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) + // UserUpdateSubmodule updates a submodule to point to a new commit. + UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) +} + +type operationServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewOperationServiceClient(cc grpc.ClientConnInterface) OperationServiceClient { + return &operationServiceClient{cc} +} + +func (c *operationServiceClient) UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) { + out := new(UserCreateBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) { + out := new(UserUpdateBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) { + out := new(UserDeleteBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) { + out := new(UserCreateTagResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCreateTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) { + out := new(UserDeleteTagResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserDeleteTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) { + out := new(UserMergeToRefResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserMergeToRef", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) { + stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[0], "/gitaly.OperationService/UserMergeBranch", opts...) + if err != nil { + return nil, err + } + x := &operationServiceUserMergeBranchClient{stream} + return x, nil +} + +type OperationService_UserMergeBranchClient interface { + Send(*UserMergeBranchRequest) error + Recv() (*UserMergeBranchResponse, error) + grpc.ClientStream +} + +type operationServiceUserMergeBranchClient struct { + grpc.ClientStream +} + +func (x *operationServiceUserMergeBranchClient) Send(m *UserMergeBranchRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *operationServiceUserMergeBranchClient) Recv() (*UserMergeBranchResponse, error) { + m := new(UserMergeBranchResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *operationServiceClient) UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) { + out := new(UserFFBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserFFBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) { + out := new(UserCherryPickResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserCherryPick", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) { + stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[1], "/gitaly.OperationService/UserCommitFiles", opts...) + if err != nil { + return nil, err + } + x := &operationServiceUserCommitFilesClient{stream} + return x, nil +} + +type OperationService_UserCommitFilesClient interface { + Send(*UserCommitFilesRequest) error + CloseAndRecv() (*UserCommitFilesResponse, error) + grpc.ClientStream +} + +type operationServiceUserCommitFilesClient struct { + grpc.ClientStream +} + +func (x *operationServiceUserCommitFilesClient) Send(m *UserCommitFilesRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *operationServiceUserCommitFilesClient) CloseAndRecv() (*UserCommitFilesResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(UserCommitFilesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *operationServiceClient) UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) { + stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[2], "/gitaly.OperationService/UserRebaseConfirmable", opts...) + if err != nil { + return nil, err + } + x := &operationServiceUserRebaseConfirmableClient{stream} + return x, nil +} + +type OperationService_UserRebaseConfirmableClient interface { + Send(*UserRebaseConfirmableRequest) error + Recv() (*UserRebaseConfirmableResponse, error) + grpc.ClientStream +} + +type operationServiceUserRebaseConfirmableClient struct { + grpc.ClientStream +} + +func (x *operationServiceUserRebaseConfirmableClient) Send(m *UserRebaseConfirmableRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *operationServiceUserRebaseConfirmableClient) Recv() (*UserRebaseConfirmableResponse, error) { + m := new(UserRebaseConfirmableResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *operationServiceClient) UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) { + out := new(UserRevertResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRevert", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) { + out := new(UserSquashResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserSquash", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *operationServiceClient) UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) { + stream, err := c.cc.NewStream(ctx, &OperationService_ServiceDesc.Streams[3], "/gitaly.OperationService/UserApplyPatch", opts...) + if err != nil { + return nil, err + } + x := &operationServiceUserApplyPatchClient{stream} + return x, nil +} + +type OperationService_UserApplyPatchClient interface { + Send(*UserApplyPatchRequest) error + CloseAndRecv() (*UserApplyPatchResponse, error) + grpc.ClientStream +} + +type operationServiceUserApplyPatchClient struct { + grpc.ClientStream +} + +func (x *operationServiceUserApplyPatchClient) Send(m *UserApplyPatchRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *operationServiceUserApplyPatchClient) CloseAndRecv() (*UserApplyPatchResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(UserApplyPatchResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *operationServiceClient) UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) { + out := new(UserUpdateSubmoduleResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserUpdateSubmodule", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// OperationServiceServer is the server API for OperationService service. +// All implementations must embed UnimplementedOperationServiceServer +// for forward compatibility +type OperationServiceServer interface { + // This comment is left unintentionally blank. + UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) + // This comment is left unintentionally blank. + UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) + // This comment is left unintentionally blank. + UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) + // UserCreateTag creates a new tag. + UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) + // This comment is left unintentionally blank. + UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) + // UserMergeRef creates a merge commit and updates target_ref to point to that + // new commit. The first parent of the merge commit (the main line) is taken + // from first_parent_ref. The second parent is specified by its commit ID in source_sha. + // If target_ref already exists it will be overwritten. + UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) + // UserMergeBranch tries to merge the given commit into the target branch. + // The merge commit is created with the given user as author/committer and + // the given message. + // + // This RPC requires confirmation to make any user-visible changes to the + // repository. The first request sent shall contain details about the + // requested merge, which will result in a response with the created merge + // commit ID. Only if a second message with `apply = true` is sent will the + // merge be applied. + UserMergeBranch(OperationService_UserMergeBranchServer) error + // UserFFBranch tries to perform a fast-forward merge of the given branch to + // the given commit. If the merge is not a fast-forward merge, the request + // will fail. The RPC will return an empty response in case updating the + // reference fails e.g. because of a race. + UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) + // UserCherryPick tries to perform a cherry-pick of a given commit onto a + // branch. + UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) + // UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. + // UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. + // Following that, a variable number of actions can be sent to build a new commit. Each action consists of + // a header followed by content if used by the action. + UserCommitFiles(OperationService_UserCommitFilesServer) error + // UserRebaseConfirmable rebases the given remote branch onto a target + // branch. The remote branch may be part of another repository. + // + // This RPC requires confirmation to make any user-visible changes to the + // repository. The first request sent shall contains details about the + // requested rebase, which will result in a response with the created rebase + // commit ID. Only if a second message with `apply = true` is sent will the + // rebase be applied. + UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error + // UserRevert tries to perform a revert of a given commit onto a branch. + UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) + // UserSquash squashes a range of commits into a single commit. If + // successful, it returns the object ID of the newly created squash commit. + // On error, it returns a gRPC error. Some specific errors will have an + // embedded UserSquashError such that clients can deduce what exactly has + // failed. + UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) + // UserApplyPatch applies patches to a given branch. + UserApplyPatch(OperationService_UserApplyPatchServer) error + // UserUpdateSubmodule updates a submodule to point to a new commit. + UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) + mustEmbedUnimplementedOperationServiceServer() +} + +// UnimplementedOperationServiceServer must be embedded to have forward compatible implementations. +type UnimplementedOperationServiceServer struct { +} + +func (UnimplementedOperationServiceServer) UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCreateBranch not implemented") +} +func (UnimplementedOperationServiceServer) UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserUpdateBranch not implemented") +} +func (UnimplementedOperationServiceServer) UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserDeleteBranch not implemented") +} +func (UnimplementedOperationServiceServer) UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCreateTag not implemented") +} +func (UnimplementedOperationServiceServer) UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserDeleteTag not implemented") +} +func (UnimplementedOperationServiceServer) UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserMergeToRef not implemented") +} +func (UnimplementedOperationServiceServer) UserMergeBranch(OperationService_UserMergeBranchServer) error { + return status.Errorf(codes.Unimplemented, "method UserMergeBranch not implemented") +} +func (UnimplementedOperationServiceServer) UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserFFBranch not implemented") +} +func (UnimplementedOperationServiceServer) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCherryPick not implemented") +} +func (UnimplementedOperationServiceServer) UserCommitFiles(OperationService_UserCommitFilesServer) error { + return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented") +} +func (UnimplementedOperationServiceServer) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error { + return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented") +} +func (UnimplementedOperationServiceServer) UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserRevert not implemented") +} +func (UnimplementedOperationServiceServer) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserSquash not implemented") +} +func (UnimplementedOperationServiceServer) UserApplyPatch(OperationService_UserApplyPatchServer) error { + return status.Errorf(codes.Unimplemented, "method UserApplyPatch not implemented") +} +func (UnimplementedOperationServiceServer) UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserUpdateSubmodule not implemented") +} +func (UnimplementedOperationServiceServer) mustEmbedUnimplementedOperationServiceServer() {} + +// UnsafeOperationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OperationServiceServer will +// result in compilation errors. +type UnsafeOperationServiceServer interface { + mustEmbedUnimplementedOperationServiceServer() +} + +func RegisterOperationServiceServer(s grpc.ServiceRegistrar, srv OperationServiceServer) { + s.RegisterService(&OperationService_ServiceDesc, srv) +} + +func _OperationService_UserCreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserCreateBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserCreateBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserCreateBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserCreateBranch(ctx, req.(*UserCreateBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserUpdateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserUpdateBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserUpdateBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserUpdateBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserUpdateBranch(ctx, req.(*UserUpdateBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserDeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserDeleteBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserDeleteBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserDeleteBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserDeleteBranch(ctx, req.(*UserDeleteBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserCreateTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserCreateTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserCreateTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserCreateTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserCreateTag(ctx, req.(*UserCreateTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserDeleteTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserDeleteTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserDeleteTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserDeleteTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserDeleteTag(ctx, req.(*UserDeleteTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserMergeToRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserMergeToRefRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserMergeToRef(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserMergeToRef", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserMergeToRef(ctx, req.(*UserMergeToRefRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserMergeBranch_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(OperationServiceServer).UserMergeBranch(&operationServiceUserMergeBranchServer{stream}) +} + +type OperationService_UserMergeBranchServer interface { + Send(*UserMergeBranchResponse) error + Recv() (*UserMergeBranchRequest, error) + grpc.ServerStream +} + +type operationServiceUserMergeBranchServer struct { + grpc.ServerStream +} + +func (x *operationServiceUserMergeBranchServer) Send(m *UserMergeBranchResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *operationServiceUserMergeBranchServer) Recv() (*UserMergeBranchRequest, error) { + m := new(UserMergeBranchRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _OperationService_UserFFBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserFFBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserFFBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserFFBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserFFBranch(ctx, req.(*UserFFBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserCherryPick_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserCherryPickRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserCherryPick(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserCherryPick", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserCherryPick(ctx, req.(*UserCherryPickRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserCommitFiles_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(OperationServiceServer).UserCommitFiles(&operationServiceUserCommitFilesServer{stream}) +} + +type OperationService_UserCommitFilesServer interface { + SendAndClose(*UserCommitFilesResponse) error + Recv() (*UserCommitFilesRequest, error) + grpc.ServerStream +} + +type operationServiceUserCommitFilesServer struct { + grpc.ServerStream +} + +func (x *operationServiceUserCommitFilesServer) SendAndClose(m *UserCommitFilesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *operationServiceUserCommitFilesServer) Recv() (*UserCommitFilesRequest, error) { + m := new(UserCommitFilesRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _OperationService_UserRebaseConfirmable_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(OperationServiceServer).UserRebaseConfirmable(&operationServiceUserRebaseConfirmableServer{stream}) +} + +type OperationService_UserRebaseConfirmableServer interface { + Send(*UserRebaseConfirmableResponse) error + Recv() (*UserRebaseConfirmableRequest, error) + grpc.ServerStream +} + +type operationServiceUserRebaseConfirmableServer struct { + grpc.ServerStream +} + +func (x *operationServiceUserRebaseConfirmableServer) Send(m *UserRebaseConfirmableResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *operationServiceUserRebaseConfirmableServer) Recv() (*UserRebaseConfirmableRequest, error) { + m := new(UserRebaseConfirmableRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _OperationService_UserRevert_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserRevertRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserRevert(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserRevert", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserRevert(ctx, req.(*UserRevertRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserSquash_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserSquashRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserSquash(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserSquash", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserSquash(ctx, req.(*UserSquashRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _OperationService_UserApplyPatch_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(OperationServiceServer).UserApplyPatch(&operationServiceUserApplyPatchServer{stream}) +} + +type OperationService_UserApplyPatchServer interface { + SendAndClose(*UserApplyPatchResponse) error + Recv() (*UserApplyPatchRequest, error) + grpc.ServerStream +} + +type operationServiceUserApplyPatchServer struct { + grpc.ServerStream +} + +func (x *operationServiceUserApplyPatchServer) SendAndClose(m *UserApplyPatchResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *operationServiceUserApplyPatchServer) Recv() (*UserApplyPatchRequest, error) { + m := new(UserApplyPatchRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _OperationService_UserUpdateSubmodule_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserUpdateSubmoduleRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserUpdateSubmodule", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserUpdateSubmodule(ctx, req.(*UserUpdateSubmoduleRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// OperationService_ServiceDesc is the grpc.ServiceDesc for OperationService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var OperationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.OperationService", + HandlerType: (*OperationServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "UserCreateBranch", + Handler: _OperationService_UserCreateBranch_Handler, + }, + { + MethodName: "UserUpdateBranch", + Handler: _OperationService_UserUpdateBranch_Handler, + }, + { + MethodName: "UserDeleteBranch", + Handler: _OperationService_UserDeleteBranch_Handler, + }, + { + MethodName: "UserCreateTag", + Handler: _OperationService_UserCreateTag_Handler, + }, + { + MethodName: "UserDeleteTag", + Handler: _OperationService_UserDeleteTag_Handler, + }, + { + MethodName: "UserMergeToRef", + Handler: _OperationService_UserMergeToRef_Handler, + }, + { + MethodName: "UserFFBranch", + Handler: _OperationService_UserFFBranch_Handler, + }, + { + MethodName: "UserCherryPick", + Handler: _OperationService_UserCherryPick_Handler, + }, + { + MethodName: "UserRevert", + Handler: _OperationService_UserRevert_Handler, + }, + { + MethodName: "UserSquash", + Handler: _OperationService_UserSquash_Handler, + }, + { + MethodName: "UserUpdateSubmodule", + Handler: _OperationService_UserUpdateSubmodule_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "UserMergeBranch", + Handler: _OperationService_UserMergeBranch_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "UserCommitFiles", + Handler: _OperationService_UserCommitFiles_Handler, + ClientStreams: true, + }, + { + StreamName: "UserRebaseConfirmable", + Handler: _OperationService_UserRebaseConfirmable_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "UserApplyPatch", + Handler: _OperationService_UserApplyPatch_Handler, + ClientStreams: true, + }, + }, + Metadata: "operations.proto", +} diff --git a/v14/proto/go/gitalypb/praefect.pb.go b/v14/proto/go/gitalypb/praefect.pb.go new file mode 100644 index 000000000..198bb6ff8 --- /dev/null +++ b/v14/proto/go/gitalypb/praefect.pb.go @@ -0,0 +1,1750 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: praefect.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MarkUnverifiedRequest specifies the replicas which to mark unverified. +type MarkUnverifiedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // selector specifies the replicas which to mark unverified. + // + // Types that are assignable to Selector: + // *MarkUnverifiedRequest_RepositoryId + // *MarkUnverifiedRequest_VirtualStorage + // *MarkUnverifiedRequest_Storage_ + Selector isMarkUnverifiedRequest_Selector `protobuf_oneof:"selector"` +} + +func (x *MarkUnverifiedRequest) Reset() { + *x = MarkUnverifiedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkUnverifiedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkUnverifiedRequest) ProtoMessage() {} + +func (x *MarkUnverifiedRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkUnverifiedRequest.ProtoReflect.Descriptor instead. +func (*MarkUnverifiedRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{0} +} + +func (m *MarkUnverifiedRequest) GetSelector() isMarkUnverifiedRequest_Selector { + if m != nil { + return m.Selector + } + return nil +} + +func (x *MarkUnverifiedRequest) GetRepositoryId() int64 { + if x, ok := x.GetSelector().(*MarkUnverifiedRequest_RepositoryId); ok { + return x.RepositoryId + } + return 0 +} + +func (x *MarkUnverifiedRequest) GetVirtualStorage() string { + if x, ok := x.GetSelector().(*MarkUnverifiedRequest_VirtualStorage); ok { + return x.VirtualStorage + } + return "" +} + +func (x *MarkUnverifiedRequest) GetStorage() *MarkUnverifiedRequest_Storage { + if x, ok := x.GetSelector().(*MarkUnverifiedRequest_Storage_); ok { + return x.Storage + } + return nil +} + +type isMarkUnverifiedRequest_Selector interface { + isMarkUnverifiedRequest_Selector() +} + +type MarkUnverifiedRequest_RepositoryId struct { + // repository_id is the id of a repository to mark all replicas for unverified. + RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` +} + +type MarkUnverifiedRequest_VirtualStorage struct { + // virtual_storage is the name of virtual storage which will have all of its replicas + // marked unverified. + VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3,oneof"` +} + +type MarkUnverifiedRequest_Storage_ struct { + // storage specifies a single storage. The replicas on the storage marked unverified. + Storage *MarkUnverifiedRequest_Storage `protobuf:"bytes,3,opt,name=storage,proto3,oneof"` +} + +func (*MarkUnverifiedRequest_RepositoryId) isMarkUnverifiedRequest_Selector() {} + +func (*MarkUnverifiedRequest_VirtualStorage) isMarkUnverifiedRequest_Selector() {} + +func (*MarkUnverifiedRequest_Storage_) isMarkUnverifiedRequest_Selector() {} + +// MarkUnverifiedResponse returns the number of replicas marked unverified. +type MarkUnverifiedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // replicas_marked indicates the number of replicas that were marked unverified. + ReplicasMarked int64 `protobuf:"varint,1,opt,name=replicas_marked,json=replicasMarked,proto3" json:"replicas_marked,omitempty"` +} + +func (x *MarkUnverifiedResponse) Reset() { + *x = MarkUnverifiedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkUnverifiedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkUnverifiedResponse) ProtoMessage() {} + +func (x *MarkUnverifiedResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkUnverifiedResponse.ProtoReflect.Descriptor instead. +func (*MarkUnverifiedResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{1} +} + +func (x *MarkUnverifiedResponse) GetReplicasMarked() int64 { + if x != nil { + return x.ReplicasMarked + } + return 0 +} + +// GetRepositoryMetadataRequest specifies the repository to retrieve metadata for. +type GetRepositoryMetadataRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Query: + // *GetRepositoryMetadataRequest_RepositoryId + // *GetRepositoryMetadataRequest_Path_ + Query isGetRepositoryMetadataRequest_Query `protobuf_oneof:"query"` +} + +func (x *GetRepositoryMetadataRequest) Reset() { + *x = GetRepositoryMetadataRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepositoryMetadataRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepositoryMetadataRequest) ProtoMessage() {} + +func (x *GetRepositoryMetadataRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRepositoryMetadataRequest.ProtoReflect.Descriptor instead. +func (*GetRepositoryMetadataRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{2} +} + +func (m *GetRepositoryMetadataRequest) GetQuery() isGetRepositoryMetadataRequest_Query { + if m != nil { + return m.Query + } + return nil +} + +func (x *GetRepositoryMetadataRequest) GetRepositoryId() int64 { + if x, ok := x.GetQuery().(*GetRepositoryMetadataRequest_RepositoryId); ok { + return x.RepositoryId + } + return 0 +} + +func (x *GetRepositoryMetadataRequest) GetPath() *GetRepositoryMetadataRequest_Path { + if x, ok := x.GetQuery().(*GetRepositoryMetadataRequest_Path_); ok { + return x.Path + } + return nil +} + +type isGetRepositoryMetadataRequest_Query interface { + isGetRepositoryMetadataRequest_Query() +} + +type GetRepositoryMetadataRequest_RepositoryId struct { + // repository_id is the ID of the repository to retrieve information for. + RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3,oneof"` +} + +type GetRepositoryMetadataRequest_Path_ struct { + // path is the external path of the repository to retrieve information for. + Path *GetRepositoryMetadataRequest_Path `protobuf:"bytes,2,opt,name=path,proto3,oneof"` +} + +func (*GetRepositoryMetadataRequest_RepositoryId) isGetRepositoryMetadataRequest_Query() {} + +func (*GetRepositoryMetadataRequest_Path_) isGetRepositoryMetadataRequest_Query() {} + +// GeRepositoryMetadataResponse contains the repository's cluster metadata. +type GetRepositoryMetadataResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository_id is the internal ID of the repository. + RepositoryId int64 `protobuf:"varint,1,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"` + // virtual_storage is the virtual storage in which the repository is located. + VirtualStorage string `protobuf:"bytes,2,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // relative_path is the relative path of the repository in the virtual storage. + RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // replica_path is the path on the disk where the replicas are stored. + ReplicaPath string `protobuf:"bytes,4,opt,name=replica_path,json=replicaPath,proto3" json:"replica_path,omitempty"` + // primary is the current primary of the repository. + Primary string `protobuf:"bytes,5,opt,name=primary,proto3" json:"primary,omitempty"` + // generation is the repository's current generation. + Generation int64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` + // replicas are the existing and supposed to exist replicas of this repository. + Replicas []*GetRepositoryMetadataResponse_Replica `protobuf:"bytes,7,rep,name=replicas,proto3" json:"replicas,omitempty"` +} + +func (x *GetRepositoryMetadataResponse) Reset() { + *x = GetRepositoryMetadataResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepositoryMetadataResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepositoryMetadataResponse) ProtoMessage() {} + +func (x *GetRepositoryMetadataResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRepositoryMetadataResponse.ProtoReflect.Descriptor instead. +func (*GetRepositoryMetadataResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{3} +} + +func (x *GetRepositoryMetadataResponse) GetRepositoryId() int64 { + if x != nil { + return x.RepositoryId + } + return 0 +} + +func (x *GetRepositoryMetadataResponse) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *GetRepositoryMetadataResponse) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *GetRepositoryMetadataResponse) GetReplicaPath() string { + if x != nil { + return x.ReplicaPath + } + return "" +} + +func (x *GetRepositoryMetadataResponse) GetPrimary() string { + if x != nil { + return x.Primary + } + return "" +} + +func (x *GetRepositoryMetadataResponse) GetGeneration() int64 { + if x != nil { + return x.Generation + } + return 0 +} + +func (x *GetRepositoryMetadataResponse) GetReplicas() []*GetRepositoryMetadataResponse_Replica { + if x != nil { + return x.Replicas + } + return nil +} + +// SetReplicationFactorRequest sets the desired replication factor for a repository. +type SetReplicationFactorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // virtual_storage is the virtual storage the repository is located in + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // relative_path is the relative path of the repository + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // replication_factor is the desired replication factor. Replication must be equal or greater than 1. + ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` +} + +func (x *SetReplicationFactorRequest) Reset() { + *x = SetReplicationFactorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReplicationFactorRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReplicationFactorRequest) ProtoMessage() {} + +func (x *SetReplicationFactorRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReplicationFactorRequest.ProtoReflect.Descriptor instead. +func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{4} +} + +func (x *SetReplicationFactorRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *SetReplicationFactorRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *SetReplicationFactorRequest) GetReplicationFactor() int32 { + if x != nil { + return x.ReplicationFactor + } + return 0 +} + +// SetReplicationFactorResponse returns the assigned hosts after setting the desired replication factor. +type SetReplicationFactorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // storages are the storages assigned to host the repository. + Storages []string `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"` +} + +func (x *SetReplicationFactorResponse) Reset() { + *x = SetReplicationFactorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetReplicationFactorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetReplicationFactorResponse) ProtoMessage() {} + +func (x *SetReplicationFactorResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetReplicationFactorResponse.ProtoReflect.Descriptor instead. +func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{5} +} + +func (x *SetReplicationFactorResponse) GetStorages() []string { + if x != nil { + return x.Storages + } + return nil +} + +// This comment is left unintentionally blank. +type SetAuthoritativeStorageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // This comment is left unintentionally blank. + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // This comment is left unintentionally blank. + AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"` +} + +func (x *SetAuthoritativeStorageRequest) Reset() { + *x = SetAuthoritativeStorageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetAuthoritativeStorageRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetAuthoritativeStorageRequest) ProtoMessage() {} + +func (x *SetAuthoritativeStorageRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetAuthoritativeStorageRequest.ProtoReflect.Descriptor instead. +func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{6} +} + +func (x *SetAuthoritativeStorageRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *SetAuthoritativeStorageRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string { + if x != nil { + return x.AuthoritativeStorage + } + return "" +} + +// This comment is left unintentionally blank. +type SetAuthoritativeStorageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetAuthoritativeStorageResponse) Reset() { + *x = SetAuthoritativeStorageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetAuthoritativeStorageResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetAuthoritativeStorageResponse) ProtoMessage() {} + +func (x *SetAuthoritativeStorageResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetAuthoritativeStorageResponse.ProtoReflect.Descriptor instead. +func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{7} +} + +// This comment is left unintentionally blank. +type DatalossCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // include_partially_unavailable indicates whether to include repositories which are available but + // are unavailable on some assigned storages. + IncludePartiallyReplicated bool `protobuf:"varint,2,opt,name=include_partially_replicated,json=includePartiallyReplicated,proto3" json:"include_partially_replicated,omitempty"` +} + +func (x *DatalossCheckRequest) Reset() { + *x = DatalossCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DatalossCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DatalossCheckRequest) ProtoMessage() {} + +func (x *DatalossCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DatalossCheckRequest.ProtoReflect.Descriptor instead. +func (*DatalossCheckRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{8} +} + +func (x *DatalossCheckRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *DatalossCheckRequest) GetIncludePartiallyReplicated() bool { + if x != nil { + return x.IncludePartiallyReplicated + } + return false +} + +// This comment is left unintentionally blank. +type DatalossCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repositories with data loss + Repositories []*DatalossCheckResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` +} + +func (x *DatalossCheckResponse) Reset() { + *x = DatalossCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DatalossCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DatalossCheckResponse) ProtoMessage() {} + +func (x *DatalossCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DatalossCheckResponse.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{9} +} + +func (x *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository { + if x != nil { + return x.Repositories + } + return nil +} + +// This comment is left unintentionally blank. +type RepositoryReplicasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *RepositoryReplicasRequest) Reset() { + *x = RepositoryReplicasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositoryReplicasRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryReplicasRequest) ProtoMessage() {} + +func (x *RepositoryReplicasRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositoryReplicasRequest.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{10} +} + +func (x *RepositoryReplicasRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type RepositoryReplicasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` + // This comment is left unintentionally blank. + Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"` +} + +func (x *RepositoryReplicasResponse) Reset() { + *x = RepositoryReplicasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositoryReplicasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryReplicasResponse) ProtoMessage() {} + +func (x *RepositoryReplicasResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositoryReplicasResponse.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{11} +} + +func (x *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails { + if x != nil { + return x.Primary + } + return nil +} + +func (x *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails { + if x != nil { + return x.Replicas + } + return nil +} + +// Storage identifies a single storage in a virtual storage. +type MarkUnverifiedRequest_Storage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // virtual_storage is the virtual storage the storage is part of. + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // storage is the name of the storage. + Storage string `protobuf:"bytes,2,opt,name=storage,proto3" json:"storage,omitempty"` +} + +func (x *MarkUnverifiedRequest_Storage) Reset() { + *x = MarkUnverifiedRequest_Storage{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MarkUnverifiedRequest_Storage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MarkUnverifiedRequest_Storage) ProtoMessage() {} + +func (x *MarkUnverifiedRequest_Storage) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MarkUnverifiedRequest_Storage.ProtoReflect.Descriptor instead. +func (*MarkUnverifiedRequest_Storage) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *MarkUnverifiedRequest_Storage) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *MarkUnverifiedRequest_Storage) GetStorage() string { + if x != nil { + return x.Storage + } + return "" +} + +// This comment is left unintentionally blank. +type GetRepositoryMetadataRequest_Path struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // virtual_storage is the virtual storage where the repository is. + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // relative_path is the relative path of the repository in the virtual storage. + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` +} + +func (x *GetRepositoryMetadataRequest_Path) Reset() { + *x = GetRepositoryMetadataRequest_Path{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepositoryMetadataRequest_Path) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepositoryMetadataRequest_Path) ProtoMessage() {} + +func (x *GetRepositoryMetadataRequest_Path) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRepositoryMetadataRequest_Path.ProtoReflect.Descriptor instead. +func (*GetRepositoryMetadataRequest_Path) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *GetRepositoryMetadataRequest_Path) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} + +func (x *GetRepositoryMetadataRequest_Path) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +// This comment is left unintentionally blank. +type GetRepositoryMetadataResponse_Replica struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // storage is the name of the replica's storage. + Storage string `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"` + // assigned indicates whether the replica is on an assigned storage. + Assigned bool `protobuf:"varint,2,opt,name=assigned,proto3" json:"assigned,omitempty"` + // generation is the replicas confirmed generation. Generation is -1 if the replica + // does not yet exist. + Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` + // healthy indicates whether the replica is on a healthy storage. + Healthy bool `protobuf:"varint,5,opt,name=healthy,proto3" json:"healthy,omitempty"` + // valid_primary indicates whether the replica is considered a valid primary. + ValidPrimary bool `protobuf:"varint,6,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` + // verified_at is the last successful verification time of the replica. + VerifiedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=verified_at,json=verifiedAt,proto3" json:"verified_at,omitempty"` +} + +func (x *GetRepositoryMetadataResponse_Replica) Reset() { + *x = GetRepositoryMetadataResponse_Replica{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRepositoryMetadataResponse_Replica) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRepositoryMetadataResponse_Replica) ProtoMessage() {} + +func (x *GetRepositoryMetadataResponse_Replica) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRepositoryMetadataResponse_Replica.ProtoReflect.Descriptor instead. +func (*GetRepositoryMetadataResponse_Replica) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *GetRepositoryMetadataResponse_Replica) GetStorage() string { + if x != nil { + return x.Storage + } + return "" +} + +func (x *GetRepositoryMetadataResponse_Replica) GetAssigned() bool { + if x != nil { + return x.Assigned + } + return false +} + +func (x *GetRepositoryMetadataResponse_Replica) GetGeneration() int64 { + if x != nil { + return x.Generation + } + return 0 +} + +func (x *GetRepositoryMetadataResponse_Replica) GetHealthy() bool { + if x != nil { + return x.Healthy + } + return false +} + +func (x *GetRepositoryMetadataResponse_Replica) GetValidPrimary() bool { + if x != nil { + return x.ValidPrimary + } + return false +} + +func (x *GetRepositoryMetadataResponse_Replica) GetVerifiedAt() *timestamppb.Timestamp { + if x != nil { + return x.VerifiedAt + } + return nil +} + +// This comment is left unintentionally blank. +type DatalossCheckResponse_Repository struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // relative path of the repository with outdated replicas + RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // storages on which the repository is outdated + Storages []*DatalossCheckResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` + // unavailable indicates whether the repository is in unavailable. + Unavailable bool `protobuf:"varint,3,opt,name=unavailable,proto3" json:"unavailable,omitempty"` + // current primary storage of the repository + Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` +} + +func (x *DatalossCheckResponse_Repository) Reset() { + *x = DatalossCheckResponse_Repository{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DatalossCheckResponse_Repository) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DatalossCheckResponse_Repository) ProtoMessage() {} + +func (x *DatalossCheckResponse_Repository) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DatalossCheckResponse_Repository.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{9, 0} +} + +func (x *DatalossCheckResponse_Repository) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage { + if x != nil { + return x.Storages + } + return nil +} + +func (x *DatalossCheckResponse_Repository) GetUnavailable() bool { + if x != nil { + return x.Unavailable + } + return false +} + +func (x *DatalossCheckResponse_Repository) GetPrimary() string { + if x != nil { + return x.Primary + } + return "" +} + +// This comment is left unintentionally blank. +type DatalossCheckResponse_Repository_Storage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the storage + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // behind_by indicates how many generations this storage is behind. + BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` + // assigned indicates whether the storage is assigned to host the repository. + Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` + // healthy indicates whether the storage is considered healthy by the consensus of Praefect nodes. + Healthy bool `protobuf:"varint,4,opt,name=healthy,proto3" json:"healthy,omitempty"` + // valid_primary indicates whether the storage is ready to act as the primary if necessary. + ValidPrimary bool `protobuf:"varint,5,opt,name=valid_primary,json=validPrimary,proto3" json:"valid_primary,omitempty"` +} + +func (x *DatalossCheckResponse_Repository_Storage) Reset() { + *x = DatalossCheckResponse_Repository_Storage{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DatalossCheckResponse_Repository_Storage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DatalossCheckResponse_Repository_Storage) ProtoMessage() {} + +func (x *DatalossCheckResponse_Repository_Storage) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DatalossCheckResponse_Repository_Storage.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{9, 0, 0} +} + +func (x *DatalossCheckResponse_Repository_Storage) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64 { + if x != nil { + return x.BehindBy + } + return 0 +} + +func (x *DatalossCheckResponse_Repository_Storage) GetAssigned() bool { + if x != nil { + return x.Assigned + } + return false +} + +func (x *DatalossCheckResponse_Repository_Storage) GetHealthy() bool { + if x != nil { + return x.Healthy + } + return false +} + +func (x *DatalossCheckResponse_Repository_Storage) GetValidPrimary() bool { + if x != nil { + return x.ValidPrimary + } + return false +} + +// This comment is left unintentionally blank. +type RepositoryReplicasResponse_RepositoryDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` +} + +func (x *RepositoryReplicasResponse_RepositoryDetails) Reset() { + *x = RepositoryReplicasResponse_RepositoryDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositoryReplicasResponse_RepositoryDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage() {} + +func (x *RepositoryReplicasResponse_RepositoryDetails) ProtoReflect() protoreflect.Message { + mi := &file_praefect_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositoryReplicasResponse_RepositoryDetails.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string { + if x != nil { + return x.Checksum + } + return "" +} + +var File_praefect_proto protoreflect.FileDescriptor + +var file_praefect_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x02, 0x0a, 0x15, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, + 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, + 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, + 0x41, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x1a, 0x4c, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x27, 0x0a, + 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x42, 0x0a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x41, 0x0a, 0x16, + 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0e, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x64, 0x22, + 0xe5, 0x01, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x25, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x61, 0x74, 0x68, + 0x48, 0x00, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x1a, 0x54, 0x0a, 0x04, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, + 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x42, 0x07, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x98, 0x04, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x12, 0x27, + 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x08, 0x72, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x1a, 0xdb, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x73, + 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, + 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x72, + 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x3b, 0x0a, 0x0b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, + 0x41, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, + 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, + 0x3a, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x1e, + 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x15, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, + 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x22, 0xbb, 0x03, 0x0a, 0x15, 0x44, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x1a, 0xd3, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x61, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x1a, 0x95, + 0x01, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, + 0x0a, 0x09, 0x62, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x08, 0x62, 0x65, 0x68, 0x69, 0x6e, 0x64, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, + 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, + 0x68, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, + 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, + 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x22, 0x4f, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xa3, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x70, + 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x08, + 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x1a, 0x63, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x32, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x32, 0xcc, 0x04, + 0x0a, 0x13, 0x50, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x6a, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, + 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, + 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x1d, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x55, 0x6e, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, + 0x14, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x64, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, + 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, + 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_praefect_proto_rawDescOnce sync.Once + file_praefect_proto_rawDescData = file_praefect_proto_rawDesc +) + +func file_praefect_proto_rawDescGZIP() []byte { + file_praefect_proto_rawDescOnce.Do(func() { + file_praefect_proto_rawDescData = protoimpl.X.CompressGZIP(file_praefect_proto_rawDescData) + }) + return file_praefect_proto_rawDescData +} + +var file_praefect_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_praefect_proto_goTypes = []interface{}{ + (*MarkUnverifiedRequest)(nil), // 0: gitaly.MarkUnverifiedRequest + (*MarkUnverifiedResponse)(nil), // 1: gitaly.MarkUnverifiedResponse + (*GetRepositoryMetadataRequest)(nil), // 2: gitaly.GetRepositoryMetadataRequest + (*GetRepositoryMetadataResponse)(nil), // 3: gitaly.GetRepositoryMetadataResponse + (*SetReplicationFactorRequest)(nil), // 4: gitaly.SetReplicationFactorRequest + (*SetReplicationFactorResponse)(nil), // 5: gitaly.SetReplicationFactorResponse + (*SetAuthoritativeStorageRequest)(nil), // 6: gitaly.SetAuthoritativeStorageRequest + (*SetAuthoritativeStorageResponse)(nil), // 7: gitaly.SetAuthoritativeStorageResponse + (*DatalossCheckRequest)(nil), // 8: gitaly.DatalossCheckRequest + (*DatalossCheckResponse)(nil), // 9: gitaly.DatalossCheckResponse + (*RepositoryReplicasRequest)(nil), // 10: gitaly.RepositoryReplicasRequest + (*RepositoryReplicasResponse)(nil), // 11: gitaly.RepositoryReplicasResponse + (*MarkUnverifiedRequest_Storage)(nil), // 12: gitaly.MarkUnverifiedRequest.Storage + (*GetRepositoryMetadataRequest_Path)(nil), // 13: gitaly.GetRepositoryMetadataRequest.Path + (*GetRepositoryMetadataResponse_Replica)(nil), // 14: gitaly.GetRepositoryMetadataResponse.Replica + (*DatalossCheckResponse_Repository)(nil), // 15: gitaly.DatalossCheckResponse.Repository + (*DatalossCheckResponse_Repository_Storage)(nil), // 16: gitaly.DatalossCheckResponse.Repository.Storage + (*RepositoryReplicasResponse_RepositoryDetails)(nil), // 17: gitaly.RepositoryReplicasResponse.RepositoryDetails + (*Repository)(nil), // 18: gitaly.Repository + (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp +} +var file_praefect_proto_depIdxs = []int32{ + 12, // 0: gitaly.MarkUnverifiedRequest.storage:type_name -> gitaly.MarkUnverifiedRequest.Storage + 13, // 1: gitaly.GetRepositoryMetadataRequest.path:type_name -> gitaly.GetRepositoryMetadataRequest.Path + 14, // 2: gitaly.GetRepositoryMetadataResponse.replicas:type_name -> gitaly.GetRepositoryMetadataResponse.Replica + 15, // 3: gitaly.DatalossCheckResponse.repositories:type_name -> gitaly.DatalossCheckResponse.Repository + 18, // 4: gitaly.RepositoryReplicasRequest.repository:type_name -> gitaly.Repository + 17, // 5: gitaly.RepositoryReplicasResponse.primary:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails + 17, // 6: gitaly.RepositoryReplicasResponse.replicas:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails + 19, // 7: gitaly.GetRepositoryMetadataResponse.Replica.verified_at:type_name -> google.protobuf.Timestamp + 16, // 8: gitaly.DatalossCheckResponse.Repository.storages:type_name -> gitaly.DatalossCheckResponse.Repository.Storage + 18, // 9: gitaly.RepositoryReplicasResponse.RepositoryDetails.repository:type_name -> gitaly.Repository + 10, // 10: gitaly.PraefectInfoService.RepositoryReplicas:input_type -> gitaly.RepositoryReplicasRequest + 8, // 11: gitaly.PraefectInfoService.DatalossCheck:input_type -> gitaly.DatalossCheckRequest + 6, // 12: gitaly.PraefectInfoService.SetAuthoritativeStorage:input_type -> gitaly.SetAuthoritativeStorageRequest + 0, // 13: gitaly.PraefectInfoService.MarkUnverified:input_type -> gitaly.MarkUnverifiedRequest + 4, // 14: gitaly.PraefectInfoService.SetReplicationFactor:input_type -> gitaly.SetReplicationFactorRequest + 2, // 15: gitaly.PraefectInfoService.GetRepositoryMetadata:input_type -> gitaly.GetRepositoryMetadataRequest + 11, // 16: gitaly.PraefectInfoService.RepositoryReplicas:output_type -> gitaly.RepositoryReplicasResponse + 9, // 17: gitaly.PraefectInfoService.DatalossCheck:output_type -> gitaly.DatalossCheckResponse + 7, // 18: gitaly.PraefectInfoService.SetAuthoritativeStorage:output_type -> gitaly.SetAuthoritativeStorageResponse + 1, // 19: gitaly.PraefectInfoService.MarkUnverified:output_type -> gitaly.MarkUnverifiedResponse + 5, // 20: gitaly.PraefectInfoService.SetReplicationFactor:output_type -> gitaly.SetReplicationFactorResponse + 3, // 21: gitaly.PraefectInfoService.GetRepositoryMetadata:output_type -> gitaly.GetRepositoryMetadataResponse + 16, // [16:22] is the sub-list for method output_type + 10, // [10:16] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_praefect_proto_init() } +func file_praefect_proto_init() { + if File_praefect_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_praefect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkUnverifiedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkUnverifiedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepositoryMetadataRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepositoryMetadataResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetReplicationFactorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetReplicationFactorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAuthoritativeStorageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAuthoritativeStorageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MarkUnverifiedRequest_Storage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepositoryMetadataRequest_Path); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRepositoryMetadataResponse_Replica); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse_Repository); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse_Repository_Storage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasResponse_RepositoryDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_praefect_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*MarkUnverifiedRequest_RepositoryId)(nil), + (*MarkUnverifiedRequest_VirtualStorage)(nil), + (*MarkUnverifiedRequest_Storage_)(nil), + } + file_praefect_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*GetRepositoryMetadataRequest_RepositoryId)(nil), + (*GetRepositoryMetadataRequest_Path_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_praefect_proto_rawDesc, + NumEnums: 0, + NumMessages: 18, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_praefect_proto_goTypes, + DependencyIndexes: file_praefect_proto_depIdxs, + MessageInfos: file_praefect_proto_msgTypes, + }.Build() + File_praefect_proto = out.File + file_praefect_proto_rawDesc = nil + file_praefect_proto_goTypes = nil + file_praefect_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/praefect_grpc.pb.go b/v14/proto/go/gitalypb/praefect_grpc.pb.go new file mode 100644 index 000000000..d1e45fa50 --- /dev/null +++ b/v14/proto/go/gitalypb/praefect_grpc.pb.go @@ -0,0 +1,313 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// PraefectInfoServiceClient is the client API for PraefectInfoService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type PraefectInfoServiceClient interface { + // This comment is left unintentionally blank. + RepositoryReplicas(ctx context.Context, in *RepositoryReplicasRequest, opts ...grpc.CallOption) (*RepositoryReplicasResponse, error) + // DatalossCheck checks for unavailable repositories. + DatalossCheck(ctx context.Context, in *DatalossCheckRequest, opts ...grpc.CallOption) (*DatalossCheckResponse, error) + // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. + // This causes the current version of the repository on the authoritative storage to be considered the + // latest and overwrite any other version on the virtual storage. + SetAuthoritativeStorage(ctx context.Context, in *SetAuthoritativeStorageRequest, opts ...grpc.CallOption) (*SetAuthoritativeStorageResponse, error) + // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata + // verifier prioritizes unverified replicas. + MarkUnverified(ctx context.Context, in *MarkUnverifiedRequest, opts ...grpc.CallOption) (*MarkUnverifiedResponse, error) + // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. + // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count + // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node + // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage + // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. + // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade + // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication + // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. + SetReplicationFactor(ctx context.Context, in *SetReplicationFactorRequest, opts ...grpc.CallOption) (*SetReplicationFactorResponse, error) + // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. + GetRepositoryMetadata(ctx context.Context, in *GetRepositoryMetadataRequest, opts ...grpc.CallOption) (*GetRepositoryMetadataResponse, error) +} + +type praefectInfoServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewPraefectInfoServiceClient(cc grpc.ClientConnInterface) PraefectInfoServiceClient { + return &praefectInfoServiceClient{cc} +} + +func (c *praefectInfoServiceClient) RepositoryReplicas(ctx context.Context, in *RepositoryReplicasRequest, opts ...grpc.CallOption) (*RepositoryReplicasResponse, error) { + out := new(RepositoryReplicasResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/RepositoryReplicas", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *praefectInfoServiceClient) DatalossCheck(ctx context.Context, in *DatalossCheckRequest, opts ...grpc.CallOption) (*DatalossCheckResponse, error) { + out := new(DatalossCheckResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/DatalossCheck", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *praefectInfoServiceClient) SetAuthoritativeStorage(ctx context.Context, in *SetAuthoritativeStorageRequest, opts ...grpc.CallOption) (*SetAuthoritativeStorageResponse, error) { + out := new(SetAuthoritativeStorageResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/SetAuthoritativeStorage", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *praefectInfoServiceClient) MarkUnverified(ctx context.Context, in *MarkUnverifiedRequest, opts ...grpc.CallOption) (*MarkUnverifiedResponse, error) { + out := new(MarkUnverifiedResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/MarkUnverified", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *praefectInfoServiceClient) SetReplicationFactor(ctx context.Context, in *SetReplicationFactorRequest, opts ...grpc.CallOption) (*SetReplicationFactorResponse, error) { + out := new(SetReplicationFactorResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/SetReplicationFactor", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *praefectInfoServiceClient) GetRepositoryMetadata(ctx context.Context, in *GetRepositoryMetadataRequest, opts ...grpc.CallOption) (*GetRepositoryMetadataResponse, error) { + out := new(GetRepositoryMetadataResponse) + err := c.cc.Invoke(ctx, "/gitaly.PraefectInfoService/GetRepositoryMetadata", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// PraefectInfoServiceServer is the server API for PraefectInfoService service. +// All implementations must embed UnimplementedPraefectInfoServiceServer +// for forward compatibility +type PraefectInfoServiceServer interface { + // This comment is left unintentionally blank. + RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) + // DatalossCheck checks for unavailable repositories. + DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) + // SetAuthoritativeStorage sets the authoritative storage for a repository on a given virtual storage. + // This causes the current version of the repository on the authoritative storage to be considered the + // latest and overwrite any other version on the virtual storage. + SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) + // MarkUnverified marks replicas as unverified. This will trigger verification as Praefect's metadata + // verifier prioritizes unverified replicas. + MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error) + // SetReplicationFactor assigns or unassigns host nodes from the repository to meet the desired replication factor. + // SetReplicationFactor returns an error when trying to set a replication factor that exceeds the storage node count + // in the virtual storage. An error is also returned when trying to set a replication factor below one. The primary node + // won't be unassigned as it needs a copy of the repository to accept writes. Likewise, the primary is the first storage + // that gets assigned when setting a replication factor for a repository. Assignments of unconfigured storages are ignored. + // This might cause the actual replication factor to be higher than desired if the replication factor is set during an upgrade + // from a Praefect node that does not yet know about a new node. As assignments of unconfigured storages are ignored, replication + // factor of repositories assigned to a storage node removed from the cluster is effectively decreased. + SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) + // GetRepositoryMetadata returns the cluster metadata for a repository. Returns NotFound if the repository does not exist. + GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error) + mustEmbedUnimplementedPraefectInfoServiceServer() +} + +// UnimplementedPraefectInfoServiceServer must be embedded to have forward compatible implementations. +type UnimplementedPraefectInfoServiceServer struct { +} + +func (UnimplementedPraefectInfoServiceServer) RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepositoryReplicas not implemented") +} +func (UnimplementedPraefectInfoServiceServer) DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DatalossCheck not implemented") +} +func (UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetAuthoritativeStorage not implemented") +} +func (UnimplementedPraefectInfoServiceServer) MarkUnverified(context.Context, *MarkUnverifiedRequest) (*MarkUnverifiedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MarkUnverified not implemented") +} +func (UnimplementedPraefectInfoServiceServer) SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetReplicationFactor not implemented") +} +func (UnimplementedPraefectInfoServiceServer) GetRepositoryMetadata(context.Context, *GetRepositoryMetadataRequest) (*GetRepositoryMetadataResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetRepositoryMetadata not implemented") +} +func (UnimplementedPraefectInfoServiceServer) mustEmbedUnimplementedPraefectInfoServiceServer() {} + +// UnsafePraefectInfoServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to PraefectInfoServiceServer will +// result in compilation errors. +type UnsafePraefectInfoServiceServer interface { + mustEmbedUnimplementedPraefectInfoServiceServer() +} + +func RegisterPraefectInfoServiceServer(s grpc.ServiceRegistrar, srv PraefectInfoServiceServer) { + s.RegisterService(&PraefectInfoService_ServiceDesc, srv) +} + +func _PraefectInfoService_RepositoryReplicas_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RepositoryReplicasRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).RepositoryReplicas(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/RepositoryReplicas", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).RepositoryReplicas(ctx, req.(*RepositoryReplicasRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PraefectInfoService_DatalossCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DatalossCheckRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).DatalossCheck(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/DatalossCheck", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).DatalossCheck(ctx, req.(*DatalossCheckRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PraefectInfoService_SetAuthoritativeStorage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetAuthoritativeStorageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).SetAuthoritativeStorage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/SetAuthoritativeStorage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).SetAuthoritativeStorage(ctx, req.(*SetAuthoritativeStorageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PraefectInfoService_MarkUnverified_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MarkUnverifiedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).MarkUnverified(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/MarkUnverified", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).MarkUnverified(ctx, req.(*MarkUnverifiedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PraefectInfoService_SetReplicationFactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetReplicationFactorRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).SetReplicationFactor(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/SetReplicationFactor", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).SetReplicationFactor(ctx, req.(*SetReplicationFactorRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _PraefectInfoService_GetRepositoryMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetRepositoryMetadataRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(PraefectInfoServiceServer).GetRepositoryMetadata(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.PraefectInfoService/GetRepositoryMetadata", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(PraefectInfoServiceServer).GetRepositoryMetadata(ctx, req.(*GetRepositoryMetadataRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// PraefectInfoService_ServiceDesc is the grpc.ServiceDesc for PraefectInfoService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var PraefectInfoService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.PraefectInfoService", + HandlerType: (*PraefectInfoServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "RepositoryReplicas", + Handler: _PraefectInfoService_RepositoryReplicas_Handler, + }, + { + MethodName: "DatalossCheck", + Handler: _PraefectInfoService_DatalossCheck_Handler, + }, + { + MethodName: "SetAuthoritativeStorage", + Handler: _PraefectInfoService_SetAuthoritativeStorage_Handler, + }, + { + MethodName: "MarkUnverified", + Handler: _PraefectInfoService_MarkUnverified_Handler, + }, + { + MethodName: "SetReplicationFactor", + Handler: _PraefectInfoService_SetReplicationFactor_Handler, + }, + { + MethodName: "GetRepositoryMetadata", + Handler: _PraefectInfoService_GetRepositoryMetadata_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "praefect.proto", +} diff --git a/v14/proto/go/gitalypb/protolist.go b/v14/proto/go/gitalypb/protolist.go new file mode 100644 index 000000000..a4845712b --- /dev/null +++ b/v14/proto/go/gitalypb/protolist.go @@ -0,0 +1,29 @@ +package gitalypb + +// Code generated by protoc-gen-gitaly. DO NOT EDIT + +// GitalyProtos is a list of gitaly protobuf files +var GitalyProtos = []string{ + "blob.proto", + "cleanup.proto", + "commit.proto", + "conflicts.proto", + "diff.proto", + "errors.proto", + "hook.proto", + "internal.proto", + "lint.proto", + "namespace.proto", + "objectpool.proto", + "operations.proto", + "praefect.proto", + "ref.proto", + "remote.proto", + "repository.proto", + "server.proto", + "shared.proto", + "smarthttp.proto", + "ssh.proto", + "transaction.proto", + "wiki.proto", +} diff --git a/v14/proto/go/gitalypb/ref.pb.go b/v14/proto/go/gitalypb/ref.pb.go new file mode 100644 index 000000000..536f61ff2 --- /dev/null +++ b/v14/proto/go/gitalypb/ref.pb.go @@ -0,0 +1,4141 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: ref.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type FindLocalBranchesRequest_SortBy int32 + +const ( + // This comment is left unintentionally blank. + FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 + // This comment is left unintentionally blank. + FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 + // This comment is left unintentionally blank. + FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 +) + +// Enum value maps for FindLocalBranchesRequest_SortBy. +var ( + FindLocalBranchesRequest_SortBy_name = map[int32]string{ + 0: "NAME", + 1: "UPDATED_ASC", + 2: "UPDATED_DESC", + } + FindLocalBranchesRequest_SortBy_value = map[string]int32{ + "NAME": 0, + "UPDATED_ASC": 1, + "UPDATED_DESC": 2, + } +) + +func (x FindLocalBranchesRequest_SortBy) Enum() *FindLocalBranchesRequest_SortBy { + p := new(FindLocalBranchesRequest_SortBy) + *p = x + return p +} + +func (x FindLocalBranchesRequest_SortBy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FindLocalBranchesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[0].Descriptor() +} + +func (FindLocalBranchesRequest_SortBy) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[0] +} + +func (x FindLocalBranchesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindLocalBranchesRequest_SortBy.Descriptor instead. +func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{6, 0} +} + +// Key is a key used for sorting. +type FindAllTagsRequest_SortBy_Key int32 + +const ( + // This comment is left unintentionally blank. + FindAllTagsRequest_SortBy_REFNAME FindAllTagsRequest_SortBy_Key = 0 + // This comment is left unintentionally blank. + FindAllTagsRequest_SortBy_CREATORDATE FindAllTagsRequest_SortBy_Key = 1 +) + +// Enum value maps for FindAllTagsRequest_SortBy_Key. +var ( + FindAllTagsRequest_SortBy_Key_name = map[int32]string{ + 0: "REFNAME", + 1: "CREATORDATE", + } + FindAllTagsRequest_SortBy_Key_value = map[string]int32{ + "REFNAME": 0, + "CREATORDATE": 1, + } +) + +func (x FindAllTagsRequest_SortBy_Key) Enum() *FindAllTagsRequest_SortBy_Key { + p := new(FindAllTagsRequest_SortBy_Key) + *p = x + return p +} + +func (x FindAllTagsRequest_SortBy_Key) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FindAllTagsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[1].Descriptor() +} + +func (FindAllTagsRequest_SortBy_Key) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[1] +} + +func (x FindAllTagsRequest_SortBy_Key) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindAllTagsRequest_SortBy_Key.Descriptor instead. +func (FindAllTagsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{14, 0, 0} +} + +// This comment is left unintentionally blank. +type CreateBranchResponse_Status int32 + +const ( + // This comment is left unintentionally blank. + CreateBranchResponse_OK CreateBranchResponse_Status = 0 + // This comment is left unintentionally blank. + CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 + // This comment is left unintentionally blank. + CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 + // This comment is left unintentionally blank. + CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 +) + +// Enum value maps for CreateBranchResponse_Status. +var ( + CreateBranchResponse_Status_name = map[int32]string{ + 0: "OK", + 1: "ERR_EXISTS", + 2: "ERR_INVALID", + 3: "ERR_INVALID_START_POINT", + } + CreateBranchResponse_Status_value = map[string]int32{ + "OK": 0, + "ERR_EXISTS": 1, + "ERR_INVALID": 2, + "ERR_INVALID_START_POINT": 3, + } +) + +func (x CreateBranchResponse_Status) Enum() *CreateBranchResponse_Status { + p := new(CreateBranchResponse_Status) + *p = x + return p +} + +func (x CreateBranchResponse_Status) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CreateBranchResponse_Status) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[2].Descriptor() +} + +func (CreateBranchResponse_Status) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[2] +} + +func (x CreateBranchResponse_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CreateBranchResponse_Status.Descriptor instead. +func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{19, 0} +} + +// This comment is left unintentionally blank. +type ListRefsRequest_SortBy_Key int32 + +const ( + // This comment is left unintentionally blank. + ListRefsRequest_SortBy_REFNAME ListRefsRequest_SortBy_Key = 0 + // This comment is left unintentionally blank. + ListRefsRequest_SortBy_CREATORDATE ListRefsRequest_SortBy_Key = 1 + // This comment is left unintentionally blank. + ListRefsRequest_SortBy_AUTHORDATE ListRefsRequest_SortBy_Key = 2 + // This comment is left unintentionally blank. + ListRefsRequest_SortBy_COMMITTERDATE ListRefsRequest_SortBy_Key = 3 +) + +// Enum value maps for ListRefsRequest_SortBy_Key. +var ( + ListRefsRequest_SortBy_Key_name = map[int32]string{ + 0: "REFNAME", + 1: "CREATORDATE", + 2: "AUTHORDATE", + 3: "COMMITTERDATE", + } + ListRefsRequest_SortBy_Key_value = map[string]int32{ + "REFNAME": 0, + "CREATORDATE": 1, + "AUTHORDATE": 2, + "COMMITTERDATE": 3, + } +) + +func (x ListRefsRequest_SortBy_Key) Enum() *ListRefsRequest_SortBy_Key { + p := new(ListRefsRequest_SortBy_Key) + *p = x + return p +} + +func (x ListRefsRequest_SortBy_Key) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ListRefsRequest_SortBy_Key) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[3].Descriptor() +} + +func (ListRefsRequest_SortBy_Key) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[3] +} + +func (x ListRefsRequest_SortBy_Key) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ListRefsRequest_SortBy_Key.Descriptor instead. +func (ListRefsRequest_SortBy_Key) EnumDescriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{38, 0, 0} +} + +// This comment is left unintentionally blank. +type FindDefaultBranchNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *FindDefaultBranchNameRequest) Reset() { + *x = FindDefaultBranchNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindDefaultBranchNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindDefaultBranchNameRequest) ProtoMessage() {} + +func (x *FindDefaultBranchNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindDefaultBranchNameRequest.ProtoReflect.Descriptor instead. +func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{0} +} + +func (x *FindDefaultBranchNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type FindDefaultBranchNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *FindDefaultBranchNameResponse) Reset() { + *x = FindDefaultBranchNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindDefaultBranchNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindDefaultBranchNameResponse) ProtoMessage() {} + +func (x *FindDefaultBranchNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindDefaultBranchNameResponse.ProtoReflect.Descriptor instead. +func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{1} +} + +func (x *FindDefaultBranchNameResponse) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllBranchNamesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *FindAllBranchNamesRequest) Reset() { + *x = FindAllBranchNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllBranchNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchNamesRequest) ProtoMessage() {} + +func (x *FindAllBranchNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllBranchNamesRequest.ProtoReflect.Descriptor instead. +func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{2} +} + +func (x *FindAllBranchNamesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllBranchNamesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *FindAllBranchNamesResponse) Reset() { + *x = FindAllBranchNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllBranchNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchNamesResponse) ProtoMessage() {} + +func (x *FindAllBranchNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllBranchNamesResponse.ProtoReflect.Descriptor instead. +func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{3} +} + +func (x *FindAllBranchNamesResponse) GetNames() [][]byte { + if x != nil { + return x.Names + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllTagNamesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *FindAllTagNamesRequest) Reset() { + *x = FindAllTagNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllTagNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllTagNamesRequest) ProtoMessage() {} + +func (x *FindAllTagNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllTagNamesRequest.ProtoReflect.Descriptor instead. +func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{4} +} + +func (x *FindAllTagNamesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllTagNamesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` +} + +func (x *FindAllTagNamesResponse) Reset() { + *x = FindAllTagNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllTagNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllTagNamesResponse) ProtoMessage() {} + +func (x *FindAllTagNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllTagNamesResponse.ProtoReflect.Descriptor instead. +func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{5} +} + +func (x *FindAllTagNamesResponse) GetNames() [][]byte { + if x != nil { + return x.Names + } + return nil +} + +// This comment is left unintentionally blank. +type FindLocalBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"` + // The page token is the branch name, with the `refs/heads/` prefix, for + // example "refs/heads/master". After the first branch name is encountered + // which lexicographically exceeds the page token, it will be the first result + // send as part of the response. + PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` +} + +func (x *FindLocalBranchesRequest) Reset() { + *x = FindLocalBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLocalBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLocalBranchesRequest) ProtoMessage() {} + +func (x *FindLocalBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLocalBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{6} +} + +func (x *FindLocalBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy { + if x != nil { + return x.SortBy + } + return FindLocalBranchesRequest_NAME +} + +func (x *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams + } + return nil +} + +// This comment is left unintentionally blank. +type FindLocalBranchesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` +} + +func (x *FindLocalBranchesResponse) Reset() { + *x = FindLocalBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLocalBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLocalBranchesResponse) ProtoMessage() {} + +func (x *FindLocalBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLocalBranchesResponse.ProtoReflect.Descriptor instead. +func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{7} +} + +func (x *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { + if x != nil { + return x.Branches + } + return nil +} + +// This comment is left unintentionally blank. +type FindLocalBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // This comment is left unintentionally blank. + CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"` + // This comment is left unintentionally blank. + CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"` + // This comment is left unintentionally blank. + CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"` + // This comment is left unintentionally blank. + Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"` +} + +func (x *FindLocalBranchResponse) Reset() { + *x = FindLocalBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLocalBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLocalBranchResponse) ProtoMessage() {} + +func (x *FindLocalBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLocalBranchResponse.ProtoReflect.Descriptor instead. +func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{8} +} + +func (x *FindLocalBranchResponse) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *FindLocalBranchResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *FindLocalBranchResponse) GetCommitSubject() []byte { + if x != nil { + return x.CommitSubject + } + return nil +} + +func (x *FindLocalBranchResponse) GetCommitAuthor() *FindLocalBranchCommitAuthor { + if x != nil { + return x.CommitAuthor + } + return nil +} + +func (x *FindLocalBranchResponse) GetCommitCommitter() *FindLocalBranchCommitAuthor { + if x != nil { + return x.CommitCommitter + } + return nil +} + +func (x *FindLocalBranchResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +// This comment is left unintentionally blank. +type FindLocalBranchCommitAuthor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + // This comment is left unintentionally blank. + Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + // This comment is left unintentionally blank. + Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` +} + +func (x *FindLocalBranchCommitAuthor) Reset() { + *x = FindLocalBranchCommitAuthor{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLocalBranchCommitAuthor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLocalBranchCommitAuthor) ProtoMessage() {} + +func (x *FindLocalBranchCommitAuthor) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLocalBranchCommitAuthor.ProtoReflect.Descriptor instead. +func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{9} +} + +func (x *FindLocalBranchCommitAuthor) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *FindLocalBranchCommitAuthor) GetEmail() []byte { + if x != nil { + return x.Email + } + return nil +} + +func (x *FindLocalBranchCommitAuthor) GetDate() *timestamppb.Timestamp { + if x != nil { + return x.Date + } + return nil +} + +func (x *FindLocalBranchCommitAuthor) GetTimezone() []byte { + if x != nil { + return x.Timezone + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Only return branches that are merged into root ref + MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly,proto3" json:"merged_only,omitempty"` + // If merged_only is true, this is a list of branches from which we + // return those merged into the root ref + MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,omitempty"` +} + +func (x *FindAllBranchesRequest) Reset() { + *x = FindAllBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchesRequest) ProtoMessage() {} + +func (x *FindAllBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{10} +} + +func (x *FindAllBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindAllBranchesRequest) GetMergedOnly() bool { + if x != nil { + return x.MergedOnly + } + return false +} + +func (x *FindAllBranchesRequest) GetMergedBranches() [][]byte { + if x != nil { + return x.MergedBranches + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllBranchesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` +} + +func (x *FindAllBranchesResponse) Reset() { + *x = FindAllBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchesResponse) ProtoMessage() {} + +func (x *FindAllBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllBranchesResponse.ProtoReflect.Descriptor instead. +func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{11} +} + +func (x *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { + if x != nil { + return x.Branches + } + return nil +} + +// This comment is left unintentionally blank. +type FindTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` +} + +func (x *FindTagRequest) Reset() { + *x = FindTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindTagRequest) ProtoMessage() {} + +func (x *FindTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindTagRequest.ProtoReflect.Descriptor instead. +func (*FindTagRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{12} +} + +func (x *FindTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName + } + return nil +} + +// This comment is left unintentionally blank. +type FindTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` +} + +func (x *FindTagResponse) Reset() { + *x = FindTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindTagResponse) ProtoMessage() {} + +func (x *FindTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindTagResponse.ProtoReflect.Descriptor instead. +func (*FindTagResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{13} +} + +func (x *FindTagResponse) GetTag() *Tag { + if x != nil { + return x.Tag + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllTagsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // SortBy allows to request tags in particular order. + SortBy *FindAllTagsRequest_SortBy `protobuf:"bytes,2,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` + // The page token is the tags name, with the `refs/tags/` prefix, for + // example "refs/tags/v1.0.0". When the tag name matches the page token, + // the tag following it will be the first result send as part of the response. + PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` +} + +func (x *FindAllTagsRequest) Reset() { + *x = FindAllTagsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllTagsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllTagsRequest) ProtoMessage() {} + +func (x *FindAllTagsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllTagsRequest.ProtoReflect.Descriptor instead. +func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{14} +} + +func (x *FindAllTagsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindAllTagsRequest) GetSortBy() *FindAllTagsRequest_SortBy { + if x != nil { + return x.SortBy + } + return nil +} + +func (x *FindAllTagsRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllTagsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` +} + +func (x *FindAllTagsResponse) Reset() { + *x = FindAllTagsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllTagsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllTagsResponse) ProtoMessage() {} + +func (x *FindAllTagsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllTagsResponse.ProtoReflect.Descriptor instead. +func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{15} +} + +func (x *FindAllTagsResponse) GetTags() []*Tag { + if x != nil { + return x.Tags + } + return nil +} + +// This comment is left unintentionally blank. +type RefExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'. + Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` +} + +func (x *RefExistsRequest) Reset() { + *x = RefExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefExistsRequest) ProtoMessage() {} + +func (x *RefExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefExistsRequest.ProtoReflect.Descriptor instead. +func (*RefExistsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{16} +} + +func (x *RefExistsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RefExistsRequest) GetRef() []byte { + if x != nil { + return x.Ref + } + return nil +} + +// This comment is left unintentionally blank. +type RefExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *RefExistsResponse) Reset() { + *x = RefExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RefExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RefExistsResponse) ProtoMessage() {} + +func (x *RefExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RefExistsResponse.ProtoReflect.Descriptor instead. +func (*RefExistsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{17} +} + +func (x *RefExistsResponse) GetValue() bool { + if x != nil { + return x.Value + } + return false +} + +// This comment is left unintentionally blank. +type CreateBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` +} + +func (x *CreateBranchRequest) Reset() { + *x = CreateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBranchRequest) ProtoMessage() {} + +func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBranchRequest.ProtoReflect.Descriptor instead. +func (*CreateBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{18} +} + +func (x *CreateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateBranchRequest) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *CreateBranchRequest) GetStartPoint() []byte { + if x != nil { + return x.StartPoint + } + return nil +} + +// This comment is left unintentionally blank. +type CreateBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` + // This comment is left unintentionally blank. + Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` +} + +func (x *CreateBranchResponse) Reset() { + *x = CreateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBranchResponse) ProtoMessage() {} + +func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBranchResponse.ProtoReflect.Descriptor instead. +func (*CreateBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{19} +} + +func (x *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { + if x != nil { + return x.Status + } + return CreateBranchResponse_OK +} + +func (x *CreateBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch + } + return nil +} + +// This comment is left unintentionally blank. +type DeleteBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *DeleteBranchRequest) Reset() { + *x = DeleteBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteBranchRequest) ProtoMessage() {} + +func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead. +func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{20} +} + +func (x *DeleteBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *DeleteBranchRequest) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +// Not clear if we need to do status signaling; we can add fields later. +type DeleteBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DeleteBranchResponse) Reset() { + *x = DeleteBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteBranchResponse) ProtoMessage() {} + +func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead. +func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{21} +} + +// This comment is left unintentionally blank. +type FindBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the branch should be looked up. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // name is the name of the branch which should be looked up. This must be the + // branch name only, it must not have the "refs/heads/" prefix. + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *FindBranchRequest) Reset() { + *x = FindBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindBranchRequest) ProtoMessage() {} + +func (x *FindBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindBranchRequest.ProtoReflect.Descriptor instead. +func (*FindBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{22} +} + +func (x *FindBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindBranchRequest) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +// This comment is left unintentionally blank. +type FindBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` +} + +func (x *FindBranchResponse) Reset() { + *x = FindBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindBranchResponse) ProtoMessage() {} + +func (x *FindBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindBranchResponse.ProtoReflect.Descriptor instead. +func (*FindBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{23} +} + +func (x *FindBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch + } + return nil +} + +// This comment is left unintentionally blank. +type DeleteRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // The following two fields are mutually exclusive + ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED + // This comment is left unintentionally blank. + Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` +} + +func (x *DeleteRefsRequest) Reset() { + *x = DeleteRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteRefsRequest) ProtoMessage() {} + +func (x *DeleteRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteRefsRequest.ProtoReflect.Descriptor instead. +func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{24} +} + +func (x *DeleteRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *DeleteRefsRequest) GetExceptWithPrefix() [][]byte { + if x != nil { + return x.ExceptWithPrefix + } + return nil +} + +func (x *DeleteRefsRequest) GetRefs() [][]byte { + if x != nil { + return x.Refs + } + return nil +} + +// This comment is left unintentionally blank. +type DeleteRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` +} + +func (x *DeleteRefsResponse) Reset() { + *x = DeleteRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteRefsResponse) ProtoMessage() {} + +func (x *DeleteRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteRefsResponse.ProtoReflect.Descriptor instead. +func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{25} +} + +func (x *DeleteRefsResponse) GetGitError() string { + if x != nil { + return x.GitError + } + return "" +} + +// This comment is left unintentionally blank. +type ListBranchNamesContainingCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Limit the number of tag names to be returned + // If the limit is set to zero, all items will be returned + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *ListBranchNamesContainingCommitRequest) Reset() { + *x = ListBranchNamesContainingCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBranchNamesContainingCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} + +func (x *ListBranchNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBranchNamesContainingCommitRequest.ProtoReflect.Descriptor instead. +func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{26} +} + +func (x *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListBranchNamesContainingCommitRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *ListBranchNamesContainingCommitRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type ListBranchNamesContainingCommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` +} + +func (x *ListBranchNamesContainingCommitResponse) Reset() { + *x = ListBranchNamesContainingCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListBranchNamesContainingCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} + +func (x *ListBranchNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListBranchNamesContainingCommitResponse.ProtoReflect.Descriptor instead. +func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{27} +} + +func (x *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { + if x != nil { + return x.BranchNames + } + return nil +} + +// This comment is left unintentionally blank. +type ListTagNamesContainingCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Limit the number of tag names to be returned + // If the limit is set to zero, all items will be returned + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *ListTagNamesContainingCommitRequest) Reset() { + *x = ListTagNamesContainingCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTagNamesContainingCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} + +func (x *ListTagNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListTagNamesContainingCommitRequest.ProtoReflect.Descriptor instead. +func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{28} +} + +func (x *ListTagNamesContainingCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListTagNamesContainingCommitRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *ListTagNamesContainingCommitRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type ListTagNamesContainingCommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` +} + +func (x *ListTagNamesContainingCommitResponse) Reset() { + *x = ListTagNamesContainingCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTagNamesContainingCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} + +func (x *ListTagNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListTagNamesContainingCommitResponse.ProtoReflect.Descriptor instead. +func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{29} +} + +func (x *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { + if x != nil { + return x.TagNames + } + return nil +} + +// GetTagSignaturesRequest is a request for the GetTagSignatures RPC. +type GetTagSignaturesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which tag signatures should be looked up. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // TagRevisions is the set of revisions which that should be looked up. Revisions + // supports the syntax as specified by gitrevisions(7). All revisions are expected + // to resolve to annotated tag objects. At least one revision must be provided. + TagRevisions []string `protobuf:"bytes,2,rep,name=tag_revisions,json=tagRevisions,proto3" json:"tag_revisions,omitempty"` +} + +func (x *GetTagSignaturesRequest) Reset() { + *x = GetTagSignaturesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagSignaturesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagSignaturesRequest) ProtoMessage() {} + +func (x *GetTagSignaturesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTagSignaturesRequest.ProtoReflect.Descriptor instead. +func (*GetTagSignaturesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{30} +} + +func (x *GetTagSignaturesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetTagSignaturesRequest) GetTagRevisions() []string { + if x != nil { + return x.TagRevisions + } + return nil +} + +// GetTagSignaturesResponse is a response for a GetTagSignatures request. Each response +// may contain multiple TagSignatures. In case TagSignatures don't fit into a single +// response, signatures will be batched in multiple responses. +type GetTagSignaturesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Signatures is the set of signatures found. + Signatures []*GetTagSignaturesResponse_TagSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` +} + +func (x *GetTagSignaturesResponse) Reset() { + *x = GetTagSignaturesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagSignaturesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagSignaturesResponse) ProtoMessage() {} + +func (x *GetTagSignaturesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTagSignaturesResponse.ProtoReflect.Descriptor instead. +func (*GetTagSignaturesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{31} +} + +func (x *GetTagSignaturesResponse) GetSignatures() []*GetTagSignaturesResponse_TagSignature { + if x != nil { + return x.Signatures + } + return nil +} + +// This comment is left unintentionally blank. +type GetTagMessagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` +} + +func (x *GetTagMessagesRequest) Reset() { + *x = GetTagMessagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagMessagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagMessagesRequest) ProtoMessage() {} + +func (x *GetTagMessagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTagMessagesRequest.ProtoReflect.Descriptor instead. +func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{32} +} + +func (x *GetTagMessagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetTagMessagesRequest) GetTagIds() []string { + if x != nil { + return x.TagIds + } + return nil +} + +// This comment is left unintentionally blank. +type GetTagMessagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + // Only present for a new tag message + TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` +} + +func (x *GetTagMessagesResponse) Reset() { + *x = GetTagMessagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagMessagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagMessagesResponse) ProtoMessage() {} + +func (x *GetTagMessagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTagMessagesResponse.ProtoReflect.Descriptor instead. +func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{33} +} + +func (x *GetTagMessagesResponse) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *GetTagMessagesResponse) GetTagId() string { + if x != nil { + return x.TagId + } + return "" +} + +// This comment is left unintentionally blank. +type FindAllRemoteBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` +} + +func (x *FindAllRemoteBranchesRequest) Reset() { + *x = FindAllRemoteBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllRemoteBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllRemoteBranchesRequest) ProtoMessage() {} + +func (x *FindAllRemoteBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllRemoteBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{34} +} + +func (x *FindAllRemoteBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindAllRemoteBranchesRequest) GetRemoteName() string { + if x != nil { + return x.RemoteName + } + return "" +} + +// This comment is left unintentionally blank. +type FindAllRemoteBranchesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` +} + +func (x *FindAllRemoteBranchesResponse) Reset() { + *x = FindAllRemoteBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllRemoteBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllRemoteBranchesResponse) ProtoMessage() {} + +func (x *FindAllRemoteBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllRemoteBranchesResponse.ProtoReflect.Descriptor instead. +func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{35} +} + +func (x *FindAllRemoteBranchesResponse) GetBranches() []*Branch { + if x != nil { + return x.Branches + } + return nil +} + +// This comment is left unintentionally blank. +type PackRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *PackRefsRequest) Reset() { + *x = PackRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PackRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PackRefsRequest) ProtoMessage() {} + +func (x *PackRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PackRefsRequest.ProtoReflect.Descriptor instead. +func (*PackRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{36} +} + +func (x *PackRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type PackRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PackRefsResponse) Reset() { + *x = PackRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PackRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PackRefsResponse) ProtoMessage() {} + +func (x *PackRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PackRefsResponse.ProtoReflect.Descriptor instead. +func (*PackRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{37} +} + +// ListRefsRequest is a request for the ListRefs RPC. +type ListRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which references should be listed in. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Patterns contains all patterns which shall be listed. Patterns should be in the format + // accepted by git-for-each-ref(1). At least one pattern must be given, otherwise an error + // is returned. Patterns which don't match any reference will be silently ignored. + Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` + // Head determines whether the RPC should also return the HEAD reference. By default, + // pseudo-refs are not included in the response. + Head bool `protobuf:"varint,3,opt,name=head,proto3" json:"head,omitempty"` + // SortBy allows to request SHAs in particular order. + SortBy *ListRefsRequest_SortBy `protobuf:"bytes,4,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"` +} + +func (x *ListRefsRequest) Reset() { + *x = ListRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsRequest) ProtoMessage() {} + +func (x *ListRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListRefsRequest.ProtoReflect.Descriptor instead. +func (*ListRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{38} +} + +func (x *ListRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ListRefsRequest) GetPatterns() [][]byte { + if x != nil { + return x.Patterns + } + return nil +} + +func (x *ListRefsRequest) GetHead() bool { + if x != nil { + return x.Head + } + return false +} + +func (x *ListRefsRequest) GetSortBy() *ListRefsRequest_SortBy { + if x != nil { + return x.SortBy + } + return nil +} + +// ListRefsResponse is a response for the ListRefs RPC. The RPC can return multiple responses +// in case there are more references than fit into a single gRPC message. +type ListRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // References is the set of references returned by the RPC. + References []*ListRefsResponse_Reference `protobuf:"bytes,1,rep,name=references,proto3" json:"references,omitempty"` +} + +func (x *ListRefsResponse) Reset() { + *x = ListRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsResponse) ProtoMessage() {} + +func (x *ListRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListRefsResponse.ProtoReflect.Descriptor instead. +func (*ListRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{39} +} + +func (x *ListRefsResponse) GetReferences() []*ListRefsResponse_Reference { + if x != nil { + return x.References + } + return nil +} + +// This comment is left unintentionally blank. +type FindRefsByOIDRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which references will be looked for. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // oid is an object ID to find references for. + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + // ref_patterns can be one of branch name, tag name or fully qualified ref name. + // Providing more than one pattern will yield refs that match any of the given patterns. + // If left empty, defaults to "refs/heads/" and "refs/tags/" + RefPatterns []string `protobuf:"bytes,3,rep,name=ref_patterns,json=refPatterns,proto3" json:"ref_patterns,omitempty"` + // sort_field determines the sort order of the resulting refs. + // If left empty, defaults to "refname" (lexicographic refname order) + SortField string `protobuf:"bytes,4,opt,name=sort_field,json=sortField,proto3" json:"sort_field,omitempty"` + // limit limits the amount of results returned. 0 means no limit. + Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *FindRefsByOIDRequest) Reset() { + *x = FindRefsByOIDRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRefsByOIDRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRefsByOIDRequest) ProtoMessage() {} + +func (x *FindRefsByOIDRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRefsByOIDRequest.ProtoReflect.Descriptor instead. +func (*FindRefsByOIDRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{40} +} + +func (x *FindRefsByOIDRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindRefsByOIDRequest) GetOid() string { + if x != nil { + return x.Oid + } + return "" +} + +func (x *FindRefsByOIDRequest) GetRefPatterns() []string { + if x != nil { + return x.RefPatterns + } + return nil +} + +func (x *FindRefsByOIDRequest) GetSortField() string { + if x != nil { + return x.SortField + } + return "" +} + +func (x *FindRefsByOIDRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type FindRefsByOIDResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // refs is the set of fully-qualified references which have been found. + Refs []string `protobuf:"bytes,1,rep,name=refs,proto3" json:"refs,omitempty"` +} + +func (x *FindRefsByOIDResponse) Reset() { + *x = FindRefsByOIDResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRefsByOIDResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRefsByOIDResponse) ProtoMessage() {} + +func (x *FindRefsByOIDResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRefsByOIDResponse.ProtoReflect.Descriptor instead. +func (*FindRefsByOIDResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{41} +} + +func (x *FindRefsByOIDResponse) GetRefs() []string { + if x != nil { + return x.Refs + } + return nil +} + +// This comment is left unintentionally blank. +type FindAllBranchesResponse_Branch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *FindAllBranchesResponse_Branch) Reset() { + *x = FindAllBranchesResponse_Branch{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllBranchesResponse_Branch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchesResponse_Branch) ProtoMessage() {} + +func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllBranchesResponse_Branch.ProtoReflect.Descriptor instead. +func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{11, 0} +} + +func (x *FindAllBranchesResponse_Branch) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *FindAllBranchesResponse_Branch) GetTarget() *GitCommit { + if x != nil { + return x.Target + } + return nil +} + +// SortBy allows to specify desired order of the elements. +type FindAllTagsRequest_SortBy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Key FindAllTagsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.FindAllTagsRequest_SortBy_Key" json:"key,omitempty"` + // This comment is left unintentionally blank. + Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` +} + +func (x *FindAllTagsRequest_SortBy) Reset() { + *x = FindAllTagsRequest_SortBy{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindAllTagsRequest_SortBy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllTagsRequest_SortBy) ProtoMessage() {} + +func (x *FindAllTagsRequest_SortBy) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllTagsRequest_SortBy.ProtoReflect.Descriptor instead. +func (*FindAllTagsRequest_SortBy) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{14, 0} +} + +func (x *FindAllTagsRequest_SortBy) GetKey() FindAllTagsRequest_SortBy_Key { + if x != nil { + return x.Key + } + return FindAllTagsRequest_SortBy_REFNAME +} + +func (x *FindAllTagsRequest_SortBy) GetDirection() SortDirection { + if x != nil { + return x.Direction + } + return SortDirection_ASCENDING +} + +// TagSignature represents the signature of a signed tag. +type GetTagSignaturesResponse_TagSignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // TagId is the resolved object ID of the tag. + TagId string `protobuf:"bytes,1,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` + // Signature contains the cryptographic signature of the tag. If the tag is not + // cryptographically signed, then the signature is unset. + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + // Content contains the contents which are signed by the signature. Contents + // include both the commit message, but also the commit metadata like author and + // subject. + Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *GetTagSignaturesResponse_TagSignature) Reset() { + *x = GetTagSignaturesResponse_TagSignature{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTagSignaturesResponse_TagSignature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTagSignaturesResponse_TagSignature) ProtoMessage() {} + +func (x *GetTagSignaturesResponse_TagSignature) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetTagSignaturesResponse_TagSignature.ProtoReflect.Descriptor instead. +func (*GetTagSignaturesResponse_TagSignature) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{31, 0} +} + +func (x *GetTagSignaturesResponse_TagSignature) GetTagId() string { + if x != nil { + return x.TagId + } + return "" +} + +func (x *GetTagSignaturesResponse_TagSignature) GetSignature() []byte { + if x != nil { + return x.Signature + } + return nil +} + +func (x *GetTagSignaturesResponse_TagSignature) GetContent() []byte { + if x != nil { + return x.Content + } + return nil +} + +// This comment is left unintentionally blank. +type ListRefsRequest_SortBy struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Key is a key used for sorting. + Key ListRefsRequest_SortBy_Key `protobuf:"varint,1,opt,name=key,proto3,enum=gitaly.ListRefsRequest_SortBy_Key" json:"key,omitempty"` + // This comment is left unintentionally blank. + Direction SortDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=gitaly.SortDirection" json:"direction,omitempty"` +} + +func (x *ListRefsRequest_SortBy) Reset() { + *x = ListRefsRequest_SortBy{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsRequest_SortBy) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsRequest_SortBy) ProtoMessage() {} + +func (x *ListRefsRequest_SortBy) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListRefsRequest_SortBy.ProtoReflect.Descriptor instead. +func (*ListRefsRequest_SortBy) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{38, 0} +} + +func (x *ListRefsRequest_SortBy) GetKey() ListRefsRequest_SortBy_Key { + if x != nil { + return x.Key + } + return ListRefsRequest_SortBy_REFNAME +} + +func (x *ListRefsRequest_SortBy) GetDirection() SortDirection { + if x != nil { + return x.Direction + } + return SortDirection_ASCENDING +} + +// Reference is a direct Git reference. No symbolic references will ever be returned by this RPC. +type ListRefsResponse_Reference struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Name is the fully qualified name of the reference. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // Target is the object ID the reference points to. + Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` +} + +func (x *ListRefsResponse_Reference) Reset() { + *x = ListRefsResponse_Reference{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListRefsResponse_Reference) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListRefsResponse_Reference) ProtoMessage() {} + +func (x *ListRefsResponse_Reference) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListRefsResponse_Reference.ProtoReflect.Descriptor instead. +func (*ListRefsResponse_Reference) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{39, 0} +} + +func (x *ListRefsResponse_Reference) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *ListRefsResponse_Reference) GetTarget() string { + if x != nil { + return x.Target + } + return "" +} + +var File_ref_proto protoreflect.FileDescriptor + +var file_ref_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x72, 0x65, 0x66, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, + 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, + 0x19, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x32, 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x52, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2f, 0x0a, 0x17, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x97, 0x02, + 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x06, + 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, + 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x22, 0x35, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, + 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, + 0x41, 0x53, 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, + 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, 0x02, 0x22, 0x58, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, + 0x73, 0x22, 0xb6, 0x02, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x25, + 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, + 0x4e, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x0f, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, + 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x1b, 0x46, + 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, + 0x22, 0x9c, 0x01, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, + 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x67, + 0x65, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, + 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, + 0x0e, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x22, + 0xa6, 0x01, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x1a, + 0x47, 0x0a, 0x06, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, + 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x65, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, + 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0x30, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, + 0x67, 0x22, 0xf2, 0x02, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, + 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x48, + 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x9b, 0x01, 0x0a, 0x06, 0x53, 0x6f, 0x72, + 0x74, 0x42, 0x79, 0x12, 0x37, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, + 0x74, 0x42, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x09, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x23, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x46, 0x4e, + 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, + 0x44, 0x41, 0x54, 0x45, 0x10, 0x01, 0x22, 0x36, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, + 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x22, 0x5e, + 0x0a, 0x10, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x29, + 0x0a, 0x11, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x13, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x4e, + 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, + 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x52, 0x52, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53, 0x10, 0x01, + 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x52, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, + 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, + 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x22, 0x63, + 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x0a, 0x11, 0x46, + 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, + 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x8f, 0x01, 0x0a, + 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, + 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x69, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, + 0x57, 0x69, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, + 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x72, 0x65, 0x66, 0x73, 0x22, 0x31, + 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x95, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x52, 0x0a, 0x27, 0x4c, 0x69, 0x73, + 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x92, 0x01, + 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x22, 0x49, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, + 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x74, + 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x78, 0x0a, + 0x17, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x67, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x67, 0x52, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xc8, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x61, 0x67, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x1a, 0x5d, 0x0a, 0x0c, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x67, 0x49, 0x64, 0x73, 0x4a, 0x04, + 0x08, 0x02, 0x10, 0x03, 0x52, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, + 0x59, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, + 0x52, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x79, 0x0a, 0x1c, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x65, 0x73, 0x22, 0x5b, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x4a, + 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x22, + 0x12, 0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xf2, 0x02, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x68, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x68, 0x65, 0x61, + 0x64, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x1a, 0xbb, 0x01, 0x0a, 0x06, 0x53, + 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x34, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x2e, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x33, 0x0a, 0x09, 0x64, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x46, 0x0a, 0x03, 0x4b, 0x65, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x46, 0x4e, 0x41, + 0x4d, 0x45, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x43, 0x52, 0x45, 0x41, 0x54, 0x4f, 0x52, 0x44, + 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x55, 0x54, 0x48, 0x4f, 0x52, 0x44, + 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, + 0x45, 0x52, 0x44, 0x41, 0x54, 0x45, 0x10, 0x03, 0x22, 0x8f, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, + 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x73, 0x1a, 0x37, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xba, 0x01, 0x0a, 0x14, 0x46, + 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x66, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, + 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x65, 0x6c, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x2b, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x52, + 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x72, 0x65, 0x66, 0x73, 0x32, 0xa5, 0x0d, 0x0a, 0x0a, 0x52, 0x65, 0x66, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, + 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x12, 0x65, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, + 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, 0x46, 0x69, + 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x6e, + 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x48, + 0x0a, 0x09, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x66, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, + 0x01, 0x12, 0x83, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x54, 0x61, + 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, + 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x48, 0x0a, 0x08, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x12, + 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x47, 0x0a, + 0x08, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, + 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x73, 0x42, 0x79, 0x4f, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32, + 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, + 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ref_proto_rawDescOnce sync.Once + file_ref_proto_rawDescData = file_ref_proto_rawDesc +) + +func file_ref_proto_rawDescGZIP() []byte { + file_ref_proto_rawDescOnce.Do(func() { + file_ref_proto_rawDescData = protoimpl.X.CompressGZIP(file_ref_proto_rawDescData) + }) + return file_ref_proto_rawDescData +} + +var file_ref_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 47) +var file_ref_proto_goTypes = []interface{}{ + (FindLocalBranchesRequest_SortBy)(0), // 0: gitaly.FindLocalBranchesRequest.SortBy + (FindAllTagsRequest_SortBy_Key)(0), // 1: gitaly.FindAllTagsRequest.SortBy.Key + (CreateBranchResponse_Status)(0), // 2: gitaly.CreateBranchResponse.Status + (ListRefsRequest_SortBy_Key)(0), // 3: gitaly.ListRefsRequest.SortBy.Key + (*FindDefaultBranchNameRequest)(nil), // 4: gitaly.FindDefaultBranchNameRequest + (*FindDefaultBranchNameResponse)(nil), // 5: gitaly.FindDefaultBranchNameResponse + (*FindAllBranchNamesRequest)(nil), // 6: gitaly.FindAllBranchNamesRequest + (*FindAllBranchNamesResponse)(nil), // 7: gitaly.FindAllBranchNamesResponse + (*FindAllTagNamesRequest)(nil), // 8: gitaly.FindAllTagNamesRequest + (*FindAllTagNamesResponse)(nil), // 9: gitaly.FindAllTagNamesResponse + (*FindLocalBranchesRequest)(nil), // 10: gitaly.FindLocalBranchesRequest + (*FindLocalBranchesResponse)(nil), // 11: gitaly.FindLocalBranchesResponse + (*FindLocalBranchResponse)(nil), // 12: gitaly.FindLocalBranchResponse + (*FindLocalBranchCommitAuthor)(nil), // 13: gitaly.FindLocalBranchCommitAuthor + (*FindAllBranchesRequest)(nil), // 14: gitaly.FindAllBranchesRequest + (*FindAllBranchesResponse)(nil), // 15: gitaly.FindAllBranchesResponse + (*FindTagRequest)(nil), // 16: gitaly.FindTagRequest + (*FindTagResponse)(nil), // 17: gitaly.FindTagResponse + (*FindAllTagsRequest)(nil), // 18: gitaly.FindAllTagsRequest + (*FindAllTagsResponse)(nil), // 19: gitaly.FindAllTagsResponse + (*RefExistsRequest)(nil), // 20: gitaly.RefExistsRequest + (*RefExistsResponse)(nil), // 21: gitaly.RefExistsResponse + (*CreateBranchRequest)(nil), // 22: gitaly.CreateBranchRequest + (*CreateBranchResponse)(nil), // 23: gitaly.CreateBranchResponse + (*DeleteBranchRequest)(nil), // 24: gitaly.DeleteBranchRequest + (*DeleteBranchResponse)(nil), // 25: gitaly.DeleteBranchResponse + (*FindBranchRequest)(nil), // 26: gitaly.FindBranchRequest + (*FindBranchResponse)(nil), // 27: gitaly.FindBranchResponse + (*DeleteRefsRequest)(nil), // 28: gitaly.DeleteRefsRequest + (*DeleteRefsResponse)(nil), // 29: gitaly.DeleteRefsResponse + (*ListBranchNamesContainingCommitRequest)(nil), // 30: gitaly.ListBranchNamesContainingCommitRequest + (*ListBranchNamesContainingCommitResponse)(nil), // 31: gitaly.ListBranchNamesContainingCommitResponse + (*ListTagNamesContainingCommitRequest)(nil), // 32: gitaly.ListTagNamesContainingCommitRequest + (*ListTagNamesContainingCommitResponse)(nil), // 33: gitaly.ListTagNamesContainingCommitResponse + (*GetTagSignaturesRequest)(nil), // 34: gitaly.GetTagSignaturesRequest + (*GetTagSignaturesResponse)(nil), // 35: gitaly.GetTagSignaturesResponse + (*GetTagMessagesRequest)(nil), // 36: gitaly.GetTagMessagesRequest + (*GetTagMessagesResponse)(nil), // 37: gitaly.GetTagMessagesResponse + (*FindAllRemoteBranchesRequest)(nil), // 38: gitaly.FindAllRemoteBranchesRequest + (*FindAllRemoteBranchesResponse)(nil), // 39: gitaly.FindAllRemoteBranchesResponse + (*PackRefsRequest)(nil), // 40: gitaly.PackRefsRequest + (*PackRefsResponse)(nil), // 41: gitaly.PackRefsResponse + (*ListRefsRequest)(nil), // 42: gitaly.ListRefsRequest + (*ListRefsResponse)(nil), // 43: gitaly.ListRefsResponse + (*FindRefsByOIDRequest)(nil), // 44: gitaly.FindRefsByOIDRequest + (*FindRefsByOIDResponse)(nil), // 45: gitaly.FindRefsByOIDResponse + (*FindAllBranchesResponse_Branch)(nil), // 46: gitaly.FindAllBranchesResponse.Branch + (*FindAllTagsRequest_SortBy)(nil), // 47: gitaly.FindAllTagsRequest.SortBy + (*GetTagSignaturesResponse_TagSignature)(nil), // 48: gitaly.GetTagSignaturesResponse.TagSignature + (*ListRefsRequest_SortBy)(nil), // 49: gitaly.ListRefsRequest.SortBy + (*ListRefsResponse_Reference)(nil), // 50: gitaly.ListRefsResponse.Reference + (*Repository)(nil), // 51: gitaly.Repository + (*PaginationParameter)(nil), // 52: gitaly.PaginationParameter + (*GitCommit)(nil), // 53: gitaly.GitCommit + (*timestamppb.Timestamp)(nil), // 54: google.protobuf.Timestamp + (*Tag)(nil), // 55: gitaly.Tag + (*Branch)(nil), // 56: gitaly.Branch + (SortDirection)(0), // 57: gitaly.SortDirection +} +var file_ref_proto_depIdxs = []int32{ + 51, // 0: gitaly.FindDefaultBranchNameRequest.repository:type_name -> gitaly.Repository + 51, // 1: gitaly.FindAllBranchNamesRequest.repository:type_name -> gitaly.Repository + 51, // 2: gitaly.FindAllTagNamesRequest.repository:type_name -> gitaly.Repository + 51, // 3: gitaly.FindLocalBranchesRequest.repository:type_name -> gitaly.Repository + 0, // 4: gitaly.FindLocalBranchesRequest.sort_by:type_name -> gitaly.FindLocalBranchesRequest.SortBy + 52, // 5: gitaly.FindLocalBranchesRequest.pagination_params:type_name -> gitaly.PaginationParameter + 12, // 6: gitaly.FindLocalBranchesResponse.branches:type_name -> gitaly.FindLocalBranchResponse + 13, // 7: gitaly.FindLocalBranchResponse.commit_author:type_name -> gitaly.FindLocalBranchCommitAuthor + 13, // 8: gitaly.FindLocalBranchResponse.commit_committer:type_name -> gitaly.FindLocalBranchCommitAuthor + 53, // 9: gitaly.FindLocalBranchResponse.commit:type_name -> gitaly.GitCommit + 54, // 10: gitaly.FindLocalBranchCommitAuthor.date:type_name -> google.protobuf.Timestamp + 51, // 11: gitaly.FindAllBranchesRequest.repository:type_name -> gitaly.Repository + 46, // 12: gitaly.FindAllBranchesResponse.branches:type_name -> gitaly.FindAllBranchesResponse.Branch + 51, // 13: gitaly.FindTagRequest.repository:type_name -> gitaly.Repository + 55, // 14: gitaly.FindTagResponse.tag:type_name -> gitaly.Tag + 51, // 15: gitaly.FindAllTagsRequest.repository:type_name -> gitaly.Repository + 47, // 16: gitaly.FindAllTagsRequest.sort_by:type_name -> gitaly.FindAllTagsRequest.SortBy + 52, // 17: gitaly.FindAllTagsRequest.pagination_params:type_name -> gitaly.PaginationParameter + 55, // 18: gitaly.FindAllTagsResponse.tags:type_name -> gitaly.Tag + 51, // 19: gitaly.RefExistsRequest.repository:type_name -> gitaly.Repository + 51, // 20: gitaly.CreateBranchRequest.repository:type_name -> gitaly.Repository + 2, // 21: gitaly.CreateBranchResponse.status:type_name -> gitaly.CreateBranchResponse.Status + 56, // 22: gitaly.CreateBranchResponse.branch:type_name -> gitaly.Branch + 51, // 23: gitaly.DeleteBranchRequest.repository:type_name -> gitaly.Repository + 51, // 24: gitaly.FindBranchRequest.repository:type_name -> gitaly.Repository + 56, // 25: gitaly.FindBranchResponse.branch:type_name -> gitaly.Branch + 51, // 26: gitaly.DeleteRefsRequest.repository:type_name -> gitaly.Repository + 51, // 27: gitaly.ListBranchNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 51, // 28: gitaly.ListTagNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 51, // 29: gitaly.GetTagSignaturesRequest.repository:type_name -> gitaly.Repository + 48, // 30: gitaly.GetTagSignaturesResponse.signatures:type_name -> gitaly.GetTagSignaturesResponse.TagSignature + 51, // 31: gitaly.GetTagMessagesRequest.repository:type_name -> gitaly.Repository + 51, // 32: gitaly.FindAllRemoteBranchesRequest.repository:type_name -> gitaly.Repository + 56, // 33: gitaly.FindAllRemoteBranchesResponse.branches:type_name -> gitaly.Branch + 51, // 34: gitaly.PackRefsRequest.repository:type_name -> gitaly.Repository + 51, // 35: gitaly.ListRefsRequest.repository:type_name -> gitaly.Repository + 49, // 36: gitaly.ListRefsRequest.sort_by:type_name -> gitaly.ListRefsRequest.SortBy + 50, // 37: gitaly.ListRefsResponse.references:type_name -> gitaly.ListRefsResponse.Reference + 51, // 38: gitaly.FindRefsByOIDRequest.repository:type_name -> gitaly.Repository + 53, // 39: gitaly.FindAllBranchesResponse.Branch.target:type_name -> gitaly.GitCommit + 1, // 40: gitaly.FindAllTagsRequest.SortBy.key:type_name -> gitaly.FindAllTagsRequest.SortBy.Key + 57, // 41: gitaly.FindAllTagsRequest.SortBy.direction:type_name -> gitaly.SortDirection + 3, // 42: gitaly.ListRefsRequest.SortBy.key:type_name -> gitaly.ListRefsRequest.SortBy.Key + 57, // 43: gitaly.ListRefsRequest.SortBy.direction:type_name -> gitaly.SortDirection + 4, // 44: gitaly.RefService.FindDefaultBranchName:input_type -> gitaly.FindDefaultBranchNameRequest + 6, // 45: gitaly.RefService.FindAllBranchNames:input_type -> gitaly.FindAllBranchNamesRequest + 8, // 46: gitaly.RefService.FindAllTagNames:input_type -> gitaly.FindAllTagNamesRequest + 10, // 47: gitaly.RefService.FindLocalBranches:input_type -> gitaly.FindLocalBranchesRequest + 14, // 48: gitaly.RefService.FindAllBranches:input_type -> gitaly.FindAllBranchesRequest + 18, // 49: gitaly.RefService.FindAllTags:input_type -> gitaly.FindAllTagsRequest + 16, // 50: gitaly.RefService.FindTag:input_type -> gitaly.FindTagRequest + 38, // 51: gitaly.RefService.FindAllRemoteBranches:input_type -> gitaly.FindAllRemoteBranchesRequest + 20, // 52: gitaly.RefService.RefExists:input_type -> gitaly.RefExistsRequest + 26, // 53: gitaly.RefService.FindBranch:input_type -> gitaly.FindBranchRequest + 28, // 54: gitaly.RefService.DeleteRefs:input_type -> gitaly.DeleteRefsRequest + 30, // 55: gitaly.RefService.ListBranchNamesContainingCommit:input_type -> gitaly.ListBranchNamesContainingCommitRequest + 32, // 56: gitaly.RefService.ListTagNamesContainingCommit:input_type -> gitaly.ListTagNamesContainingCommitRequest + 34, // 57: gitaly.RefService.GetTagSignatures:input_type -> gitaly.GetTagSignaturesRequest + 36, // 58: gitaly.RefService.GetTagMessages:input_type -> gitaly.GetTagMessagesRequest + 40, // 59: gitaly.RefService.PackRefs:input_type -> gitaly.PackRefsRequest + 42, // 60: gitaly.RefService.ListRefs:input_type -> gitaly.ListRefsRequest + 44, // 61: gitaly.RefService.FindRefsByOID:input_type -> gitaly.FindRefsByOIDRequest + 5, // 62: gitaly.RefService.FindDefaultBranchName:output_type -> gitaly.FindDefaultBranchNameResponse + 7, // 63: gitaly.RefService.FindAllBranchNames:output_type -> gitaly.FindAllBranchNamesResponse + 9, // 64: gitaly.RefService.FindAllTagNames:output_type -> gitaly.FindAllTagNamesResponse + 11, // 65: gitaly.RefService.FindLocalBranches:output_type -> gitaly.FindLocalBranchesResponse + 15, // 66: gitaly.RefService.FindAllBranches:output_type -> gitaly.FindAllBranchesResponse + 19, // 67: gitaly.RefService.FindAllTags:output_type -> gitaly.FindAllTagsResponse + 17, // 68: gitaly.RefService.FindTag:output_type -> gitaly.FindTagResponse + 39, // 69: gitaly.RefService.FindAllRemoteBranches:output_type -> gitaly.FindAllRemoteBranchesResponse + 21, // 70: gitaly.RefService.RefExists:output_type -> gitaly.RefExistsResponse + 27, // 71: gitaly.RefService.FindBranch:output_type -> gitaly.FindBranchResponse + 29, // 72: gitaly.RefService.DeleteRefs:output_type -> gitaly.DeleteRefsResponse + 31, // 73: gitaly.RefService.ListBranchNamesContainingCommit:output_type -> gitaly.ListBranchNamesContainingCommitResponse + 33, // 74: gitaly.RefService.ListTagNamesContainingCommit:output_type -> gitaly.ListTagNamesContainingCommitResponse + 35, // 75: gitaly.RefService.GetTagSignatures:output_type -> gitaly.GetTagSignaturesResponse + 37, // 76: gitaly.RefService.GetTagMessages:output_type -> gitaly.GetTagMessagesResponse + 41, // 77: gitaly.RefService.PackRefs:output_type -> gitaly.PackRefsResponse + 43, // 78: gitaly.RefService.ListRefs:output_type -> gitaly.ListRefsResponse + 45, // 79: gitaly.RefService.FindRefsByOID:output_type -> gitaly.FindRefsByOIDResponse + 62, // [62:80] is the sub-list for method output_type + 44, // [44:62] is the sub-list for method input_type + 44, // [44:44] is the sub-list for extension type_name + 44, // [44:44] is the sub-list for extension extendee + 0, // [0:44] is the sub-list for field type_name +} + +func init() { file_ref_proto_init() } +func file_ref_proto_init() { + if File_ref_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_ref_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindDefaultBranchNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindDefaultBranchNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchCommitAuthor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBranchNamesContainingCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBranchNamesContainingCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTagNamesContainingCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTagNamesContainingCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagSignaturesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagSignaturesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagMessagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagMessagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllRemoteBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllRemoteBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRefsByOIDRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRefsByOIDResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesResponse_Branch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsRequest_SortBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagSignaturesResponse_TagSignature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRefsRequest_SortBy); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListRefsResponse_Reference); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ref_proto_rawDesc, + NumEnums: 4, + NumMessages: 47, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_ref_proto_goTypes, + DependencyIndexes: file_ref_proto_depIdxs, + EnumInfos: file_ref_proto_enumTypes, + MessageInfos: file_ref_proto_msgTypes, + }.Build() + File_ref_proto = out.File + file_ref_proto_rawDesc = nil + file_ref_proto_goTypes = nil + file_ref_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/ref_grpc.pb.go b/v14/proto/go/gitalypb/ref_grpc.pb.go new file mode 100644 index 000000000..5d9f4a540 --- /dev/null +++ b/v14/proto/go/gitalypb/ref_grpc.pb.go @@ -0,0 +1,1066 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// RefServiceClient is the client API for RefService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RefServiceClient interface { + // This comment is left unintentionally blank. + FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) + // This comment is left unintentionally blank. + FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchNamesClient, error) + // This comment is left unintentionally blank. + FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (RefService_FindAllTagNamesClient, error) + // Return a stream so we can divide the response in chunks of branches + FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error) + // This comment is left unintentionally blank. + FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) + // Returns a stream of tags repository has. + FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) + // This comment is left unintentionally blank. + FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) + // This comment is left unintentionally blank. + FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) + // This comment is left unintentionally blank. + RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) + // FindBranch finds a branch by its unqualified name (like "master") and + // returns the commit it currently points to. + FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) + // This comment is left unintentionally blank. + DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) + // This comment is left unintentionally blank. + ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) + // This comment is left unintentionally blank. + ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) + // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions + // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved + // result in an error. Tags which are annotated but not signed will return a TagSignature response + // which has no signature, but its unsigned contents will still be returned. + GetTagSignatures(ctx context.Context, in *GetTagSignaturesRequest, opts ...grpc.CallOption) (RefService_GetTagSignaturesClient, error) + // This comment is left unintentionally blank. + GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) + // Deprecated: Do not use. + // PackRefs is deprecated in favor of OptimizeRepository. + PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) + // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD + // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is + // pointing at. + ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) + // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. + // It returns nothing if the object ID doesn't exist, or doesn't point to + // any branches or tags. Prefixes can be also be used as the object ID. + FindRefsByOID(ctx context.Context, in *FindRefsByOIDRequest, opts ...grpc.CallOption) (*FindRefsByOIDResponse, error) +} + +type refServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewRefServiceClient(cc grpc.ClientConnInterface) RefServiceClient { + return &refServiceClient{cc} +} + +func (c *refServiceClient) FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) { + out := new(FindDefaultBranchNameResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindDefaultBranchName", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchNamesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[0], "/gitaly.RefService/FindAllBranchNames", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindAllBranchNamesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindAllBranchNamesClient interface { + Recv() (*FindAllBranchNamesResponse, error) + grpc.ClientStream +} + +type refServiceFindAllBranchNamesClient struct { + grpc.ClientStream +} + +func (x *refServiceFindAllBranchNamesClient) Recv() (*FindAllBranchNamesResponse, error) { + m := new(FindAllBranchNamesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (RefService_FindAllTagNamesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[1], "/gitaly.RefService/FindAllTagNames", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindAllTagNamesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindAllTagNamesClient interface { + Recv() (*FindAllTagNamesResponse, error) + grpc.ClientStream +} + +type refServiceFindAllTagNamesClient struct { + grpc.ClientStream +} + +func (x *refServiceFindAllTagNamesClient) Recv() (*FindAllTagNamesResponse, error) { + m := new(FindAllTagNamesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindLocalBranches(ctx context.Context, in *FindLocalBranchesRequest, opts ...grpc.CallOption) (RefService_FindLocalBranchesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[2], "/gitaly.RefService/FindLocalBranches", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindLocalBranchesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindLocalBranchesClient interface { + Recv() (*FindLocalBranchesResponse, error) + grpc.ClientStream +} + +type refServiceFindLocalBranchesClient struct { + grpc.ClientStream +} + +func (x *refServiceFindLocalBranchesClient) Recv() (*FindLocalBranchesResponse, error) { + m := new(FindLocalBranchesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[3], "/gitaly.RefService/FindAllBranches", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindAllBranchesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindAllBranchesClient interface { + Recv() (*FindAllBranchesResponse, error) + grpc.ClientStream +} + +type refServiceFindAllBranchesClient struct { + grpc.ClientStream +} + +func (x *refServiceFindAllBranchesClient) Recv() (*FindAllBranchesResponse, error) { + m := new(FindAllBranchesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[4], "/gitaly.RefService/FindAllTags", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindAllTagsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindAllTagsClient interface { + Recv() (*FindAllTagsResponse, error) + grpc.ClientStream +} + +type refServiceFindAllTagsClient struct { + grpc.ClientStream +} + +func (x *refServiceFindAllTagsClient) Recv() (*FindAllTagsResponse, error) { + m := new(FindAllTagsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindTag(ctx context.Context, in *FindTagRequest, opts ...grpc.CallOption) (*FindTagResponse, error) { + out := new(FindTagResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindTag", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[5], "/gitaly.RefService/FindAllRemoteBranches", opts...) + if err != nil { + return nil, err + } + x := &refServiceFindAllRemoteBranchesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_FindAllRemoteBranchesClient interface { + Recv() (*FindAllRemoteBranchesResponse, error) + grpc.ClientStream +} + +type refServiceFindAllRemoteBranchesClient struct { + grpc.ClientStream +} + +func (x *refServiceFindAllRemoteBranchesClient) Recv() (*FindAllRemoteBranchesResponse, error) { + m := new(FindAllRemoteBranchesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) { + out := new(RefExistsResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/RefExists", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) { + out := new(FindBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) { + out := new(DeleteRefsResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/DeleteRefs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[6], "/gitaly.RefService/ListBranchNamesContainingCommit", opts...) + if err != nil { + return nil, err + } + x := &refServiceListBranchNamesContainingCommitClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_ListBranchNamesContainingCommitClient interface { + Recv() (*ListBranchNamesContainingCommitResponse, error) + grpc.ClientStream +} + +type refServiceListBranchNamesContainingCommitClient struct { + grpc.ClientStream +} + +func (x *refServiceListBranchNamesContainingCommitClient) Recv() (*ListBranchNamesContainingCommitResponse, error) { + m := new(ListBranchNamesContainingCommitResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[7], "/gitaly.RefService/ListTagNamesContainingCommit", opts...) + if err != nil { + return nil, err + } + x := &refServiceListTagNamesContainingCommitClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_ListTagNamesContainingCommitClient interface { + Recv() (*ListTagNamesContainingCommitResponse, error) + grpc.ClientStream +} + +type refServiceListTagNamesContainingCommitClient struct { + grpc.ClientStream +} + +func (x *refServiceListTagNamesContainingCommitClient) Recv() (*ListTagNamesContainingCommitResponse, error) { + m := new(ListTagNamesContainingCommitResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) GetTagSignatures(ctx context.Context, in *GetTagSignaturesRequest, opts ...grpc.CallOption) (RefService_GetTagSignaturesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[8], "/gitaly.RefService/GetTagSignatures", opts...) + if err != nil { + return nil, err + } + x := &refServiceGetTagSignaturesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_GetTagSignaturesClient interface { + Recv() (*GetTagSignaturesResponse, error) + grpc.ClientStream +} + +type refServiceGetTagSignaturesClient struct { + grpc.ClientStream +} + +func (x *refServiceGetTagSignaturesClient) Recv() (*GetTagSignaturesResponse, error) { + m := new(GetTagSignaturesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[9], "/gitaly.RefService/GetTagMessages", opts...) + if err != nil { + return nil, err + } + x := &refServiceGetTagMessagesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_GetTagMessagesClient interface { + Recv() (*GetTagMessagesResponse, error) + grpc.ClientStream +} + +type refServiceGetTagMessagesClient struct { + grpc.ClientStream +} + +func (x *refServiceGetTagMessagesClient) Recv() (*GetTagMessagesResponse, error) { + m := new(GetTagMessagesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// Deprecated: Do not use. +func (c *refServiceClient) PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) { + out := new(PackRefsResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/PackRefs", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) ListRefs(ctx context.Context, in *ListRefsRequest, opts ...grpc.CallOption) (RefService_ListRefsClient, error) { + stream, err := c.cc.NewStream(ctx, &RefService_ServiceDesc.Streams[10], "/gitaly.RefService/ListRefs", opts...) + if err != nil { + return nil, err + } + x := &refServiceListRefsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RefService_ListRefsClient interface { + Recv() (*ListRefsResponse, error) + grpc.ClientStream +} + +type refServiceListRefsClient struct { + grpc.ClientStream +} + +func (x *refServiceListRefsClient) Recv() (*ListRefsResponse, error) { + m := new(ListRefsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) FindRefsByOID(ctx context.Context, in *FindRefsByOIDRequest, opts ...grpc.CallOption) (*FindRefsByOIDResponse, error) { + out := new(FindRefsByOIDResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindRefsByOID", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RefServiceServer is the server API for RefService service. +// All implementations must embed UnimplementedRefServiceServer +// for forward compatibility +type RefServiceServer interface { + // This comment is left unintentionally blank. + FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) + // This comment is left unintentionally blank. + FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error + // This comment is left unintentionally blank. + FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error + // Return a stream so we can divide the response in chunks of branches + FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error + // This comment is left unintentionally blank. + FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error + // Returns a stream of tags repository has. + FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error + // This comment is left unintentionally blank. + FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) + // This comment is left unintentionally blank. + FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error + // This comment is left unintentionally blank. + RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) + // FindBranch finds a branch by its unqualified name (like "master") and + // returns the commit it currently points to. + FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) + // This comment is left unintentionally blank. + DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) + // This comment is left unintentionally blank. + ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error + // This comment is left unintentionally blank. + ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error + // GetTagSignatures returns signatures for annotated tags resolved from a set of revisions. Revisions + // which don't resolve to an annotated tag are silently discarded. Revisions which cannot be resolved + // result in an error. Tags which are annotated but not signed will return a TagSignature response + // which has no signature, but its unsigned contents will still be returned. + GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error + // This comment is left unintentionally blank. + GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error + // Deprecated: Do not use. + // PackRefs is deprecated in favor of OptimizeRepository. + PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) + // ListRefs returns a stream of all references in the repository. By default, pseudo-revisions like HEAD + // will not be returned by this RPC. Any symbolic references will be resolved to the object ID it is + // pointing at. + ListRefs(*ListRefsRequest, RefService_ListRefsServer) error + // FindRefsByOID returns an array of fully qualified reference names that point to an object ID. + // It returns nothing if the object ID doesn't exist, or doesn't point to + // any branches or tags. Prefixes can be also be used as the object ID. + FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error) + mustEmbedUnimplementedRefServiceServer() +} + +// UnimplementedRefServiceServer must be embedded to have forward compatible implementations. +type UnimplementedRefServiceServer struct { +} + +func (UnimplementedRefServiceServer) FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindDefaultBranchName not implemented") +} +func (UnimplementedRefServiceServer) FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllBranchNames not implemented") +} +func (UnimplementedRefServiceServer) FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllTagNames not implemented") +} +func (UnimplementedRefServiceServer) FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindLocalBranches not implemented") +} +func (UnimplementedRefServiceServer) FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllBranches not implemented") +} +func (UnimplementedRefServiceServer) FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllTags not implemented") +} +func (UnimplementedRefServiceServer) FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindTag not implemented") +} +func (UnimplementedRefServiceServer) FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllRemoteBranches not implemented") +} +func (UnimplementedRefServiceServer) RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RefExists not implemented") +} +func (UnimplementedRefServiceServer) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindBranch not implemented") +} +func (UnimplementedRefServiceServer) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteRefs not implemented") +} +func (UnimplementedRefServiceServer) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error { + return status.Errorf(codes.Unimplemented, "method ListBranchNamesContainingCommit not implemented") +} +func (UnimplementedRefServiceServer) ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error { + return status.Errorf(codes.Unimplemented, "method ListTagNamesContainingCommit not implemented") +} +func (UnimplementedRefServiceServer) GetTagSignatures(*GetTagSignaturesRequest, RefService_GetTagSignaturesServer) error { + return status.Errorf(codes.Unimplemented, "method GetTagSignatures not implemented") +} +func (UnimplementedRefServiceServer) GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error { + return status.Errorf(codes.Unimplemented, "method GetTagMessages not implemented") +} +func (UnimplementedRefServiceServer) PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PackRefs not implemented") +} +func (UnimplementedRefServiceServer) ListRefs(*ListRefsRequest, RefService_ListRefsServer) error { + return status.Errorf(codes.Unimplemented, "method ListRefs not implemented") +} +func (UnimplementedRefServiceServer) FindRefsByOID(context.Context, *FindRefsByOIDRequest) (*FindRefsByOIDResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRefsByOID not implemented") +} +func (UnimplementedRefServiceServer) mustEmbedUnimplementedRefServiceServer() {} + +// UnsafeRefServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RefServiceServer will +// result in compilation errors. +type UnsafeRefServiceServer interface { + mustEmbedUnimplementedRefServiceServer() +} + +func RegisterRefServiceServer(s grpc.ServiceRegistrar, srv RefServiceServer) { + s.RegisterService(&RefService_ServiceDesc, srv) +} + +func _RefService_FindDefaultBranchName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindDefaultBranchNameRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindDefaultBranchName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindDefaultBranchName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindDefaultBranchName(ctx, req.(*FindDefaultBranchNameRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_FindAllBranchNames_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllBranchNamesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindAllBranchNames(m, &refServiceFindAllBranchNamesServer{stream}) +} + +type RefService_FindAllBranchNamesServer interface { + Send(*FindAllBranchNamesResponse) error + grpc.ServerStream +} + +type refServiceFindAllBranchNamesServer struct { + grpc.ServerStream +} + +func (x *refServiceFindAllBranchNamesServer) Send(m *FindAllBranchNamesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindAllTagNames_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllTagNamesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindAllTagNames(m, &refServiceFindAllTagNamesServer{stream}) +} + +type RefService_FindAllTagNamesServer interface { + Send(*FindAllTagNamesResponse) error + grpc.ServerStream +} + +type refServiceFindAllTagNamesServer struct { + grpc.ServerStream +} + +func (x *refServiceFindAllTagNamesServer) Send(m *FindAllTagNamesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindLocalBranches_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindLocalBranchesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindLocalBranches(m, &refServiceFindLocalBranchesServer{stream}) +} + +type RefService_FindLocalBranchesServer interface { + Send(*FindLocalBranchesResponse) error + grpc.ServerStream +} + +type refServiceFindLocalBranchesServer struct { + grpc.ServerStream +} + +func (x *refServiceFindLocalBranchesServer) Send(m *FindLocalBranchesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindAllBranches_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllBranchesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindAllBranches(m, &refServiceFindAllBranchesServer{stream}) +} + +type RefService_FindAllBranchesServer interface { + Send(*FindAllBranchesResponse) error + grpc.ServerStream +} + +type refServiceFindAllBranchesServer struct { + grpc.ServerStream +} + +func (x *refServiceFindAllBranchesServer) Send(m *FindAllBranchesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindAllTags_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllTagsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindAllTags(m, &refServiceFindAllTagsServer{stream}) +} + +type RefService_FindAllTagsServer interface { + Send(*FindAllTagsResponse) error + grpc.ServerStream +} + +type refServiceFindAllTagsServer struct { + grpc.ServerStream +} + +func (x *refServiceFindAllTagsServer) Send(m *FindAllTagsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindTag_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindTagRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindTag(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindTag", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindTag(ctx, req.(*FindTagRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_FindAllRemoteBranches_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(FindAllRemoteBranchesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).FindAllRemoteBranches(m, &refServiceFindAllRemoteBranchesServer{stream}) +} + +type RefService_FindAllRemoteBranchesServer interface { + Send(*FindAllRemoteBranchesResponse) error + grpc.ServerStream +} + +type refServiceFindAllRemoteBranchesServer struct { + grpc.ServerStream +} + +func (x *refServiceFindAllRemoteBranchesServer) Send(m *FindAllRemoteBranchesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_RefExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RefExistsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).RefExists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/RefExists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).RefExists(ctx, req.(*RefExistsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_FindBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindBranch(ctx, req.(*FindBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_DeleteRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteRefsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).DeleteRefs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/DeleteRefs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).DeleteRefs(ctx, req.(*DeleteRefsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_ListBranchNamesContainingCommit_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListBranchNamesContainingCommitRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListBranchNamesContainingCommit(m, &refServiceListBranchNamesContainingCommitServer{stream}) +} + +type RefService_ListBranchNamesContainingCommitServer interface { + Send(*ListBranchNamesContainingCommitResponse) error + grpc.ServerStream +} + +type refServiceListBranchNamesContainingCommitServer struct { + grpc.ServerStream +} + +func (x *refServiceListBranchNamesContainingCommitServer) Send(m *ListBranchNamesContainingCommitResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_ListTagNamesContainingCommit_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListTagNamesContainingCommitRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListTagNamesContainingCommit(m, &refServiceListTagNamesContainingCommitServer{stream}) +} + +type RefService_ListTagNamesContainingCommitServer interface { + Send(*ListTagNamesContainingCommitResponse) error + grpc.ServerStream +} + +type refServiceListTagNamesContainingCommitServer struct { + grpc.ServerStream +} + +func (x *refServiceListTagNamesContainingCommitServer) Send(m *ListTagNamesContainingCommitResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_GetTagSignatures_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetTagSignaturesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).GetTagSignatures(m, &refServiceGetTagSignaturesServer{stream}) +} + +type RefService_GetTagSignaturesServer interface { + Send(*GetTagSignaturesResponse) error + grpc.ServerStream +} + +type refServiceGetTagSignaturesServer struct { + grpc.ServerStream +} + +func (x *refServiceGetTagSignaturesServer) Send(m *GetTagSignaturesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_GetTagMessages_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetTagMessagesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).GetTagMessages(m, &refServiceGetTagMessagesServer{stream}) +} + +type RefService_GetTagMessagesServer interface { + Send(*GetTagMessagesResponse) error + grpc.ServerStream +} + +type refServiceGetTagMessagesServer struct { + grpc.ServerStream +} + +func (x *refServiceGetTagMessagesServer) Send(m *GetTagMessagesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_PackRefs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PackRefsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).PackRefs(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/PackRefs", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).PackRefs(ctx, req.(*PackRefsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_ListRefs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRefsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListRefs(m, &refServiceListRefsServer{stream}) +} + +type RefService_ListRefsServer interface { + Send(*ListRefsResponse) error + grpc.ServerStream +} + +type refServiceListRefsServer struct { + grpc.ServerStream +} + +func (x *refServiceListRefsServer) Send(m *ListRefsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_FindRefsByOID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindRefsByOIDRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindRefsByOID(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindRefsByOID", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindRefsByOID(ctx, req.(*FindRefsByOIDRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RefService_ServiceDesc is the grpc.ServiceDesc for RefService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RefService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RefService", + HandlerType: (*RefServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "FindDefaultBranchName", + Handler: _RefService_FindDefaultBranchName_Handler, + }, + { + MethodName: "FindTag", + Handler: _RefService_FindTag_Handler, + }, + { + MethodName: "RefExists", + Handler: _RefService_RefExists_Handler, + }, + { + MethodName: "FindBranch", + Handler: _RefService_FindBranch_Handler, + }, + { + MethodName: "DeleteRefs", + Handler: _RefService_DeleteRefs_Handler, + }, + { + MethodName: "PackRefs", + Handler: _RefService_PackRefs_Handler, + }, + { + MethodName: "FindRefsByOID", + Handler: _RefService_FindRefsByOID_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "FindAllBranchNames", + Handler: _RefService_FindAllBranchNames_Handler, + ServerStreams: true, + }, + { + StreamName: "FindAllTagNames", + Handler: _RefService_FindAllTagNames_Handler, + ServerStreams: true, + }, + { + StreamName: "FindLocalBranches", + Handler: _RefService_FindLocalBranches_Handler, + ServerStreams: true, + }, + { + StreamName: "FindAllBranches", + Handler: _RefService_FindAllBranches_Handler, + ServerStreams: true, + }, + { + StreamName: "FindAllTags", + Handler: _RefService_FindAllTags_Handler, + ServerStreams: true, + }, + { + StreamName: "FindAllRemoteBranches", + Handler: _RefService_FindAllRemoteBranches_Handler, + ServerStreams: true, + }, + { + StreamName: "ListBranchNamesContainingCommit", + Handler: _RefService_ListBranchNamesContainingCommit_Handler, + ServerStreams: true, + }, + { + StreamName: "ListTagNamesContainingCommit", + Handler: _RefService_ListTagNamesContainingCommit_Handler, + ServerStreams: true, + }, + { + StreamName: "GetTagSignatures", + Handler: _RefService_GetTagSignatures_Handler, + ServerStreams: true, + }, + { + StreamName: "GetTagMessages", + Handler: _RefService_GetTagMessages_Handler, + ServerStreams: true, + }, + { + StreamName: "ListRefs", + Handler: _RefService_ListRefs_Handler, + ServerStreams: true, + }, + }, + Metadata: "ref.proto", +} diff --git a/v14/proto/go/gitalypb/remote.pb.go b/v14/proto/go/gitalypb/remote.pb.go new file mode 100644 index 000000000..7122ffe1c --- /dev/null +++ b/v14/proto/go/gitalypb/remote.pb.go @@ -0,0 +1,730 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: remote.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type UpdateRemoteMirrorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository whose mirror repository to update. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Remote contains parameters required to connect to the remote repository. + // This allows Gitaly to use an in-memory remote and does not require any + // on-disk remote configuration. + Remote *UpdateRemoteMirrorRequest_Remote `protobuf:"bytes,7,opt,name=remote,proto3" json:"remote,omitempty"` + // OnlyBranchesMatching contains patterns to match branches against. Only the + // matched brances are updated in the remote mirror. If no patterns are + // specified, all branches are updated. The patterns should only contain the + // branch name without the 'refs/heads/' prefix. "*" can be used as a + // wildcard to match anything. only_branches_matching can be streamed to the + // server over multiple messages. Optional. + OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED + // SshKey is the SSH key to use for accessing to the mirror repository. + // Optional. + SshKey string `protobuf:"bytes,4,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` + // KnownHosts specifies the identities used for strict host key checking. + // Optional. + KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` + // KeepDivergentRefs specifies whether or not to update diverged references + // in the mirror repository. + KeepDivergentRefs bool `protobuf:"varint,6,opt,name=keep_divergent_refs,json=keepDivergentRefs,proto3" json:"keep_divergent_refs,omitempty"` +} + +func (x *UpdateRemoteMirrorRequest) Reset() { + *x = UpdateRemoteMirrorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateRemoteMirrorRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateRemoteMirrorRequest) ProtoMessage() {} + +func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateRemoteMirrorRequest.ProtoReflect.Descriptor instead. +func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{0} +} + +func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote { + if x != nil { + return x.Remote + } + return nil +} + +func (x *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte { + if x != nil { + return x.OnlyBranchesMatching + } + return nil +} + +func (x *UpdateRemoteMirrorRequest) GetSshKey() string { + if x != nil { + return x.SshKey + } + return "" +} + +func (x *UpdateRemoteMirrorRequest) GetKnownHosts() string { + if x != nil { + return x.KnownHosts + } + return "" +} + +func (x *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool { + if x != nil { + return x.KeepDivergentRefs + } + return false +} + +// This comment is left unintentionally blank. +type UpdateRemoteMirrorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // DivergentRefs contains a list of references that had diverged in the + // mirror from the source repository. + DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"` +} + +func (x *UpdateRemoteMirrorResponse) Reset() { + *x = UpdateRemoteMirrorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateRemoteMirrorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateRemoteMirrorResponse) ProtoMessage() {} + +func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead. +func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{1} +} + +func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte { + if x != nil { + return x.DivergentRefs + } + return nil +} + +// This comment is left unintentionally blank. +type FindRemoteRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + // This field is used to redirect request to proper storage where it can be handled. + // As of now it doesn't matter what storage will be used, but it still must be a valid. + // For more details: https://gitlab.com/gitlab-org/gitaly/-/issues/2442 + StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` +} + +func (x *FindRemoteRepositoryRequest) Reset() { + *x = FindRemoteRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRemoteRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRemoteRepositoryRequest) ProtoMessage() {} + +func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRemoteRepositoryRequest.ProtoReflect.Descriptor instead. +func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{2} +} + +func (x *FindRemoteRepositoryRequest) GetRemote() string { + if x != nil { + return x.Remote + } + return "" +} + +func (x *FindRemoteRepositoryRequest) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +// This migth throw a GRPC Unavailable code, to signal the request failure +// is transient. +type FindRemoteRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` +} + +func (x *FindRemoteRepositoryResponse) Reset() { + *x = FindRemoteRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRemoteRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRemoteRepositoryResponse) ProtoMessage() {} + +func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRemoteRepositoryResponse.ProtoReflect.Descriptor instead. +func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{3} +} + +func (x *FindRemoteRepositoryResponse) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +// FindRemoteRootRefRequest represents a request for the FindRemoteRootRef RPC. +type FindRemoteRootRefRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository in which the request shall be executed in. If + // a remote name is given, then this is the repository in which the remote + // will be looked up. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // RemoteUrl specifies the remote repository URL which should be fetched from. + RemoteUrl string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"` + // HttpAuthorizationHeader is the HTTP header which should be added to the + // request in order to authenticate against the repository. + HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + // HttpHost is the hostname of the remote repository. Use this when the + // URL hostname has already been resolved to an IP address to prevent DNS + // rebinding. + HttpHost string `protobuf:"bytes,5,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` +} + +func (x *FindRemoteRootRefRequest) Reset() { + *x = FindRemoteRootRefRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRemoteRootRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRemoteRootRefRequest) ProtoMessage() {} + +func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRemoteRootRefRequest.ProtoReflect.Descriptor instead. +func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{4} +} + +func (x *FindRemoteRootRefRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindRemoteRootRefRequest) GetRemoteUrl() string { + if x != nil { + return x.RemoteUrl + } + return "" +} + +func (x *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string { + if x != nil { + return x.HttpAuthorizationHeader + } + return "" +} + +func (x *FindRemoteRootRefRequest) GetHttpHost() string { + if x != nil { + return x.HttpHost + } + return "" +} + +// FindRemoteRootRefResponse represents the response for the FindRemoteRootRef +// request. +type FindRemoteRootRefResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Ref is the name of the remote root reference. + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` +} + +func (x *FindRemoteRootRefResponse) Reset() { + *x = FindRemoteRootRefResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindRemoteRootRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindRemoteRootRefResponse) ProtoMessage() {} + +func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead. +func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{5} +} + +func (x *FindRemoteRootRefResponse) GetRef() string { + if x != nil { + return x.Ref + } + return "" +} + +// This comment is left unintentionally blank. +type UpdateRemoteMirrorRequest_Remote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // URL is the URL of the remote repository. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // HTTPAuthorizationHeader is an optional HTTP header used for + // authenticating against the remote repository. + HttpAuthorizationHeader string `protobuf:"bytes,2,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + // HttpHost is the hostname of the remote repository. Use this when the + // URL hostname has already been resolved to an IP address to prevent DNS + // rebinding. + HttpHost string `protobuf:"bytes,3,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` +} + +func (x *UpdateRemoteMirrorRequest_Remote) Reset() { + *x = UpdateRemoteMirrorRequest_Remote{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateRemoteMirrorRequest_Remote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage() {} + +func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message { + mi := &file_remote_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateRemoteMirrorRequest_Remote.ProtoReflect.Descriptor instead. +func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string { + if x != nil { + return x.HttpAuthorizationHeader + } + return "" +} + +func (x *UpdateRemoteMirrorRequest_Remote) GetHttpHost() string { + if x != nil { + return x.HttpHost + } + return "" +} + +var File_remote_proto protoreflect.FileDescriptor + +var file_remote_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xbc, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x6e, + 0x6c, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x14, 0x6f, 0x6e, 0x6c, 0x79, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x12, 0x17, 0x0a, 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, + 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6b, 0x65, + 0x65, 0x70, 0x5f, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, + 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x69, 0x76, + 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x73, 0x1a, 0x73, 0x0a, 0x06, 0x52, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, + 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x43, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, + 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x66, 0x73, 0x22, 0x5e, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0c, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xda, 0x01, 0x0a, + 0x18, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, + 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, + 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1b, + 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x02, 0x10, + 0x03, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x22, 0x2d, 0x0a, 0x19, 0x46, 0x69, 0x6e, + 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x32, 0xc5, 0x02, 0x0a, 0x0d, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, + 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, + 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x02, 0x10, 0x02, 0x12, 0x60, + 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, + 0x52, 0x65, 0x66, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, + 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_remote_proto_rawDescOnce sync.Once + file_remote_proto_rawDescData = file_remote_proto_rawDesc +) + +func file_remote_proto_rawDescGZIP() []byte { + file_remote_proto_rawDescOnce.Do(func() { + file_remote_proto_rawDescData = protoimpl.X.CompressGZIP(file_remote_proto_rawDescData) + }) + return file_remote_proto_rawDescData +} + +var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_remote_proto_goTypes = []interface{}{ + (*UpdateRemoteMirrorRequest)(nil), // 0: gitaly.UpdateRemoteMirrorRequest + (*UpdateRemoteMirrorResponse)(nil), // 1: gitaly.UpdateRemoteMirrorResponse + (*FindRemoteRepositoryRequest)(nil), // 2: gitaly.FindRemoteRepositoryRequest + (*FindRemoteRepositoryResponse)(nil), // 3: gitaly.FindRemoteRepositoryResponse + (*FindRemoteRootRefRequest)(nil), // 4: gitaly.FindRemoteRootRefRequest + (*FindRemoteRootRefResponse)(nil), // 5: gitaly.FindRemoteRootRefResponse + (*UpdateRemoteMirrorRequest_Remote)(nil), // 6: gitaly.UpdateRemoteMirrorRequest.Remote + (*Repository)(nil), // 7: gitaly.Repository +} +var file_remote_proto_depIdxs = []int32{ + 7, // 0: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository + 6, // 1: gitaly.UpdateRemoteMirrorRequest.remote:type_name -> gitaly.UpdateRemoteMirrorRequest.Remote + 7, // 2: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository + 0, // 3: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest + 2, // 4: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest + 4, // 5: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest + 1, // 6: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse + 3, // 7: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse + 5, // 8: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse + 6, // [6:9] is the sub-list for method output_type + 3, // [3:6] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_remote_proto_init() } +func file_remote_proto_init() { + if File_remote_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_remote_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRemoteMirrorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRemoteMirrorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRemoteRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRemoteRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRemoteRootRefRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRemoteRootRefResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_remote_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateRemoteMirrorRequest_Remote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_remote_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_remote_proto_goTypes, + DependencyIndexes: file_remote_proto_depIdxs, + MessageInfos: file_remote_proto_msgTypes, + }.Build() + File_remote_proto = out.File + file_remote_proto_rawDesc = nil + file_remote_proto_goTypes = nil + file_remote_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/remote_grpc.pb.go b/v14/proto/go/gitalypb/remote_grpc.pb.go new file mode 100644 index 000000000..0c8591cdf --- /dev/null +++ b/v14/proto/go/gitalypb/remote_grpc.pb.go @@ -0,0 +1,230 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// RemoteServiceClient is the client API for RemoteService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RemoteServiceClient interface { + // UpdateRemoteMirror compares the references in the target repository and its remote mirror + // repository. Any differences in the references are then addressed by pushing the differing + // references to the mirror. Created and modified references are updated, removed references are + // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match + // the patterns specified in the requests. + UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) + // This comment is left unintentionally blank. + FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) + // FindRemoteRootRef tries to find the root reference of a remote + // repository. The root reference is the default branch as pointed to by + // the remotes HEAD reference. Returns an InvalidArgument error if the + // specified remote does not exist and a NotFound error in case no HEAD + // branch was found. + FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) +} + +type remoteServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewRemoteServiceClient(cc grpc.ClientConnInterface) RemoteServiceClient { + return &remoteServiceClient{cc} +} + +func (c *remoteServiceClient) UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) { + stream, err := c.cc.NewStream(ctx, &RemoteService_ServiceDesc.Streams[0], "/gitaly.RemoteService/UpdateRemoteMirror", opts...) + if err != nil { + return nil, err + } + x := &remoteServiceUpdateRemoteMirrorClient{stream} + return x, nil +} + +type RemoteService_UpdateRemoteMirrorClient interface { + Send(*UpdateRemoteMirrorRequest) error + CloseAndRecv() (*UpdateRemoteMirrorResponse, error) + grpc.ClientStream +} + +type remoteServiceUpdateRemoteMirrorClient struct { + grpc.ClientStream +} + +func (x *remoteServiceUpdateRemoteMirrorClient) Send(m *UpdateRemoteMirrorRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *remoteServiceUpdateRemoteMirrorClient) CloseAndRecv() (*UpdateRemoteMirrorResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(UpdateRemoteMirrorResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *remoteServiceClient) FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) { + out := new(FindRemoteRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) { + out := new(FindRemoteRootRefResponse) + err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRootRef", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RemoteServiceServer is the server API for RemoteService service. +// All implementations must embed UnimplementedRemoteServiceServer +// for forward compatibility +type RemoteServiceServer interface { + // UpdateRemoteMirror compares the references in the target repository and its remote mirror + // repository. Any differences in the references are then addressed by pushing the differing + // references to the mirror. Created and modified references are updated, removed references are + // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match + // the patterns specified in the requests. + UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error + // This comment is left unintentionally blank. + FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) + // FindRemoteRootRef tries to find the root reference of a remote + // repository. The root reference is the default branch as pointed to by + // the remotes HEAD reference. Returns an InvalidArgument error if the + // specified remote does not exist and a NotFound error in case no HEAD + // branch was found. + FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) + mustEmbedUnimplementedRemoteServiceServer() +} + +// UnimplementedRemoteServiceServer must be embedded to have forward compatible implementations. +type UnimplementedRemoteServiceServer struct { +} + +func (UnimplementedRemoteServiceServer) UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error { + return status.Errorf(codes.Unimplemented, "method UpdateRemoteMirror not implemented") +} +func (UnimplementedRemoteServiceServer) FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRepository not implemented") +} +func (UnimplementedRemoteServiceServer) FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented") +} +func (UnimplementedRemoteServiceServer) mustEmbedUnimplementedRemoteServiceServer() {} + +// UnsafeRemoteServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RemoteServiceServer will +// result in compilation errors. +type UnsafeRemoteServiceServer interface { + mustEmbedUnimplementedRemoteServiceServer() +} + +func RegisterRemoteServiceServer(s grpc.ServiceRegistrar, srv RemoteServiceServer) { + s.RegisterService(&RemoteService_ServiceDesc, srv) +} + +func _RemoteService_UpdateRemoteMirror_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(RemoteServiceServer).UpdateRemoteMirror(&remoteServiceUpdateRemoteMirrorServer{stream}) +} + +type RemoteService_UpdateRemoteMirrorServer interface { + SendAndClose(*UpdateRemoteMirrorResponse) error + Recv() (*UpdateRemoteMirrorRequest, error) + grpc.ServerStream +} + +type remoteServiceUpdateRemoteMirrorServer struct { + grpc.ServerStream +} + +func (x *remoteServiceUpdateRemoteMirrorServer) SendAndClose(m *UpdateRemoteMirrorResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *remoteServiceUpdateRemoteMirrorServer) Recv() (*UpdateRemoteMirrorRequest, error) { + m := new(UpdateRemoteMirrorRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _RemoteService_FindRemoteRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindRemoteRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RemoteServiceServer).FindRemoteRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RemoteService/FindRemoteRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RemoteServiceServer).FindRemoteRepository(ctx, req.(*FindRemoteRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RemoteService_FindRemoteRootRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindRemoteRootRefRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RemoteService/FindRemoteRootRef", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, req.(*FindRemoteRootRefRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RemoteService_ServiceDesc is the grpc.ServiceDesc for RemoteService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RemoteService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RemoteService", + HandlerType: (*RemoteServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "FindRemoteRepository", + Handler: _RemoteService_FindRemoteRepository_Handler, + }, + { + MethodName: "FindRemoteRootRef", + Handler: _RemoteService_FindRemoteRootRef_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "UpdateRemoteMirror", + Handler: _RemoteService_UpdateRemoteMirror_Handler, + ClientStreams: true, + }, + }, + Metadata: "remote.proto", +} diff --git a/v14/proto/go/gitalypb/repository.pb.go b/v14/proto/go/gitalypb/repository.pb.go new file mode 100644 index 000000000..90f8a7e6f --- /dev/null +++ b/v14/proto/go/gitalypb/repository.pb.go @@ -0,0 +1,6753 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: repository.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type WriteCommitGraphRequest_SplitStrategy int32 + +const ( + // SizeMultiple requires to use '--split --size-multiple=4' strategy to create/update commit graph. + // https://git-scm.com/docs/git-commit-graph#Documentation/git-commit-graph.txt-emwriteem + // It is a default, there is no need to explicitly set it in the request. + WriteCommitGraphRequest_SizeMultiple WriteCommitGraphRequest_SplitStrategy = 0 // protolint:disable:this ENUM_FIELD_NAMES_UPPER_SNAKE_CASE +) + +// Enum value maps for WriteCommitGraphRequest_SplitStrategy. +var ( + WriteCommitGraphRequest_SplitStrategy_name = map[int32]string{ + 0: "SizeMultiple", + } + WriteCommitGraphRequest_SplitStrategy_value = map[string]int32{ + "SizeMultiple": 0, + } +) + +func (x WriteCommitGraphRequest_SplitStrategy) Enum() *WriteCommitGraphRequest_SplitStrategy { + p := new(WriteCommitGraphRequest_SplitStrategy) + *p = x + return p +} + +func (x WriteCommitGraphRequest_SplitStrategy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WriteCommitGraphRequest_SplitStrategy) Descriptor() protoreflect.EnumDescriptor { + return file_repository_proto_enumTypes[0].Descriptor() +} + +func (WriteCommitGraphRequest_SplitStrategy) Type() protoreflect.EnumType { + return &file_repository_proto_enumTypes[0] +} + +func (x WriteCommitGraphRequest_SplitStrategy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WriteCommitGraphRequest_SplitStrategy.Descriptor instead. +func (WriteCommitGraphRequest_SplitStrategy) EnumDescriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{10, 0} +} + +// This comment is left unintentionally blank. +type GetArchiveRequest_Format int32 + +const ( + // This comment is left unintentionally blank. + GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 + // This comment is left unintentionally blank. + GetArchiveRequest_TAR GetArchiveRequest_Format = 1 + // This comment is left unintentionally blank. + GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 + // This comment is left unintentionally blank. + GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 +) + +// Enum value maps for GetArchiveRequest_Format. +var ( + GetArchiveRequest_Format_name = map[int32]string{ + 0: "ZIP", + 1: "TAR", + 2: "TAR_GZ", + 3: "TAR_BZ2", + } + GetArchiveRequest_Format_value = map[string]int32{ + "ZIP": 0, + "TAR": 1, + "TAR_GZ": 2, + "TAR_BZ2": 3, + } +) + +func (x GetArchiveRequest_Format) Enum() *GetArchiveRequest_Format { + p := new(GetArchiveRequest_Format) + *p = x + return p +} + +func (x GetArchiveRequest_Format) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GetArchiveRequest_Format) Descriptor() protoreflect.EnumDescriptor { + return file_repository_proto_enumTypes[1].Descriptor() +} + +func (GetArchiveRequest_Format) Type() protoreflect.EnumType { + return &file_repository_proto_enumTypes[1] +} + +func (x GetArchiveRequest_Format) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GetArchiveRequest_Format.Descriptor instead. +func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{24, 0} +} + +// This comment is left unintentionally blank. +type GetRawChangesResponse_RawChange_Operation int32 + +const ( + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 + // This comment is left unintentionally blank. + GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 +) + +// Enum value maps for GetRawChangesResponse_RawChange_Operation. +var ( + GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "ADDED", + 2: "COPIED", + 3: "DELETED", + 4: "MODIFIED", + 5: "RENAMED", + 6: "TYPE_CHANGED", + } + GetRawChangesResponse_RawChange_Operation_value = map[string]int32{ + "UNKNOWN": 0, + "ADDED": 1, + "COPIED": 2, + "DELETED": 3, + "MODIFIED": 4, + "RENAMED": 5, + "TYPE_CHANGED": 6, + } +) + +func (x GetRawChangesResponse_RawChange_Operation) Enum() *GetRawChangesResponse_RawChange_Operation { + p := new(GetRawChangesResponse_RawChange_Operation) + *p = x + return p +} + +func (x GetRawChangesResponse_RawChange_Operation) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GetRawChangesResponse_RawChange_Operation) Descriptor() protoreflect.EnumDescriptor { + return file_repository_proto_enumTypes[2].Descriptor() +} + +func (GetRawChangesResponse_RawChange_Operation) Type() protoreflect.EnumType { + return &file_repository_proto_enumTypes[2] +} + +func (x GetRawChangesResponse_RawChange_Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use GetRawChangesResponse_RawChange_Operation.Descriptor instead. +func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{63, 0, 0} +} + +// This comment is left unintentionally blank. +type RepositoryExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *RepositoryExistsRequest) Reset() { + *x = RepositoryExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositoryExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryExistsRequest) ProtoMessage() {} + +func (x *RepositoryExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositoryExistsRequest.ProtoReflect.Descriptor instead. +func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{0} +} + +func (x *RepositoryExistsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type RepositoryExistsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` +} + +func (x *RepositoryExistsResponse) Reset() { + *x = RepositoryExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositoryExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryExistsResponse) ProtoMessage() {} + +func (x *RepositoryExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositoryExistsResponse.ProtoReflect.Descriptor instead. +func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{1} +} + +func (x *RepositoryExistsResponse) GetExists() bool { + if x != nil { + return x.Exists + } + return false +} + +// This comment is left unintentionally blank. +type RepackIncrementalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *RepackIncrementalRequest) Reset() { + *x = RepackIncrementalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepackIncrementalRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepackIncrementalRequest) ProtoMessage() {} + +func (x *RepackIncrementalRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepackIncrementalRequest.ProtoReflect.Descriptor instead. +func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{2} +} + +func (x *RepackIncrementalRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type RepackIncrementalResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RepackIncrementalResponse) Reset() { + *x = RepackIncrementalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepackIncrementalResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepackIncrementalResponse) ProtoMessage() {} + +func (x *RepackIncrementalResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepackIncrementalResponse.ProtoReflect.Descriptor instead. +func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{3} +} + +// This comment is left unintentionally blank. +type RepackFullRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` +} + +func (x *RepackFullRequest) Reset() { + *x = RepackFullRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepackFullRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepackFullRequest) ProtoMessage() {} + +func (x *RepackFullRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepackFullRequest.ProtoReflect.Descriptor instead. +func (*RepackFullRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{4} +} + +func (x *RepackFullRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RepackFullRequest) GetCreateBitmap() bool { + if x != nil { + return x.CreateBitmap + } + return false +} + +// This comment is left unintentionally blank. +type RepackFullResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RepackFullResponse) Reset() { + *x = RepackFullResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepackFullResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepackFullResponse) ProtoMessage() {} + +func (x *RepackFullResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepackFullResponse.ProtoReflect.Descriptor instead. +func (*RepackFullResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{5} +} + +// This comment is left unintentionally blank. +type MidxRepackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *MidxRepackRequest) Reset() { + *x = MidxRepackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MidxRepackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MidxRepackRequest) ProtoMessage() {} + +func (x *MidxRepackRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MidxRepackRequest.ProtoReflect.Descriptor instead. +func (*MidxRepackRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{6} +} + +func (x *MidxRepackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type MidxRepackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MidxRepackResponse) Reset() { + *x = MidxRepackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MidxRepackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MidxRepackResponse) ProtoMessage() {} + +func (x *MidxRepackResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MidxRepackResponse.ProtoReflect.Descriptor instead. +func (*MidxRepackResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{7} +} + +// This comment is left unintentionally blank. +type GarbageCollectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` + // If set to 'true' the 'gc' will be triggered with '--prune=30.minutes.ago' flag. + // This will remove dangling objects from the object storage that were not modified in the last 30 minutes. + // If 'false' provided the 'gc' will rely on the default expiration period (2 weeks). + // The window of 30 minutes exists because of possible concurrent operations running on the same + // storage and removal of the objects may cause races and fail concurrent operations. + Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` +} + +func (x *GarbageCollectRequest) Reset() { + *x = GarbageCollectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GarbageCollectRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GarbageCollectRequest) ProtoMessage() {} + +func (x *GarbageCollectRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GarbageCollectRequest.ProtoReflect.Descriptor instead. +func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{8} +} + +func (x *GarbageCollectRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GarbageCollectRequest) GetCreateBitmap() bool { + if x != nil { + return x.CreateBitmap + } + return false +} + +func (x *GarbageCollectRequest) GetPrune() bool { + if x != nil { + return x.Prune + } + return false +} + +// This comment is left unintentionally blank. +type GarbageCollectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GarbageCollectResponse) Reset() { + *x = GarbageCollectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GarbageCollectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GarbageCollectResponse) ProtoMessage() {} + +func (x *GarbageCollectResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GarbageCollectResponse.ProtoReflect.Descriptor instead. +func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{9} +} + +// This comment is left unintentionally blank. +type WriteCommitGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // SplitStrategy is a strategy used to create/update commit graph. + SplitStrategy WriteCommitGraphRequest_SplitStrategy `protobuf:"varint,2,opt,name=splitStrategy,proto3,enum=gitaly.WriteCommitGraphRequest_SplitStrategy" json:"splitStrategy,omitempty"` // protolint:disable:this FIELD_NAMES_LOWER_SNAKE_CASE +} + +func (x *WriteCommitGraphRequest) Reset() { + *x = WriteCommitGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteCommitGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteCommitGraphRequest) ProtoMessage() {} + +func (x *WriteCommitGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteCommitGraphRequest.ProtoReflect.Descriptor instead. +func (*WriteCommitGraphRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{10} +} + +func (x *WriteCommitGraphRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WriteCommitGraphRequest) GetSplitStrategy() WriteCommitGraphRequest_SplitStrategy { + if x != nil { + return x.SplitStrategy + } + return WriteCommitGraphRequest_SizeMultiple +} + +// This comment is left unintentionally blank. +type WriteCommitGraphResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WriteCommitGraphResponse) Reset() { + *x = WriteCommitGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteCommitGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteCommitGraphResponse) ProtoMessage() {} + +func (x *WriteCommitGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteCommitGraphResponse.ProtoReflect.Descriptor instead. +func (*WriteCommitGraphResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{11} +} + +// This comment is left unintentionally blank. +type CleanupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *CleanupRequest) Reset() { + *x = CleanupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupRequest) ProtoMessage() {} + +func (x *CleanupRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead. +func (*CleanupRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{12} +} + +func (x *CleanupRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type CleanupResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CleanupResponse) Reset() { + *x = CleanupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CleanupResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CleanupResponse) ProtoMessage() {} + +func (x *CleanupResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead. +func (*CleanupResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{13} +} + +// This comment is left unintentionally blank. +type RepositorySizeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *RepositorySizeRequest) Reset() { + *x = RepositorySizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositorySizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositorySizeRequest) ProtoMessage() {} + +func (x *RepositorySizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositorySizeRequest.ProtoReflect.Descriptor instead. +func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{14} +} + +func (x *RepositorySizeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type RepositorySizeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository size in kilobytes + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` +} + +func (x *RepositorySizeResponse) Reset() { + *x = RepositorySizeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RepositorySizeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositorySizeResponse) ProtoMessage() {} + +func (x *RepositorySizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RepositorySizeResponse.ProtoReflect.Descriptor instead. +func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{15} +} + +func (x *RepositorySizeResponse) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +// This comment is left unintentionally blank. +type ApplyGitattributesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` +} + +func (x *ApplyGitattributesRequest) Reset() { + *x = ApplyGitattributesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyGitattributesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyGitattributesRequest) ProtoMessage() {} + +func (x *ApplyGitattributesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyGitattributesRequest.ProtoReflect.Descriptor instead. +func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{16} +} + +func (x *ApplyGitattributesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ApplyGitattributesRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +// This comment is left unintentionally blank. +type ApplyGitattributesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ApplyGitattributesResponse) Reset() { + *x = ApplyGitattributesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApplyGitattributesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApplyGitattributesResponse) ProtoMessage() {} + +func (x *ApplyGitattributesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApplyGitattributesResponse.ProtoReflect.Descriptor instead. +func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{17} +} + +// This comment is left unintentionally blank. +type FetchBundleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository into which the reference shall be fetched. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Data is the bundle file stream. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // UpdateHead will update HEAD if there is a HEAD reference listed in the bundle + UpdateHead bool `protobuf:"varint,3,opt,name=update_head,json=updateHead,proto3" json:"update_head,omitempty"` +} + +func (x *FetchBundleRequest) Reset() { + *x = FetchBundleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchBundleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchBundleRequest) ProtoMessage() {} + +func (x *FetchBundleRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchBundleRequest.ProtoReflect.Descriptor instead. +func (*FetchBundleRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{18} +} + +func (x *FetchBundleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FetchBundleRequest) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *FetchBundleRequest) GetUpdateHead() bool { + if x != nil { + return x.UpdateHead + } + return false +} + +// This comment is left unintentionally blank. +type FetchBundleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *FetchBundleResponse) Reset() { + *x = FetchBundleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchBundleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchBundleResponse) ProtoMessage() {} + +func (x *FetchBundleResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchBundleResponse.ProtoReflect.Descriptor instead. +func (*FetchBundleResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{19} +} + +// This comment is left unintentionally blank. +type FetchRemoteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // force determines if references should be force-updated in case they have + // diverged. + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + // no_tags determines whether tags should be fetched. + NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags,proto3" json:"no_tags,omitempty"` + // timeout specifies a timeout for the fetch. + Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` + // This comment is left unintentionally blank. + SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` + // This comment is left unintentionally blank. + KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` + // no_prune will the fetch to not prune remote references which do not exist + // in the remote repository anymore. + NoPrune bool `protobuf:"varint,9,opt,name=no_prune,json=noPrune,proto3" json:"no_prune,omitempty"` + // remote_params specifies the remote repository which should be fetched + // from. + RemoteParams *Remote `protobuf:"bytes,10,opt,name=remote_params,json=remoteParams,proto3" json:"remote_params,omitempty"` + // If check_tags_changed is true, the FetchRemote RPC will check whether any + // tags were modified, returning the result in the tags_changed field of + // FetchRemoteResponse + CheckTagsChanged bool `protobuf:"varint,11,opt,name=check_tags_changed,json=checkTagsChanged,proto3" json:"check_tags_changed,omitempty"` +} + +func (x *FetchRemoteRequest) Reset() { + *x = FetchRemoteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchRemoteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchRemoteRequest) ProtoMessage() {} + +func (x *FetchRemoteRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchRemoteRequest.ProtoReflect.Descriptor instead. +func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{20} +} + +func (x *FetchRemoteRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FetchRemoteRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +func (x *FetchRemoteRequest) GetNoTags() bool { + if x != nil { + return x.NoTags + } + return false +} + +func (x *FetchRemoteRequest) GetTimeout() int32 { + if x != nil { + return x.Timeout + } + return 0 +} + +func (x *FetchRemoteRequest) GetSshKey() string { + if x != nil { + return x.SshKey + } + return "" +} + +func (x *FetchRemoteRequest) GetKnownHosts() string { + if x != nil { + return x.KnownHosts + } + return "" +} + +func (x *FetchRemoteRequest) GetNoPrune() bool { + if x != nil { + return x.NoPrune + } + return false +} + +func (x *FetchRemoteRequest) GetRemoteParams() *Remote { + if x != nil { + return x.RemoteParams + } + return nil +} + +func (x *FetchRemoteRequest) GetCheckTagsChanged() bool { + if x != nil { + return x.CheckTagsChanged + } + return false +} + +// This comment is left unintentionally blank. +type FetchRemoteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // If check_tags_changed was set in the FetchRemoteRequest, the FetchRemote + // RPC will return false when no tags were changed, and true if tags were + // changed or answer cannot be determined. + TagsChanged bool `protobuf:"varint,1,opt,name=tags_changed,json=tagsChanged,proto3" json:"tags_changed,omitempty"` +} + +func (x *FetchRemoteResponse) Reset() { + *x = FetchRemoteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchRemoteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchRemoteResponse) ProtoMessage() {} + +func (x *FetchRemoteResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchRemoteResponse.ProtoReflect.Descriptor instead. +func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{21} +} + +func (x *FetchRemoteResponse) GetTagsChanged() bool { + if x != nil { + return x.TagsChanged + } + return false +} + +// This comment is left unintentionally blank. +type CreateRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Provide a branch name to set as the default branch of a newly created + // repository. Note, this will be treated as the branch name and not a + // fully qualified reference. + DefaultBranch []byte `protobuf:"bytes,2,opt,name=default_branch,json=defaultBranch,proto3" json:"default_branch,omitempty"` +} + +func (x *CreateRepositoryRequest) Reset() { + *x = CreateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryRequest) ProtoMessage() {} + +func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{22} +} + +func (x *CreateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateRepositoryRequest) GetDefaultBranch() []byte { + if x != nil { + return x.DefaultBranch + } + return nil +} + +// This comment is left unintentionally blank. +type CreateRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateRepositoryResponse) Reset() { + *x = CreateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryResponse) ProtoMessage() {} + +func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{23} +} + +// This comment is left unintentionally blank. +type GetArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // This comment is left unintentionally blank. + Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` + // This comment is left unintentionally blank. + Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Exclude [][]byte `protobuf:"bytes,6,rep,name=exclude,proto3" json:"exclude,omitempty"` // protolint:disable:this REPEATED_FIELD_NAMES_PLURALIZED + // If `elide_path` is true and `path` refers to a subdirectory, that + // subdirectory will be elided from archive entries. For example, if `dir` + // contains `README.md`, with `elide_path = false` the corresponding entry + // will be `dir/README.md`; with `elide_path = true`, the entry will be + // `README.md`. `elide_path` has no effect if `path` refers to the repository + // root. `elide_path = true` is not supported if `path` refers to a file. + ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"` + // This comment is left unintentionally blank. + IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"` +} + +func (x *GetArchiveRequest) Reset() { + *x = GetArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetArchiveRequest) ProtoMessage() {} + +func (x *GetArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetArchiveRequest.ProtoReflect.Descriptor instead. +func (*GetArchiveRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{24} +} + +func (x *GetArchiveRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetArchiveRequest) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *GetArchiveRequest) GetPrefix() string { + if x != nil { + return x.Prefix + } + return "" +} + +func (x *GetArchiveRequest) GetFormat() GetArchiveRequest_Format { + if x != nil { + return x.Format + } + return GetArchiveRequest_ZIP +} + +func (x *GetArchiveRequest) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *GetArchiveRequest) GetExclude() [][]byte { + if x != nil { + return x.Exclude + } + return nil +} + +func (x *GetArchiveRequest) GetElidePath() bool { + if x != nil { + return x.ElidePath + } + return false +} + +func (x *GetArchiveRequest) GetIncludeLfsBlobs() bool { + if x != nil { + return x.IncludeLfsBlobs + } + return false +} + +// This comment is left unintentionally blank. +type GetArchiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *GetArchiveResponse) Reset() { + *x = GetArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetArchiveResponse) ProtoMessage() {} + +func (x *GetArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[25] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetArchiveResponse.ProtoReflect.Descriptor instead. +func (*GetArchiveResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{25} +} + +func (x *GetArchiveResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type HasLocalBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *HasLocalBranchesRequest) Reset() { + *x = HasLocalBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HasLocalBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HasLocalBranchesRequest) ProtoMessage() {} + +func (x *HasLocalBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HasLocalBranchesRequest.ProtoReflect.Descriptor instead. +func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{26} +} + +func (x *HasLocalBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type HasLocalBranchesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *HasLocalBranchesResponse) Reset() { + *x = HasLocalBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HasLocalBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HasLocalBranchesResponse) ProtoMessage() {} + +func (x *HasLocalBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use HasLocalBranchesResponse.ProtoReflect.Descriptor instead. +func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{27} +} + +func (x *HasLocalBranchesResponse) GetValue() bool { + if x != nil { + return x.Value + } + return false +} + +// This comment is left unintentionally blank. +type FetchSourceBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository into which the reference shall be fetched. After a successful + // call, it should contain the target reference which points to the same + // commit as the source repository's source branch. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Repository from which to fetch the source branch from. + SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` + // Name of the branch in the source repository which should be fetched. + SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` + // Name of the reference which shall be newly created in the target + // repository. + TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` +} + +func (x *FetchSourceBranchRequest) Reset() { + *x = FetchSourceBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchSourceBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchSourceBranchRequest) ProtoMessage() {} + +func (x *FetchSourceBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchSourceBranchRequest.ProtoReflect.Descriptor instead. +func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{28} +} + +func (x *FetchSourceBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FetchSourceBranchRequest) GetSourceRepository() *Repository { + if x != nil { + return x.SourceRepository + } + return nil +} + +func (x *FetchSourceBranchRequest) GetSourceBranch() []byte { + if x != nil { + return x.SourceBranch + } + return nil +} + +func (x *FetchSourceBranchRequest) GetTargetRef() []byte { + if x != nil { + return x.TargetRef + } + return nil +} + +// This comment is left unintentionally blank. +type FetchSourceBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // True if the source branch was successfully fetched into the target + // repository, false if resolving the remote reference or fetching it failed. + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` +} + +func (x *FetchSourceBranchResponse) Reset() { + *x = FetchSourceBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchSourceBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchSourceBranchResponse) ProtoMessage() {} + +func (x *FetchSourceBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchSourceBranchResponse.ProtoReflect.Descriptor instead. +func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{29} +} + +func (x *FetchSourceBranchResponse) GetResult() bool { + if x != nil { + return x.Result + } + return false +} + +// This comment is left unintentionally blank. +type FsckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *FsckRequest) Reset() { + *x = FsckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FsckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FsckRequest) ProtoMessage() {} + +func (x *FsckRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[30] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FsckRequest.ProtoReflect.Descriptor instead. +func (*FsckRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{30} +} + +func (x *FsckRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type FsckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *FsckResponse) Reset() { + *x = FsckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FsckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FsckResponse) ProtoMessage() {} + +func (x *FsckResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FsckResponse.ProtoReflect.Descriptor instead. +func (*FsckResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{31} +} + +func (x *FsckResponse) GetError() []byte { + if x != nil { + return x.Error + } + return nil +} + +// This comment is left unintentionally blank. +type WriteRefRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` + // This comment is left unintentionally blank. + Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` +} + +func (x *WriteRefRequest) Reset() { + *x = WriteRefRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteRefRequest) ProtoMessage() {} + +func (x *WriteRefRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[32] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteRefRequest.ProtoReflect.Descriptor instead. +func (*WriteRefRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{32} +} + +func (x *WriteRefRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WriteRefRequest) GetRef() []byte { + if x != nil { + return x.Ref + } + return nil +} + +func (x *WriteRefRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *WriteRefRequest) GetOldRevision() []byte { + if x != nil { + return x.OldRevision + } + return nil +} + +func (x *WriteRefRequest) GetForce() bool { + if x != nil { + return x.Force + } + return false +} + +// This comment is left unintentionally blank. +type WriteRefResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *WriteRefResponse) Reset() { + *x = WriteRefResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WriteRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WriteRefResponse) ProtoMessage() {} + +func (x *WriteRefResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[33] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WriteRefResponse.ProtoReflect.Descriptor instead. +func (*WriteRefResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{33} +} + +// This comment is left unintentionally blank. +type FindMergeBaseRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // We use a repeated field because rugged supports finding a base + // for more than 2 revisions, so if we needed that in the future we don't + // need to change the protocol. + Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` +} + +func (x *FindMergeBaseRequest) Reset() { + *x = FindMergeBaseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindMergeBaseRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindMergeBaseRequest) ProtoMessage() {} + +func (x *FindMergeBaseRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[34] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindMergeBaseRequest.ProtoReflect.Descriptor instead. +func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{34} +} + +func (x *FindMergeBaseRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *FindMergeBaseRequest) GetRevisions() [][]byte { + if x != nil { + return x.Revisions + } + return nil +} + +// This comment is left unintentionally blank. +type FindMergeBaseResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` +} + +func (x *FindMergeBaseResponse) Reset() { + *x = FindMergeBaseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindMergeBaseResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindMergeBaseResponse) ProtoMessage() {} + +func (x *FindMergeBaseResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[35] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindMergeBaseResponse.ProtoReflect.Descriptor instead. +func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{35} +} + +func (x *FindMergeBaseResponse) GetBase() string { + if x != nil { + return x.Base + } + return "" +} + +// This comment is left unintentionally blank. +type CreateForkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` +} + +func (x *CreateForkRequest) Reset() { + *x = CreateForkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateForkRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateForkRequest) ProtoMessage() {} + +func (x *CreateForkRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateForkRequest.ProtoReflect.Descriptor instead. +func (*CreateForkRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{36} +} + +func (x *CreateForkRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateForkRequest) GetSourceRepository() *Repository { + if x != nil { + return x.SourceRepository + } + return nil +} + +// This comment is left unintentionally blank. +type CreateForkResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateForkResponse) Reset() { + *x = CreateForkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateForkResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateForkResponse) ProtoMessage() {} + +func (x *CreateForkResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateForkResponse.ProtoReflect.Descriptor instead. +func (*CreateForkResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{37} +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromURLRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + // HttpHost is the hostname of the remote repository. Use this when the + // URL hostname has already been resolved to an IP address to prevent DNS + // rebinding. + HttpHost string `protobuf:"bytes,3,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` + // http_authorization_header is the HTTP header which can be added to + // the request in order to authenticate against the repository. + HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + // Mirror defines whether to clone with `--mirror` flag or `--bare`. The default + // value `false` will cause us to use `--bare`, which results in a clone that + // contains only branches (`refs/heads/`) and tags (`refs/tags/`) of the remote + // repository. If set to `true`, create a complete mirror-clone which maps all + // remote references into the local repository. + Mirror bool `protobuf:"varint,5,opt,name=mirror,proto3" json:"mirror,omitempty"` +} + +func (x *CreateRepositoryFromURLRequest) Reset() { + *x = CreateRepositoryFromURLRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromURLRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromURLRequest) ProtoMessage() {} + +func (x *CreateRepositoryFromURLRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[38] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromURLRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{38} +} + +func (x *CreateRepositoryFromURLRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateRepositoryFromURLRequest) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *CreateRepositoryFromURLRequest) GetHttpHost() string { + if x != nil { + return x.HttpHost + } + return "" +} + +func (x *CreateRepositoryFromURLRequest) GetHttpAuthorizationHeader() string { + if x != nil { + return x.HttpAuthorizationHeader + } + return "" +} + +func (x *CreateRepositoryFromURLRequest) GetMirror() bool { + if x != nil { + return x.Mirror + } + return false +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromURLResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateRepositoryFromURLResponse) Reset() { + *x = CreateRepositoryFromURLResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromURLResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromURLResponse) ProtoMessage() {} + +func (x *CreateRepositoryFromURLResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromURLResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{39} +} + +// This comment is left unintentionally blank. +type CreateBundleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *CreateBundleRequest) Reset() { + *x = CreateBundleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBundleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBundleRequest) ProtoMessage() {} + +func (x *CreateBundleRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[40] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBundleRequest.ProtoReflect.Descriptor instead. +func (*CreateBundleRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{40} +} + +func (x *CreateBundleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type CreateBundleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *CreateBundleResponse) Reset() { + *x = CreateBundleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBundleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBundleResponse) ProtoMessage() {} + +func (x *CreateBundleResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[41] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBundleResponse.ProtoReflect.Descriptor instead. +func (*CreateBundleResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{41} +} + +func (x *CreateBundleResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type CreateBundleFromRefListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository that the bundle is created from. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Patterns contains all patterns which shall be bundled. Patterns should be + // in the format accepted by git-rev-list(1). Patterns which don't match any + // reference will be silently ignored. + Patterns [][]byte `protobuf:"bytes,2,rep,name=patterns,proto3" json:"patterns,omitempty"` +} + +func (x *CreateBundleFromRefListRequest) Reset() { + *x = CreateBundleFromRefListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBundleFromRefListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBundleFromRefListRequest) ProtoMessage() {} + +func (x *CreateBundleFromRefListRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBundleFromRefListRequest.ProtoReflect.Descriptor instead. +func (*CreateBundleFromRefListRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{42} +} + +func (x *CreateBundleFromRefListRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateBundleFromRefListRequest) GetPatterns() [][]byte { + if x != nil { + return x.Patterns + } + return nil +} + +// This comment is left unintentionally blank. +type CreateBundleFromRefListResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *CreateBundleFromRefListResponse) Reset() { + *x = CreateBundleFromRefListResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateBundleFromRefListResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateBundleFromRefListResponse) ProtoMessage() {} + +func (x *CreateBundleFromRefListResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateBundleFromRefListResponse.ProtoReflect.Descriptor instead. +func (*CreateBundleFromRefListResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{43} +} + +func (x *CreateBundleFromRefListResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// GetConfigRequest is a request for the GetConfig RPC. +type GetConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository from which the configuration should be read + // from. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *GetConfigRequest) Reset() { + *x = GetConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetConfigRequest) ProtoMessage() {} + +func (x *GetConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead. +func (*GetConfigRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{44} +} + +func (x *GetConfigRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// GetConfigResponse is a response for the GetConfig RPC. +type GetConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Data contains contents of the gitconfig. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *GetConfigResponse) Reset() { + *x = GetConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetConfigResponse) ProtoMessage() {} + +func (x *GetConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead. +func (*GetConfigResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{45} +} + +func (x *GetConfigResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type RestoreCustomHooksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *RestoreCustomHooksRequest) Reset() { + *x = RestoreCustomHooksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreCustomHooksRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreCustomHooksRequest) ProtoMessage() {} + +func (x *RestoreCustomHooksRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreCustomHooksRequest.ProtoReflect.Descriptor instead. +func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{46} +} + +func (x *RestoreCustomHooksRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RestoreCustomHooksRequest) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type RestoreCustomHooksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RestoreCustomHooksResponse) Reset() { + *x = RestoreCustomHooksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RestoreCustomHooksResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RestoreCustomHooksResponse) ProtoMessage() {} + +func (x *RestoreCustomHooksResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RestoreCustomHooksResponse.ProtoReflect.Descriptor instead. +func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{47} +} + +// This comment is left unintentionally blank. +type BackupCustomHooksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *BackupCustomHooksRequest) Reset() { + *x = BackupCustomHooksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupCustomHooksRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupCustomHooksRequest) ProtoMessage() {} + +func (x *BackupCustomHooksRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[48] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupCustomHooksRequest.ProtoReflect.Descriptor instead. +func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{48} +} + +func (x *BackupCustomHooksRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type BackupCustomHooksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *BackupCustomHooksResponse) Reset() { + *x = BackupCustomHooksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BackupCustomHooksResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BackupCustomHooksResponse) ProtoMessage() {} + +func (x *BackupCustomHooksResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[49] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use BackupCustomHooksResponse.ProtoReflect.Descriptor instead. +func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{49} +} + +func (x *BackupCustomHooksResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromBundleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Only available on the first message + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *CreateRepositoryFromBundleRequest) Reset() { + *x = CreateRepositoryFromBundleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromBundleRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromBundleRequest) ProtoMessage() {} + +func (x *CreateRepositoryFromBundleRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[50] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromBundleRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{50} +} + +func (x *CreateRepositoryFromBundleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateRepositoryFromBundleRequest) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromBundleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateRepositoryFromBundleResponse) Reset() { + *x = CreateRepositoryFromBundleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromBundleResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromBundleResponse) ProtoMessage() {} + +func (x *CreateRepositoryFromBundleResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[51] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromBundleResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{51} +} + +// This comment is left unintentionally blank. +type FindLicenseRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *FindLicenseRequest) Reset() { + *x = FindLicenseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLicenseRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLicenseRequest) ProtoMessage() {} + +func (x *FindLicenseRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[52] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLicenseRequest.ProtoReflect.Descriptor instead. +func (*FindLicenseRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{52} +} + +func (x *FindLicenseRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type FindLicenseResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` +} + +func (x *FindLicenseResponse) Reset() { + *x = FindLicenseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FindLicenseResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindLicenseResponse) ProtoMessage() {} + +func (x *FindLicenseResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[53] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindLicenseResponse.ProtoReflect.Descriptor instead. +func (*FindLicenseResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{53} +} + +func (x *FindLicenseResponse) GetLicenseShortName() string { + if x != nil { + return x.LicenseShortName + } + return "" +} + +// This comment is left unintentionally blank. +type GetInfoAttributesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *GetInfoAttributesRequest) Reset() { + *x = GetInfoAttributesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfoAttributesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfoAttributesRequest) ProtoMessage() {} + +func (x *GetInfoAttributesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[54] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetInfoAttributesRequest.ProtoReflect.Descriptor instead. +func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{54} +} + +func (x *GetInfoAttributesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type GetInfoAttributesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` +} + +func (x *GetInfoAttributesResponse) Reset() { + *x = GetInfoAttributesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetInfoAttributesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetInfoAttributesResponse) ProtoMessage() {} + +func (x *GetInfoAttributesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[55] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetInfoAttributesResponse.ProtoReflect.Descriptor instead. +func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{55} +} + +func (x *GetInfoAttributesResponse) GetAttributes() []byte { + if x != nil { + return x.Attributes + } + return nil +} + +// This comment is left unintentionally blank. +type CalculateChecksumRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *CalculateChecksumRequest) Reset() { + *x = CalculateChecksumRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CalculateChecksumRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CalculateChecksumRequest) ProtoMessage() {} + +func (x *CalculateChecksumRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[56] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CalculateChecksumRequest.ProtoReflect.Descriptor instead. +func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{56} +} + +func (x *CalculateChecksumRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type CalculateChecksumResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` +} + +func (x *CalculateChecksumResponse) Reset() { + *x = CalculateChecksumResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CalculateChecksumResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CalculateChecksumResponse) ProtoMessage() {} + +func (x *CalculateChecksumResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[57] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CalculateChecksumResponse.ProtoReflect.Descriptor instead. +func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{57} +} + +func (x *CalculateChecksumResponse) GetChecksum() string { + if x != nil { + return x.Checksum + } + return "" +} + +// This comment is left unintentionally blank. +type GetSnapshotRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *GetSnapshotRequest) Reset() { + *x = GetSnapshotRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSnapshotRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSnapshotRequest) ProtoMessage() {} + +func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[58] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead. +func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{58} +} + +func (x *GetSnapshotRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type GetSnapshotResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *GetSnapshotResponse) Reset() { + *x = GetSnapshotResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSnapshotResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSnapshotResponse) ProtoMessage() {} + +func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[59] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead. +func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{59} +} + +func (x *GetSnapshotResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromSnapshotRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` + // This comment is left unintentionally blank. + HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` + // HttpHost is the hostname of the remote snapshot. Use this when the + // URL hostname has already been resolved to an IP address to prevent DNS + // rebinding. + HttpHost string `protobuf:"bytes,4,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` +} + +func (x *CreateRepositoryFromSnapshotRequest) Reset() { + *x = CreateRepositoryFromSnapshotRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromSnapshotRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {} + +func (x *CreateRepositoryFromSnapshotRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[60] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromSnapshotRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{60} +} + +func (x *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string { + if x != nil { + return x.HttpUrl + } + return "" +} + +func (x *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string { + if x != nil { + return x.HttpAuth + } + return "" +} + +func (x *CreateRepositoryFromSnapshotRequest) GetHttpHost() string { + if x != nil { + return x.HttpHost + } + return "" +} + +// This comment is left unintentionally blank. +type CreateRepositoryFromSnapshotResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CreateRepositoryFromSnapshotResponse) Reset() { + *x = CreateRepositoryFromSnapshotResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateRepositoryFromSnapshotResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {} + +func (x *CreateRepositoryFromSnapshotResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[61] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CreateRepositoryFromSnapshotResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{61} +} + +// This comment is left unintentionally blank. +type GetRawChangesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` + // This comment is left unintentionally blank. + ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` +} + +func (x *GetRawChangesRequest) Reset() { + *x = GetRawChangesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRawChangesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRawChangesRequest) ProtoMessage() {} + +func (x *GetRawChangesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[62] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRawChangesRequest.ProtoReflect.Descriptor instead. +func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{62} +} + +func (x *GetRawChangesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *GetRawChangesRequest) GetFromRevision() string { + if x != nil { + return x.FromRevision + } + return "" +} + +func (x *GetRawChangesRequest) GetToRevision() string { + if x != nil { + return x.ToRevision + } + return "" +} + +// This comment is left unintentionally blank. +type GetRawChangesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` +} + +func (x *GetRawChangesResponse) Reset() { + *x = GetRawChangesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRawChangesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRawChangesResponse) ProtoMessage() {} + +func (x *GetRawChangesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRawChangesResponse.ProtoReflect.Descriptor instead. +func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{63} +} + +func (x *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange { + if x != nil { + return x.RawChanges + } + return nil +} + +// This comment is left unintentionally blank. +type SearchFilesByNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // This comment is left unintentionally blank. + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + // If `filter` is specified and non-empty, it will be parsed as a regular + // expression and used to filter the result set before it is transmitted. It is + // parsed using Go's `regexp` package, which is closely related to PCRE, + // excluding backreferences, atomic/possesive operators, and some other + // features. It has a maximum length of 1000 bytes. + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` +} + +func (x *SearchFilesByNameRequest) Reset() { + *x = SearchFilesByNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchFilesByNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchFilesByNameRequest) ProtoMessage() {} + +func (x *SearchFilesByNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[64] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchFilesByNameRequest.ProtoReflect.Descriptor instead. +func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{64} +} + +func (x *SearchFilesByNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SearchFilesByNameRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *SearchFilesByNameRequest) GetRef() []byte { + if x != nil { + return x.Ref + } + return nil +} + +func (x *SearchFilesByNameRequest) GetFilter() string { + if x != nil { + return x.Filter + } + return "" +} + +// This comment is left unintentionally blank. +type SearchFilesByNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` +} + +func (x *SearchFilesByNameResponse) Reset() { + *x = SearchFilesByNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchFilesByNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchFilesByNameResponse) ProtoMessage() {} + +func (x *SearchFilesByNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchFilesByNameResponse.ProtoReflect.Descriptor instead. +func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{65} +} + +func (x *SearchFilesByNameResponse) GetFiles() [][]byte { + if x != nil { + return x.Files + } + return nil +} + +// This comment is left unintentionally blank. +type SearchFilesByContentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + // This comment is left unintentionally blank. + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + // This comment is left unintentionally blank. + ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` +} + +func (x *SearchFilesByContentRequest) Reset() { + *x = SearchFilesByContentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchFilesByContentRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchFilesByContentRequest) ProtoMessage() {} + +func (x *SearchFilesByContentRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[66] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchFilesByContentRequest.ProtoReflect.Descriptor instead. +func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{66} +} + +func (x *SearchFilesByContentRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SearchFilesByContentRequest) GetQuery() string { + if x != nil { + return x.Query + } + return "" +} + +func (x *SearchFilesByContentRequest) GetRef() []byte { + if x != nil { + return x.Ref + } + return nil +} + +func (x *SearchFilesByContentRequest) GetChunkedResponse() bool { + if x != nil { + return x.ChunkedResponse + } + return false +} + +// This comment is left unintentionally blank. +type SearchFilesByContentResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` + // This comment is left unintentionally blank. + MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` + // This comment is left unintentionally blank. + EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` +} + +func (x *SearchFilesByContentResponse) Reset() { + *x = SearchFilesByContentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SearchFilesByContentResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SearchFilesByContentResponse) ProtoMessage() {} + +func (x *SearchFilesByContentResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SearchFilesByContentResponse.ProtoReflect.Descriptor instead. +func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{67} +} + +func (x *SearchFilesByContentResponse) GetMatches() [][]byte { + if x != nil { + return x.Matches + } + return nil +} + +func (x *SearchFilesByContentResponse) GetMatchData() []byte { + if x != nil { + return x.MatchData + } + return nil +} + +func (x *SearchFilesByContentResponse) GetEndOfMatch() bool { + if x != nil { + return x.EndOfMatch + } + return false +} + +// Remote represents a git remote repository. +type Remote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // url is the URL of the remote repository. + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + // http_authorization_header is the HTTP header which should be added to + // the request in order to authenticate against the repository. + HttpAuthorizationHeader string `protobuf:"bytes,3,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + // mirror_refmaps contains the refspecs which shall be fetched. Some special + // refspecs are accepted: + // + // - "all_refs" gets translated to "+refs/*:refs/*", which mirrors all + // references of the source repository. + // - "heads" gets translated to "+refs/heads/*:refs/heads/*", which mirrors + // all branches of the source repository. + // - "tags" gets translated to "+refs/tags/*:refs/tags/*", which mirrors all + // tags of the source repository. + // + // If no refspecs are given, this defaults to "all_refs". + MirrorRefmaps []string `protobuf:"bytes,4,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` + // HttpHost is the hostname of the remote repository. Use this when the + // URL hostname has already been resolved to an IP address to prevent DNS + // rebinding. + HttpHost string `protobuf:"bytes,5,opt,name=http_host,json=httpHost,proto3" json:"http_host,omitempty"` +} + +func (x *Remote) Reset() { + *x = Remote{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Remote) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Remote) ProtoMessage() {} + +func (x *Remote) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[68] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Remote.ProtoReflect.Descriptor instead. +func (*Remote) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{68} +} + +func (x *Remote) GetUrl() string { + if x != nil { + return x.Url + } + return "" +} + +func (x *Remote) GetHttpAuthorizationHeader() string { + if x != nil { + return x.HttpAuthorizationHeader + } + return "" +} + +func (x *Remote) GetMirrorRefmaps() []string { + if x != nil { + return x.MirrorRefmaps + } + return nil +} + +func (x *Remote) GetHttpHost() string { + if x != nil { + return x.HttpHost + } + return "" +} + +// This comment is left unintentionally blank. +type GetObjectDirectorySizeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *GetObjectDirectorySizeRequest) Reset() { + *x = GetObjectDirectorySizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetObjectDirectorySizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetObjectDirectorySizeRequest) ProtoMessage() {} + +func (x *GetObjectDirectorySizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[69] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetObjectDirectorySizeRequest.ProtoReflect.Descriptor instead. +func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{69} +} + +func (x *GetObjectDirectorySizeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type GetObjectDirectorySizeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Object directory size in kilobytes + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` +} + +func (x *GetObjectDirectorySizeResponse) Reset() { + *x = GetObjectDirectorySizeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetObjectDirectorySizeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetObjectDirectorySizeResponse) ProtoMessage() {} + +func (x *GetObjectDirectorySizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[70] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetObjectDirectorySizeResponse.ProtoReflect.Descriptor instead. +func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{70} +} + +func (x *GetObjectDirectorySizeResponse) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +// This comment is left unintentionally blank. +type RemoveRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *RemoveRepositoryRequest) Reset() { + *x = RemoveRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRepositoryRequest) ProtoMessage() {} + +func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[71] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveRepositoryRequest.ProtoReflect.Descriptor instead. +func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{71} +} + +func (x *RemoveRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type RemoveRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RemoveRepositoryResponse) Reset() { + *x = RemoveRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRepositoryResponse) ProtoMessage() {} + +func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[72] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RemoveRepositoryResponse.ProtoReflect.Descriptor instead. +func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{72} +} + +// This comment is left unintentionally blank. +type RenameRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` +} + +func (x *RenameRepositoryRequest) Reset() { + *x = RenameRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RenameRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RenameRepositoryRequest) ProtoMessage() {} + +func (x *RenameRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[73] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RenameRepositoryRequest.ProtoReflect.Descriptor instead. +func (*RenameRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{73} +} + +func (x *RenameRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *RenameRepositoryRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +// This comment is left unintentionally blank. +type RenameRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RenameRepositoryResponse) Reset() { + *x = RenameRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RenameRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RenameRepositoryResponse) ProtoMessage() {} + +func (x *RenameRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[74] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RenameRepositoryResponse.ProtoReflect.Descriptor instead. +func (*RenameRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{74} +} + +// This comment is left unintentionally blank. +type ReplicateRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` +} + +func (x *ReplicateRepositoryRequest) Reset() { + *x = ReplicateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicateRepositoryRequest) ProtoMessage() {} + +func (x *ReplicateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[75] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{75} +} + +func (x *ReplicateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *ReplicateRepositoryRequest) GetSource() *Repository { + if x != nil { + return x.Source + } + return nil +} + +// This comment is left unintentionally blank. +type ReplicateRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicateRepositoryResponse) Reset() { + *x = ReplicateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReplicateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReplicateRepositoryResponse) ProtoMessage() {} + +func (x *ReplicateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[76] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ReplicateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*ReplicateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{76} +} + +// This comment is left unintentionally blank. +type OptimizeRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *OptimizeRepositoryRequest) Reset() { + *x = OptimizeRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OptimizeRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OptimizeRepositoryRequest) ProtoMessage() {} + +func (x *OptimizeRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[77] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OptimizeRepositoryRequest.ProtoReflect.Descriptor instead. +func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{77} +} + +func (x *OptimizeRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type OptimizeRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *OptimizeRepositoryResponse) Reset() { + *x = OptimizeRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *OptimizeRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*OptimizeRepositoryResponse) ProtoMessage() {} + +func (x *OptimizeRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[78] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use OptimizeRepositoryResponse.ProtoReflect.Descriptor instead. +func (*OptimizeRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{78} +} + +// PruneUnreachableObjectsRequest is a request for the PruneUnreachableObjects +// RPC call. +type PruneUnreachableObjectsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *PruneUnreachableObjectsRequest) Reset() { + *x = PruneUnreachableObjectsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PruneUnreachableObjectsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PruneUnreachableObjectsRequest) ProtoMessage() {} + +func (x *PruneUnreachableObjectsRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[79] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PruneUnreachableObjectsRequest.ProtoReflect.Descriptor instead. +func (*PruneUnreachableObjectsRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{79} +} + +func (x *PruneUnreachableObjectsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// PruneUnreachableObjectsResponse is a response for the +// PruneUnreachableObjects RPC call. +type PruneUnreachableObjectsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PruneUnreachableObjectsResponse) Reset() { + *x = PruneUnreachableObjectsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PruneUnreachableObjectsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PruneUnreachableObjectsResponse) ProtoMessage() {} + +func (x *PruneUnreachableObjectsResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[80] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PruneUnreachableObjectsResponse.ProtoReflect.Descriptor instead. +func (*PruneUnreachableObjectsResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{80} +} + +// SetFullPathRequest is a request for the SetFullPath RPC. +type SetFullPathRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Repository is the repository whose gitconfig should be written to. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Path is the path that shall be written into the "gitlab.fullpath" config key. + Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *SetFullPathRequest) Reset() { + *x = SetFullPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFullPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFullPathRequest) ProtoMessage() {} + +func (x *SetFullPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[81] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFullPathRequest.ProtoReflect.Descriptor instead. +func (*SetFullPathRequest) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{81} +} + +func (x *SetFullPathRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SetFullPathRequest) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +// SetFullPathResponse is a response fqor the SetFullPath RPC. +type SetFullPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SetFullPathResponse) Reset() { + *x = SetFullPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetFullPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetFullPathResponse) ProtoMessage() {} + +func (x *SetFullPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[82] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SetFullPathResponse.ProtoReflect.Descriptor instead. +func (*SetFullPathResponse) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{82} +} + +// This comment is left unintentionally blank. +type GetRawChangesResponse_RawChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` + // This comment is left unintentionally blank. + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // This comment is left unintentionally blank. + Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"` + // This comment is left unintentionally blank. + RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` + // This comment is left unintentionally blank. + OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + // This comment is left unintentionally blank. + NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` + // the following fields, 9 and 10, will eventually replace 3 and 4 + NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"` + // This comment is left unintentionally blank. + OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` +} + +func (x *GetRawChangesResponse_RawChange) Reset() { + *x = GetRawChangesResponse_RawChange{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetRawChangesResponse_RawChange) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetRawChangesResponse_RawChange) ProtoMessage() {} + +func (x *GetRawChangesResponse_RawChange) ProtoReflect() protoreflect.Message { + mi := &file_repository_proto_msgTypes[83] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetRawChangesResponse_RawChange.ProtoReflect.Descriptor instead. +func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) { + return file_repository_proto_rawDescGZIP(), []int{63, 0} +} + +func (x *GetRawChangesResponse_RawChange) GetBlobId() string { + if x != nil { + return x.BlobId + } + return "" +} + +func (x *GetRawChangesResponse_RawChange) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation { + if x != nil { + return x.Operation + } + return GetRawChangesResponse_RawChange_UNKNOWN +} + +func (x *GetRawChangesResponse_RawChange) GetRawOperation() string { + if x != nil { + return x.RawOperation + } + return "" +} + +func (x *GetRawChangesResponse_RawChange) GetOldMode() int32 { + if x != nil { + return x.OldMode + } + return 0 +} + +func (x *GetRawChangesResponse_RawChange) GetNewMode() int32 { + if x != nil { + return x.NewMode + } + return 0 +} + +func (x *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte { + if x != nil { + return x.NewPathBytes + } + return nil +} + +func (x *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte { + if x != nil { + return x.OldPathBytes + } + return nil +} + +var File_repository_proto protoreflect.FileDescriptor + +var file_repository_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x32, 0x0a, 0x18, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0x54, 0x0a, + 0x18, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x72, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x70, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, + 0x74, 0x6d, 0x61, 0x70, 0x22, 0x14, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, + 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x11, 0x4d, 0x69, + 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x4d, 0x69, 0x64, + 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x8c, 0x01, 0x0a, 0x15, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, + 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x69, + 0x74, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x75, 0x6e, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x22, 0x18, + 0x0a, 0x16, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x17, 0x57, 0x72, 0x69, + 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x53, + 0x0a, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, + 0x65, 0x67, 0x79, 0x22, 0x21, 0x0a, 0x0d, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, + 0x74, 0x65, 0x67, 0x79, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x75, 0x6c, 0x74, + 0x69, 0x70, 0x6c, 0x65, 0x10, 0x00, 0x22, 0x1a, 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4a, 0x0a, 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x11, + 0x0a, 0x0f, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, + 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2c, 0x0a, 0x16, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, + 0x7a, 0x65, 0x22, 0x71, 0x0a, 0x19, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, + 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x61, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xe3, 0x02, 0x0a, 0x12, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x74, 0x61, + 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x54, 0x61, 0x67, 0x73, + 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x73, + 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x68, + 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, + 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, + 0x6f, 0x73, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x5f, 0x70, 0x72, 0x75, 0x6e, 0x65, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x6f, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x12, + 0x33, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x74, 0x61, + 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x06, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x22, 0x38, 0x0a, 0x13, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x22, 0x7a, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x64, + 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x22, 0x1a, 0x0a, 0x18, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x38, 0x0a, + 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, + 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x65, + 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x78, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6c, 0x69, 0x64, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, + 0x6c, 0x66, 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4c, 0x66, 0x73, 0x42, 0x6c, 0x6f, 0x62, 0x73, + 0x22, 0x33, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x5a, 0x49, + 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, + 0x54, 0x41, 0x52, 0x5f, 0x47, 0x5a, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x52, 0x5f, + 0x42, 0x5a, 0x32, 0x10, 0x03, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, + 0x53, 0x0a, 0x17, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x30, 0x0a, 0x18, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, + 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, + 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, + 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, + 0x65, 0x66, 0x22, 0x33, 0x0a, 0x19, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x47, 0x0a, 0x0b, 0x46, 0x73, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x22, 0x24, 0x0a, 0x0c, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb8, 0x01, 0x0a, 0x0f, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x06, 0x10, + 0x07, 0x22, 0x18, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x6e, 0x0a, 0x14, 0x46, + 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, + 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2b, 0x0a, 0x15, 0x46, + 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xdd, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1b, + 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x19, 0x68, + 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, + 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x21, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, + 0x76, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, + 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x70, + 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x22, 0x35, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, + 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4c, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x27, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x69, 0x0a, 0x19, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, + 0x0a, 0x18, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, + 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x22, 0x2f, 0x0a, 0x19, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x21, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, + 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, + 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x43, + 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, + 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3b, 0x0a, 0x19, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x54, 0x0a, 0x18, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x37, 0x0a, 0x19, + 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x22, 0x4e, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x29, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0xb4, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, + 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, + 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, + 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x22, 0x26, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x96, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, + 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x9f, 0x04, 0x0a, 0x15, 0x47, 0x65, 0x74, + 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x72, 0x61, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x0a, 0x72, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xbb, 0x03, 0x0a, + 0x09, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x6c, + 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x6c, 0x6f, + 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x61, 0x77, 0x5f, + 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x72, 0x61, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, + 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, + 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, + 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6e, 0x65, 0x77, + 0x50, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, + 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, + 0x69, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, + 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, + 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x02, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, + 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, + 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x44, 0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, + 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x22, 0x94, 0x01, 0x0a, 0x18, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x22, 0x31, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x66, + 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, + 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, + 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x79, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, + 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x22, 0xa6, 0x01, 0x0a, + 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, + 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, + 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, + 0x72, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, + 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x12, 0x1b, 0x0a, 0x09, + 0x68, 0x74, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x68, 0x74, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x59, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x22, 0x34, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1a, 0x0a, 0x18, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x78, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, + 0x68, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x82, 0x01, + 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x55, 0x0a, 0x19, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x1c, 0x0a, 0x1a, 0x4f, 0x70, 0x74, 0x69, + 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5a, 0x0a, 0x1e, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, + 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x22, 0x21, 0x0a, 0x1f, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, + 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x62, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, + 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x65, 0x74, + 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x32, 0x9c, 0x1e, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, + 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x63, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x4e, 0x0a, 0x0a, 0x52, 0x65, + 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x4e, 0x0a, 0x0a, 0x4d, 0x69, + 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x69, 0x64, + 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x09, 0x88, 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x5a, 0x0a, 0x0e, 0x47, 0x61, + 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x60, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, + 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, + 0x02, 0x01, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x57, 0x0a, 0x0e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, + 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x12, 0x63, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x76, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, + 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x12, 0x60, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x39, 0x0a, 0x04, 0x46, 0x73, 0x63, 0x6b, 0x12, 0x13, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x12, 0x45, 0x0a, 0x08, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x12, 0x17, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6e, 0x64, 0x4d, + 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, + 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x72, 0x0a, 0x17, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, + 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, + 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x53, + 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1b, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, + 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x76, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, + 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x26, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, + 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x52, 0x65, 0x66, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x7d, 0x0a, + 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x29, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x4a, 0x0a, 0x09, + 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, + 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x11, + 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, 0x63, 0x75, + 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, + 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x45, + 0x0a, 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, + 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x09, 0x88, 0x02, 0x01, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, + 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, + 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, + 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, + 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x47, + 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, + 0x12, 0x62, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, + 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x42, + 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, + 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x6f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, + 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, + 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x63, 0x0a, 0x12, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, + 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, 0x72, 0x0a, 0x17, 0x50, + 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x75, 0x6e, 0x65, 0x55, 0x6e, 0x72, + 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x03, 0x12, + 0x4e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, + 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, + 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, + 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_repository_proto_rawDescOnce sync.Once + file_repository_proto_rawDescData = file_repository_proto_rawDesc +) + +func file_repository_proto_rawDescGZIP() []byte { + file_repository_proto_rawDescOnce.Do(func() { + file_repository_proto_rawDescData = protoimpl.X.CompressGZIP(file_repository_proto_rawDescData) + }) + return file_repository_proto_rawDescData +} + +var file_repository_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_repository_proto_msgTypes = make([]protoimpl.MessageInfo, 84) +var file_repository_proto_goTypes = []interface{}{ + (WriteCommitGraphRequest_SplitStrategy)(0), // 0: gitaly.WriteCommitGraphRequest.SplitStrategy + (GetArchiveRequest_Format)(0), // 1: gitaly.GetArchiveRequest.Format + (GetRawChangesResponse_RawChange_Operation)(0), // 2: gitaly.GetRawChangesResponse.RawChange.Operation + (*RepositoryExistsRequest)(nil), // 3: gitaly.RepositoryExistsRequest + (*RepositoryExistsResponse)(nil), // 4: gitaly.RepositoryExistsResponse + (*RepackIncrementalRequest)(nil), // 5: gitaly.RepackIncrementalRequest + (*RepackIncrementalResponse)(nil), // 6: gitaly.RepackIncrementalResponse + (*RepackFullRequest)(nil), // 7: gitaly.RepackFullRequest + (*RepackFullResponse)(nil), // 8: gitaly.RepackFullResponse + (*MidxRepackRequest)(nil), // 9: gitaly.MidxRepackRequest + (*MidxRepackResponse)(nil), // 10: gitaly.MidxRepackResponse + (*GarbageCollectRequest)(nil), // 11: gitaly.GarbageCollectRequest + (*GarbageCollectResponse)(nil), // 12: gitaly.GarbageCollectResponse + (*WriteCommitGraphRequest)(nil), // 13: gitaly.WriteCommitGraphRequest + (*WriteCommitGraphResponse)(nil), // 14: gitaly.WriteCommitGraphResponse + (*CleanupRequest)(nil), // 15: gitaly.CleanupRequest + (*CleanupResponse)(nil), // 16: gitaly.CleanupResponse + (*RepositorySizeRequest)(nil), // 17: gitaly.RepositorySizeRequest + (*RepositorySizeResponse)(nil), // 18: gitaly.RepositorySizeResponse + (*ApplyGitattributesRequest)(nil), // 19: gitaly.ApplyGitattributesRequest + (*ApplyGitattributesResponse)(nil), // 20: gitaly.ApplyGitattributesResponse + (*FetchBundleRequest)(nil), // 21: gitaly.FetchBundleRequest + (*FetchBundleResponse)(nil), // 22: gitaly.FetchBundleResponse + (*FetchRemoteRequest)(nil), // 23: gitaly.FetchRemoteRequest + (*FetchRemoteResponse)(nil), // 24: gitaly.FetchRemoteResponse + (*CreateRepositoryRequest)(nil), // 25: gitaly.CreateRepositoryRequest + (*CreateRepositoryResponse)(nil), // 26: gitaly.CreateRepositoryResponse + (*GetArchiveRequest)(nil), // 27: gitaly.GetArchiveRequest + (*GetArchiveResponse)(nil), // 28: gitaly.GetArchiveResponse + (*HasLocalBranchesRequest)(nil), // 29: gitaly.HasLocalBranchesRequest + (*HasLocalBranchesResponse)(nil), // 30: gitaly.HasLocalBranchesResponse + (*FetchSourceBranchRequest)(nil), // 31: gitaly.FetchSourceBranchRequest + (*FetchSourceBranchResponse)(nil), // 32: gitaly.FetchSourceBranchResponse + (*FsckRequest)(nil), // 33: gitaly.FsckRequest + (*FsckResponse)(nil), // 34: gitaly.FsckResponse + (*WriteRefRequest)(nil), // 35: gitaly.WriteRefRequest + (*WriteRefResponse)(nil), // 36: gitaly.WriteRefResponse + (*FindMergeBaseRequest)(nil), // 37: gitaly.FindMergeBaseRequest + (*FindMergeBaseResponse)(nil), // 38: gitaly.FindMergeBaseResponse + (*CreateForkRequest)(nil), // 39: gitaly.CreateForkRequest + (*CreateForkResponse)(nil), // 40: gitaly.CreateForkResponse + (*CreateRepositoryFromURLRequest)(nil), // 41: gitaly.CreateRepositoryFromURLRequest + (*CreateRepositoryFromURLResponse)(nil), // 42: gitaly.CreateRepositoryFromURLResponse + (*CreateBundleRequest)(nil), // 43: gitaly.CreateBundleRequest + (*CreateBundleResponse)(nil), // 44: gitaly.CreateBundleResponse + (*CreateBundleFromRefListRequest)(nil), // 45: gitaly.CreateBundleFromRefListRequest + (*CreateBundleFromRefListResponse)(nil), // 46: gitaly.CreateBundleFromRefListResponse + (*GetConfigRequest)(nil), // 47: gitaly.GetConfigRequest + (*GetConfigResponse)(nil), // 48: gitaly.GetConfigResponse + (*RestoreCustomHooksRequest)(nil), // 49: gitaly.RestoreCustomHooksRequest + (*RestoreCustomHooksResponse)(nil), // 50: gitaly.RestoreCustomHooksResponse + (*BackupCustomHooksRequest)(nil), // 51: gitaly.BackupCustomHooksRequest + (*BackupCustomHooksResponse)(nil), // 52: gitaly.BackupCustomHooksResponse + (*CreateRepositoryFromBundleRequest)(nil), // 53: gitaly.CreateRepositoryFromBundleRequest + (*CreateRepositoryFromBundleResponse)(nil), // 54: gitaly.CreateRepositoryFromBundleResponse + (*FindLicenseRequest)(nil), // 55: gitaly.FindLicenseRequest + (*FindLicenseResponse)(nil), // 56: gitaly.FindLicenseResponse + (*GetInfoAttributesRequest)(nil), // 57: gitaly.GetInfoAttributesRequest + (*GetInfoAttributesResponse)(nil), // 58: gitaly.GetInfoAttributesResponse + (*CalculateChecksumRequest)(nil), // 59: gitaly.CalculateChecksumRequest + (*CalculateChecksumResponse)(nil), // 60: gitaly.CalculateChecksumResponse + (*GetSnapshotRequest)(nil), // 61: gitaly.GetSnapshotRequest + (*GetSnapshotResponse)(nil), // 62: gitaly.GetSnapshotResponse + (*CreateRepositoryFromSnapshotRequest)(nil), // 63: gitaly.CreateRepositoryFromSnapshotRequest + (*CreateRepositoryFromSnapshotResponse)(nil), // 64: gitaly.CreateRepositoryFromSnapshotResponse + (*GetRawChangesRequest)(nil), // 65: gitaly.GetRawChangesRequest + (*GetRawChangesResponse)(nil), // 66: gitaly.GetRawChangesResponse + (*SearchFilesByNameRequest)(nil), // 67: gitaly.SearchFilesByNameRequest + (*SearchFilesByNameResponse)(nil), // 68: gitaly.SearchFilesByNameResponse + (*SearchFilesByContentRequest)(nil), // 69: gitaly.SearchFilesByContentRequest + (*SearchFilesByContentResponse)(nil), // 70: gitaly.SearchFilesByContentResponse + (*Remote)(nil), // 71: gitaly.Remote + (*GetObjectDirectorySizeRequest)(nil), // 72: gitaly.GetObjectDirectorySizeRequest + (*GetObjectDirectorySizeResponse)(nil), // 73: gitaly.GetObjectDirectorySizeResponse + (*RemoveRepositoryRequest)(nil), // 74: gitaly.RemoveRepositoryRequest + (*RemoveRepositoryResponse)(nil), // 75: gitaly.RemoveRepositoryResponse + (*RenameRepositoryRequest)(nil), // 76: gitaly.RenameRepositoryRequest + (*RenameRepositoryResponse)(nil), // 77: gitaly.RenameRepositoryResponse + (*ReplicateRepositoryRequest)(nil), // 78: gitaly.ReplicateRepositoryRequest + (*ReplicateRepositoryResponse)(nil), // 79: gitaly.ReplicateRepositoryResponse + (*OptimizeRepositoryRequest)(nil), // 80: gitaly.OptimizeRepositoryRequest + (*OptimizeRepositoryResponse)(nil), // 81: gitaly.OptimizeRepositoryResponse + (*PruneUnreachableObjectsRequest)(nil), // 82: gitaly.PruneUnreachableObjectsRequest + (*PruneUnreachableObjectsResponse)(nil), // 83: gitaly.PruneUnreachableObjectsResponse + (*SetFullPathRequest)(nil), // 84: gitaly.SetFullPathRequest + (*SetFullPathResponse)(nil), // 85: gitaly.SetFullPathResponse + (*GetRawChangesResponse_RawChange)(nil), // 86: gitaly.GetRawChangesResponse.RawChange + (*Repository)(nil), // 87: gitaly.Repository +} +var file_repository_proto_depIdxs = []int32{ + 87, // 0: gitaly.RepositoryExistsRequest.repository:type_name -> gitaly.Repository + 87, // 1: gitaly.RepackIncrementalRequest.repository:type_name -> gitaly.Repository + 87, // 2: gitaly.RepackFullRequest.repository:type_name -> gitaly.Repository + 87, // 3: gitaly.MidxRepackRequest.repository:type_name -> gitaly.Repository + 87, // 4: gitaly.GarbageCollectRequest.repository:type_name -> gitaly.Repository + 87, // 5: gitaly.WriteCommitGraphRequest.repository:type_name -> gitaly.Repository + 0, // 6: gitaly.WriteCommitGraphRequest.splitStrategy:type_name -> gitaly.WriteCommitGraphRequest.SplitStrategy + 87, // 7: gitaly.CleanupRequest.repository:type_name -> gitaly.Repository + 87, // 8: gitaly.RepositorySizeRequest.repository:type_name -> gitaly.Repository + 87, // 9: gitaly.ApplyGitattributesRequest.repository:type_name -> gitaly.Repository + 87, // 10: gitaly.FetchBundleRequest.repository:type_name -> gitaly.Repository + 87, // 11: gitaly.FetchRemoteRequest.repository:type_name -> gitaly.Repository + 71, // 12: gitaly.FetchRemoteRequest.remote_params:type_name -> gitaly.Remote + 87, // 13: gitaly.CreateRepositoryRequest.repository:type_name -> gitaly.Repository + 87, // 14: gitaly.GetArchiveRequest.repository:type_name -> gitaly.Repository + 1, // 15: gitaly.GetArchiveRequest.format:type_name -> gitaly.GetArchiveRequest.Format + 87, // 16: gitaly.HasLocalBranchesRequest.repository:type_name -> gitaly.Repository + 87, // 17: gitaly.FetchSourceBranchRequest.repository:type_name -> gitaly.Repository + 87, // 18: gitaly.FetchSourceBranchRequest.source_repository:type_name -> gitaly.Repository + 87, // 19: gitaly.FsckRequest.repository:type_name -> gitaly.Repository + 87, // 20: gitaly.WriteRefRequest.repository:type_name -> gitaly.Repository + 87, // 21: gitaly.FindMergeBaseRequest.repository:type_name -> gitaly.Repository + 87, // 22: gitaly.CreateForkRequest.repository:type_name -> gitaly.Repository + 87, // 23: gitaly.CreateForkRequest.source_repository:type_name -> gitaly.Repository + 87, // 24: gitaly.CreateRepositoryFromURLRequest.repository:type_name -> gitaly.Repository + 87, // 25: gitaly.CreateBundleRequest.repository:type_name -> gitaly.Repository + 87, // 26: gitaly.CreateBundleFromRefListRequest.repository:type_name -> gitaly.Repository + 87, // 27: gitaly.GetConfigRequest.repository:type_name -> gitaly.Repository + 87, // 28: gitaly.RestoreCustomHooksRequest.repository:type_name -> gitaly.Repository + 87, // 29: gitaly.BackupCustomHooksRequest.repository:type_name -> gitaly.Repository + 87, // 30: gitaly.CreateRepositoryFromBundleRequest.repository:type_name -> gitaly.Repository + 87, // 31: gitaly.FindLicenseRequest.repository:type_name -> gitaly.Repository + 87, // 32: gitaly.GetInfoAttributesRequest.repository:type_name -> gitaly.Repository + 87, // 33: gitaly.CalculateChecksumRequest.repository:type_name -> gitaly.Repository + 87, // 34: gitaly.GetSnapshotRequest.repository:type_name -> gitaly.Repository + 87, // 35: gitaly.CreateRepositoryFromSnapshotRequest.repository:type_name -> gitaly.Repository + 87, // 36: gitaly.GetRawChangesRequest.repository:type_name -> gitaly.Repository + 86, // 37: gitaly.GetRawChangesResponse.raw_changes:type_name -> gitaly.GetRawChangesResponse.RawChange + 87, // 38: gitaly.SearchFilesByNameRequest.repository:type_name -> gitaly.Repository + 87, // 39: gitaly.SearchFilesByContentRequest.repository:type_name -> gitaly.Repository + 87, // 40: gitaly.GetObjectDirectorySizeRequest.repository:type_name -> gitaly.Repository + 87, // 41: gitaly.RemoveRepositoryRequest.repository:type_name -> gitaly.Repository + 87, // 42: gitaly.RenameRepositoryRequest.repository:type_name -> gitaly.Repository + 87, // 43: gitaly.ReplicateRepositoryRequest.repository:type_name -> gitaly.Repository + 87, // 44: gitaly.ReplicateRepositoryRequest.source:type_name -> gitaly.Repository + 87, // 45: gitaly.OptimizeRepositoryRequest.repository:type_name -> gitaly.Repository + 87, // 46: gitaly.PruneUnreachableObjectsRequest.repository:type_name -> gitaly.Repository + 87, // 47: gitaly.SetFullPathRequest.repository:type_name -> gitaly.Repository + 2, // 48: gitaly.GetRawChangesResponse.RawChange.operation:type_name -> gitaly.GetRawChangesResponse.RawChange.Operation + 3, // 49: gitaly.RepositoryService.RepositoryExists:input_type -> gitaly.RepositoryExistsRequest + 5, // 50: gitaly.RepositoryService.RepackIncremental:input_type -> gitaly.RepackIncrementalRequest + 7, // 51: gitaly.RepositoryService.RepackFull:input_type -> gitaly.RepackFullRequest + 9, // 52: gitaly.RepositoryService.MidxRepack:input_type -> gitaly.MidxRepackRequest + 11, // 53: gitaly.RepositoryService.GarbageCollect:input_type -> gitaly.GarbageCollectRequest + 13, // 54: gitaly.RepositoryService.WriteCommitGraph:input_type -> gitaly.WriteCommitGraphRequest + 17, // 55: gitaly.RepositoryService.RepositorySize:input_type -> gitaly.RepositorySizeRequest + 19, // 56: gitaly.RepositoryService.ApplyGitattributes:input_type -> gitaly.ApplyGitattributesRequest + 23, // 57: gitaly.RepositoryService.FetchRemote:input_type -> gitaly.FetchRemoteRequest + 25, // 58: gitaly.RepositoryService.CreateRepository:input_type -> gitaly.CreateRepositoryRequest + 27, // 59: gitaly.RepositoryService.GetArchive:input_type -> gitaly.GetArchiveRequest + 29, // 60: gitaly.RepositoryService.HasLocalBranches:input_type -> gitaly.HasLocalBranchesRequest + 31, // 61: gitaly.RepositoryService.FetchSourceBranch:input_type -> gitaly.FetchSourceBranchRequest + 33, // 62: gitaly.RepositoryService.Fsck:input_type -> gitaly.FsckRequest + 35, // 63: gitaly.RepositoryService.WriteRef:input_type -> gitaly.WriteRefRequest + 37, // 64: gitaly.RepositoryService.FindMergeBase:input_type -> gitaly.FindMergeBaseRequest + 39, // 65: gitaly.RepositoryService.CreateFork:input_type -> gitaly.CreateForkRequest + 41, // 66: gitaly.RepositoryService.CreateRepositoryFromURL:input_type -> gitaly.CreateRepositoryFromURLRequest + 43, // 67: gitaly.RepositoryService.CreateBundle:input_type -> gitaly.CreateBundleRequest + 45, // 68: gitaly.RepositoryService.CreateBundleFromRefList:input_type -> gitaly.CreateBundleFromRefListRequest + 21, // 69: gitaly.RepositoryService.FetchBundle:input_type -> gitaly.FetchBundleRequest + 53, // 70: gitaly.RepositoryService.CreateRepositoryFromBundle:input_type -> gitaly.CreateRepositoryFromBundleRequest + 47, // 71: gitaly.RepositoryService.GetConfig:input_type -> gitaly.GetConfigRequest + 55, // 72: gitaly.RepositoryService.FindLicense:input_type -> gitaly.FindLicenseRequest + 57, // 73: gitaly.RepositoryService.GetInfoAttributes:input_type -> gitaly.GetInfoAttributesRequest + 59, // 74: gitaly.RepositoryService.CalculateChecksum:input_type -> gitaly.CalculateChecksumRequest + 15, // 75: gitaly.RepositoryService.Cleanup:input_type -> gitaly.CleanupRequest + 61, // 76: gitaly.RepositoryService.GetSnapshot:input_type -> gitaly.GetSnapshotRequest + 63, // 77: gitaly.RepositoryService.CreateRepositoryFromSnapshot:input_type -> gitaly.CreateRepositoryFromSnapshotRequest + 65, // 78: gitaly.RepositoryService.GetRawChanges:input_type -> gitaly.GetRawChangesRequest + 69, // 79: gitaly.RepositoryService.SearchFilesByContent:input_type -> gitaly.SearchFilesByContentRequest + 67, // 80: gitaly.RepositoryService.SearchFilesByName:input_type -> gitaly.SearchFilesByNameRequest + 49, // 81: gitaly.RepositoryService.RestoreCustomHooks:input_type -> gitaly.RestoreCustomHooksRequest + 51, // 82: gitaly.RepositoryService.BackupCustomHooks:input_type -> gitaly.BackupCustomHooksRequest + 72, // 83: gitaly.RepositoryService.GetObjectDirectorySize:input_type -> gitaly.GetObjectDirectorySizeRequest + 74, // 84: gitaly.RepositoryService.RemoveRepository:input_type -> gitaly.RemoveRepositoryRequest + 76, // 85: gitaly.RepositoryService.RenameRepository:input_type -> gitaly.RenameRepositoryRequest + 78, // 86: gitaly.RepositoryService.ReplicateRepository:input_type -> gitaly.ReplicateRepositoryRequest + 80, // 87: gitaly.RepositoryService.OptimizeRepository:input_type -> gitaly.OptimizeRepositoryRequest + 82, // 88: gitaly.RepositoryService.PruneUnreachableObjects:input_type -> gitaly.PruneUnreachableObjectsRequest + 84, // 89: gitaly.RepositoryService.SetFullPath:input_type -> gitaly.SetFullPathRequest + 4, // 90: gitaly.RepositoryService.RepositoryExists:output_type -> gitaly.RepositoryExistsResponse + 6, // 91: gitaly.RepositoryService.RepackIncremental:output_type -> gitaly.RepackIncrementalResponse + 8, // 92: gitaly.RepositoryService.RepackFull:output_type -> gitaly.RepackFullResponse + 10, // 93: gitaly.RepositoryService.MidxRepack:output_type -> gitaly.MidxRepackResponse + 12, // 94: gitaly.RepositoryService.GarbageCollect:output_type -> gitaly.GarbageCollectResponse + 14, // 95: gitaly.RepositoryService.WriteCommitGraph:output_type -> gitaly.WriteCommitGraphResponse + 18, // 96: gitaly.RepositoryService.RepositorySize:output_type -> gitaly.RepositorySizeResponse + 20, // 97: gitaly.RepositoryService.ApplyGitattributes:output_type -> gitaly.ApplyGitattributesResponse + 24, // 98: gitaly.RepositoryService.FetchRemote:output_type -> gitaly.FetchRemoteResponse + 26, // 99: gitaly.RepositoryService.CreateRepository:output_type -> gitaly.CreateRepositoryResponse + 28, // 100: gitaly.RepositoryService.GetArchive:output_type -> gitaly.GetArchiveResponse + 30, // 101: gitaly.RepositoryService.HasLocalBranches:output_type -> gitaly.HasLocalBranchesResponse + 32, // 102: gitaly.RepositoryService.FetchSourceBranch:output_type -> gitaly.FetchSourceBranchResponse + 34, // 103: gitaly.RepositoryService.Fsck:output_type -> gitaly.FsckResponse + 36, // 104: gitaly.RepositoryService.WriteRef:output_type -> gitaly.WriteRefResponse + 38, // 105: gitaly.RepositoryService.FindMergeBase:output_type -> gitaly.FindMergeBaseResponse + 40, // 106: gitaly.RepositoryService.CreateFork:output_type -> gitaly.CreateForkResponse + 42, // 107: gitaly.RepositoryService.CreateRepositoryFromURL:output_type -> gitaly.CreateRepositoryFromURLResponse + 44, // 108: gitaly.RepositoryService.CreateBundle:output_type -> gitaly.CreateBundleResponse + 46, // 109: gitaly.RepositoryService.CreateBundleFromRefList:output_type -> gitaly.CreateBundleFromRefListResponse + 22, // 110: gitaly.RepositoryService.FetchBundle:output_type -> gitaly.FetchBundleResponse + 54, // 111: gitaly.RepositoryService.CreateRepositoryFromBundle:output_type -> gitaly.CreateRepositoryFromBundleResponse + 48, // 112: gitaly.RepositoryService.GetConfig:output_type -> gitaly.GetConfigResponse + 56, // 113: gitaly.RepositoryService.FindLicense:output_type -> gitaly.FindLicenseResponse + 58, // 114: gitaly.RepositoryService.GetInfoAttributes:output_type -> gitaly.GetInfoAttributesResponse + 60, // 115: gitaly.RepositoryService.CalculateChecksum:output_type -> gitaly.CalculateChecksumResponse + 16, // 116: gitaly.RepositoryService.Cleanup:output_type -> gitaly.CleanupResponse + 62, // 117: gitaly.RepositoryService.GetSnapshot:output_type -> gitaly.GetSnapshotResponse + 64, // 118: gitaly.RepositoryService.CreateRepositoryFromSnapshot:output_type -> gitaly.CreateRepositoryFromSnapshotResponse + 66, // 119: gitaly.RepositoryService.GetRawChanges:output_type -> gitaly.GetRawChangesResponse + 70, // 120: gitaly.RepositoryService.SearchFilesByContent:output_type -> gitaly.SearchFilesByContentResponse + 68, // 121: gitaly.RepositoryService.SearchFilesByName:output_type -> gitaly.SearchFilesByNameResponse + 50, // 122: gitaly.RepositoryService.RestoreCustomHooks:output_type -> gitaly.RestoreCustomHooksResponse + 52, // 123: gitaly.RepositoryService.BackupCustomHooks:output_type -> gitaly.BackupCustomHooksResponse + 73, // 124: gitaly.RepositoryService.GetObjectDirectorySize:output_type -> gitaly.GetObjectDirectorySizeResponse + 75, // 125: gitaly.RepositoryService.RemoveRepository:output_type -> gitaly.RemoveRepositoryResponse + 77, // 126: gitaly.RepositoryService.RenameRepository:output_type -> gitaly.RenameRepositoryResponse + 79, // 127: gitaly.RepositoryService.ReplicateRepository:output_type -> gitaly.ReplicateRepositoryResponse + 81, // 128: gitaly.RepositoryService.OptimizeRepository:output_type -> gitaly.OptimizeRepositoryResponse + 83, // 129: gitaly.RepositoryService.PruneUnreachableObjects:output_type -> gitaly.PruneUnreachableObjectsResponse + 85, // 130: gitaly.RepositoryService.SetFullPath:output_type -> gitaly.SetFullPathResponse + 90, // [90:131] is the sub-list for method output_type + 49, // [49:90] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_repository_proto_init() } +func file_repository_proto_init() { + if File_repository_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_repository_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackIncrementalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackIncrementalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackFullRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackFullResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MidxRepackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MidxRepackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GarbageCollectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GarbageCollectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteCommitGraphRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteCommitGraphResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositorySizeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositorySizeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGitattributesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGitattributesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchBundleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchBundleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchRemoteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchRemoteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArchiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasLocalBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasLocalBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchSourceBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchSourceBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FsckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FsckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteRefRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteRefResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindMergeBaseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindMergeBaseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateForkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateForkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromURLRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromURLResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleFromRefListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleFromRefListResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreCustomHooksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreCustomHooksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupCustomHooksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupCustomHooksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromBundleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromBundleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLicenseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLicenseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoAttributesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoAttributesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalculateChecksumRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalculateChecksumResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSnapshotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSnapshotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromSnapshotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromSnapshotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByContentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByContentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Remote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectDirectorySizeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectDirectorySizeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OptimizeRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OptimizeRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PruneUnreachableObjectsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PruneUnreachableObjectsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFullPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetFullPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesResponse_RawChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_repository_proto_rawDesc, + NumEnums: 3, + NumMessages: 84, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_repository_proto_goTypes, + DependencyIndexes: file_repository_proto_depIdxs, + EnumInfos: file_repository_proto_enumTypes, + MessageInfos: file_repository_proto_msgTypes, + }.Build() + File_repository_proto = out.File + file_repository_proto_rawDesc = nil + file_repository_proto_goTypes = nil + file_repository_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/repository_grpc.pb.go b/v14/proto/go/gitalypb/repository_grpc.pb.go new file mode 100644 index 000000000..c4a979a21 --- /dev/null +++ b/v14/proto/go/gitalypb/repository_grpc.pb.go @@ -0,0 +1,2071 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// RepositoryServiceClient is the client API for RepositoryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RepositoryServiceClient interface { + // This comment is left unintentionally blank. + RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) + // Deprecated: Do not use. + // RepackIncremental is deprecated in favor of OptimizeRepository. + RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) + // Deprecated: Do not use. + // RepackFull is deprecated in favor of OptimizeRepository. + RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) + // Deprecated: Do not use. + // MidxRepack is deprecated in favor of OptimizeRepository. + MidxRepack(ctx context.Context, in *MidxRepackRequest, opts ...grpc.CallOption) (*MidxRepackResponse, error) + // Deprecated: Do not use. + // GarbageCollect is deprecated in favor of OptimizeRepository. + GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) + // Deprecated: Do not use. + // WriteCommitGraph is deprecated in favor of OptimizeRepository. + WriteCommitGraph(ctx context.Context, in *WriteCommitGraphRequest, opts ...grpc.CallOption) (*WriteCommitGraphResponse, error) + // This comment is left unintentionally blank. + RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) + // This comment is left unintentionally blank. + ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) + // FetchRemote fetches references from a remote repository into the local + // repository. + FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) + // This comment is left unintentionally blank. + CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) + // This comment is left unintentionally blank. + GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) + // This comment is left unintentionally blank. + HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) + // FetchSourceBranch fetches a branch from a second (potentially remote) + // repository into the given repository. + FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) + // This comment is left unintentionally blank. + Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) + // This comment is left unintentionally blank. + WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) + // This comment is left unintentionally blank. + FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) + // This comment is left unintentionally blank. + CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) + // This comment is left unintentionally blank. + CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) + // CreateBundle creates a bundle from all refs + CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) + // CreateBundleFromRefList creates a bundle from a stream of ref patterns. + // When the bundle would be empty the FailedPrecondition error code is returned. + CreateBundleFromRefList(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateBundleFromRefListClient, error) + // FetchBundle fetches references from a bundle into the local repository. + // Refs will be mirrored to the target repository with the refspec + // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. + FetchBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_FetchBundleClient, error) + // This comment is left unintentionally blank. + CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) + // GetConfig reads the target repository's gitconfig and streams its contents + // back. Returns a NotFound error in case no gitconfig was found. + GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (RepositoryService_GetConfigClient, error) + // This comment is left unintentionally blank. + FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) + // This comment is left unintentionally blank. + GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) + // This comment is left unintentionally blank. + CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) + // Deprecated: Do not use. + // Cleanup is deprecated in favor of OptimizeRepository. + Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) + // This comment is left unintentionally blank. + GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) + // This comment is left unintentionally blank. + CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) + // This comment is left unintentionally blank. + GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) + // This comment is left unintentionally blank. + SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) + // This comment is left unintentionally blank. + SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) + // This comment is left unintentionally blank. + RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) + // This comment is left unintentionally blank. + BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) + // This comment is left unintentionally blank. + GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) + // RemoveRepository will move the repository to `+gitaly/tmp/_removed` and + // eventually remove it. This ensures that even on networked filesystems the + // data is actually removed even if there's someone still handling the data. + RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) + // This comment is left unintentionally blank. + RenameRepository(ctx context.Context, in *RenameRepositoryRequest, opts ...grpc.CallOption) (*RenameRepositoryResponse, error) + // This comment is left unintentionally blank. + ReplicateRepository(ctx context.Context, in *ReplicateRepositoryRequest, opts ...grpc.CallOption) (*ReplicateRepositoryResponse, error) + // OptimizeRepository performs all maintenance tasks in a repository to keep + // it in an efficient state. It cleans up stale data, repacks objects, + // updates auxiliary caches like commit-graphs and packs references. The + // optimizations performed are based on heuristics and will adapt to the + // repository's size. This RPC call is designed as a black-box such that + // Gitaly has complete control of the on-disk state of repositories. + OptimizeRepository(ctx context.Context, in *OptimizeRepositoryRequest, opts ...grpc.CallOption) (*OptimizeRepositoryResponse, error) + // PruneUnreachableObjects will prune all objects which aren't reachable from + // the repository's current set of references. Because pruning can only + // happen for objects which aren't packed, you are required to first run + // OptimizeRepository to explode any unreachable objects into loose objects. + // + // Furthermore, this RPC call has a grace period of 30 minutes: any + // unreachable loose objects must not have been accessed or modified in the + // last 30 minutes. This is a hard requirement to avoid repository corruption. + // + // To make proper use of this RPC you thus need to call OptimizeRepository, + // wait 30 minutes, and then call PruneUnreachableObjects. + PruneUnreachableObjects(ctx context.Context, in *PruneUnreachableObjectsRequest, opts ...grpc.CallOption) (*PruneUnreachableObjectsResponse, error) + // SetFullPath writes the "gitlab.fullpath" configuration into the + // repository's gitconfig. This is mainly to help debugging purposes in case + // an admin inspects the repository's gitconfig such that he can easily see + // what the repository name is. + SetFullPath(ctx context.Context, in *SetFullPathRequest, opts ...grpc.CallOption) (*SetFullPathResponse, error) +} + +type repositoryServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient { + return &repositoryServiceClient{cc} +} + +func (c *repositoryServiceClient) RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) { + out := new(RepositoryExistsResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepositoryExists", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) { + out := new(RepackIncrementalResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepackIncremental", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) { + out := new(RepackFullResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepackFull", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) MidxRepack(ctx context.Context, in *MidxRepackRequest, opts ...grpc.CallOption) (*MidxRepackResponse, error) { + out := new(MidxRepackResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/MidxRepack", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) { + out := new(GarbageCollectResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/GarbageCollect", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) WriteCommitGraph(ctx context.Context, in *WriteCommitGraphRequest, opts ...grpc.CallOption) (*WriteCommitGraphResponse, error) { + out := new(WriteCommitGraphResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/WriteCommitGraph", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) { + out := new(RepositorySizeResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RepositorySize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) { + out := new(ApplyGitattributesResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/ApplyGitattributes", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) { + out := new(FetchRemoteResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FetchRemote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) { + out := new(CreateRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[0], "/gitaly.RepositoryService/GetArchive", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceGetArchiveClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_GetArchiveClient interface { + Recv() (*GetArchiveResponse, error) + grpc.ClientStream +} + +type repositoryServiceGetArchiveClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceGetArchiveClient) Recv() (*GetArchiveResponse, error) { + m := new(GetArchiveResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) { + out := new(HasLocalBranchesResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/HasLocalBranches", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) { + out := new(FetchSourceBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FetchSourceBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) { + out := new(FsckResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/Fsck", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) { + out := new(WriteRefResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/WriteRef", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) { + out := new(FindMergeBaseResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FindMergeBase", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) { + out := new(CreateForkResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateFork", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) { + out := new(CreateRepositoryFromURLResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepositoryFromURL", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[1], "/gitaly.RepositoryService/CreateBundle", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceCreateBundleClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_CreateBundleClient interface { + Recv() (*CreateBundleResponse, error) + grpc.ClientStream +} + +type repositoryServiceCreateBundleClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceCreateBundleClient) Recv() (*CreateBundleResponse, error) { + m := new(CreateBundleResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) CreateBundleFromRefList(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateBundleFromRefListClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[2], "/gitaly.RepositoryService/CreateBundleFromRefList", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceCreateBundleFromRefListClient{stream} + return x, nil +} + +type RepositoryService_CreateBundleFromRefListClient interface { + Send(*CreateBundleFromRefListRequest) error + Recv() (*CreateBundleFromRefListResponse, error) + grpc.ClientStream +} + +type repositoryServiceCreateBundleFromRefListClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceCreateBundleFromRefListClient) Send(m *CreateBundleFromRefListRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *repositoryServiceCreateBundleFromRefListClient) Recv() (*CreateBundleFromRefListResponse, error) { + m := new(CreateBundleFromRefListResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) FetchBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_FetchBundleClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[3], "/gitaly.RepositoryService/FetchBundle", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceFetchBundleClient{stream} + return x, nil +} + +type RepositoryService_FetchBundleClient interface { + Send(*FetchBundleRequest) error + CloseAndRecv() (*FetchBundleResponse, error) + grpc.ClientStream +} + +type repositoryServiceFetchBundleClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceFetchBundleClient) Send(m *FetchBundleRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *repositoryServiceFetchBundleClient) CloseAndRecv() (*FetchBundleResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(FetchBundleResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[4], "/gitaly.RepositoryService/CreateRepositoryFromBundle", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceCreateRepositoryFromBundleClient{stream} + return x, nil +} + +type RepositoryService_CreateRepositoryFromBundleClient interface { + Send(*CreateRepositoryFromBundleRequest) error + CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) + grpc.ClientStream +} + +type repositoryServiceCreateRepositoryFromBundleClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceCreateRepositoryFromBundleClient) Send(m *CreateRepositoryFromBundleRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *repositoryServiceCreateRepositoryFromBundleClient) CloseAndRecv() (*CreateRepositoryFromBundleResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(CreateRepositoryFromBundleResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (RepositoryService_GetConfigClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[5], "/gitaly.RepositoryService/GetConfig", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceGetConfigClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_GetConfigClient interface { + Recv() (*GetConfigResponse, error) + grpc.ClientStream +} + +type repositoryServiceGetConfigClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceGetConfigClient) Recv() (*GetConfigResponse, error) { + m := new(GetConfigResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) { + out := new(FindLicenseResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FindLicense", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[6], "/gitaly.RepositoryService/GetInfoAttributes", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceGetInfoAttributesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_GetInfoAttributesClient interface { + Recv() (*GetInfoAttributesResponse, error) + grpc.ClientStream +} + +type repositoryServiceGetInfoAttributesClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceGetInfoAttributesClient) Recv() (*GetInfoAttributesResponse, error) { + m := new(GetInfoAttributesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) { + out := new(CalculateChecksumResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CalculateChecksum", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// Deprecated: Do not use. +func (c *repositoryServiceClient) Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) { + out := new(CleanupResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/Cleanup", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[7], "/gitaly.RepositoryService/GetSnapshot", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceGetSnapshotClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_GetSnapshotClient interface { + Recv() (*GetSnapshotResponse, error) + grpc.ClientStream +} + +type repositoryServiceGetSnapshotClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceGetSnapshotClient) Recv() (*GetSnapshotResponse, error) { + m := new(GetSnapshotResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) { + out := new(CreateRepositoryFromSnapshotResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CreateRepositoryFromSnapshot", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[8], "/gitaly.RepositoryService/GetRawChanges", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceGetRawChangesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_GetRawChangesClient interface { + Recv() (*GetRawChangesResponse, error) + grpc.ClientStream +} + +type repositoryServiceGetRawChangesClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceGetRawChangesClient) Recv() (*GetRawChangesResponse, error) { + m := new(GetRawChangesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[9], "/gitaly.RepositoryService/SearchFilesByContent", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceSearchFilesByContentClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_SearchFilesByContentClient interface { + Recv() (*SearchFilesByContentResponse, error) + grpc.ClientStream +} + +type repositoryServiceSearchFilesByContentClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceSearchFilesByContentClient) Recv() (*SearchFilesByContentResponse, error) { + m := new(SearchFilesByContentResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[10], "/gitaly.RepositoryService/SearchFilesByName", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceSearchFilesByNameClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_SearchFilesByNameClient interface { + Recv() (*SearchFilesByNameResponse, error) + grpc.ClientStream +} + +type repositoryServiceSearchFilesByNameClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceSearchFilesByNameClient) Recv() (*SearchFilesByNameResponse, error) { + m := new(SearchFilesByNameResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[11], "/gitaly.RepositoryService/RestoreCustomHooks", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceRestoreCustomHooksClient{stream} + return x, nil +} + +type RepositoryService_RestoreCustomHooksClient interface { + Send(*RestoreCustomHooksRequest) error + CloseAndRecv() (*RestoreCustomHooksResponse, error) + grpc.ClientStream +} + +type repositoryServiceRestoreCustomHooksClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceRestoreCustomHooksClient) Send(m *RestoreCustomHooksRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *repositoryServiceRestoreCustomHooksClient) CloseAndRecv() (*RestoreCustomHooksResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(RestoreCustomHooksResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) { + stream, err := c.cc.NewStream(ctx, &RepositoryService_ServiceDesc.Streams[12], "/gitaly.RepositoryService/BackupCustomHooks", opts...) + if err != nil { + return nil, err + } + x := &repositoryServiceBackupCustomHooksClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RepositoryService_BackupCustomHooksClient interface { + Recv() (*BackupCustomHooksResponse, error) + grpc.ClientStream +} + +type repositoryServiceBackupCustomHooksClient struct { + grpc.ClientStream +} + +func (x *repositoryServiceBackupCustomHooksClient) Recv() (*BackupCustomHooksResponse, error) { + m := new(BackupCustomHooksResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *repositoryServiceClient) GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) { + out := new(GetObjectDirectorySizeResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/GetObjectDirectorySize", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) RemoveRepository(ctx context.Context, in *RemoveRepositoryRequest, opts ...grpc.CallOption) (*RemoveRepositoryResponse, error) { + out := new(RemoveRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RemoveRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) RenameRepository(ctx context.Context, in *RenameRepositoryRequest, opts ...grpc.CallOption) (*RenameRepositoryResponse, error) { + out := new(RenameRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/RenameRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) ReplicateRepository(ctx context.Context, in *ReplicateRepositoryRequest, opts ...grpc.CallOption) (*ReplicateRepositoryResponse, error) { + out := new(ReplicateRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/ReplicateRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) OptimizeRepository(ctx context.Context, in *OptimizeRepositoryRequest, opts ...grpc.CallOption) (*OptimizeRepositoryResponse, error) { + out := new(OptimizeRepositoryResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/OptimizeRepository", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) PruneUnreachableObjects(ctx context.Context, in *PruneUnreachableObjectsRequest, opts ...grpc.CallOption) (*PruneUnreachableObjectsResponse, error) { + out := new(PruneUnreachableObjectsResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/PruneUnreachableObjects", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) SetFullPath(ctx context.Context, in *SetFullPathRequest, opts ...grpc.CallOption) (*SetFullPathResponse, error) { + out := new(SetFullPathResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/SetFullPath", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RepositoryServiceServer is the server API for RepositoryService service. +// All implementations must embed UnimplementedRepositoryServiceServer +// for forward compatibility +type RepositoryServiceServer interface { + // This comment is left unintentionally blank. + RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) + // Deprecated: Do not use. + // RepackIncremental is deprecated in favor of OptimizeRepository. + RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) + // Deprecated: Do not use. + // RepackFull is deprecated in favor of OptimizeRepository. + RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) + // Deprecated: Do not use. + // MidxRepack is deprecated in favor of OptimizeRepository. + MidxRepack(context.Context, *MidxRepackRequest) (*MidxRepackResponse, error) + // Deprecated: Do not use. + // GarbageCollect is deprecated in favor of OptimizeRepository. + GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) + // Deprecated: Do not use. + // WriteCommitGraph is deprecated in favor of OptimizeRepository. + WriteCommitGraph(context.Context, *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) + // This comment is left unintentionally blank. + RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) + // This comment is left unintentionally blank. + ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) + // FetchRemote fetches references from a remote repository into the local + // repository. + FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) + // This comment is left unintentionally blank. + CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) + // This comment is left unintentionally blank. + GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error + // This comment is left unintentionally blank. + HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) + // FetchSourceBranch fetches a branch from a second (potentially remote) + // repository into the given repository. + FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) + // This comment is left unintentionally blank. + Fsck(context.Context, *FsckRequest) (*FsckResponse, error) + // This comment is left unintentionally blank. + WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) + // This comment is left unintentionally blank. + FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) + // This comment is left unintentionally blank. + CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) + // This comment is left unintentionally blank. + CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) + // CreateBundle creates a bundle from all refs + CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error + // CreateBundleFromRefList creates a bundle from a stream of ref patterns. + // When the bundle would be empty the FailedPrecondition error code is returned. + CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error + // FetchBundle fetches references from a bundle into the local repository. + // Refs will be mirrored to the target repository with the refspec + // "+refs/*:refs/*" and refs that do not exist in the bundle will be removed. + FetchBundle(RepositoryService_FetchBundleServer) error + // This comment is left unintentionally blank. + CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error + // GetConfig reads the target repository's gitconfig and streams its contents + // back. Returns a NotFound error in case no gitconfig was found. + GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error + // This comment is left unintentionally blank. + FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) + // This comment is left unintentionally blank. + GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error + // This comment is left unintentionally blank. + CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) + // Deprecated: Do not use. + // Cleanup is deprecated in favor of OptimizeRepository. + Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) + // This comment is left unintentionally blank. + GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error + // This comment is left unintentionally blank. + CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) + // This comment is left unintentionally blank. + GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error + // This comment is left unintentionally blank. + SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error + // This comment is left unintentionally blank. + SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error + // This comment is left unintentionally blank. + RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error + // This comment is left unintentionally blank. + BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error + // This comment is left unintentionally blank. + GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) + // RemoveRepository will move the repository to `+gitaly/tmp/_removed` and + // eventually remove it. This ensures that even on networked filesystems the + // data is actually removed even if there's someone still handling the data. + RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) + // This comment is left unintentionally blank. + RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) + // This comment is left unintentionally blank. + ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) + // OptimizeRepository performs all maintenance tasks in a repository to keep + // it in an efficient state. It cleans up stale data, repacks objects, + // updates auxiliary caches like commit-graphs and packs references. The + // optimizations performed are based on heuristics and will adapt to the + // repository's size. This RPC call is designed as a black-box such that + // Gitaly has complete control of the on-disk state of repositories. + OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) + // PruneUnreachableObjects will prune all objects which aren't reachable from + // the repository's current set of references. Because pruning can only + // happen for objects which aren't packed, you are required to first run + // OptimizeRepository to explode any unreachable objects into loose objects. + // + // Furthermore, this RPC call has a grace period of 30 minutes: any + // unreachable loose objects must not have been accessed or modified in the + // last 30 minutes. This is a hard requirement to avoid repository corruption. + // + // To make proper use of this RPC you thus need to call OptimizeRepository, + // wait 30 minutes, and then call PruneUnreachableObjects. + PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error) + // SetFullPath writes the "gitlab.fullpath" configuration into the + // repository's gitconfig. This is mainly to help debugging purposes in case + // an admin inspects the repository's gitconfig such that he can easily see + // what the repository name is. + SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error) + mustEmbedUnimplementedRepositoryServiceServer() +} + +// UnimplementedRepositoryServiceServer must be embedded to have forward compatible implementations. +type UnimplementedRepositoryServiceServer struct { +} + +func (UnimplementedRepositoryServiceServer) RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepositoryExists not implemented") +} +func (UnimplementedRepositoryServiceServer) RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepackIncremental not implemented") +} +func (UnimplementedRepositoryServiceServer) RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepackFull not implemented") +} +func (UnimplementedRepositoryServiceServer) MidxRepack(context.Context, *MidxRepackRequest) (*MidxRepackResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method MidxRepack not implemented") +} +func (UnimplementedRepositoryServiceServer) GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GarbageCollect not implemented") +} +func (UnimplementedRepositoryServiceServer) WriteCommitGraph(context.Context, *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteCommitGraph not implemented") +} +func (UnimplementedRepositoryServiceServer) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepositorySize not implemented") +} +func (UnimplementedRepositoryServiceServer) ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ApplyGitattributes not implemented") +} +func (UnimplementedRepositoryServiceServer) FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchRemote not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepository not implemented") +} +func (UnimplementedRepositoryServiceServer) GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error { + return status.Errorf(codes.Unimplemented, "method GetArchive not implemented") +} +func (UnimplementedRepositoryServiceServer) HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HasLocalBranches not implemented") +} +func (UnimplementedRepositoryServiceServer) FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchSourceBranch not implemented") +} +func (UnimplementedRepositoryServiceServer) Fsck(context.Context, *FsckRequest) (*FsckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Fsck not implemented") +} +func (UnimplementedRepositoryServiceServer) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteRef not implemented") +} +func (UnimplementedRepositoryServiceServer) FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindMergeBase not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateFork not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromURL not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error { + return status.Errorf(codes.Unimplemented, "method CreateBundle not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateBundleFromRefList(RepositoryService_CreateBundleFromRefListServer) error { + return status.Errorf(codes.Unimplemented, "method CreateBundleFromRefList not implemented") +} +func (UnimplementedRepositoryServiceServer) FetchBundle(RepositoryService_FetchBundleServer) error { + return status.Errorf(codes.Unimplemented, "method FetchBundle not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error { + return status.Errorf(codes.Unimplemented, "method CreateRepositoryFromBundle not implemented") +} +func (UnimplementedRepositoryServiceServer) GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error { + return status.Errorf(codes.Unimplemented, "method GetConfig not implemented") +} +func (UnimplementedRepositoryServiceServer) FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindLicense not implemented") +} +func (UnimplementedRepositoryServiceServer) GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error { + return status.Errorf(codes.Unimplemented, "method GetInfoAttributes not implemented") +} +func (UnimplementedRepositoryServiceServer) CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CalculateChecksum not implemented") +} +func (UnimplementedRepositoryServiceServer) Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Cleanup not implemented") +} +func (UnimplementedRepositoryServiceServer) GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error { + return status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") +} +func (UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromSnapshot not implemented") +} +func (UnimplementedRepositoryServiceServer) GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error { + return status.Errorf(codes.Unimplemented, "method GetRawChanges not implemented") +} +func (UnimplementedRepositoryServiceServer) SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error { + return status.Errorf(codes.Unimplemented, "method SearchFilesByContent not implemented") +} +func (UnimplementedRepositoryServiceServer) SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error { + return status.Errorf(codes.Unimplemented, "method SearchFilesByName not implemented") +} +func (UnimplementedRepositoryServiceServer) RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error { + return status.Errorf(codes.Unimplemented, "method RestoreCustomHooks not implemented") +} +func (UnimplementedRepositoryServiceServer) BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error { + return status.Errorf(codes.Unimplemented, "method BackupCustomHooks not implemented") +} +func (UnimplementedRepositoryServiceServer) GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetObjectDirectorySize not implemented") +} +func (UnimplementedRepositoryServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveRepository not implemented") +} +func (UnimplementedRepositoryServiceServer) RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameRepository not implemented") +} +func (UnimplementedRepositoryServiceServer) ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReplicateRepository not implemented") +} +func (UnimplementedRepositoryServiceServer) OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method OptimizeRepository not implemented") +} +func (UnimplementedRepositoryServiceServer) PruneUnreachableObjects(context.Context, *PruneUnreachableObjectsRequest) (*PruneUnreachableObjectsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PruneUnreachableObjects not implemented") +} +func (UnimplementedRepositoryServiceServer) SetFullPath(context.Context, *SetFullPathRequest) (*SetFullPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetFullPath not implemented") +} +func (UnimplementedRepositoryServiceServer) mustEmbedUnimplementedRepositoryServiceServer() {} + +// UnsafeRepositoryServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RepositoryServiceServer will +// result in compilation errors. +type UnsafeRepositoryServiceServer interface { + mustEmbedUnimplementedRepositoryServiceServer() +} + +func RegisterRepositoryServiceServer(s grpc.ServiceRegistrar, srv RepositoryServiceServer) { + s.RegisterService(&RepositoryService_ServiceDesc, srv) +} + +func _RepositoryService_RepositoryExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RepositoryExistsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RepositoryExists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RepositoryExists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RepositoryExists(ctx, req.(*RepositoryExistsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_RepackIncremental_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RepackIncrementalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RepackIncremental(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RepackIncremental", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RepackIncremental(ctx, req.(*RepackIncrementalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_RepackFull_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RepackFullRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RepackFull(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RepackFull", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RepackFull(ctx, req.(*RepackFullRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_MidxRepack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MidxRepackRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).MidxRepack(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/MidxRepack", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).MidxRepack(ctx, req.(*MidxRepackRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_GarbageCollect_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GarbageCollectRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).GarbageCollect(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/GarbageCollect", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).GarbageCollect(ctx, req.(*GarbageCollectRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_WriteCommitGraph_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WriteCommitGraphRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).WriteCommitGraph(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/WriteCommitGraph", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).WriteCommitGraph(ctx, req.(*WriteCommitGraphRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_RepositorySize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RepositorySizeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RepositorySize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RepositorySize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RepositorySize(ctx, req.(*RepositorySizeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_ApplyGitattributes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ApplyGitattributesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/ApplyGitattributes", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).ApplyGitattributes(ctx, req.(*ApplyGitattributesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_FetchRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchRemoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FetchRemote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FetchRemote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FetchRemote(ctx, req.(*FetchRemoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_CreateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CreateRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CreateRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CreateRepository(ctx, req.(*CreateRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_GetArchive_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetArchiveRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).GetArchive(m, &repositoryServiceGetArchiveServer{stream}) +} + +type RepositoryService_GetArchiveServer interface { + Send(*GetArchiveResponse) error + grpc.ServerStream +} + +type repositoryServiceGetArchiveServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceGetArchiveServer) Send(m *GetArchiveResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_HasLocalBranches_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(HasLocalBranchesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).HasLocalBranches(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/HasLocalBranches", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).HasLocalBranches(ctx, req.(*HasLocalBranchesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_FetchSourceBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchSourceBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FetchSourceBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FetchSourceBranch(ctx, req.(*FetchSourceBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_Fsck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FsckRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).Fsck(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/Fsck", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).Fsck(ctx, req.(*FsckRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_WriteRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WriteRefRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).WriteRef(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/WriteRef", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).WriteRef(ctx, req.(*WriteRefRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_FindMergeBase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindMergeBaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FindMergeBase(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FindMergeBase", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FindMergeBase(ctx, req.(*FindMergeBaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_CreateFork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateForkRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CreateFork(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CreateFork", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CreateFork(ctx, req.(*CreateForkRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_CreateRepositoryFromURL_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRepositoryFromURLRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CreateRepositoryFromURL", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CreateRepositoryFromURL(ctx, req.(*CreateRepositoryFromURLRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_CreateBundle_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CreateBundleRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).CreateBundle(m, &repositoryServiceCreateBundleServer{stream}) +} + +type RepositoryService_CreateBundleServer interface { + Send(*CreateBundleResponse) error + grpc.ServerStream +} + +type repositoryServiceCreateBundleServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceCreateBundleServer) Send(m *CreateBundleResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_CreateBundleFromRefList_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(RepositoryServiceServer).CreateBundleFromRefList(&repositoryServiceCreateBundleFromRefListServer{stream}) +} + +type RepositoryService_CreateBundleFromRefListServer interface { + Send(*CreateBundleFromRefListResponse) error + Recv() (*CreateBundleFromRefListRequest, error) + grpc.ServerStream +} + +type repositoryServiceCreateBundleFromRefListServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceCreateBundleFromRefListServer) Send(m *CreateBundleFromRefListResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *repositoryServiceCreateBundleFromRefListServer) Recv() (*CreateBundleFromRefListRequest, error) { + m := new(CreateBundleFromRefListRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _RepositoryService_FetchBundle_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(RepositoryServiceServer).FetchBundle(&repositoryServiceFetchBundleServer{stream}) +} + +type RepositoryService_FetchBundleServer interface { + SendAndClose(*FetchBundleResponse) error + Recv() (*FetchBundleRequest, error) + grpc.ServerStream +} + +type repositoryServiceFetchBundleServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceFetchBundleServer) SendAndClose(m *FetchBundleResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *repositoryServiceFetchBundleServer) Recv() (*FetchBundleRequest, error) { + m := new(FetchBundleRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _RepositoryService_CreateRepositoryFromBundle_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(RepositoryServiceServer).CreateRepositoryFromBundle(&repositoryServiceCreateRepositoryFromBundleServer{stream}) +} + +type RepositoryService_CreateRepositoryFromBundleServer interface { + SendAndClose(*CreateRepositoryFromBundleResponse) error + Recv() (*CreateRepositoryFromBundleRequest, error) + grpc.ServerStream +} + +type repositoryServiceCreateRepositoryFromBundleServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceCreateRepositoryFromBundleServer) SendAndClose(m *CreateRepositoryFromBundleResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *repositoryServiceCreateRepositoryFromBundleServer) Recv() (*CreateRepositoryFromBundleRequest, error) { + m := new(CreateRepositoryFromBundleRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _RepositoryService_GetConfig_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetConfigRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).GetConfig(m, &repositoryServiceGetConfigServer{stream}) +} + +type RepositoryService_GetConfigServer interface { + Send(*GetConfigResponse) error + grpc.ServerStream +} + +type repositoryServiceGetConfigServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceGetConfigServer) Send(m *GetConfigResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_FindLicense_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindLicenseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FindLicense(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FindLicense", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FindLicense(ctx, req.(*FindLicenseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_GetInfoAttributes_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetInfoAttributesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).GetInfoAttributes(m, &repositoryServiceGetInfoAttributesServer{stream}) +} + +type RepositoryService_GetInfoAttributesServer interface { + Send(*GetInfoAttributesResponse) error + grpc.ServerStream +} + +type repositoryServiceGetInfoAttributesServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceGetInfoAttributesServer) Send(m *GetInfoAttributesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_CalculateChecksum_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CalculateChecksumRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CalculateChecksum(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CalculateChecksum", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CalculateChecksum(ctx, req.(*CalculateChecksumRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_Cleanup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CleanupRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).Cleanup(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/Cleanup", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).Cleanup(ctx, req.(*CleanupRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_GetSnapshot_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetSnapshotRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).GetSnapshot(m, &repositoryServiceGetSnapshotServer{stream}) +} + +type RepositoryService_GetSnapshotServer interface { + Send(*GetSnapshotResponse) error + grpc.ServerStream +} + +type repositoryServiceGetSnapshotServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceGetSnapshotServer) Send(m *GetSnapshotResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_CreateRepositoryFromSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateRepositoryFromSnapshotRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CreateRepositoryFromSnapshot(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CreateRepositoryFromSnapshot", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CreateRepositoryFromSnapshot(ctx, req.(*CreateRepositoryFromSnapshotRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_GetRawChanges_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetRawChangesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).GetRawChanges(m, &repositoryServiceGetRawChangesServer{stream}) +} + +type RepositoryService_GetRawChangesServer interface { + Send(*GetRawChangesResponse) error + grpc.ServerStream +} + +type repositoryServiceGetRawChangesServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceGetRawChangesServer) Send(m *GetRawChangesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_SearchFilesByContent_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(SearchFilesByContentRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).SearchFilesByContent(m, &repositoryServiceSearchFilesByContentServer{stream}) +} + +type RepositoryService_SearchFilesByContentServer interface { + Send(*SearchFilesByContentResponse) error + grpc.ServerStream +} + +type repositoryServiceSearchFilesByContentServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceSearchFilesByContentServer) Send(m *SearchFilesByContentResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_SearchFilesByName_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(SearchFilesByNameRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).SearchFilesByName(m, &repositoryServiceSearchFilesByNameServer{stream}) +} + +type RepositoryService_SearchFilesByNameServer interface { + Send(*SearchFilesByNameResponse) error + grpc.ServerStream +} + +type repositoryServiceSearchFilesByNameServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceSearchFilesByNameServer) Send(m *SearchFilesByNameResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_RestoreCustomHooks_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(RepositoryServiceServer).RestoreCustomHooks(&repositoryServiceRestoreCustomHooksServer{stream}) +} + +type RepositoryService_RestoreCustomHooksServer interface { + SendAndClose(*RestoreCustomHooksResponse) error + Recv() (*RestoreCustomHooksRequest, error) + grpc.ServerStream +} + +type repositoryServiceRestoreCustomHooksServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceRestoreCustomHooksServer) SendAndClose(m *RestoreCustomHooksResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *repositoryServiceRestoreCustomHooksServer) Recv() (*RestoreCustomHooksRequest, error) { + m := new(RestoreCustomHooksRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _RepositoryService_BackupCustomHooks_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(BackupCustomHooksRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RepositoryServiceServer).BackupCustomHooks(m, &repositoryServiceBackupCustomHooksServer{stream}) +} + +type RepositoryService_BackupCustomHooksServer interface { + Send(*BackupCustomHooksResponse) error + grpc.ServerStream +} + +type repositoryServiceBackupCustomHooksServer struct { + grpc.ServerStream +} + +func (x *repositoryServiceBackupCustomHooksServer) Send(m *BackupCustomHooksResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RepositoryService_GetObjectDirectorySize_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetObjectDirectorySizeRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).GetObjectDirectorySize(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/GetObjectDirectorySize", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).GetObjectDirectorySize(ctx, req.(*GetObjectDirectorySizeRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_RemoveRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RemoveRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RemoveRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RemoveRepository(ctx, req.(*RemoveRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_RenameRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RenameRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).RenameRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/RenameRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).RenameRepository(ctx, req.(*RenameRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_ReplicateRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ReplicateRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).ReplicateRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/ReplicateRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).ReplicateRepository(ctx, req.(*ReplicateRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_OptimizeRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(OptimizeRepositoryRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).OptimizeRepository(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/OptimizeRepository", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).OptimizeRepository(ctx, req.(*OptimizeRepositoryRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_PruneUnreachableObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PruneUnreachableObjectsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).PruneUnreachableObjects(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/PruneUnreachableObjects", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).PruneUnreachableObjects(ctx, req.(*PruneUnreachableObjectsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_SetFullPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetFullPathRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).SetFullPath(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/SetFullPath", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).SetFullPath(ctx, req.(*SetFullPathRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RepositoryService_ServiceDesc is the grpc.ServiceDesc for RepositoryService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RepositoryService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RepositoryService", + HandlerType: (*RepositoryServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "RepositoryExists", + Handler: _RepositoryService_RepositoryExists_Handler, + }, + { + MethodName: "RepackIncremental", + Handler: _RepositoryService_RepackIncremental_Handler, + }, + { + MethodName: "RepackFull", + Handler: _RepositoryService_RepackFull_Handler, + }, + { + MethodName: "MidxRepack", + Handler: _RepositoryService_MidxRepack_Handler, + }, + { + MethodName: "GarbageCollect", + Handler: _RepositoryService_GarbageCollect_Handler, + }, + { + MethodName: "WriteCommitGraph", + Handler: _RepositoryService_WriteCommitGraph_Handler, + }, + { + MethodName: "RepositorySize", + Handler: _RepositoryService_RepositorySize_Handler, + }, + { + MethodName: "ApplyGitattributes", + Handler: _RepositoryService_ApplyGitattributes_Handler, + }, + { + MethodName: "FetchRemote", + Handler: _RepositoryService_FetchRemote_Handler, + }, + { + MethodName: "CreateRepository", + Handler: _RepositoryService_CreateRepository_Handler, + }, + { + MethodName: "HasLocalBranches", + Handler: _RepositoryService_HasLocalBranches_Handler, + }, + { + MethodName: "FetchSourceBranch", + Handler: _RepositoryService_FetchSourceBranch_Handler, + }, + { + MethodName: "Fsck", + Handler: _RepositoryService_Fsck_Handler, + }, + { + MethodName: "WriteRef", + Handler: _RepositoryService_WriteRef_Handler, + }, + { + MethodName: "FindMergeBase", + Handler: _RepositoryService_FindMergeBase_Handler, + }, + { + MethodName: "CreateFork", + Handler: _RepositoryService_CreateFork_Handler, + }, + { + MethodName: "CreateRepositoryFromURL", + Handler: _RepositoryService_CreateRepositoryFromURL_Handler, + }, + { + MethodName: "FindLicense", + Handler: _RepositoryService_FindLicense_Handler, + }, + { + MethodName: "CalculateChecksum", + Handler: _RepositoryService_CalculateChecksum_Handler, + }, + { + MethodName: "Cleanup", + Handler: _RepositoryService_Cleanup_Handler, + }, + { + MethodName: "CreateRepositoryFromSnapshot", + Handler: _RepositoryService_CreateRepositoryFromSnapshot_Handler, + }, + { + MethodName: "GetObjectDirectorySize", + Handler: _RepositoryService_GetObjectDirectorySize_Handler, + }, + { + MethodName: "RemoveRepository", + Handler: _RepositoryService_RemoveRepository_Handler, + }, + { + MethodName: "RenameRepository", + Handler: _RepositoryService_RenameRepository_Handler, + }, + { + MethodName: "ReplicateRepository", + Handler: _RepositoryService_ReplicateRepository_Handler, + }, + { + MethodName: "OptimizeRepository", + Handler: _RepositoryService_OptimizeRepository_Handler, + }, + { + MethodName: "PruneUnreachableObjects", + Handler: _RepositoryService_PruneUnreachableObjects_Handler, + }, + { + MethodName: "SetFullPath", + Handler: _RepositoryService_SetFullPath_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetArchive", + Handler: _RepositoryService_GetArchive_Handler, + ServerStreams: true, + }, + { + StreamName: "CreateBundle", + Handler: _RepositoryService_CreateBundle_Handler, + ServerStreams: true, + }, + { + StreamName: "CreateBundleFromRefList", + Handler: _RepositoryService_CreateBundleFromRefList_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "FetchBundle", + Handler: _RepositoryService_FetchBundle_Handler, + ClientStreams: true, + }, + { + StreamName: "CreateRepositoryFromBundle", + Handler: _RepositoryService_CreateRepositoryFromBundle_Handler, + ClientStreams: true, + }, + { + StreamName: "GetConfig", + Handler: _RepositoryService_GetConfig_Handler, + ServerStreams: true, + }, + { + StreamName: "GetInfoAttributes", + Handler: _RepositoryService_GetInfoAttributes_Handler, + ServerStreams: true, + }, + { + StreamName: "GetSnapshot", + Handler: _RepositoryService_GetSnapshot_Handler, + ServerStreams: true, + }, + { + StreamName: "GetRawChanges", + Handler: _RepositoryService_GetRawChanges_Handler, + ServerStreams: true, + }, + { + StreamName: "SearchFilesByContent", + Handler: _RepositoryService_SearchFilesByContent_Handler, + ServerStreams: true, + }, + { + StreamName: "SearchFilesByName", + Handler: _RepositoryService_SearchFilesByName_Handler, + ServerStreams: true, + }, + { + StreamName: "RestoreCustomHooks", + Handler: _RepositoryService_RestoreCustomHooks_Handler, + ClientStreams: true, + }, + { + StreamName: "BackupCustomHooks", + Handler: _RepositoryService_BackupCustomHooks_Handler, + ServerStreams: true, + }, + }, + Metadata: "repository.proto", +} diff --git a/v14/proto/go/gitalypb/server.pb.go b/v14/proto/go/gitalypb/server.pb.go new file mode 100644 index 000000000..4bb30f084 --- /dev/null +++ b/v14/proto/go/gitalypb/server.pb.go @@ -0,0 +1,726 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: server.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type ServerInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ServerInfoRequest) Reset() { + *x = ServerInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerInfoRequest) ProtoMessage() {} + +func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead. +func (*ServerInfoRequest) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{0} +} + +// This comment is left unintentionally blank. +type ServerInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` + // This comment is left unintentionally blank. + GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` + // This comment is left unintentionally blank. + StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` +} + +func (x *ServerInfoResponse) Reset() { + *x = ServerInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerInfoResponse) ProtoMessage() {} + +func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead. +func (*ServerInfoResponse) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{1} +} + +func (x *ServerInfoResponse) GetServerVersion() string { + if x != nil { + return x.ServerVersion + } + return "" +} + +func (x *ServerInfoResponse) GetGitVersion() string { + if x != nil { + return x.GitVersion + } + return "" +} + +func (x *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus { + if x != nil { + return x.StorageStatuses + } + return nil +} + +// This comment is left unintentionally blank. +type DiskStatisticsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DiskStatisticsRequest) Reset() { + *x = DiskStatisticsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiskStatisticsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiskStatisticsRequest) ProtoMessage() {} + +func (x *DiskStatisticsRequest) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiskStatisticsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatisticsRequest) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{2} +} + +// This comment is left unintentionally blank. +type DiskStatisticsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` +} + +func (x *DiskStatisticsResponse) Reset() { + *x = DiskStatisticsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiskStatisticsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiskStatisticsResponse) ProtoMessage() {} + +func (x *DiskStatisticsResponse) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiskStatisticsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatisticsResponse) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{3} +} + +func (x *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus { + if x != nil { + return x.StorageStatuses + } + return nil +} + +// This comment is left unintentionally blank. +type ClockSyncedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // ntp_host is a URL to the external NTP service that should be used for clock sync check. + // Default is ntp.pool.org + NtpHost string `protobuf:"bytes,1,opt,name=ntp_host,json=ntpHost,proto3" json:"ntp_host,omitempty"` + // drift_threshold_millis is an allowed drift from the NTP service in milliseconds. + DriftThresholdMillis int64 `protobuf:"varint,2,opt,name=drift_threshold_millis,json=driftThresholdMillis,proto3" json:"drift_threshold_millis,omitempty"` +} + +func (x *ClockSyncedRequest) Reset() { + *x = ClockSyncedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClockSyncedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClockSyncedRequest) ProtoMessage() {} + +func (x *ClockSyncedRequest) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClockSyncedRequest.ProtoReflect.Descriptor instead. +func (*ClockSyncedRequest) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{4} +} + +func (x *ClockSyncedRequest) GetNtpHost() string { + if x != nil { + return x.NtpHost + } + return "" +} + +func (x *ClockSyncedRequest) GetDriftThresholdMillis() int64 { + if x != nil { + return x.DriftThresholdMillis + } + return 0 +} + +// This comment is left unintentionally blank. +type ClockSyncedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // synced is set to true if system clock has an affordable drift compared to NTP service. + Synced bool `protobuf:"varint,1,opt,name=synced,proto3" json:"synced,omitempty"` +} + +func (x *ClockSyncedResponse) Reset() { + *x = ClockSyncedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClockSyncedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClockSyncedResponse) ProtoMessage() {} + +func (x *ClockSyncedResponse) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClockSyncedResponse.ProtoReflect.Descriptor instead. +func (*ClockSyncedResponse) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{5} +} + +func (x *ClockSyncedResponse) GetSynced() bool { + if x != nil { + return x.Synced + } + return false +} + +// This comment is left unintentionally blank. +type ServerInfoResponse_StorageStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` + // This comment is left unintentionally blank. + Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` + // This comment is left unintentionally blank. + FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` + // This comment is left unintentionally blank. + FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` + // This comment is left unintentionally blank. + ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` +} + +func (x *ServerInfoResponse_StorageStatus) Reset() { + *x = ServerInfoResponse_StorageStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ServerInfoResponse_StorageStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ServerInfoResponse_StorageStatus) ProtoMessage() {} + +func (x *ServerInfoResponse_StorageStatus) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ServerInfoResponse_StorageStatus.ProtoReflect.Descriptor instead. +func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{1, 0} +} + +func (x *ServerInfoResponse_StorageStatus) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *ServerInfoResponse_StorageStatus) GetReadable() bool { + if x != nil { + return x.Readable + } + return false +} + +func (x *ServerInfoResponse_StorageStatus) GetWriteable() bool { + if x != nil { + return x.Writeable + } + return false +} + +func (x *ServerInfoResponse_StorageStatus) GetFsType() string { + if x != nil { + return x.FsType + } + return "" +} + +func (x *ServerInfoResponse_StorageStatus) GetFilesystemId() string { + if x != nil { + return x.FilesystemId + } + return "" +} + +func (x *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32 { + if x != nil { + return x.ReplicationFactor + } + return 0 +} + +// This comment is left unintentionally blank. +type DiskStatisticsResponse_StorageStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When both available and used fields are equal 0 that means that + // Gitaly was unable to determine storage stats. + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + // This comment is left unintentionally blank. + Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"` +} + +func (x *DiskStatisticsResponse_StorageStatus) Reset() { + *x = DiskStatisticsResponse_StorageStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DiskStatisticsResponse_StorageStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DiskStatisticsResponse_StorageStatus) ProtoMessage() {} + +func (x *DiskStatisticsResponse_StorageStatus) ProtoReflect() protoreflect.Message { + mi := &file_server_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DiskStatisticsResponse_StorageStatus.ProtoReflect.Descriptor instead. +func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *DiskStatisticsResponse_StorageStatus) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *DiskStatisticsResponse_StorageStatus) GetAvailable() int64 { + if x != nil { + return x.Available + } + return 0 +} + +func (x *DiskStatisticsResponse_StorageStatus) GetUsed() int64 { + if x != nil { + return x.Used + } + return 0 +} + +var File_server_proto protoreflect.FileDescriptor + +var file_server_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8d, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x69, 0x74, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x69, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0xd9, 0x01, 0x0a, 0x0d, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, + 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, + 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x22, 0x65, 0x0a, 0x12, 0x43, 0x6c, + 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x74, 0x70, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x6e, 0x74, 0x70, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x64, + 0x72, 0x69, 0x66, 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, + 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x64, 0x72, 0x69, + 0x66, 0x74, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x4d, 0x69, 0x6c, 0x6c, 0x69, + 0x73, 0x22, 0x2d, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x63, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, + 0x32, 0xf3, 0x01, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x63, + 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x43, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, + 0x63, 0x6b, 0x53, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_server_proto_rawDescOnce sync.Once + file_server_proto_rawDescData = file_server_proto_rawDesc +) + +func file_server_proto_rawDescGZIP() []byte { + file_server_proto_rawDescOnce.Do(func() { + file_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_server_proto_rawDescData) + }) + return file_server_proto_rawDescData +} + +var file_server_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_server_proto_goTypes = []interface{}{ + (*ServerInfoRequest)(nil), // 0: gitaly.ServerInfoRequest + (*ServerInfoResponse)(nil), // 1: gitaly.ServerInfoResponse + (*DiskStatisticsRequest)(nil), // 2: gitaly.DiskStatisticsRequest + (*DiskStatisticsResponse)(nil), // 3: gitaly.DiskStatisticsResponse + (*ClockSyncedRequest)(nil), // 4: gitaly.ClockSyncedRequest + (*ClockSyncedResponse)(nil), // 5: gitaly.ClockSyncedResponse + (*ServerInfoResponse_StorageStatus)(nil), // 6: gitaly.ServerInfoResponse.StorageStatus + (*DiskStatisticsResponse_StorageStatus)(nil), // 7: gitaly.DiskStatisticsResponse.StorageStatus +} +var file_server_proto_depIdxs = []int32{ + 6, // 0: gitaly.ServerInfoResponse.storage_statuses:type_name -> gitaly.ServerInfoResponse.StorageStatus + 7, // 1: gitaly.DiskStatisticsResponse.storage_statuses:type_name -> gitaly.DiskStatisticsResponse.StorageStatus + 0, // 2: gitaly.ServerService.ServerInfo:input_type -> gitaly.ServerInfoRequest + 2, // 3: gitaly.ServerService.DiskStatistics:input_type -> gitaly.DiskStatisticsRequest + 4, // 4: gitaly.ServerService.ClockSynced:input_type -> gitaly.ClockSyncedRequest + 1, // 5: gitaly.ServerService.ServerInfo:output_type -> gitaly.ServerInfoResponse + 3, // 6: gitaly.ServerService.DiskStatistics:output_type -> gitaly.DiskStatisticsResponse + 5, // 7: gitaly.ServerService.ClockSynced:output_type -> gitaly.ClockSyncedResponse + 5, // [5:8] is the sub-list for method output_type + 2, // [2:5] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_server_proto_init() } +func file_server_proto_init() { + if File_server_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClockSyncedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClockSyncedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoResponse_StorageStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsResponse_StorageStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_server_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_server_proto_goTypes, + DependencyIndexes: file_server_proto_depIdxs, + MessageInfos: file_server_proto_msgTypes, + }.Build() + File_server_proto = out.File + file_server_proto_rawDesc = nil + file_server_proto_goTypes = nil + file_server_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/server_grpc.pb.go b/v14/proto/go/gitalypb/server_grpc.pb.go new file mode 100644 index 000000000..bb3ea1dfc --- /dev/null +++ b/v14/proto/go/gitalypb/server_grpc.pb.go @@ -0,0 +1,181 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// ServerServiceClient is the client API for ServerService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type ServerServiceClient interface { + // This comment is left unintentionally blank. + ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) + // This comment is left unintentionally blank. + DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) + // ClockSynced checks if machine clock is synced + // (the offset is less that the one passed in the request). + ClockSynced(ctx context.Context, in *ClockSyncedRequest, opts ...grpc.CallOption) (*ClockSyncedResponse, error) +} + +type serverServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient { + return &serverServiceClient{cc} +} + +func (c *serverServiceClient) ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) { + out := new(ServerInfoResponse) + err := c.cc.Invoke(ctx, "/gitaly.ServerService/ServerInfo", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *serverServiceClient) DiskStatistics(ctx context.Context, in *DiskStatisticsRequest, opts ...grpc.CallOption) (*DiskStatisticsResponse, error) { + out := new(DiskStatisticsResponse) + err := c.cc.Invoke(ctx, "/gitaly.ServerService/DiskStatistics", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *serverServiceClient) ClockSynced(ctx context.Context, in *ClockSyncedRequest, opts ...grpc.CallOption) (*ClockSyncedResponse, error) { + out := new(ClockSyncedResponse) + err := c.cc.Invoke(ctx, "/gitaly.ServerService/ClockSynced", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// ServerServiceServer is the server API for ServerService service. +// All implementations must embed UnimplementedServerServiceServer +// for forward compatibility +type ServerServiceServer interface { + // This comment is left unintentionally blank. + ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) + // This comment is left unintentionally blank. + DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) + // ClockSynced checks if machine clock is synced + // (the offset is less that the one passed in the request). + ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error) + mustEmbedUnimplementedServerServiceServer() +} + +// UnimplementedServerServiceServer must be embedded to have forward compatible implementations. +type UnimplementedServerServiceServer struct { +} + +func (UnimplementedServerServiceServer) ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServerInfo not implemented") +} +func (UnimplementedServerServiceServer) DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DiskStatistics not implemented") +} +func (UnimplementedServerServiceServer) ClockSynced(context.Context, *ClockSyncedRequest) (*ClockSyncedResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ClockSynced not implemented") +} +func (UnimplementedServerServiceServer) mustEmbedUnimplementedServerServiceServer() {} + +// UnsafeServerServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ServerServiceServer will +// result in compilation errors. +type UnsafeServerServiceServer interface { + mustEmbedUnimplementedServerServiceServer() +} + +func RegisterServerServiceServer(s grpc.ServiceRegistrar, srv ServerServiceServer) { + s.RegisterService(&ServerService_ServiceDesc, srv) +} + +func _ServerService_ServerInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ServerInfoRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).ServerInfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ServerService/ServerInfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).ServerInfo(ctx, req.(*ServerInfoRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ServerService_DiskStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DiskStatisticsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).DiskStatistics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ServerService/DiskStatistics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).DiskStatistics(ctx, req.(*DiskStatisticsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _ServerService_ClockSynced_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ClockSyncedRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServerServiceServer).ClockSynced(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ServerService/ClockSynced", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServerServiceServer).ClockSynced(ctx, req.(*ClockSyncedRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// ServerService_ServiceDesc is the grpc.ServiceDesc for ServerService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var ServerService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.ServerService", + HandlerType: (*ServerServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ServerInfo", + Handler: _ServerService_ServerInfo_Handler, + }, + { + MethodName: "DiskStatistics", + Handler: _ServerService_DiskStatistics_Handler, + }, + { + MethodName: "ClockSynced", + Handler: _ServerService_ClockSynced_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "server.proto", +} diff --git a/v14/proto/go/gitalypb/shared.pb.go b/v14/proto/go/gitalypb/shared.pb.go new file mode 100644 index 000000000..31a54b636 --- /dev/null +++ b/v14/proto/go/gitalypb/shared.pb.go @@ -0,0 +1,1427 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: shared.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type ObjectType int32 + +const ( + // This comment is left unintentionally blank. + ObjectType_UNKNOWN ObjectType = 0 + // This comment is left unintentionally blank. + ObjectType_COMMIT ObjectType = 1 + // This comment is left unintentionally blank. + ObjectType_BLOB ObjectType = 2 + // This comment is left unintentionally blank. + ObjectType_TREE ObjectType = 3 + // This comment is left unintentionally blank. + ObjectType_TAG ObjectType = 4 +) + +// Enum value maps for ObjectType. +var ( + ObjectType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "COMMIT", + 2: "BLOB", + 3: "TREE", + 4: "TAG", + } + ObjectType_value = map[string]int32{ + "UNKNOWN": 0, + "COMMIT": 1, + "BLOB": 2, + "TREE": 3, + "TAG": 4, + } +) + +func (x ObjectType) Enum() *ObjectType { + p := new(ObjectType) + *p = x + return p +} + +func (x ObjectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ObjectType) Descriptor() protoreflect.EnumDescriptor { + return file_shared_proto_enumTypes[0].Descriptor() +} + +func (ObjectType) Type() protoreflect.EnumType { + return &file_shared_proto_enumTypes[0] +} + +func (x ObjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ObjectType.Descriptor instead. +func (ObjectType) EnumDescriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{0} +} + +// This comment is left unintentionally blank. +type SignatureType int32 + +const ( + // This comment is left unintentionally blank. + SignatureType_NONE SignatureType = 0 + // This comment is left unintentionally blank. + SignatureType_PGP SignatureType = 1 + // This comment is left unintentionally blank. + SignatureType_X509 SignatureType = 2 + // This comment is left unintentionally blank. + SignatureType_SSH SignatureType = 3 // maybe add X509+TSA or other combinations at a later step +) + +// Enum value maps for SignatureType. +var ( + SignatureType_name = map[int32]string{ + 0: "NONE", + 1: "PGP", + 2: "X509", + 3: "SSH", + } + SignatureType_value = map[string]int32{ + "NONE": 0, + "PGP": 1, + "X509": 2, + "SSH": 3, + } +) + +func (x SignatureType) Enum() *SignatureType { + p := new(SignatureType) + *p = x + return p +} + +func (x SignatureType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SignatureType) Descriptor() protoreflect.EnumDescriptor { + return file_shared_proto_enumTypes[1].Descriptor() +} + +func (SignatureType) Type() protoreflect.EnumType { + return &file_shared_proto_enumTypes[1] +} + +func (x SignatureType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SignatureType.Descriptor instead. +func (SignatureType) EnumDescriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{1} +} + +// SortDirection defines the sort direction. +type SortDirection int32 + +const ( + // ASCENDING sorts by the sort key in ascending order. + SortDirection_ASCENDING SortDirection = 0 + // DESCENDING sorts by the sort key in descending order. + SortDirection_DESCENDING SortDirection = 1 +) + +// Enum value maps for SortDirection. +var ( + SortDirection_name = map[int32]string{ + 0: "ASCENDING", + 1: "DESCENDING", + } + SortDirection_value = map[string]int32{ + "ASCENDING": 0, + "DESCENDING": 1, + } +) + +func (x SortDirection) Enum() *SortDirection { + p := new(SortDirection) + *p = x + return p +} + +func (x SortDirection) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SortDirection) Descriptor() protoreflect.EnumDescriptor { + return file_shared_proto_enumTypes[2].Descriptor() +} + +func (SortDirection) Type() protoreflect.EnumType { + return &file_shared_proto_enumTypes[2] +} + +func (x SortDirection) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SortDirection.Descriptor instead. +func (SortDirection) EnumDescriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{2} +} + +// This comment is left unintentionally blank. +type Repository struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + // This comment is left unintentionally blank. + RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. + // It influences the object storage directory the SHA1 directories are created underneath. + GitObjectDirectory string `protobuf:"bytes,4,opt,name=git_object_directory,json=gitObjectDirectory,proto3" json:"git_object_directory,omitempty"` + // Sets the GIT_ALTERNATE_OBJECT_DIRECTORIES envvar on git commands to the values of this field. + // It influences the list of Git object directories which can be used to search for Git objects. + GitAlternateObjectDirectories []string `protobuf:"bytes,5,rep,name=git_alternate_object_directories,json=gitAlternateObjectDirectories,proto3" json:"git_alternate_object_directories,omitempty"` + // Used in callbacks to GitLab so that it knows what repository the event is + // associated with. May be left empty on RPC's that do not perform callbacks. + // During project creation, `gl_repository` may not be known. + GlRepository string `protobuf:"bytes,6,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` + // The human-readable GitLab project path (e.g. gitlab-org/gitlab-ce). + // When hashed storage is use, this associates a project path with its + // path on disk. The name can change over time (e.g. when a project is + // renamed). This is primarily used for logging/debugging at the + // moment. + GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` +} + +func (x *Repository) Reset() { + *x = Repository{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Repository) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Repository) ProtoMessage() {} + +func (x *Repository) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Repository.ProtoReflect.Descriptor instead. +func (*Repository) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{0} +} + +func (x *Repository) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" +} + +func (x *Repository) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" +} + +func (x *Repository) GetGitObjectDirectory() string { + if x != nil { + return x.GitObjectDirectory + } + return "" +} + +func (x *Repository) GetGitAlternateObjectDirectories() []string { + if x != nil { + return x.GitAlternateObjectDirectories + } + return nil +} + +func (x *Repository) GetGlRepository() string { + if x != nil { + return x.GlRepository + } + return "" +} + +func (x *Repository) GetGlProjectPath() string { + if x != nil { + return x.GlProjectPath + } + return "" +} + +// A single Git trailer (https://git-scm.com/docs/git-interpret-trailers) +// key-value pair. +type CommitTrailer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The key of the trailer, such as `Signed-off-by`. + Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The value of the trailer, such as `Alice `. + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *CommitTrailer) Reset() { + *x = CommitTrailer{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitTrailer) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitTrailer) ProtoMessage() {} + +func (x *CommitTrailer) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitTrailer.ProtoReflect.Descriptor instead. +func (*CommitTrailer) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{1} +} + +func (x *CommitTrailer) GetKey() []byte { + if x != nil { + return x.Key + } + return nil +} + +func (x *CommitTrailer) GetValue() []byte { + if x != nil { + return x.Value + } + return nil +} + +// Corresponds to Gitlab::Git::Commit +type GitCommit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // This comment is left unintentionally blank. + Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` + // This comment is left unintentionally blank. + Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + // This comment is left unintentionally blank. + Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` + // This comment is left unintentionally blank. + Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"` + // This comment is left unintentionally blank. + ParentIds []string `protobuf:"bytes,6,rep,name=parent_ids,json=parentIds,proto3" json:"parent_ids,omitempty"` + // If body exceeds a certain threshold, it will be nullified, + // but its size will be set in body_size so we can know if + // a commit had a body in the first place. + BodySize int64 `protobuf:"varint,7,opt,name=body_size,json=bodySize,proto3" json:"body_size,omitempty"` + // This comment is left unintentionally blank. + SignatureType SignatureType `protobuf:"varint,8,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` + // The tree ID will always be filled, even if the tree is empty. In that case + // the value will be `4b825dc642cb6eb9a060e54bf8d69288fbee4904`. + // That value is equivalent to `git hash-object -t tree /dev/null` + TreeId string `protobuf:"bytes,9,opt,name=tree_id,json=treeId,proto3" json:"tree_id,omitempty"` + // The list of Git trailers (https://git-scm.com/docs/git-interpret-trailers) + // found in this commit's message. The number of trailers and their key/value + // sizes are limited. If a trailer exceeds these size limits, it and any + // trailers that follow it are not included. + Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` +} + +func (x *GitCommit) Reset() { + *x = GitCommit{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GitCommit) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GitCommit) ProtoMessage() {} + +func (x *GitCommit) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GitCommit.ProtoReflect.Descriptor instead. +func (*GitCommit) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{2} +} + +func (x *GitCommit) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *GitCommit) GetSubject() []byte { + if x != nil { + return x.Subject + } + return nil +} + +func (x *GitCommit) GetBody() []byte { + if x != nil { + return x.Body + } + return nil +} + +func (x *GitCommit) GetAuthor() *CommitAuthor { + if x != nil { + return x.Author + } + return nil +} + +func (x *GitCommit) GetCommitter() *CommitAuthor { + if x != nil { + return x.Committer + } + return nil +} + +func (x *GitCommit) GetParentIds() []string { + if x != nil { + return x.ParentIds + } + return nil +} + +func (x *GitCommit) GetBodySize() int64 { + if x != nil { + return x.BodySize + } + return 0 +} + +func (x *GitCommit) GetSignatureType() SignatureType { + if x != nil { + return x.SignatureType + } + return SignatureType_NONE +} + +func (x *GitCommit) GetTreeId() string { + if x != nil { + return x.TreeId + } + return "" +} + +func (x *GitCommit) GetTrailers() []*CommitTrailer { + if x != nil { + return x.Trailers + } + return nil +} + +// This comment is left unintentionally blank. +type CommitAuthor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + // This comment is left unintentionally blank. + Date *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + // This comment is left unintentionally blank. + Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` +} + +func (x *CommitAuthor) Reset() { + *x = CommitAuthor{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitAuthor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitAuthor) ProtoMessage() {} + +func (x *CommitAuthor) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead. +func (*CommitAuthor) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{3} +} + +func (x *CommitAuthor) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *CommitAuthor) GetEmail() []byte { + if x != nil { + return x.Email + } + return nil +} + +func (x *CommitAuthor) GetDate() *timestamppb.Timestamp { + if x != nil { + return x.Date + } + return nil +} + +func (x *CommitAuthor) GetTimezone() []byte { + if x != nil { + return x.Timezone + } + return nil +} + +// This comment is left unintentionally blank. +type ExitStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *ExitStatus) Reset() { + *x = ExitStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExitStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExitStatus) ProtoMessage() {} + +func (x *ExitStatus) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead. +func (*ExitStatus) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{4} +} + +func (x *ExitStatus) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + +// Corresponds to Gitlab::Git::Branch +type Branch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` +} + +func (x *Branch) Reset() { + *x = Branch{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Branch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Branch) ProtoMessage() {} + +func (x *Branch) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Branch.ProtoReflect.Descriptor instead. +func (*Branch) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{5} +} + +func (x *Branch) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *Branch) GetTargetCommit() *GitCommit { + if x != nil { + return x.TargetCommit + } + return nil +} + +// This comment is left unintentionally blank. +type Tag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + // This comment is left unintentionally blank. + TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` + // If message exceeds a certain threshold, it will be nullified, + // but its size will be set in message_size so we can know if + // a tag had a message in the first place. + Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + // This comment is left unintentionally blank. + MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` + // This comment is left unintentionally blank. + Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` + // This comment is left unintentionally blank. + SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` +} + +func (x *Tag) Reset() { + *x = Tag{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tag) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tag) ProtoMessage() {} + +func (x *Tag) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Tag.ProtoReflect.Descriptor instead. +func (*Tag) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{6} +} + +func (x *Tag) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *Tag) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *Tag) GetTargetCommit() *GitCommit { + if x != nil { + return x.TargetCommit + } + return nil +} + +func (x *Tag) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *Tag) GetMessageSize() int64 { + if x != nil { + return x.MessageSize + } + return 0 +} + +func (x *Tag) GetTagger() *CommitAuthor { + if x != nil { + return x.Tagger + } + return nil +} + +func (x *Tag) GetSignatureType() SignatureType { + if x != nil { + return x.SignatureType + } + return SignatureType_NONE +} + +// This comment is left unintentionally blank. +type User struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` + // This comment is left unintentionally blank. + GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` + // Timezone is the timezone as configured by the user in the web interface. This + // timezone may be used when new commits are created via RPC calls. + Timezone string `protobuf:"bytes,5,opt,name=timezone,proto3" json:"timezone,omitempty"` +} + +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*User) ProtoMessage() {} + +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{7} +} + +func (x *User) GetGlId() string { + if x != nil { + return x.GlId + } + return "" +} + +func (x *User) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *User) GetEmail() []byte { + if x != nil { + return x.Email + } + return nil +} + +func (x *User) GetGlUsername() string { + if x != nil { + return x.GlUsername + } + return "" +} + +func (x *User) GetTimezone() string { + if x != nil { + return x.Timezone + } + return "" +} + +// This comment is left unintentionally blank. +type ObjectPool struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} + +func (x *ObjectPool) Reset() { + *x = ObjectPool{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ObjectPool) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ObjectPool) ProtoMessage() {} + +func (x *ObjectPool) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ObjectPool.ProtoReflect.Descriptor instead. +func (*ObjectPool) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{8} +} + +func (x *ObjectPool) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +// This comment is left unintentionally blank. +type PaginationParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Instructs pagination to start sending results after the provided page + // token appears. A page token allows for a generic pattern to uniquely + // identify a result or 'page'. Each paginated RPC may interpret a page + // token differently. + PageToken string `protobuf:"bytes,1,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` + // When fully consuming the response the client will receive _at most_ + // `limit` number of resulting objects. Note that the number of response + // messages might be much lower, as some response messages already send + // multiple objects per message. + // When the limit is smaller than 0, it will be normalized to 2147483647 + // on the server side. When limit is not set, it defaults to 0, and no + // results are send in the response. + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` +} + +func (x *PaginationParameter) Reset() { + *x = PaginationParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaginationParameter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaginationParameter) ProtoMessage() {} + +func (x *PaginationParameter) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaginationParameter.ProtoReflect.Descriptor instead. +func (*PaginationParameter) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{9} +} + +func (x *PaginationParameter) GetPageToken() string { + if x != nil { + return x.PageToken + } + return "" +} + +func (x *PaginationParameter) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +// This comment is left unintentionally blank. +type PaginationCursor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // To the caller, this is an opaque token to indicate what the caller + // should present as a page_token to get subsequent results. + NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"` +} + +func (x *PaginationCursor) Reset() { + *x = PaginationCursor{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaginationCursor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaginationCursor) ProtoMessage() {} + +func (x *PaginationCursor) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PaginationCursor.ProtoReflect.Descriptor instead. +func (*PaginationCursor) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{10} +} + +func (x *PaginationCursor) GetNextCursor() string { + if x != nil { + return x.NextCursor + } + return "" +} + +// https://git-scm.com/docs/git/#_options +type GlobalOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Treat pathspecs literally (i.e. no globbing, no pathspec magic) + LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` +} + +func (x *GlobalOptions) Reset() { + *x = GlobalOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GlobalOptions) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GlobalOptions) ProtoMessage() {} + +func (x *GlobalOptions) ProtoReflect() protoreflect.Message { + mi := &file_shared_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead. +func (*GlobalOptions) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{11} +} + +func (x *GlobalOptions) GetLiteralPathspecs() bool { + if x != nil { + return x.LiteralPathspecs + } + return false +} + +var File_shared_proto protoreflect.FileDescriptor + +var file_shared_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x67, 0x69, + 0x74, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x67, 0x69, 0x74, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x47, 0x0a, 0x20, + 0x67, 0x69, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1d, 0x67, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x6c, + 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, + 0x74, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x22, 0x37, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x72, + 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf1, 0x02, + 0x0a, 0x09, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, + 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, + 0x64, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, + 0x6f, 0x64, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x31, + 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, + 0x73, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x54, 0x0a, 0x06, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, + 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, + 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, + 0x82, 0x01, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, + 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, + 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, + 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, + 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x46, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, + 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x90, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x4a, 0x0a, 0x13, + 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, + 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x33, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, + 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x3c, 0x0a, + 0x0d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, + 0x0a, 0x11, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, + 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2a, 0x42, 0x0a, 0x0a, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, + 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, + 0x54, 0x52, 0x45, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a, + 0x35, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47, + 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x12, 0x07, 0x0a, + 0x03, 0x53, 0x53, 0x48, 0x10, 0x03, 0x2a, 0x2e, 0x0a, 0x0d, 0x53, 0x6f, 0x72, 0x74, 0x44, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x43, 0x45, 0x4e, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x53, 0x43, 0x45, 0x4e, + 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_shared_proto_rawDescOnce sync.Once + file_shared_proto_rawDescData = file_shared_proto_rawDesc +) + +func file_shared_proto_rawDescGZIP() []byte { + file_shared_proto_rawDescOnce.Do(func() { + file_shared_proto_rawDescData = protoimpl.X.CompressGZIP(file_shared_proto_rawDescData) + }) + return file_shared_proto_rawDescData +} + +var file_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_shared_proto_goTypes = []interface{}{ + (ObjectType)(0), // 0: gitaly.ObjectType + (SignatureType)(0), // 1: gitaly.SignatureType + (SortDirection)(0), // 2: gitaly.SortDirection + (*Repository)(nil), // 3: gitaly.Repository + (*CommitTrailer)(nil), // 4: gitaly.CommitTrailer + (*GitCommit)(nil), // 5: gitaly.GitCommit + (*CommitAuthor)(nil), // 6: gitaly.CommitAuthor + (*ExitStatus)(nil), // 7: gitaly.ExitStatus + (*Branch)(nil), // 8: gitaly.Branch + (*Tag)(nil), // 9: gitaly.Tag + (*User)(nil), // 10: gitaly.User + (*ObjectPool)(nil), // 11: gitaly.ObjectPool + (*PaginationParameter)(nil), // 12: gitaly.PaginationParameter + (*PaginationCursor)(nil), // 13: gitaly.PaginationCursor + (*GlobalOptions)(nil), // 14: gitaly.GlobalOptions + (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp +} +var file_shared_proto_depIdxs = []int32{ + 6, // 0: gitaly.GitCommit.author:type_name -> gitaly.CommitAuthor + 6, // 1: gitaly.GitCommit.committer:type_name -> gitaly.CommitAuthor + 1, // 2: gitaly.GitCommit.signature_type:type_name -> gitaly.SignatureType + 4, // 3: gitaly.GitCommit.trailers:type_name -> gitaly.CommitTrailer + 15, // 4: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp + 5, // 5: gitaly.Branch.target_commit:type_name -> gitaly.GitCommit + 5, // 6: gitaly.Tag.target_commit:type_name -> gitaly.GitCommit + 6, // 7: gitaly.Tag.tagger:type_name -> gitaly.CommitAuthor + 1, // 8: gitaly.Tag.signature_type:type_name -> gitaly.SignatureType + 3, // 9: gitaly.ObjectPool.repository:type_name -> gitaly.Repository + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_shared_proto_init() } +func file_shared_proto_init() { + if File_shared_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_shared_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Repository); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitTrailer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GitCommit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitAuthor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Branch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectPool); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginationParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginationCursor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_shared_proto_rawDesc, + NumEnums: 3, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_shared_proto_goTypes, + DependencyIndexes: file_shared_proto_depIdxs, + EnumInfos: file_shared_proto_enumTypes, + MessageInfos: file_shared_proto_msgTypes, + }.Build() + File_shared_proto = out.File + file_shared_proto_rawDesc = nil + file_shared_proto_goTypes = nil + file_shared_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/smarthttp.pb.go b/v14/proto/go/gitalypb/smarthttp.pb.go new file mode 100644 index 000000000..307925a49 --- /dev/null +++ b/v14/proto/go/gitalypb/smarthttp.pb.go @@ -0,0 +1,797 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: smarthttp.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type InfoRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` +} + +func (x *InfoRefsRequest) Reset() { + *x = InfoRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InfoRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InfoRefsRequest) ProtoMessage() {} + +func (x *InfoRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InfoRefsRequest.ProtoReflect.Descriptor instead. +func (*InfoRefsRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{0} +} + +func (x *InfoRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *InfoRefsRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +func (x *InfoRefsRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +// This comment is left unintentionally blank. +type InfoRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *InfoRefsResponse) Reset() { + *x = InfoRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InfoRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InfoRefsResponse) ProtoMessage() {} + +func (x *InfoRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use InfoRefsResponse.ProtoReflect.Descriptor instead. +func (*InfoRefsResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{1} +} + +func (x *InfoRefsResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type PostUploadPackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository should only be present in the first message of the stream + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Raw data to be copied to stdin of 'git upload-pack' + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,4,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` +} + +func (x *PostUploadPackRequest) Reset() { + *x = PostUploadPackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostUploadPackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostUploadPackRequest) ProtoMessage() {} + +func (x *PostUploadPackRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostUploadPackRequest.ProtoReflect.Descriptor instead. +func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{2} +} + +func (x *PostUploadPackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PostUploadPackRequest) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *PostUploadPackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +func (x *PostUploadPackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +// This comment is left unintentionally blank. +type PostUploadPackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Raw data from stdout of 'git upload-pack' + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *PostUploadPackResponse) Reset() { + *x = PostUploadPackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostUploadPackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostUploadPackResponse) ProtoMessage() {} + +func (x *PostUploadPackResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostUploadPackResponse.ProtoReflect.Descriptor instead. +func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{3} +} + +func (x *PostUploadPackResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +// This comment is left unintentionally blank. +type PostUploadPackWithSidechannelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository should only be present in the first message of the stream + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` +} + +func (x *PostUploadPackWithSidechannelRequest) Reset() { + *x = PostUploadPackWithSidechannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostUploadPackWithSidechannelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostUploadPackWithSidechannelRequest) ProtoMessage() {} + +func (x *PostUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead. +func (*PostUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{4} +} + +func (x *PostUploadPackWithSidechannelRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PostUploadPackWithSidechannelRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +func (x *PostUploadPackWithSidechannelRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +// This comment is left unintentionally blank. +type PostUploadPackWithSidechannelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PostUploadPackWithSidechannelResponse) Reset() { + *x = PostUploadPackWithSidechannelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostUploadPackWithSidechannelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostUploadPackWithSidechannelResponse) ProtoMessage() {} + +func (x *PostUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead. +func (*PostUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{5} +} + +// This comment is left unintentionally blank. +type PostReceivePackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository should only be present in the first message of the stream + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Raw data to be copied to stdin of 'git receive-pack' + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + // gl_id, gl_repository, and gl_username become env variables, used by the Git {pre,post}-receive + // hooks. They should only be present in the first message of the stream. + GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` + // This comment is left unintentionally blank. + GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` + // This comment is left unintentionally blank. + GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` +} + +func (x *PostReceivePackRequest) Reset() { + *x = PostReceivePackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostReceivePackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostReceivePackRequest) ProtoMessage() {} + +func (x *PostReceivePackRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostReceivePackRequest.ProtoReflect.Descriptor instead. +func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{6} +} + +func (x *PostReceivePackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *PostReceivePackRequest) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *PostReceivePackRequest) GetGlId() string { + if x != nil { + return x.GlId + } + return "" +} + +func (x *PostReceivePackRequest) GetGlRepository() string { + if x != nil { + return x.GlRepository + } + return "" +} + +func (x *PostReceivePackRequest) GetGlUsername() string { + if x != nil { + return x.GlUsername + } + return "" +} + +func (x *PostReceivePackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +func (x *PostReceivePackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +// This comment is left unintentionally blank. +type PostReceivePackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Raw data from stdout of 'git receive-pack' + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` +} + +func (x *PostReceivePackResponse) Reset() { + *x = PostReceivePackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PostReceivePackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PostReceivePackResponse) ProtoMessage() {} + +func (x *PostReceivePackResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PostReceivePackResponse.ProtoReflect.Descriptor instead. +func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{7} +} + +func (x *PostReceivePackResponse) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +var File_smarthttp_proto protoreflect.FileDescriptor + +var file_smarthttp_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, + 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x10, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x50, + 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, + 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x22, 0x2c, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0xb1, 0x01, 0x0a, 0x24, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x27, 0x0a, 0x25, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x92, + 0x02, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x2d, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x32, 0xfd, 0x03, 0x0a, 0x10, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x48, 0x54, 0x54, 0x50, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x12, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x66, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x17, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x52, 0x0a, 0x13, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, + 0x6b, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5b, + 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, + 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x84, 0x01, 0x0a, 0x1d, + 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, + 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, + 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, + 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, + 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_smarthttp_proto_rawDescOnce sync.Once + file_smarthttp_proto_rawDescData = file_smarthttp_proto_rawDesc +) + +func file_smarthttp_proto_rawDescGZIP() []byte { + file_smarthttp_proto_rawDescOnce.Do(func() { + file_smarthttp_proto_rawDescData = protoimpl.X.CompressGZIP(file_smarthttp_proto_rawDescData) + }) + return file_smarthttp_proto_rawDescData +} + +var file_smarthttp_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_smarthttp_proto_goTypes = []interface{}{ + (*InfoRefsRequest)(nil), // 0: gitaly.InfoRefsRequest + (*InfoRefsResponse)(nil), // 1: gitaly.InfoRefsResponse + (*PostUploadPackRequest)(nil), // 2: gitaly.PostUploadPackRequest + (*PostUploadPackResponse)(nil), // 3: gitaly.PostUploadPackResponse + (*PostUploadPackWithSidechannelRequest)(nil), // 4: gitaly.PostUploadPackWithSidechannelRequest + (*PostUploadPackWithSidechannelResponse)(nil), // 5: gitaly.PostUploadPackWithSidechannelResponse + (*PostReceivePackRequest)(nil), // 6: gitaly.PostReceivePackRequest + (*PostReceivePackResponse)(nil), // 7: gitaly.PostReceivePackResponse + (*Repository)(nil), // 8: gitaly.Repository +} +var file_smarthttp_proto_depIdxs = []int32{ + 8, // 0: gitaly.InfoRefsRequest.repository:type_name -> gitaly.Repository + 8, // 1: gitaly.PostUploadPackRequest.repository:type_name -> gitaly.Repository + 8, // 2: gitaly.PostUploadPackWithSidechannelRequest.repository:type_name -> gitaly.Repository + 8, // 3: gitaly.PostReceivePackRequest.repository:type_name -> gitaly.Repository + 0, // 4: gitaly.SmartHTTPService.InfoRefsUploadPack:input_type -> gitaly.InfoRefsRequest + 0, // 5: gitaly.SmartHTTPService.InfoRefsReceivePack:input_type -> gitaly.InfoRefsRequest + 2, // 6: gitaly.SmartHTTPService.PostUploadPack:input_type -> gitaly.PostUploadPackRequest + 4, // 7: gitaly.SmartHTTPService.PostUploadPackWithSidechannel:input_type -> gitaly.PostUploadPackWithSidechannelRequest + 6, // 8: gitaly.SmartHTTPService.PostReceivePack:input_type -> gitaly.PostReceivePackRequest + 1, // 9: gitaly.SmartHTTPService.InfoRefsUploadPack:output_type -> gitaly.InfoRefsResponse + 1, // 10: gitaly.SmartHTTPService.InfoRefsReceivePack:output_type -> gitaly.InfoRefsResponse + 3, // 11: gitaly.SmartHTTPService.PostUploadPack:output_type -> gitaly.PostUploadPackResponse + 5, // 12: gitaly.SmartHTTPService.PostUploadPackWithSidechannel:output_type -> gitaly.PostUploadPackWithSidechannelResponse + 7, // 13: gitaly.SmartHTTPService.PostReceivePack:output_type -> gitaly.PostReceivePackResponse + 9, // [9:14] is the sub-list for method output_type + 4, // [4:9] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_smarthttp_proto_init() } +func file_smarthttp_proto_init() { + if File_smarthttp_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_smarthttp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InfoRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InfoRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackWithSidechannelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackWithSidechannelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceivePackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceivePackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_smarthttp_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_smarthttp_proto_goTypes, + DependencyIndexes: file_smarthttp_proto_depIdxs, + MessageInfos: file_smarthttp_proto_msgTypes, + }.Build() + File_smarthttp_proto = out.File + file_smarthttp_proto_rawDesc = nil + file_smarthttp_proto_goTypes = nil + file_smarthttp_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/smarthttp_grpc.pb.go b/v14/proto/go/gitalypb/smarthttp_grpc.pb.go new file mode 100644 index 000000000..523303520 --- /dev/null +++ b/v14/proto/go/gitalypb/smarthttp_grpc.pb.go @@ -0,0 +1,382 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// SmartHTTPServiceClient is the client API for SmartHTTPService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SmartHTTPServiceClient interface { + // The response body for GET /info/refs?service=git-upload-pack + // Will be invoked when the user executes a `git fetch`, meaning the server + // will upload the packs to that user. The user doesn't upload new objects. + InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsUploadPackClient, error) + // The response body for GET /info/refs?service=git-receive-pack + // Will be invoked when the user executes a `git push`, but only advertises + // references to the user. + InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsReceivePackClient, error) + // Request and response body for POST /upload-pack + PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostUploadPackClient, error) + // Request and response body for POST /upload-pack using sidechannel protocol + PostUploadPackWithSidechannel(ctx context.Context, in *PostUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*PostUploadPackWithSidechannelResponse, error) + // Request and response body for POST /receive-pack + PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) +} + +type smartHTTPServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSmartHTTPServiceClient(cc grpc.ClientConnInterface) SmartHTTPServiceClient { + return &smartHTTPServiceClient{cc} +} + +func (c *smartHTTPServiceClient) InfoRefsUploadPack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsUploadPackClient, error) { + stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[0], "/gitaly.SmartHTTPService/InfoRefsUploadPack", opts...) + if err != nil { + return nil, err + } + x := &smartHTTPServiceInfoRefsUploadPackClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type SmartHTTPService_InfoRefsUploadPackClient interface { + Recv() (*InfoRefsResponse, error) + grpc.ClientStream +} + +type smartHTTPServiceInfoRefsUploadPackClient struct { + grpc.ClientStream +} + +func (x *smartHTTPServiceInfoRefsUploadPackClient) Recv() (*InfoRefsResponse, error) { + m := new(InfoRefsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *smartHTTPServiceClient) InfoRefsReceivePack(ctx context.Context, in *InfoRefsRequest, opts ...grpc.CallOption) (SmartHTTPService_InfoRefsReceivePackClient, error) { + stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[1], "/gitaly.SmartHTTPService/InfoRefsReceivePack", opts...) + if err != nil { + return nil, err + } + x := &smartHTTPServiceInfoRefsReceivePackClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type SmartHTTPService_InfoRefsReceivePackClient interface { + Recv() (*InfoRefsResponse, error) + grpc.ClientStream +} + +type smartHTTPServiceInfoRefsReceivePackClient struct { + grpc.ClientStream +} + +func (x *smartHTTPServiceInfoRefsReceivePackClient) Recv() (*InfoRefsResponse, error) { + m := new(InfoRefsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *smartHTTPServiceClient) PostUploadPack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostUploadPackClient, error) { + stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[2], "/gitaly.SmartHTTPService/PostUploadPack", opts...) + if err != nil { + return nil, err + } + x := &smartHTTPServicePostUploadPackClient{stream} + return x, nil +} + +type SmartHTTPService_PostUploadPackClient interface { + Send(*PostUploadPackRequest) error + Recv() (*PostUploadPackResponse, error) + grpc.ClientStream +} + +type smartHTTPServicePostUploadPackClient struct { + grpc.ClientStream +} + +func (x *smartHTTPServicePostUploadPackClient) Send(m *PostUploadPackRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *smartHTTPServicePostUploadPackClient) Recv() (*PostUploadPackResponse, error) { + m := new(PostUploadPackResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *smartHTTPServiceClient) PostUploadPackWithSidechannel(ctx context.Context, in *PostUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*PostUploadPackWithSidechannelResponse, error) { + out := new(PostUploadPackWithSidechannelResponse) + err := c.cc.Invoke(ctx, "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *smartHTTPServiceClient) PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) { + stream, err := c.cc.NewStream(ctx, &SmartHTTPService_ServiceDesc.Streams[3], "/gitaly.SmartHTTPService/PostReceivePack", opts...) + if err != nil { + return nil, err + } + x := &smartHTTPServicePostReceivePackClient{stream} + return x, nil +} + +type SmartHTTPService_PostReceivePackClient interface { + Send(*PostReceivePackRequest) error + Recv() (*PostReceivePackResponse, error) + grpc.ClientStream +} + +type smartHTTPServicePostReceivePackClient struct { + grpc.ClientStream +} + +func (x *smartHTTPServicePostReceivePackClient) Send(m *PostReceivePackRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *smartHTTPServicePostReceivePackClient) Recv() (*PostReceivePackResponse, error) { + m := new(PostReceivePackResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// SmartHTTPServiceServer is the server API for SmartHTTPService service. +// All implementations must embed UnimplementedSmartHTTPServiceServer +// for forward compatibility +type SmartHTTPServiceServer interface { + // The response body for GET /info/refs?service=git-upload-pack + // Will be invoked when the user executes a `git fetch`, meaning the server + // will upload the packs to that user. The user doesn't upload new objects. + InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error + // The response body for GET /info/refs?service=git-receive-pack + // Will be invoked when the user executes a `git push`, but only advertises + // references to the user. + InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error + // Request and response body for POST /upload-pack + PostUploadPack(SmartHTTPService_PostUploadPackServer) error + // Request and response body for POST /upload-pack using sidechannel protocol + PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error) + // Request and response body for POST /receive-pack + PostReceivePack(SmartHTTPService_PostReceivePackServer) error + mustEmbedUnimplementedSmartHTTPServiceServer() +} + +// UnimplementedSmartHTTPServiceServer must be embedded to have forward compatible implementations. +type UnimplementedSmartHTTPServiceServer struct { +} + +func (UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method InfoRefsUploadPack not implemented") +} +func (UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method InfoRefsReceivePack not implemented") +} +func (UnimplementedSmartHTTPServiceServer) PostUploadPack(SmartHTTPService_PostUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method PostUploadPack not implemented") +} +func (UnimplementedSmartHTTPServiceServer) PostUploadPackWithSidechannel(context.Context, *PostUploadPackWithSidechannelRequest) (*PostUploadPackWithSidechannelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PostUploadPackWithSidechannel not implemented") +} +func (UnimplementedSmartHTTPServiceServer) PostReceivePack(SmartHTTPService_PostReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method PostReceivePack not implemented") +} +func (UnimplementedSmartHTTPServiceServer) mustEmbedUnimplementedSmartHTTPServiceServer() {} + +// UnsafeSmartHTTPServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SmartHTTPServiceServer will +// result in compilation errors. +type UnsafeSmartHTTPServiceServer interface { + mustEmbedUnimplementedSmartHTTPServiceServer() +} + +func RegisterSmartHTTPServiceServer(s grpc.ServiceRegistrar, srv SmartHTTPServiceServer) { + s.RegisterService(&SmartHTTPService_ServiceDesc, srv) +} + +func _SmartHTTPService_InfoRefsUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InfoRefsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(SmartHTTPServiceServer).InfoRefsUploadPack(m, &smartHTTPServiceInfoRefsUploadPackServer{stream}) +} + +type SmartHTTPService_InfoRefsUploadPackServer interface { + Send(*InfoRefsResponse) error + grpc.ServerStream +} + +type smartHTTPServiceInfoRefsUploadPackServer struct { + grpc.ServerStream +} + +func (x *smartHTTPServiceInfoRefsUploadPackServer) Send(m *InfoRefsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _SmartHTTPService_InfoRefsReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(InfoRefsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(SmartHTTPServiceServer).InfoRefsReceivePack(m, &smartHTTPServiceInfoRefsReceivePackServer{stream}) +} + +type SmartHTTPService_InfoRefsReceivePackServer interface { + Send(*InfoRefsResponse) error + grpc.ServerStream +} + +type smartHTTPServiceInfoRefsReceivePackServer struct { + grpc.ServerStream +} + +func (x *smartHTTPServiceInfoRefsReceivePackServer) Send(m *InfoRefsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _SmartHTTPService_PostUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(SmartHTTPServiceServer).PostUploadPack(&smartHTTPServicePostUploadPackServer{stream}) +} + +type SmartHTTPService_PostUploadPackServer interface { + Send(*PostUploadPackResponse) error + Recv() (*PostUploadPackRequest, error) + grpc.ServerStream +} + +type smartHTTPServicePostUploadPackServer struct { + grpc.ServerStream +} + +func (x *smartHTTPServicePostUploadPackServer) Send(m *PostUploadPackResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *smartHTTPServicePostUploadPackServer) Recv() (*PostUploadPackRequest, error) { + m := new(PostUploadPackRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _SmartHTTPService_PostUploadPackWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PostUploadPackWithSidechannelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SmartHTTPServiceServer).PostUploadPackWithSidechannel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SmartHTTPServiceServer).PostUploadPackWithSidechannel(ctx, req.(*PostUploadPackWithSidechannelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SmartHTTPService_PostReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(SmartHTTPServiceServer).PostReceivePack(&smartHTTPServicePostReceivePackServer{stream}) +} + +type SmartHTTPService_PostReceivePackServer interface { + Send(*PostReceivePackResponse) error + Recv() (*PostReceivePackRequest, error) + grpc.ServerStream +} + +type smartHTTPServicePostReceivePackServer struct { + grpc.ServerStream +} + +func (x *smartHTTPServicePostReceivePackServer) Send(m *PostReceivePackResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *smartHTTPServicePostReceivePackServer) Recv() (*PostReceivePackRequest, error) { + m := new(PostReceivePackRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// SmartHTTPService_ServiceDesc is the grpc.ServiceDesc for SmartHTTPService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SmartHTTPService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.SmartHTTPService", + HandlerType: (*SmartHTTPServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "PostUploadPackWithSidechannel", + Handler: _SmartHTTPService_PostUploadPackWithSidechannel_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "InfoRefsUploadPack", + Handler: _SmartHTTPService_InfoRefsUploadPack_Handler, + ServerStreams: true, + }, + { + StreamName: "InfoRefsReceivePack", + Handler: _SmartHTTPService_InfoRefsReceivePack_Handler, + ServerStreams: true, + }, + { + StreamName: "PostUploadPack", + Handler: _SmartHTTPService_PostUploadPack_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "PostReceivePack", + Handler: _SmartHTTPService_PostReceivePack_Handler, + ServerStreams: true, + ClientStreams: true, + }, + }, + Metadata: "smarthttp.proto", +} diff --git a/v14/proto/go/gitalypb/ssh.pb.go b/v14/proto/go/gitalypb/ssh.pb.go new file mode 100644 index 000000000..497e36af3 --- /dev/null +++ b/v14/proto/go/gitalypb/ssh.pb.go @@ -0,0 +1,855 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: ssh.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type SSHUploadPackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 'repository' must be present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // A chunk of raw data to be copied to 'git upload-pack' standard input + Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` +} + +func (x *SSHUploadPackRequest) Reset() { + *x = SSHUploadPackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadPackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadPackRequest) ProtoMessage() {} + +func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadPackRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{0} +} + +func (x *SSHUploadPackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SSHUploadPackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +func (x *SSHUploadPackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +func (x *SSHUploadPackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +// This comment is left unintentionally blank. +type SSHUploadPackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A chunk of raw data from 'git upload-pack' standard output + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // A chunk of raw data from 'git upload-pack' standard error + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This field may be nil. This is intentional: only when the remote + // command has finished can we return its exit status. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *SSHUploadPackResponse) Reset() { + *x = SSHUploadPackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadPackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadPackResponse) ProtoMessage() {} + +func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadPackResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{1} +} + +func (x *SSHUploadPackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *SSHUploadPackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type SSHUploadPackWithSidechannelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 'repository' must be present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` +} + +func (x *SSHUploadPackWithSidechannelRequest) Reset() { + *x = SSHUploadPackWithSidechannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadPackWithSidechannelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadPackWithSidechannelRequest) ProtoMessage() {} + +func (x *SSHUploadPackWithSidechannelRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadPackWithSidechannelRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadPackWithSidechannelRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{2} +} + +func (x *SSHUploadPackWithSidechannelRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SSHUploadPackWithSidechannelRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +func (x *SSHUploadPackWithSidechannelRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +// This comment is left unintentionally blank. +type SSHUploadPackWithSidechannelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SSHUploadPackWithSidechannelResponse) Reset() { + *x = SSHUploadPackWithSidechannelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadPackWithSidechannelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadPackWithSidechannelResponse) ProtoMessage() {} + +func (x *SSHUploadPackWithSidechannelResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadPackWithSidechannelResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadPackWithSidechannelResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{3} +} + +// This comment is left unintentionally blank. +type SSHReceivePackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 'repository' must be present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // A chunk of raw data to be copied to 'git upload-pack' standard input + Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` + // Contents of GL_ID, GL_REPOSITORY, and GL_USERNAME environment variables + // for 'git receive-pack' + GlId string `protobuf:"bytes,3,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` + // This comment is left unintentionally blank. + GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` + // This comment is left unintentionally blank. + GlUsername string `protobuf:"bytes,5,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` + // Git protocol version + GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` + // Parameters to use with git -c (key=value pairs) + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` +} + +func (x *SSHReceivePackRequest) Reset() { + *x = SSHReceivePackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHReceivePackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHReceivePackRequest) ProtoMessage() {} + +func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHReceivePackRequest.ProtoReflect.Descriptor instead. +func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{4} +} + +func (x *SSHReceivePackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SSHReceivePackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +func (x *SSHReceivePackRequest) GetGlId() string { + if x != nil { + return x.GlId + } + return "" +} + +func (x *SSHReceivePackRequest) GetGlRepository() string { + if x != nil { + return x.GlRepository + } + return "" +} + +func (x *SSHReceivePackRequest) GetGlUsername() string { + if x != nil { + return x.GlUsername + } + return "" +} + +func (x *SSHReceivePackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol + } + return "" +} + +func (x *SSHReceivePackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions + } + return nil +} + +// This comment is left unintentionally blank. +type SSHReceivePackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A chunk of raw data from 'git receive-pack' standard output + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // A chunk of raw data from 'git receive-pack' standard error + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This field may be nil. This is intentional: only when the remote + // command has finished can we return its exit status. + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *SSHReceivePackResponse) Reset() { + *x = SSHReceivePackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHReceivePackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHReceivePackResponse) ProtoMessage() {} + +func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHReceivePackResponse.ProtoReflect.Descriptor instead. +func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{5} +} + +func (x *SSHReceivePackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *SSHReceivePackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +// This comment is left unintentionally blank. +type SSHUploadArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // 'repository' must be present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // A chunk of raw data to be copied to 'git upload-archive' standard input + Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` +} + +func (x *SSHUploadArchiveRequest) Reset() { + *x = SSHUploadArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadArchiveRequest) ProtoMessage() {} + +func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadArchiveRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{6} +} + +func (x *SSHUploadArchiveRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *SSHUploadArchiveRequest) GetStdin() []byte { + if x != nil { + return x.Stdin + } + return nil +} + +// This comment is left unintentionally blank. +type SSHUploadArchiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A chunk of raw data from 'git upload-archive' standard output + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + // A chunk of raw data from 'git upload-archive' standard error + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + // This value will only be set on the last message + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` +} + +func (x *SSHUploadArchiveResponse) Reset() { + *x = SSHUploadArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SSHUploadArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SSHUploadArchiveResponse) ProtoMessage() {} + +func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SSHUploadArchiveResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{7} +} + +func (x *SSHUploadArchiveResponse) GetStdout() []byte { + if x != nil { + return x.Stdout + } + return nil +} + +func (x *SSHUploadArchiveResponse) GetStderr() []byte { + if x != nil { + return x.Stderr + } + return nil +} + +func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus + } + return nil +} + +var File_ssh_proto protoreflect.FileDescriptor + +var file_ssh_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x73, 0x73, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x01, + 0x0a, 0x14, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x15, 0x67, + 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x7c, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, + 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x23, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x24, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x93, 0x02, + 0x0a, 0x15, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, + 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, + 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x22, 0x7f, 0x0a, + 0x18, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, + 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0xaa, + 0x03, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x58, 0x0a, + 0x0d, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1c, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x53, 0x53, 0x48, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, + 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, + 0x69, 0x74, 0x68, 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x57, 0x69, 0x74, 0x68, + 0x53, 0x69, 0x64, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x5b, 0x0a, 0x0e, 0x53, + 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x10, 0x53, 0x53, 0x48, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, + 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, + 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_ssh_proto_rawDescOnce sync.Once + file_ssh_proto_rawDescData = file_ssh_proto_rawDesc +) + +func file_ssh_proto_rawDescGZIP() []byte { + file_ssh_proto_rawDescOnce.Do(func() { + file_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_ssh_proto_rawDescData) + }) + return file_ssh_proto_rawDescData +} + +var file_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_ssh_proto_goTypes = []interface{}{ + (*SSHUploadPackRequest)(nil), // 0: gitaly.SSHUploadPackRequest + (*SSHUploadPackResponse)(nil), // 1: gitaly.SSHUploadPackResponse + (*SSHUploadPackWithSidechannelRequest)(nil), // 2: gitaly.SSHUploadPackWithSidechannelRequest + (*SSHUploadPackWithSidechannelResponse)(nil), // 3: gitaly.SSHUploadPackWithSidechannelResponse + (*SSHReceivePackRequest)(nil), // 4: gitaly.SSHReceivePackRequest + (*SSHReceivePackResponse)(nil), // 5: gitaly.SSHReceivePackResponse + (*SSHUploadArchiveRequest)(nil), // 6: gitaly.SSHUploadArchiveRequest + (*SSHUploadArchiveResponse)(nil), // 7: gitaly.SSHUploadArchiveResponse + (*Repository)(nil), // 8: gitaly.Repository + (*ExitStatus)(nil), // 9: gitaly.ExitStatus +} +var file_ssh_proto_depIdxs = []int32{ + 8, // 0: gitaly.SSHUploadPackRequest.repository:type_name -> gitaly.Repository + 9, // 1: gitaly.SSHUploadPackResponse.exit_status:type_name -> gitaly.ExitStatus + 8, // 2: gitaly.SSHUploadPackWithSidechannelRequest.repository:type_name -> gitaly.Repository + 8, // 3: gitaly.SSHReceivePackRequest.repository:type_name -> gitaly.Repository + 9, // 4: gitaly.SSHReceivePackResponse.exit_status:type_name -> gitaly.ExitStatus + 8, // 5: gitaly.SSHUploadArchiveRequest.repository:type_name -> gitaly.Repository + 9, // 6: gitaly.SSHUploadArchiveResponse.exit_status:type_name -> gitaly.ExitStatus + 0, // 7: gitaly.SSHService.SSHUploadPack:input_type -> gitaly.SSHUploadPackRequest + 2, // 8: gitaly.SSHService.SSHUploadPackWithSidechannel:input_type -> gitaly.SSHUploadPackWithSidechannelRequest + 4, // 9: gitaly.SSHService.SSHReceivePack:input_type -> gitaly.SSHReceivePackRequest + 6, // 10: gitaly.SSHService.SSHUploadArchive:input_type -> gitaly.SSHUploadArchiveRequest + 1, // 11: gitaly.SSHService.SSHUploadPack:output_type -> gitaly.SSHUploadPackResponse + 3, // 12: gitaly.SSHService.SSHUploadPackWithSidechannel:output_type -> gitaly.SSHUploadPackWithSidechannelResponse + 5, // 13: gitaly.SSHService.SSHReceivePack:output_type -> gitaly.SSHReceivePackResponse + 7, // 14: gitaly.SSHService.SSHUploadArchive:output_type -> gitaly.SSHUploadArchiveResponse + 11, // [11:15] is the sub-list for method output_type + 7, // [7:11] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_ssh_proto_init() } +func file_ssh_proto_init() { + if File_ssh_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackWithSidechannelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackWithSidechannelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ssh_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_ssh_proto_goTypes, + DependencyIndexes: file_ssh_proto_depIdxs, + MessageInfos: file_ssh_proto_msgTypes, + }.Build() + File_ssh_proto = out.File + file_ssh_proto_rawDesc = nil + file_ssh_proto_goTypes = nil + file_ssh_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/ssh_grpc.pb.go b/v14/proto/go/gitalypb/ssh_grpc.pb.go new file mode 100644 index 000000000..21f761b8e --- /dev/null +++ b/v14/proto/go/gitalypb/ssh_grpc.pb.go @@ -0,0 +1,314 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// SSHServiceClient is the client API for SSHService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type SSHServiceClient interface { + // To forward 'git upload-pack' to Gitaly for SSH sessions + SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) + // To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels + SSHUploadPackWithSidechannel(ctx context.Context, in *SSHUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*SSHUploadPackWithSidechannelResponse, error) + // To forward 'git receive-pack' to Gitaly for SSH sessions + SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) + // To forward 'git upload-archive' to Gitaly for SSH sessions + SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) +} + +type sSHServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewSSHServiceClient(cc grpc.ClientConnInterface) SSHServiceClient { + return &sSHServiceClient{cc} +} + +func (c *sSHServiceClient) SSHUploadPack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadPackClient, error) { + stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[0], "/gitaly.SSHService/SSHUploadPack", opts...) + if err != nil { + return nil, err + } + x := &sSHServiceSSHUploadPackClient{stream} + return x, nil +} + +type SSHService_SSHUploadPackClient interface { + Send(*SSHUploadPackRequest) error + Recv() (*SSHUploadPackResponse, error) + grpc.ClientStream +} + +type sSHServiceSSHUploadPackClient struct { + grpc.ClientStream +} + +func (x *sSHServiceSSHUploadPackClient) Send(m *SSHUploadPackRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *sSHServiceSSHUploadPackClient) Recv() (*SSHUploadPackResponse, error) { + m := new(SSHUploadPackResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *sSHServiceClient) SSHUploadPackWithSidechannel(ctx context.Context, in *SSHUploadPackWithSidechannelRequest, opts ...grpc.CallOption) (*SSHUploadPackWithSidechannelResponse, error) { + out := new(SSHUploadPackWithSidechannelResponse) + err := c.cc.Invoke(ctx, "/gitaly.SSHService/SSHUploadPackWithSidechannel", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *sSHServiceClient) SSHReceivePack(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHReceivePackClient, error) { + stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[1], "/gitaly.SSHService/SSHReceivePack", opts...) + if err != nil { + return nil, err + } + x := &sSHServiceSSHReceivePackClient{stream} + return x, nil +} + +type SSHService_SSHReceivePackClient interface { + Send(*SSHReceivePackRequest) error + Recv() (*SSHReceivePackResponse, error) + grpc.ClientStream +} + +type sSHServiceSSHReceivePackClient struct { + grpc.ClientStream +} + +func (x *sSHServiceSSHReceivePackClient) Send(m *SSHReceivePackRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *sSHServiceSSHReceivePackClient) Recv() (*SSHReceivePackResponse, error) { + m := new(SSHReceivePackResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *sSHServiceClient) SSHUploadArchive(ctx context.Context, opts ...grpc.CallOption) (SSHService_SSHUploadArchiveClient, error) { + stream, err := c.cc.NewStream(ctx, &SSHService_ServiceDesc.Streams[2], "/gitaly.SSHService/SSHUploadArchive", opts...) + if err != nil { + return nil, err + } + x := &sSHServiceSSHUploadArchiveClient{stream} + return x, nil +} + +type SSHService_SSHUploadArchiveClient interface { + Send(*SSHUploadArchiveRequest) error + Recv() (*SSHUploadArchiveResponse, error) + grpc.ClientStream +} + +type sSHServiceSSHUploadArchiveClient struct { + grpc.ClientStream +} + +func (x *sSHServiceSSHUploadArchiveClient) Send(m *SSHUploadArchiveRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *sSHServiceSSHUploadArchiveClient) Recv() (*SSHUploadArchiveResponse, error) { + m := new(SSHUploadArchiveResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// SSHServiceServer is the server API for SSHService service. +// All implementations must embed UnimplementedSSHServiceServer +// for forward compatibility +type SSHServiceServer interface { + // To forward 'git upload-pack' to Gitaly for SSH sessions + SSHUploadPack(SSHService_SSHUploadPackServer) error + // To forward 'git upload-pack' to Gitaly for SSH sessions, via sidechannels + SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error) + // To forward 'git receive-pack' to Gitaly for SSH sessions + SSHReceivePack(SSHService_SSHReceivePackServer) error + // To forward 'git upload-archive' to Gitaly for SSH sessions + SSHUploadArchive(SSHService_SSHUploadArchiveServer) error + mustEmbedUnimplementedSSHServiceServer() +} + +// UnimplementedSSHServiceServer must be embedded to have forward compatible implementations. +type UnimplementedSSHServiceServer struct { +} + +func (UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method SSHUploadPack not implemented") +} +func (UnimplementedSSHServiceServer) SSHUploadPackWithSidechannel(context.Context, *SSHUploadPackWithSidechannelRequest) (*SSHUploadPackWithSidechannelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SSHUploadPackWithSidechannel not implemented") +} +func (UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method SSHReceivePack not implemented") +} +func (UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error { + return status.Errorf(codes.Unimplemented, "method SSHUploadArchive not implemented") +} +func (UnimplementedSSHServiceServer) mustEmbedUnimplementedSSHServiceServer() {} + +// UnsafeSSHServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to SSHServiceServer will +// result in compilation errors. +type UnsafeSSHServiceServer interface { + mustEmbedUnimplementedSSHServiceServer() +} + +func RegisterSSHServiceServer(s grpc.ServiceRegistrar, srv SSHServiceServer) { + s.RegisterService(&SSHService_ServiceDesc, srv) +} + +func _SSHService_SSHUploadPack_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(SSHServiceServer).SSHUploadPack(&sSHServiceSSHUploadPackServer{stream}) +} + +type SSHService_SSHUploadPackServer interface { + Send(*SSHUploadPackResponse) error + Recv() (*SSHUploadPackRequest, error) + grpc.ServerStream +} + +type sSHServiceSSHUploadPackServer struct { + grpc.ServerStream +} + +func (x *sSHServiceSSHUploadPackServer) Send(m *SSHUploadPackResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *sSHServiceSSHUploadPackServer) Recv() (*SSHUploadPackRequest, error) { + m := new(SSHUploadPackRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _SSHService_SSHUploadPackWithSidechannel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SSHUploadPackWithSidechannelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(SSHServiceServer).SSHUploadPackWithSidechannel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.SSHService/SSHUploadPackWithSidechannel", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(SSHServiceServer).SSHUploadPackWithSidechannel(ctx, req.(*SSHUploadPackWithSidechannelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _SSHService_SSHReceivePack_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(SSHServiceServer).SSHReceivePack(&sSHServiceSSHReceivePackServer{stream}) +} + +type SSHService_SSHReceivePackServer interface { + Send(*SSHReceivePackResponse) error + Recv() (*SSHReceivePackRequest, error) + grpc.ServerStream +} + +type sSHServiceSSHReceivePackServer struct { + grpc.ServerStream +} + +func (x *sSHServiceSSHReceivePackServer) Send(m *SSHReceivePackResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *sSHServiceSSHReceivePackServer) Recv() (*SSHReceivePackRequest, error) { + m := new(SSHReceivePackRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _SSHService_SSHUploadArchive_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(SSHServiceServer).SSHUploadArchive(&sSHServiceSSHUploadArchiveServer{stream}) +} + +type SSHService_SSHUploadArchiveServer interface { + Send(*SSHUploadArchiveResponse) error + Recv() (*SSHUploadArchiveRequest, error) + grpc.ServerStream +} + +type sSHServiceSSHUploadArchiveServer struct { + grpc.ServerStream +} + +func (x *sSHServiceSSHUploadArchiveServer) Send(m *SSHUploadArchiveResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *sSHServiceSSHUploadArchiveServer) Recv() (*SSHUploadArchiveRequest, error) { + m := new(SSHUploadArchiveRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// SSHService_ServiceDesc is the grpc.ServiceDesc for SSHService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var SSHService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.SSHService", + HandlerType: (*SSHServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "SSHUploadPackWithSidechannel", + Handler: _SSHService_SSHUploadPackWithSidechannel_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "SSHUploadPack", + Handler: _SSHService_SSHUploadPack_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "SSHReceivePack", + Handler: _SSHService_SSHReceivePack_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "SSHUploadArchive", + Handler: _SSHService_SSHUploadArchive_Handler, + ServerStreams: true, + ClientStreams: true, + }, + }, + Metadata: "ssh.proto", +} diff --git a/v14/proto/go/gitalypb/transaction.pb.go b/v14/proto/go/gitalypb/transaction.pb.go new file mode 100644 index 000000000..b98a2af3a --- /dev/null +++ b/v14/proto/go/gitalypb/transaction.pb.go @@ -0,0 +1,545 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: transaction.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type VoteTransactionRequest_Phase int32 + +const ( + // UNKNOWN_PHASE is the unknown voting phase. This value has been the + // default because phases have been introduced. Eventually, using this + // phase will become unsupported. + VoteTransactionRequest_UNKNOWN_PHASE VoteTransactionRequest_Phase = 0 + // PREPARED_PHASE is the prepratory phase. The data that is about to change + // is locked for concurrent modification, but changes have not yet been + // written to disk. + VoteTransactionRequest_PREPARED_PHASE VoteTransactionRequest_Phase = 1 + // COMMITTED_PHASE is the committing phase. Data has been committed to disk + // and will be visible in all subsequent requests. + VoteTransactionRequest_COMMITTED_PHASE VoteTransactionRequest_Phase = 2 +) + +// Enum value maps for VoteTransactionRequest_Phase. +var ( + VoteTransactionRequest_Phase_name = map[int32]string{ + 0: "UNKNOWN_PHASE", + 1: "PREPARED_PHASE", + 2: "COMMITTED_PHASE", + } + VoteTransactionRequest_Phase_value = map[string]int32{ + "UNKNOWN_PHASE": 0, + "PREPARED_PHASE": 1, + "COMMITTED_PHASE": 2, + } +) + +func (x VoteTransactionRequest_Phase) Enum() *VoteTransactionRequest_Phase { + p := new(VoteTransactionRequest_Phase) + *p = x + return p +} + +func (x VoteTransactionRequest_Phase) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VoteTransactionRequest_Phase) Descriptor() protoreflect.EnumDescriptor { + return file_transaction_proto_enumTypes[0].Descriptor() +} + +func (VoteTransactionRequest_Phase) Type() protoreflect.EnumType { + return &file_transaction_proto_enumTypes[0] +} + +func (x VoteTransactionRequest_Phase) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VoteTransactionRequest_Phase.Descriptor instead. +func (VoteTransactionRequest_Phase) EnumDescriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{0, 0} +} + +// The outcome of the given transaction telling the client whether the +// transaction should be committed or rolled back. +type VoteTransactionResponse_TransactionState int32 + +const ( + // This comment is left unintentionally blank. + VoteTransactionResponse_COMMIT VoteTransactionResponse_TransactionState = 0 + // This comment is left unintentionally blank. + VoteTransactionResponse_ABORT VoteTransactionResponse_TransactionState = 1 + // This comment is left unintentionally blank. + VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 +) + +// Enum value maps for VoteTransactionResponse_TransactionState. +var ( + VoteTransactionResponse_TransactionState_name = map[int32]string{ + 0: "COMMIT", + 1: "ABORT", + 2: "STOP", + } + VoteTransactionResponse_TransactionState_value = map[string]int32{ + "COMMIT": 0, + "ABORT": 1, + "STOP": 2, + } +) + +func (x VoteTransactionResponse_TransactionState) Enum() *VoteTransactionResponse_TransactionState { + p := new(VoteTransactionResponse_TransactionState) + *p = x + return p +} + +func (x VoteTransactionResponse_TransactionState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (VoteTransactionResponse_TransactionState) Descriptor() protoreflect.EnumDescriptor { + return file_transaction_proto_enumTypes[1].Descriptor() +} + +func (VoteTransactionResponse_TransactionState) Type() protoreflect.EnumType { + return &file_transaction_proto_enumTypes[1] +} + +func (x VoteTransactionResponse_TransactionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VoteTransactionResponse_TransactionState.Descriptor instead. +func (VoteTransactionResponse_TransactionState) EnumDescriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{1, 0} +} + +// This comment is left unintentionally blank. +type VoteTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // ID of the transaction we're processing + TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` + // Name of the Gitaly node that's voting on a transaction. + Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` + // SHA1 of the references that are to be updated + ReferenceUpdatesHash []byte `protobuf:"bytes,4,opt,name=reference_updates_hash,json=referenceUpdatesHash,proto3" json:"reference_updates_hash,omitempty"` + // Phase is the voting phase. + Phase VoteTransactionRequest_Phase `protobuf:"varint,5,opt,name=phase,proto3,enum=gitaly.VoteTransactionRequest_Phase" json:"phase,omitempty"` +} + +func (x *VoteTransactionRequest) Reset() { + *x = VoteTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VoteTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VoteTransactionRequest) ProtoMessage() {} + +func (x *VoteTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transaction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VoteTransactionRequest.ProtoReflect.Descriptor instead. +func (*VoteTransactionRequest) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{0} +} + +func (x *VoteTransactionRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *VoteTransactionRequest) GetTransactionId() uint64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +func (x *VoteTransactionRequest) GetNode() string { + if x != nil { + return x.Node + } + return "" +} + +func (x *VoteTransactionRequest) GetReferenceUpdatesHash() []byte { + if x != nil { + return x.ReferenceUpdatesHash + } + return nil +} + +func (x *VoteTransactionRequest) GetPhase() VoteTransactionRequest_Phase { + if x != nil { + return x.Phase + } + return VoteTransactionRequest_UNKNOWN_PHASE +} + +// This comment is left unintentionally blank. +type VoteTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"` +} + +func (x *VoteTransactionResponse) Reset() { + *x = VoteTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VoteTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VoteTransactionResponse) ProtoMessage() {} + +func (x *VoteTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_transaction_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VoteTransactionResponse.ProtoReflect.Descriptor instead. +func (*VoteTransactionResponse) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{1} +} + +func (x *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState { + if x != nil { + return x.State + } + return VoteTransactionResponse_COMMIT +} + +// This comment is left unintentionally blank. +type StopTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // ID of the transaction we're processing + TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` +} + +func (x *StopTransactionRequest) Reset() { + *x = StopTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopTransactionRequest) ProtoMessage() {} + +func (x *StopTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transaction_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopTransactionRequest.ProtoReflect.Descriptor instead. +func (*StopTransactionRequest) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{2} +} + +func (x *StopTransactionRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *StopTransactionRequest) GetTransactionId() uint64 { + if x != nil { + return x.TransactionId + } + return 0 +} + +// This comment is left unintentionally blank. +type StopTransactionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StopTransactionResponse) Reset() { + *x = StopTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StopTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopTransactionResponse) ProtoMessage() {} + +func (x *StopTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_transaction_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StopTransactionResponse.ProtoReflect.Descriptor instead. +func (*StopTransactionResponse) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{3} +} + +var File_transaction_proto protoreflect.FileDescriptor + +var file_transaction_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x02, 0x0a, 0x16, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x05, 0x70, + 0x68, 0x61, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65, + 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x22, 0x43, 0x0a, 0x05, 0x50, 0x68, 0x61, 0x73, 0x65, + 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x48, 0x41, 0x53, + 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x5f, + 0x50, 0x48, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, + 0x54, 0x54, 0x45, 0x44, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x10, 0x02, 0x22, 0x96, 0x01, 0x0a, + 0x17, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x22, 0x33, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, + 0x54, 0x4f, 0x50, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, + 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, + 0x22, 0x19, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbe, 0x01, 0x0a, 0x0e, + 0x52, 0x65, 0x66, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, + 0x0a, 0x0f, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0f, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x34, 0x5a, 0x32, + 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, + 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_transaction_proto_rawDescOnce sync.Once + file_transaction_proto_rawDescData = file_transaction_proto_rawDesc +) + +func file_transaction_proto_rawDescGZIP() []byte { + file_transaction_proto_rawDescOnce.Do(func() { + file_transaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_transaction_proto_rawDescData) + }) + return file_transaction_proto_rawDescData +} + +var file_transaction_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_transaction_proto_goTypes = []interface{}{ + (VoteTransactionRequest_Phase)(0), // 0: gitaly.VoteTransactionRequest.Phase + (VoteTransactionResponse_TransactionState)(0), // 1: gitaly.VoteTransactionResponse.TransactionState + (*VoteTransactionRequest)(nil), // 2: gitaly.VoteTransactionRequest + (*VoteTransactionResponse)(nil), // 3: gitaly.VoteTransactionResponse + (*StopTransactionRequest)(nil), // 4: gitaly.StopTransactionRequest + (*StopTransactionResponse)(nil), // 5: gitaly.StopTransactionResponse + (*Repository)(nil), // 6: gitaly.Repository +} +var file_transaction_proto_depIdxs = []int32{ + 6, // 0: gitaly.VoteTransactionRequest.repository:type_name -> gitaly.Repository + 0, // 1: gitaly.VoteTransactionRequest.phase:type_name -> gitaly.VoteTransactionRequest.Phase + 1, // 2: gitaly.VoteTransactionResponse.state:type_name -> gitaly.VoteTransactionResponse.TransactionState + 6, // 3: gitaly.StopTransactionRequest.repository:type_name -> gitaly.Repository + 2, // 4: gitaly.RefTransaction.VoteTransaction:input_type -> gitaly.VoteTransactionRequest + 4, // 5: gitaly.RefTransaction.StopTransaction:input_type -> gitaly.StopTransactionRequest + 3, // 6: gitaly.RefTransaction.VoteTransaction:output_type -> gitaly.VoteTransactionResponse + 5, // 7: gitaly.RefTransaction.StopTransaction:output_type -> gitaly.StopTransactionResponse + 6, // [6:8] is the sub-list for method output_type + 4, // [4:6] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_transaction_proto_init() } +func file_transaction_proto_init() { + if File_transaction_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_transaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_transaction_proto_rawDesc, + NumEnums: 2, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_transaction_proto_goTypes, + DependencyIndexes: file_transaction_proto_depIdxs, + EnumInfos: file_transaction_proto_enumTypes, + MessageInfos: file_transaction_proto_msgTypes, + }.Build() + File_transaction_proto = out.File + file_transaction_proto_rawDesc = nil + file_transaction_proto_goTypes = nil + file_transaction_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/transaction_grpc.pb.go b/v14/proto/go/gitalypb/transaction_grpc.pb.go new file mode 100644 index 000000000..6d8d589b0 --- /dev/null +++ b/v14/proto/go/gitalypb/transaction_grpc.pb.go @@ -0,0 +1,179 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// RefTransactionClient is the client API for RefTransaction service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type RefTransactionClient interface { + // VoteTransaction casts a vote on a transaction to establish whether the + // node is doing the same change as all the other nodes part of the + // transaction. This RPC blocks until quorum has been reached, which may be + // _before_ all nodes have cast a vote. + // + // This RPC may return one of the following error codes: + // + // - `NotFound` in case the transaction could not be found. + // - `Canceled` in case the transaction has been canceled before quorum was + // reached. + VoteTransaction(ctx context.Context, in *VoteTransactionRequest, opts ...grpc.CallOption) (*VoteTransactionResponse, error) + // StopTransaction gracefully stops a transaction. This RPC can be used if + // only a subset of nodes executes specific code which may cause the + // transaction to fail. One such example is Git hooks, which only execute on + // the primary Gitaly noded. Other nodes which vote on this transaction will + // get a response with the `STOP` state being set. + // + // This RPC may return one of the following error codes: + // + // - `NotFound` in case the transaction could not be found. + // - `Canceled` in case the transaction has been canceled before quorum was + // reached. + StopTransaction(ctx context.Context, in *StopTransactionRequest, opts ...grpc.CallOption) (*StopTransactionResponse, error) +} + +type refTransactionClient struct { + cc grpc.ClientConnInterface +} + +func NewRefTransactionClient(cc grpc.ClientConnInterface) RefTransactionClient { + return &refTransactionClient{cc} +} + +func (c *refTransactionClient) VoteTransaction(ctx context.Context, in *VoteTransactionRequest, opts ...grpc.CallOption) (*VoteTransactionResponse, error) { + out := new(VoteTransactionResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefTransaction/VoteTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refTransactionClient) StopTransaction(ctx context.Context, in *StopTransactionRequest, opts ...grpc.CallOption) (*StopTransactionResponse, error) { + out := new(StopTransactionResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefTransaction/StopTransaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RefTransactionServer is the server API for RefTransaction service. +// All implementations must embed UnimplementedRefTransactionServer +// for forward compatibility +type RefTransactionServer interface { + // VoteTransaction casts a vote on a transaction to establish whether the + // node is doing the same change as all the other nodes part of the + // transaction. This RPC blocks until quorum has been reached, which may be + // _before_ all nodes have cast a vote. + // + // This RPC may return one of the following error codes: + // + // - `NotFound` in case the transaction could not be found. + // - `Canceled` in case the transaction has been canceled before quorum was + // reached. + VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) + // StopTransaction gracefully stops a transaction. This RPC can be used if + // only a subset of nodes executes specific code which may cause the + // transaction to fail. One such example is Git hooks, which only execute on + // the primary Gitaly noded. Other nodes which vote on this transaction will + // get a response with the `STOP` state being set. + // + // This RPC may return one of the following error codes: + // + // - `NotFound` in case the transaction could not be found. + // - `Canceled` in case the transaction has been canceled before quorum was + // reached. + StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) + mustEmbedUnimplementedRefTransactionServer() +} + +// UnimplementedRefTransactionServer must be embedded to have forward compatible implementations. +type UnimplementedRefTransactionServer struct { +} + +func (UnimplementedRefTransactionServer) VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method VoteTransaction not implemented") +} +func (UnimplementedRefTransactionServer) StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method StopTransaction not implemented") +} +func (UnimplementedRefTransactionServer) mustEmbedUnimplementedRefTransactionServer() {} + +// UnsafeRefTransactionServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RefTransactionServer will +// result in compilation errors. +type UnsafeRefTransactionServer interface { + mustEmbedUnimplementedRefTransactionServer() +} + +func RegisterRefTransactionServer(s grpc.ServiceRegistrar, srv RefTransactionServer) { + s.RegisterService(&RefTransaction_ServiceDesc, srv) +} + +func _RefTransaction_VoteTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(VoteTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefTransactionServer).VoteTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefTransaction/VoteTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefTransactionServer).VoteTransaction(ctx, req.(*VoteTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefTransaction_StopTransaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StopTransactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefTransactionServer).StopTransaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefTransaction/StopTransaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefTransactionServer).StopTransaction(ctx, req.(*StopTransactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// RefTransaction_ServiceDesc is the grpc.ServiceDesc for RefTransaction service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var RefTransaction_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RefTransaction", + HandlerType: (*RefTransactionServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "VoteTransaction", + Handler: _RefTransaction_VoteTransaction_Handler, + }, + { + MethodName: "StopTransaction", + Handler: _RefTransaction_StopTransaction_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "transaction.proto", +} diff --git a/v14/proto/go/gitalypb/wiki.pb.go b/v14/proto/go/gitalypb/wiki.pb.go new file mode 100644 index 000000000..a57413524 --- /dev/null +++ b/v14/proto/go/gitalypb/wiki.pb.go @@ -0,0 +1,1469 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.26.0 +// protoc v3.17.3 +// source: wiki.proto + +package gitalypb + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This comment is left unintentionally blank. +type WikiGetAllPagesRequest_SortBy int32 + +const ( + // This comment is left unintentionally blank. + WikiGetAllPagesRequest_TITLE WikiGetAllPagesRequest_SortBy = 0 + // This comment is left unintentionally blank. + WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 +) + +// Enum value maps for WikiGetAllPagesRequest_SortBy. +var ( + WikiGetAllPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", + } + WikiGetAllPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, + } +) + +func (x WikiGetAllPagesRequest_SortBy) Enum() *WikiGetAllPagesRequest_SortBy { + p := new(WikiGetAllPagesRequest_SortBy) + *p = x + return p +} + +func (x WikiGetAllPagesRequest_SortBy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WikiGetAllPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_wiki_proto_enumTypes[0].Descriptor() +} + +func (WikiGetAllPagesRequest_SortBy) Type() protoreflect.EnumType { + return &file_wiki_proto_enumTypes[0] +} + +func (x WikiGetAllPagesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WikiGetAllPagesRequest_SortBy.Descriptor instead. +func (WikiGetAllPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{9, 0} +} + +// This comment is left unintentionally blank. +type WikiListPagesRequest_SortBy int32 + +const ( + // This comment is left unintentionally blank. + WikiListPagesRequest_TITLE WikiListPagesRequest_SortBy = 0 + // This comment is left unintentionally blank. + WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 +) + +// Enum value maps for WikiListPagesRequest_SortBy. +var ( + WikiListPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", + } + WikiListPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, + } +) + +func (x WikiListPagesRequest_SortBy) Enum() *WikiListPagesRequest_SortBy { + p := new(WikiListPagesRequest_SortBy) + *p = x + return p +} + +func (x WikiListPagesRequest_SortBy) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WikiListPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_wiki_proto_enumTypes[1].Descriptor() +} + +func (WikiListPagesRequest_SortBy) Type() protoreflect.EnumType { + return &file_wiki_proto_enumTypes[1] +} + +func (x WikiListPagesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WikiListPagesRequest_SortBy.Descriptor instead. +func (WikiListPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{11, 0} +} + +// This comment is left unintentionally blank. +type WikiCommitDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + // This comment is left unintentionally blank. + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + // This comment is left unintentionally blank. + UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + // This comment is left unintentionally blank. + UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` +} + +func (x *WikiCommitDetails) Reset() { + *x = WikiCommitDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiCommitDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiCommitDetails) ProtoMessage() {} + +func (x *WikiCommitDetails) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiCommitDetails.ProtoReflect.Descriptor instead. +func (*WikiCommitDetails) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{0} +} + +func (x *WikiCommitDetails) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *WikiCommitDetails) GetEmail() []byte { + if x != nil { + return x.Email + } + return nil +} + +func (x *WikiCommitDetails) GetMessage() []byte { + if x != nil { + return x.Message + } + return nil +} + +func (x *WikiCommitDetails) GetUserId() int32 { + if x != nil { + return x.UserId + } + return 0 +} + +func (x *WikiCommitDetails) GetUserName() []byte { + if x != nil { + return x.UserName + } + return nil +} + +// This comment is left unintentionally blank. +type WikiPageVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + // This comment is left unintentionally blank. + Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` +} + +func (x *WikiPageVersion) Reset() { + *x = WikiPageVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiPageVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiPageVersion) ProtoMessage() {} + +func (x *WikiPageVersion) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiPageVersion.ProtoReflect.Descriptor instead. +func (*WikiPageVersion) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{1} +} + +func (x *WikiPageVersion) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *WikiPageVersion) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +// This comment is left unintentionally blank. +type WikiPage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // These fields are only present in the first message of a WikiPage stream + Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // This comment is left unintentionally blank. + Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` + // This comment is left unintentionally blank. + Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + // This comment is left unintentionally blank. + UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"` + // This comment is left unintentionally blank. + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"` + // This field is present in all messages of a WikiPage stream + RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` +} + +func (x *WikiPage) Reset() { + *x = WikiPage{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiPage) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiPage) ProtoMessage() {} + +func (x *WikiPage) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiPage.ProtoReflect.Descriptor instead. +func (*WikiPage) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{2} +} + +func (x *WikiPage) GetVersion() *WikiPageVersion { + if x != nil { + return x.Version + } + return nil +} + +func (x *WikiPage) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +func (x *WikiPage) GetTitle() []byte { + if x != nil { + return x.Title + } + return nil +} + +func (x *WikiPage) GetUrlPath() string { + if x != nil { + return x.UrlPath + } + return "" +} + +func (x *WikiPage) GetPath() []byte { + if x != nil { + return x.Path + } + return nil +} + +func (x *WikiPage) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *WikiPage) GetHistorical() bool { + if x != nil { + return x.Historical + } + return false +} + +func (x *WikiPage) GetRawData() []byte { + if x != nil { + return x.RawData + } + return nil +} + +// This message is sent in a stream because the 'content' field may be large. +type WikiWritePageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // These following fields are only present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // This comment is left unintentionally blank. + Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + // This comment is left unintentionally blank. + CommitDetails *WikiCommitDetails `protobuf:"bytes,4,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` + // This field is present in all messages. + Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *WikiWritePageRequest) Reset() { + *x = WikiWritePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiWritePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiWritePageRequest) ProtoMessage() {} + +func (x *WikiWritePageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiWritePageRequest.ProtoReflect.Descriptor instead. +func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{3} +} + +func (x *WikiWritePageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WikiWritePageRequest) GetName() []byte { + if x != nil { + return x.Name + } + return nil +} + +func (x *WikiWritePageRequest) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +func (x *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails { + if x != nil { + return x.CommitDetails + } + return nil +} + +func (x *WikiWritePageRequest) GetContent() []byte { + if x != nil { + return x.Content + } + return nil +} + +// This comment is left unintentionally blank. +type WikiWritePageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"` +} + +func (x *WikiWritePageResponse) Reset() { + *x = WikiWritePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiWritePageResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiWritePageResponse) ProtoMessage() {} + +func (x *WikiWritePageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiWritePageResponse.ProtoReflect.Descriptor instead. +func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{4} +} + +func (x *WikiWritePageResponse) GetDuplicateError() []byte { + if x != nil { + return x.DuplicateError + } + return nil +} + +// This comment is left unintentionally blank. +type WikiUpdatePageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // There fields are only present in the first message of the stream + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` + // This comment is left unintentionally blank. + Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + // This comment is left unintentionally blank. + Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` + // This comment is left unintentionally blank. + CommitDetails *WikiCommitDetails `protobuf:"bytes,5,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` + // This field is present in all messages + Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *WikiUpdatePageRequest) Reset() { + *x = WikiUpdatePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiUpdatePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiUpdatePageRequest) ProtoMessage() {} + +func (x *WikiUpdatePageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiUpdatePageRequest.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{5} +} + +func (x *WikiUpdatePageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WikiUpdatePageRequest) GetPagePath() []byte { + if x != nil { + return x.PagePath + } + return nil +} + +func (x *WikiUpdatePageRequest) GetTitle() []byte { + if x != nil { + return x.Title + } + return nil +} + +func (x *WikiUpdatePageRequest) GetFormat() string { + if x != nil { + return x.Format + } + return "" +} + +func (x *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails { + if x != nil { + return x.CommitDetails + } + return nil +} + +func (x *WikiUpdatePageRequest) GetContent() []byte { + if x != nil { + return x.Content + } + return nil +} + +// This comment is left unintentionally blank. +type WikiUpdatePageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` +} + +func (x *WikiUpdatePageResponse) Reset() { + *x = WikiUpdatePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiUpdatePageResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiUpdatePageResponse) ProtoMessage() {} + +func (x *WikiUpdatePageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiUpdatePageResponse.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{6} +} + +func (x *WikiUpdatePageResponse) GetError() []byte { + if x != nil { + return x.Error + } + return nil +} + +// This comment is left unintentionally blank. +type WikiFindPageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // This comment is left unintentionally blank. + Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + // This comment is left unintentionally blank. + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + // This comment is left unintentionally blank. + Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` + // prevents the content from being sent over the response + SkipContent bool `protobuf:"varint,5,opt,name=skip_content,json=skipContent,proto3" json:"skip_content,omitempty"` +} + +func (x *WikiFindPageRequest) Reset() { + *x = WikiFindPageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiFindPageRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiFindPageRequest) ProtoMessage() {} + +func (x *WikiFindPageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiFindPageRequest.ProtoReflect.Descriptor instead. +func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{7} +} + +func (x *WikiFindPageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WikiFindPageRequest) GetTitle() []byte { + if x != nil { + return x.Title + } + return nil +} + +func (x *WikiFindPageRequest) GetRevision() []byte { + if x != nil { + return x.Revision + } + return nil +} + +func (x *WikiFindPageRequest) GetDirectory() []byte { + if x != nil { + return x.Directory + } + return nil +} + +func (x *WikiFindPageRequest) GetSkipContent() bool { + if x != nil { + return x.SkipContent + } + return false +} + +// WikiFindPageResponse is a stream because we need multiple WikiPage +// messages to send the raw_data field. +type WikiFindPageResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` +} + +func (x *WikiFindPageResponse) Reset() { + *x = WikiFindPageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiFindPageResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiFindPageResponse) ProtoMessage() {} + +func (x *WikiFindPageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiFindPageResponse.ProtoReflect.Descriptor instead. +func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{8} +} + +func (x *WikiFindPageResponse) GetPage() *WikiPage { + if x != nil { + return x.Page + } + return nil +} + +// This comment is left unintentionally blank. +type WikiGetAllPagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Passing 0 means no limit is applied + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + // This comment is left unintentionally blank. + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + // This comment is left unintentionally blank. + Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"` +} + +func (x *WikiGetAllPagesRequest) Reset() { + *x = WikiGetAllPagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiGetAllPagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiGetAllPagesRequest) ProtoMessage() {} + +func (x *WikiGetAllPagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiGetAllPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{9} +} + +func (x *WikiGetAllPagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WikiGetAllPagesRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *WikiGetAllPagesRequest) GetDirectionDesc() bool { + if x != nil { + return x.DirectionDesc + } + return false +} + +func (x *WikiGetAllPagesRequest) GetSort() WikiGetAllPagesRequest_SortBy { + if x != nil { + return x.Sort + } + return WikiGetAllPagesRequest_TITLE +} + +// The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams +type WikiGetAllPagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` + // When end_of_page is true it signals a change of page for the next Response message (if any) + EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage,proto3" json:"end_of_page,omitempty"` +} + +func (x *WikiGetAllPagesResponse) Reset() { + *x = WikiGetAllPagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiGetAllPagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiGetAllPagesResponse) ProtoMessage() {} + +func (x *WikiGetAllPagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiGetAllPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{10} +} + +func (x *WikiGetAllPagesResponse) GetPage() *WikiPage { + if x != nil { + return x.Page + } + return nil +} + +func (x *WikiGetAllPagesResponse) GetEndOfPage() bool { + if x != nil { + return x.EndOfPage + } + return false +} + +// This comment is left unintentionally blank. +type WikiListPagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Passing 0 means no limit is applied + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + // This comment is left unintentionally blank. + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + // This comment is left unintentionally blank. + Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"` + // This comment is left unintentionally blank. + Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` +} + +func (x *WikiListPagesRequest) Reset() { + *x = WikiListPagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiListPagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiListPagesRequest) ProtoMessage() {} + +func (x *WikiListPagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiListPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{11} +} + +func (x *WikiListPagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} + +func (x *WikiListPagesRequest) GetLimit() uint32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *WikiListPagesRequest) GetDirectionDesc() bool { + if x != nil { + return x.DirectionDesc + } + return false +} + +func (x *WikiListPagesRequest) GetSort() WikiListPagesRequest_SortBy { + if x != nil { + return x.Sort + } + return WikiListPagesRequest_TITLE +} + +func (x *WikiListPagesRequest) GetOffset() uint32 { + if x != nil { + return x.Offset + } + return 0 +} + +// The WikiListPagesResponse stream is a concatenation of WikiPage streams without content +type WikiListPagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This comment is left unintentionally blank. + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` +} + +func (x *WikiListPagesResponse) Reset() { + *x = WikiListPagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *WikiListPagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*WikiListPagesResponse) ProtoMessage() {} + +func (x *WikiListPagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use WikiListPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{12} +} + +func (x *WikiListPagesResponse) GetPage() *WikiPage { + if x != nil { + return x.Page + } + return nil +} + +var File_wiki_proto protoreflect.FileDescriptor + +var file_wiki_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x77, 0x69, 0x6b, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, + 0x01, 0x0a, 0x11, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, + 0x0a, 0x0f, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x08, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, + 0x65, 0x12, 0x31, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, + 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, + 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, + 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, + 0x22, 0xd8, 0x01, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, + 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x40, 0x0a, 0x15, 0x57, + 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x64, + 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xf8, 0x01, + 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, + 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x40, 0x0a, 0x0e, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, + 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x16, 0x57, 0x69, 0x6b, 0x69, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xc2, 0x01, 0x0a, 0x13, 0x57, 0x69, 0x6b, + 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x6b, + 0x69, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x3c, 0x0a, + 0x14, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, + 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xef, 0x01, 0x0a, 0x16, + 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x39, 0x0a, + 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x22, 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, + 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, + 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x41, 0x54, 0x10, 0x01, 0x22, 0x5f, 0x0a, + 0x17, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1e, + 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, 0x61, 0x67, 0x65, 0x22, 0x83, + 0x02, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, + 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x37, + 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, + 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, + 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, + 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, + 0x41, 0x54, 0x10, 0x01, 0x22, 0x3d, 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, + 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, + 0x61, 0x67, 0x65, 0x32, 0xcb, 0x03, 0x0a, 0x0b, 0x57, 0x69, 0x6b, 0x69, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, 0x0d, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, + 0x50, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, + 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, + 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x57, + 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, + 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, + 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x57, + 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1e, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x57, 0x69, 0x6b, + 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, + 0x01, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_wiki_proto_rawDescOnce sync.Once + file_wiki_proto_rawDescData = file_wiki_proto_rawDesc +) + +func file_wiki_proto_rawDescGZIP() []byte { + file_wiki_proto_rawDescOnce.Do(func() { + file_wiki_proto_rawDescData = protoimpl.X.CompressGZIP(file_wiki_proto_rawDescData) + }) + return file_wiki_proto_rawDescData +} + +var file_wiki_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_wiki_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_wiki_proto_goTypes = []interface{}{ + (WikiGetAllPagesRequest_SortBy)(0), // 0: gitaly.WikiGetAllPagesRequest.SortBy + (WikiListPagesRequest_SortBy)(0), // 1: gitaly.WikiListPagesRequest.SortBy + (*WikiCommitDetails)(nil), // 2: gitaly.WikiCommitDetails + (*WikiPageVersion)(nil), // 3: gitaly.WikiPageVersion + (*WikiPage)(nil), // 4: gitaly.WikiPage + (*WikiWritePageRequest)(nil), // 5: gitaly.WikiWritePageRequest + (*WikiWritePageResponse)(nil), // 6: gitaly.WikiWritePageResponse + (*WikiUpdatePageRequest)(nil), // 7: gitaly.WikiUpdatePageRequest + (*WikiUpdatePageResponse)(nil), // 8: gitaly.WikiUpdatePageResponse + (*WikiFindPageRequest)(nil), // 9: gitaly.WikiFindPageRequest + (*WikiFindPageResponse)(nil), // 10: gitaly.WikiFindPageResponse + (*WikiGetAllPagesRequest)(nil), // 11: gitaly.WikiGetAllPagesRequest + (*WikiGetAllPagesResponse)(nil), // 12: gitaly.WikiGetAllPagesResponse + (*WikiListPagesRequest)(nil), // 13: gitaly.WikiListPagesRequest + (*WikiListPagesResponse)(nil), // 14: gitaly.WikiListPagesResponse + (*GitCommit)(nil), // 15: gitaly.GitCommit + (*Repository)(nil), // 16: gitaly.Repository +} +var file_wiki_proto_depIdxs = []int32{ + 15, // 0: gitaly.WikiPageVersion.commit:type_name -> gitaly.GitCommit + 3, // 1: gitaly.WikiPage.version:type_name -> gitaly.WikiPageVersion + 16, // 2: gitaly.WikiWritePageRequest.repository:type_name -> gitaly.Repository + 2, // 3: gitaly.WikiWritePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 16, // 4: gitaly.WikiUpdatePageRequest.repository:type_name -> gitaly.Repository + 2, // 5: gitaly.WikiUpdatePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 16, // 6: gitaly.WikiFindPageRequest.repository:type_name -> gitaly.Repository + 4, // 7: gitaly.WikiFindPageResponse.page:type_name -> gitaly.WikiPage + 16, // 8: gitaly.WikiGetAllPagesRequest.repository:type_name -> gitaly.Repository + 0, // 9: gitaly.WikiGetAllPagesRequest.sort:type_name -> gitaly.WikiGetAllPagesRequest.SortBy + 4, // 10: gitaly.WikiGetAllPagesResponse.page:type_name -> gitaly.WikiPage + 16, // 11: gitaly.WikiListPagesRequest.repository:type_name -> gitaly.Repository + 1, // 12: gitaly.WikiListPagesRequest.sort:type_name -> gitaly.WikiListPagesRequest.SortBy + 4, // 13: gitaly.WikiListPagesResponse.page:type_name -> gitaly.WikiPage + 5, // 14: gitaly.WikiService.WikiWritePage:input_type -> gitaly.WikiWritePageRequest + 7, // 15: gitaly.WikiService.WikiUpdatePage:input_type -> gitaly.WikiUpdatePageRequest + 9, // 16: gitaly.WikiService.WikiFindPage:input_type -> gitaly.WikiFindPageRequest + 11, // 17: gitaly.WikiService.WikiGetAllPages:input_type -> gitaly.WikiGetAllPagesRequest + 13, // 18: gitaly.WikiService.WikiListPages:input_type -> gitaly.WikiListPagesRequest + 6, // 19: gitaly.WikiService.WikiWritePage:output_type -> gitaly.WikiWritePageResponse + 8, // 20: gitaly.WikiService.WikiUpdatePage:output_type -> gitaly.WikiUpdatePageResponse + 10, // 21: gitaly.WikiService.WikiFindPage:output_type -> gitaly.WikiFindPageResponse + 12, // 22: gitaly.WikiService.WikiGetAllPages:output_type -> gitaly.WikiGetAllPagesResponse + 14, // 23: gitaly.WikiService.WikiListPages:output_type -> gitaly.WikiListPagesResponse + 19, // [19:24] is the sub-list for method output_type + 14, // [14:19] is the sub-list for method input_type + 14, // [14:14] is the sub-list for extension type_name + 14, // [14:14] is the sub-list for extension extendee + 0, // [0:14] is the sub-list for field type_name +} + +func init() { file_wiki_proto_init() } +func file_wiki_proto_init() { + if File_wiki_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_wiki_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiCommitDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiPageVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiPage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiWritePageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiWritePageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiUpdatePageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiUpdatePageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiFindPageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiFindPageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiGetAllPagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiGetAllPagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiListPagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiListPagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_wiki_proto_rawDesc, + NumEnums: 2, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_wiki_proto_goTypes, + DependencyIndexes: file_wiki_proto_depIdxs, + EnumInfos: file_wiki_proto_enumTypes, + MessageInfos: file_wiki_proto_msgTypes, + }.Build() + File_wiki_proto = out.File + file_wiki_proto_rawDesc = nil + file_wiki_proto_goTypes = nil + file_wiki_proto_depIdxs = nil +} diff --git a/v14/proto/go/gitalypb/wiki_grpc.pb.go b/v14/proto/go/gitalypb/wiki_grpc.pb.go new file mode 100644 index 000000000..588539968 --- /dev/null +++ b/v14/proto/go/gitalypb/wiki_grpc.pb.go @@ -0,0 +1,404 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. + +package gitalypb + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +// WikiServiceClient is the client API for WikiService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type WikiServiceClient interface { + // This comment is left unintentionally blank. + WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) + // This comment is left unintentionally blank. + WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) + // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. + WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) + // This comment is left unintentionally blank. + WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) + // This comment is left unintentionally blank. + WikiListPages(ctx context.Context, in *WikiListPagesRequest, opts ...grpc.CallOption) (WikiService_WikiListPagesClient, error) +} + +type wikiServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewWikiServiceClient(cc grpc.ClientConnInterface) WikiServiceClient { + return &wikiServiceClient{cc} +} + +func (c *wikiServiceClient) WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) { + stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[0], "/gitaly.WikiService/WikiWritePage", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiWritePageClient{stream} + return x, nil +} + +type WikiService_WikiWritePageClient interface { + Send(*WikiWritePageRequest) error + CloseAndRecv() (*WikiWritePageResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiWritePageClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiWritePageClient) Send(m *WikiWritePageRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *wikiServiceWikiWritePageClient) CloseAndRecv() (*WikiWritePageResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(WikiWritePageResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *wikiServiceClient) WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) { + stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[1], "/gitaly.WikiService/WikiUpdatePage", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiUpdatePageClient{stream} + return x, nil +} + +type WikiService_WikiUpdatePageClient interface { + Send(*WikiUpdatePageRequest) error + CloseAndRecv() (*WikiUpdatePageResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiUpdatePageClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiUpdatePageClient) Send(m *WikiUpdatePageRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *wikiServiceWikiUpdatePageClient) CloseAndRecv() (*WikiUpdatePageResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(WikiUpdatePageResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *wikiServiceClient) WikiFindPage(ctx context.Context, in *WikiFindPageRequest, opts ...grpc.CallOption) (WikiService_WikiFindPageClient, error) { + stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[2], "/gitaly.WikiService/WikiFindPage", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiFindPageClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type WikiService_WikiFindPageClient interface { + Recv() (*WikiFindPageResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiFindPageClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiFindPageClient) Recv() (*WikiFindPageResponse, error) { + m := new(WikiFindPageResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *wikiServiceClient) WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) { + stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[3], "/gitaly.WikiService/WikiGetAllPages", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiGetAllPagesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type WikiService_WikiGetAllPagesClient interface { + Recv() (*WikiGetAllPagesResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiGetAllPagesClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiGetAllPagesClient) Recv() (*WikiGetAllPagesResponse, error) { + m := new(WikiGetAllPagesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *wikiServiceClient) WikiListPages(ctx context.Context, in *WikiListPagesRequest, opts ...grpc.CallOption) (WikiService_WikiListPagesClient, error) { + stream, err := c.cc.NewStream(ctx, &WikiService_ServiceDesc.Streams[4], "/gitaly.WikiService/WikiListPages", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiListPagesClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type WikiService_WikiListPagesClient interface { + Recv() (*WikiListPagesResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiListPagesClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiListPagesClient) Recv() (*WikiListPagesResponse, error) { + m := new(WikiListPagesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// WikiServiceServer is the server API for WikiService service. +// All implementations must embed UnimplementedWikiServiceServer +// for forward compatibility +type WikiServiceServer interface { + // This comment is left unintentionally blank. + WikiWritePage(WikiService_WikiWritePageServer) error + // This comment is left unintentionally blank. + WikiUpdatePage(WikiService_WikiUpdatePageServer) error + // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. + WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error + // This comment is left unintentionally blank. + WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error + // This comment is left unintentionally blank. + WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error + mustEmbedUnimplementedWikiServiceServer() +} + +// UnimplementedWikiServiceServer must be embedded to have forward compatible implementations. +type UnimplementedWikiServiceServer struct { +} + +func (UnimplementedWikiServiceServer) WikiWritePage(WikiService_WikiWritePageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiWritePage not implemented") +} +func (UnimplementedWikiServiceServer) WikiUpdatePage(WikiService_WikiUpdatePageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiUpdatePage not implemented") +} +func (UnimplementedWikiServiceServer) WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiFindPage not implemented") +} +func (UnimplementedWikiServiceServer) WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error { + return status.Errorf(codes.Unimplemented, "method WikiGetAllPages not implemented") +} +func (UnimplementedWikiServiceServer) WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error { + return status.Errorf(codes.Unimplemented, "method WikiListPages not implemented") +} +func (UnimplementedWikiServiceServer) mustEmbedUnimplementedWikiServiceServer() {} + +// UnsafeWikiServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to WikiServiceServer will +// result in compilation errors. +type UnsafeWikiServiceServer interface { + mustEmbedUnimplementedWikiServiceServer() +} + +func RegisterWikiServiceServer(s grpc.ServiceRegistrar, srv WikiServiceServer) { + s.RegisterService(&WikiService_ServiceDesc, srv) +} + +func _WikiService_WikiWritePage_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(WikiServiceServer).WikiWritePage(&wikiServiceWikiWritePageServer{stream}) +} + +type WikiService_WikiWritePageServer interface { + SendAndClose(*WikiWritePageResponse) error + Recv() (*WikiWritePageRequest, error) + grpc.ServerStream +} + +type wikiServiceWikiWritePageServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiWritePageServer) SendAndClose(m *WikiWritePageResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *wikiServiceWikiWritePageServer) Recv() (*WikiWritePageRequest, error) { + m := new(WikiWritePageRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _WikiService_WikiUpdatePage_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(WikiServiceServer).WikiUpdatePage(&wikiServiceWikiUpdatePageServer{stream}) +} + +type WikiService_WikiUpdatePageServer interface { + SendAndClose(*WikiUpdatePageResponse) error + Recv() (*WikiUpdatePageRequest, error) + grpc.ServerStream +} + +type wikiServiceWikiUpdatePageServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiUpdatePageServer) SendAndClose(m *WikiUpdatePageResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *wikiServiceWikiUpdatePageServer) Recv() (*WikiUpdatePageRequest, error) { + m := new(WikiUpdatePageRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func _WikiService_WikiFindPage_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiFindPageRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiFindPage(m, &wikiServiceWikiFindPageServer{stream}) +} + +type WikiService_WikiFindPageServer interface { + Send(*WikiFindPageResponse) error + grpc.ServerStream +} + +type wikiServiceWikiFindPageServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiFindPageServer) Send(m *WikiFindPageResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _WikiService_WikiGetAllPages_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiGetAllPagesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiGetAllPages(m, &wikiServiceWikiGetAllPagesServer{stream}) +} + +type WikiService_WikiGetAllPagesServer interface { + Send(*WikiGetAllPagesResponse) error + grpc.ServerStream +} + +type wikiServiceWikiGetAllPagesServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiGetAllPagesServer) Send(m *WikiGetAllPagesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _WikiService_WikiListPages_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiListPagesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiListPages(m, &wikiServiceWikiListPagesServer{stream}) +} + +type WikiService_WikiListPagesServer interface { + Send(*WikiListPagesResponse) error + grpc.ServerStream +} + +type wikiServiceWikiListPagesServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiListPagesServer) Send(m *WikiListPagesResponse) error { + return x.ServerStream.SendMsg(m) +} + +// WikiService_ServiceDesc is the grpc.ServiceDesc for WikiService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var WikiService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.WikiService", + HandlerType: (*WikiServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + Streams: []grpc.StreamDesc{ + { + StreamName: "WikiWritePage", + Handler: _WikiService_WikiWritePage_Handler, + ClientStreams: true, + }, + { + StreamName: "WikiUpdatePage", + Handler: _WikiService_WikiUpdatePage_Handler, + ClientStreams: true, + }, + { + StreamName: "WikiFindPage", + Handler: _WikiService_WikiFindPage_Handler, + ServerStreams: true, + }, + { + StreamName: "WikiGetAllPages", + Handler: _WikiService_WikiGetAllPages_Handler, + ServerStreams: true, + }, + { + StreamName: "WikiListPages", + Handler: _WikiService_WikiListPages_Handler, + ServerStreams: true, + }, + }, + Metadata: "wiki.proto", +} diff --git a/v14/streamio/stream.go b/v14/streamio/stream.go new file mode 100644 index 000000000..68e6bd687 --- /dev/null +++ b/v14/streamio/stream.go @@ -0,0 +1,89 @@ +// Package streamio contains wrappers intended for turning gRPC streams +// that send/receive messages with a []byte field into io.Writers and +// io.Readers. +// +package streamio + +import ( + "io" + "sync" +) + +// NewReader turns receiver into an io.Reader. Errors from the receiver +// function are passed on unmodified. This means receiver should emit +// io.EOF when done. +func NewReader(receiver func() ([]byte, error)) io.Reader { + return &receiveReader{receiver: receiver} +} + +type receiveReader struct { + receiver func() ([]byte, error) + data []byte + err error +} + +func (rr *receiveReader) Read(p []byte) (int, error) { + if len(rr.data) == 0 && rr.err == nil { + rr.data, rr.err = rr.receiver() + } + + n := copy(p, rr.data) + rr.data = rr.data[n:] + + // We want to return any potential error only in case we have no + // buffered data left. Otherwise, it can happen that we do not relay + // bytes when the reader returns both data and an error. + if len(rr.data) == 0 { + return n, rr.err + } + + return n, nil +} + +// NewWriter turns sender into an io.Writer. The sender callback will +// receive []byte arguments of length at most WriteBufferSize. +func NewWriter(sender func(p []byte) error) io.Writer { + return &sendWriter{sender: sender} +} + +// NewSyncWriter turns sender into an io.Writer. The sender callback will +// receive []byte arguments of length at most WriteBufferSize. All calls to the +// sender will be synchronized via the mutex. +func NewSyncWriter(m *sync.Mutex, sender func(p []byte) error) io.Writer { + return &sendWriter{ + sender: func(p []byte) error { + m.Lock() + defer m.Unlock() + + return sender(p) + }, + } +} + +// WriteBufferSize is the largest []byte that Write() will pass to its +// underlying send function. +var WriteBufferSize = 128 * 1024 + +type sendWriter struct { + sender func([]byte) error +} + +func (sw *sendWriter) Write(p []byte) (int, error) { + var sent int + + for len(p) > 0 { + chunkSize := len(p) + if chunkSize > WriteBufferSize { + chunkSize = WriteBufferSize + } + + if err := sw.sender(p[:chunkSize]); err != nil { + return sent, err + } + + sent += chunkSize + p = p[chunkSize:] + } + + return sent, nil +} diff --git a/v14/streamio/stream_test.go b/v14/streamio/stream_test.go new file mode 100644 index 000000000..8f7c841fd --- /dev/null +++ b/v14/streamio/stream_test.go @@ -0,0 +1,149 @@ +package streamio + +import ( + "bytes" + "errors" + "fmt" + "io" + "strings" + "sync" + "testing" + "testing/iotest" + + "github.com/stretchr/testify/require" +) + +func TestReceiveSources(t *testing.T) { + testData := "Hello this is the test data that will be received" + testCases := []struct { + desc string + r io.Reader + }{ + {desc: "base", r: strings.NewReader(testData)}, + {desc: "dataerr", r: iotest.DataErrReader(strings.NewReader(testData))}, + {desc: "onebyte", r: iotest.OneByteReader(strings.NewReader(testData))}, + {desc: "dataerr(onebyte)", r: iotest.DataErrReader(iotest.OneByteReader(strings.NewReader(testData)))}, + } + + for _, tc := range testCases { + data, err := io.ReadAll(&opaqueReader{NewReader(receiverFromReader(tc.r))}) + require.NoError(t, err, tc.desc) + require.Equal(t, testData, string(data), tc.desc) + } +} + +func TestReadSizes(t *testing.T) { + readSizes := func(t *testing.T, newReader func(string) io.Reader) { + testData := "Hello this is the test data that will be received. It goes on for a while bla bla bla." + + for n := 1; n < 100; n *= 3 { + desc := fmt.Sprintf("reads of size %d", n) + result := &bytes.Buffer{} + reader := &opaqueReader{NewReader(receiverFromReader(newReader(testData)))} + n, err := io.CopyBuffer(&opaqueWriter{result}, reader, make([]byte, n)) + + require.NoError(t, err, desc) + require.Equal(t, testData, result.String()) + require.EqualValues(t, len(testData), n) + } + } + + t.Run("normal reader", func(t *testing.T) { + readSizes(t, func(s string) io.Reader { + return strings.NewReader(s) + }) + }) + + t.Run("err reader", func(t *testing.T) { + readSizes(t, func(s string) io.Reader { + return iotest.DataErrReader(strings.NewReader(s)) + }) + }) +} + +func TestRead_rememberError(t *testing.T) { + firstRead := true + myError := errors.New("hello world") + r := NewReader(func() ([]byte, error) { + if firstRead { + firstRead = false + return nil, myError + } + panic("should never be reached") + }) + + // Intentionally call Read more than once. We want the error to be + // sticky. + for i := 0; i < 10; i++ { + _, err := r.Read(nil) + require.Equal(t, err, myError) + } +} + +func receiverFromReader(r io.Reader) func() ([]byte, error) { + return func() ([]byte, error) { + data := make([]byte, 10) + n, err := r.Read(data) + return data[:n], err + } +} + +// Hide io.WriteTo if it exists +type opaqueReader struct { + io.Reader +} + +// Hide io.ReadFrom if it exists +type opaqueWriter struct { + io.Writer +} + +func TestWriterChunking(t *testing.T) { + defer func(oldBufferSize int) { + WriteBufferSize = oldBufferSize + }(WriteBufferSize) + WriteBufferSize = 5 + + testData := "Hello this is some test data" + ts := &testSender{} + w := NewWriter(ts.send) + _, err := io.CopyBuffer(&opaqueWriter{w}, strings.NewReader(testData), make([]byte, 10)) + + require.NoError(t, err) + require.Equal(t, testData, string(bytes.Join(ts.sends, nil))) + for _, send := range ts.sends { + require.True(t, len(send) <= WriteBufferSize, "send calls may not exceed WriteBufferSize") + } +} + +func TestNewSyncWriter(t *testing.T) { + var m sync.Mutex + testData := "Hello this is some test data" + ts := &testSender{} + + w := NewSyncWriter(&m, func(p []byte) error { + // As there is no way to check whether a mutex is locked already, we can just try to + // unlock it here. If the mutex wasn't locked, it would cause a runtime error. As + // there's no concurrent writers in this test, this is safe to do. + m.Unlock() + m.Lock() + + return ts.send(p) + }) + + _, err := io.CopyBuffer(&opaqueWriter{w}, strings.NewReader(testData), make([]byte, 10)) + require.NoError(t, err) + + require.Equal(t, testData, string(bytes.Join(ts.sends, nil))) +} + +type testSender struct { + sends [][]byte +} + +func (ts *testSender) send(p []byte) error { + buf := make([]byte, len(p)) + copy(buf, p) + ts.sends = append(ts.sends, buf) + return nil +} -- cgit v1.2.3