diff options
74 files changed, 30836 insertions, 107 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 54137a851..d3ab56dd0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,6 +81,12 @@ verify: script: - make verify +proto: + <<: *ruby_definition + stage: test + script: + - make proto no-changes + build:go1.12: <<: *build_definition image: registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.12-git-2.21 @@ -88,6 +88,14 @@ race-go: prepare-build docker: prepare-build cd $(BUILD_DIR) && $(MAKE) $@ +.PHONY: proto +proto: prepare-build + cd $(BUILD_DIR) && $(MAKE) $@ + +.PHONY: no-changes +no-changes: prepare-build + cd $(BUILD_DIR) && $(MAKE) $@ + .PHONY: prepare-build prepare-build: $(BUILD_DIR)/.ok update-makefile $(BUILD_DIR)/.ok: diff --git a/_support/generate-proto-ruby b/_support/generate-proto-ruby new file mode 100755 index 000000000..c8742037e --- /dev/null +++ b/_support/generate-proto-ruby @@ -0,0 +1,44 @@ +#!/usr/bin/env ruby + +require 'erb' +require 'fileutils' + +require_relative 'run.rb' + +PROTO_INCLUDE = './proto' +PROTO_FILES = Dir['proto/*.proto'].sort +RUBY_PREFIX = 'ruby/proto' +RUBY_VERSION_FILE = 'gitaly/version.rb' + +ENV['PATH'] = [ + File.join(Dir.pwd, '_build/protoc/bin'), + File.join(Dir.pwd, '_build/bin'), + ENV['PATH'], +].join(':') + +def main + ruby_lib_gitaly = File.join(RUBY_PREFIX, 'gitaly') + FileUtils.rm(Dir[File.join(ruby_lib_gitaly, '**/*_pb.rb')]) + FileUtils.mkdir_p(ruby_lib_gitaly) + + run!(%W[grpc_tools_ruby_protoc -I #{PROTO_INCLUDE} --ruby_out=#{ruby_lib_gitaly} --grpc_out=#{ruby_lib_gitaly}] + PROTO_FILES) + + write_ruby_requires +end + +def write_ruby_requires + requires = Dir.chdir(RUBY_PREFIX) { Dir['gitaly/*_services_pb.rb'] }.sort + abort "No auto-generated Ruby service files found" if requires.empty? + requires.unshift(RUBY_VERSION_FILE) + gem_root = File.join(RUBY_PREFIX, 'gitaly.rb') + gem_root_template = ERB.new <<EOT +# This file is generated by #{File.basename($0)}. Do not edit. +$:.unshift(File.expand_path('../gitaly', __FILE__)) +<% requires.each do |f| %> +require '<%= f.sub(/\.rb$/, '') %>' +<% end %> +EOT + open(gem_root, 'w') { |f| f.write(gem_root_template.result(binding)) } +end + +main diff --git a/_support/makegen.go b/_support/makegen.go index 2ef9cfa42..f8774e2d5 100644 --- a/_support/makegen.go +++ b/_support/makegen.go @@ -22,6 +22,7 @@ import ( "os" "os/exec" "path/filepath" + "runtime" "sort" "strings" "text/template" @@ -69,12 +70,20 @@ func (gm *gitalyMake) BuildDir() string { return gm.cwd } -func (gm *gitalyMake) Pkg() string { return "gitlab.com/gitlab-org/gitaly" } -func (gm *gitalyMake) GoImports() string { return "bin/goimports" } -func (gm *gitalyMake) GoCovMerge() string { return "bin/gocovmerge" } -func (gm *gitalyMake) GoLint() string { return "bin/golint" } -func (gm *gitalyMake) GoVendor() string { return "bin/govendor" } -func (gm *gitalyMake) StaticCheck() string { return filepath.Join(gm.BuildDir(), "bin/staticcheck") } +func (gm *gitalyMake) Pkg() string { return "gitlab.com/gitlab-org/gitaly" } +func (gm *gitalyMake) GoImports() string { return "bin/goimports" } +func (gm *gitalyMake) GoCovMerge() string { return "bin/gocovmerge" } +func (gm *gitalyMake) GoLint() string { return "bin/golint" } +func (gm *gitalyMake) GoVendor() string { return "bin/govendor" } +func (gm *gitalyMake) StaticCheck() string { return filepath.Join(gm.BuildDir(), "bin/staticcheck") } +func (gm *gitalyMake) ProtoC() string { return filepath.Join(gm.BuildDir(), "protoc/bin/protoc") } +func (gm *gitalyMake) ProtoCGenGo() string { return filepath.Join(gm.BuildDir(), "bin/protoc-gen-go") } +func (gm *gitalyMake) ProtoCGenGitaly() string { + return filepath.Join(gm.BuildDir(), "bin/protoc-gen-gitaly") +} +func (gm *gitalyMake) GrpcToolsRuby() string { + return filepath.Join(gm.BuildDir(), "bin/grpc_tools_ruby_protoc") +} func (gm *gitalyMake) CoverageDir() string { return filepath.Join(gm.BuildDir(), "cover") } func (gm *gitalyMake) GitalyRubyDir() string { return filepath.Join(gm.SourceDir(), "ruby") } func (gm *gitalyMake) GitlabShellRelDir() string { return "ruby/gitlab-shell" } @@ -226,7 +235,12 @@ func (gm *gitalyMake) GoFiles() []string { } if info.IsDir() && path != root { - if path == filepath.Join(root, "ruby") || path == filepath.Join(root, "vendor") { + switch path { + case filepath.Join(root, "ruby"): + return filepath.SkipDir + case filepath.Join(root, "vendor"): + return filepath.SkipDir + case filepath.Join(root, "proto/go"): return filepath.SkipDir } @@ -271,6 +285,30 @@ func (gm *gitalyMake) AllPackages() []string { return pkgs } +type protoDownloadInfo struct { + url string + sha256 string +} + +var protoCDownload = map[string]protoDownloadInfo{ + "darwin/amd64": protoDownloadInfo{ + url: "https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-osx-x86_64.zip", + sha256: "0decc6ce5beed07f8c20361ddeb5ac7666f09cf34572cca530e16814093f9c0c", + }, + "linux/amd64": protoDownloadInfo{ + url: "https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip", + sha256: "6003de742ea3fcf703cfec1cd4a3380fd143081a2eb0e559065563496af27807", + }, +} + +func (gm *gitalyMake) ProtoCURL() string { + return protoCDownload[runtime.GOOS+"/"+runtime.GOARCH].url +} + +func (gm *gitalyMake) ProtoCSHA256() string { + return protoCDownload[runtime.GOOS+"/"+runtime.GOARCH].sha256 +} + var templateText = ` # _build/Makefile # @@ -518,4 +556,35 @@ docker: {{ end }} cp {{ .SourceDir }}/Dockerfile docker/ docker build -t gitlab/gitaly:{{ .VersionPrefixed }} -t gitlab/gitaly:latest docker/ + +.PHONY: proto +proto: {{ .ProtoC }} {{ .ProtoCGenGo }} {{ .ProtoCGenGitaly }} {{ .GrpcToolsRuby }} + mkdir -p {{ .SourceDir }}/proto/go/gitalypb + rm -rf {{ .SourceDir }}/proto/go/gitalypb/*.pb.go + cd {{ .SourceDir }} && {{ .ProtoC }} --gitaly_out=proto_dir=./proto,gitalypb_dir=./proto/go/gitalypb:. --go_out=paths=source_relative,plugins=grpc:./proto/go/gitalypb -I./proto ./proto/*.proto + cd {{ .SourceDir }} && _support/generate-proto-ruby + +{{ .ProtoC }}: {{ .BuildDir }}/protoc.zip + mkdir -p {{ .BuildDir }}/protoc + cd {{ .BuildDir }}/protoc && unzip {{ .BuildDir }}/protoc.zip + touch $@ + +{{ .BuildDir }}/protoc.zip: + curl -o $@.tmp --silent -L {{ .ProtoCURL }} + printf '{{ .ProtoCSHA256 }} $@.tmp' | shasum -a256 -c - + mv $@.tmp $@ + +{{ .ProtoCGenGo }}: + go get github.com/golang/protobuf/protoc-gen-go@v1.3.2 + +{{ .ProtoCGenGitaly }}: + # Todo fix protoc-gen-gitaly versioning + go install gitlab.com/gitlab-org/gitaly-proto/go/internal/cmd/protoc-gen-gitaly + +{{ .GrpcToolsRuby }}: + gem install --bindir {{ .BuildDir }}/bin -v 1.0.1 grpc-tools + +no-changes: + # looking for changed files + @cd {{ .SourceDir }} && git status --porcelain | awk '{ print } END { if (NR > 0) { exit 1 } }' ` diff --git a/_support/migrate-proto b/_support/migrate-proto index c1529a5a4..132287271 100755 --- a/_support/migrate-proto +++ b/_support/migrate-proto @@ -48,7 +48,7 @@ end def copy(root) dest = File.join(root, 'proto') FileUtils.rm(Dir["#{dest}/*.proto"]) - file_list = Dir['*.proto'] + Dir['*.md'] + %w[LICENSE VERSION] + file_list = Dir['*.proto'] + Dir['*.md'] + %w[VERSION] FileUtils.cp(file_list, dest) end diff --git a/proto/LICENSE b/proto/LICENSE deleted file mode 100644 index c7344c56d..000000000 --- a/proto/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2016-2017 GitLab B.V. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/proto/README.md b/proto/README.md index 0584f35e3..64344fd36 100644 --- a/proto/README.md +++ b/proto/README.md @@ -1,6 +1,6 @@ # Vendored copy of gitaly-proto -Vendored from https://gitlab.com/gitlab-org/gitaly-proto at f5d7f3cf76555acb5a14ae80eb7db4ad9ff2c553. +Vendored from https://gitlab.com/gitlab-org/gitaly-proto at 617898b9c0c4c8a55c7b0abe95144109a3836270. Migration in progress, see https://gitlab.com/gitlab-org/gitaly/issues/1761. Do not edit files in diff --git a/proto/VERSION b/proto/VERSION index 39fc130ef..ebeef2f2d 100644 --- a/proto/VERSION +++ b/proto/VERSION @@ -1 +1 @@ -1.36.0 +1.38.0 diff --git a/proto/blob.proto b/proto/blob.proto index f786a26c5..f8bb1b92a 100644 --- a/proto/blob.proto +++ b/proto/blob.proto @@ -11,19 +11,34 @@ service BlobService { // ID. We use a stream to return a chunked arbitrarily large binary // response rpc GetBlob(GetBlobRequest) returns (stream GetBlobResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetBlobs(GetBlobsRequest) returns (stream GetBlobsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetLFSPointers(GetLFSPointersRequest) returns (stream GetLFSPointersResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetNewLFSPointers(GetNewLFSPointersRequest) returns (stream GetNewLFSPointersResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetAllLFSPointers(GetAllLFSPointersRequest) returns (stream GetAllLFSPointersResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } } diff --git a/proto/commit.proto b/proto/commit.proto index d338809fb..6a73e76c0 100644 --- a/proto/commit.proto +++ b/proto/commit.proto @@ -9,73 +9,142 @@ import "google/protobuf/timestamp.proto"; service CommitService { rpc CommitIsAncestor(CommitIsAncestorRequest) returns (CommitIsAncestorResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc TreeEntry(TreeEntryRequest) returns (stream TreeEntryResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CommitsBetween(CommitsBetweenRequest) returns (stream CommitsBetweenResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CountCommits(CountCommitsRequest) returns (CountCommitsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CountDivergingCommits(CountDivergingCommitsRequest) returns (CountDivergingCommitsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetTreeEntries(GetTreeEntriesRequest) returns (stream GetTreeEntriesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListFiles(ListFilesRequest) returns (stream ListFilesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindCommit(FindCommitRequest) returns (FindCommitResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CommitStats(CommitStatsRequest) returns (CommitStatsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Use a stream to paginate the result set rpc FindAllCommits(FindAllCommitsRequest) returns (stream FindAllCommitsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindCommits(FindCommitsRequest) returns (stream FindCommitsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CommitLanguages(CommitLanguagesRequest) returns (CommitLanguagesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RawBlame(RawBlameRequest) returns (stream RawBlameResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc LastCommitForPath(LastCommitForPathRequest) returns (LastCommitForPathResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListLastCommitsForTree(ListLastCommitsForTreeRequest) returns (stream ListLastCommitsForTreeResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CommitsByMessage(CommitsByMessageRequest) returns (stream CommitsByMessageResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListCommitsByOid(ListCommitsByOidRequest) returns (stream ListCommitsByOidResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; + } + rpc ListCommitsByRefName(ListCommitsByRefNameRequest) returns (stream ListCommitsByRefNameResponse) { + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FilterShasWithSignatures(stream FilterShasWithSignaturesRequest) returns (stream FilterShasWithSignaturesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // ExtractCommitSignature returns a stream because the signed text may be // arbitrarily large and signature verification is impossible without the // full text. rpc ExtractCommitSignature(ExtractCommitSignatureRequest) returns (stream ExtractCommitSignatureResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetCommitSignatures(GetCommitSignaturesRequest) returns (stream GetCommitSignaturesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetCommitMessages(GetCommitMessagesRequest) returns (stream GetCommitMessagesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } } @@ -231,6 +300,15 @@ message ListCommitsByOidResponse { repeated GitCommit commits = 1; } +message ListCommitsByRefNameRequest { + Repository repository = 1; + repeated bytes ref_names = 2; +} + +message ListCommitsByRefNameResponse { + repeated GitCommit commits = 1; +} + message FindAllCommitsRequest { Repository repository = 1; // When nil, return all commits reachable by any branch in the repo diff --git a/proto/conflicts.proto b/proto/conflicts.proto index f0c20d02f..6409a38d5 100644 --- a/proto/conflicts.proto +++ b/proto/conflicts.proto @@ -8,7 +8,10 @@ import "shared.proto"; service ConflictsService { rpc ListConflictFiles(ListConflictFilesRequest) returns (stream ListConflictFilesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ResolveConflicts(stream ResolveConflictsRequest) returns (ResolveConflictsResponse) { option (op_type) = { diff --git a/proto/diff.proto b/proto/diff.proto index 7548ad88f..5f9b2f271 100644 --- a/proto/diff.proto +++ b/proto/diff.proto @@ -9,23 +9,41 @@ import "shared.proto"; service DiffService { // Returns stream of CommitDiffResponse with patches chunked over messages rpc CommitDiff(CommitDiffRequest) returns (stream CommitDiffResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Return a stream so we can divide the response in chunks of deltas rpc CommitDelta(CommitDeltaRequest) returns (stream CommitDeltaResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CommitPatch(CommitPatchRequest) returns (stream CommitPatchResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RawDiff(RawDiffRequest) returns (stream RawDiffResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RawPatch(RawPatchRequest) returns (stream RawPatchResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc DiffStats(DiffStatsRequest) returns (stream DiffStatsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } } diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go new file mode 100644 index 000000000..2dd4ae9fa --- /dev/null +++ b/proto/go/gitalypb/blob.pb.go @@ -0,0 +1,1154 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: blob.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetBlobRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBlobRequest) Reset() { *m = GetBlobRequest{} } +func (m *GetBlobRequest) String() string { return proto.CompactTextString(m) } +func (*GetBlobRequest) ProtoMessage() {} +func (*GetBlobRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{0} +} + +func (m *GetBlobRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBlobRequest.Unmarshal(m, b) +} +func (m *GetBlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBlobRequest.Marshal(b, m, deterministic) +} +func (m *GetBlobRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBlobRequest.Merge(m, src) +} +func (m *GetBlobRequest) XXX_Size() int { + return xxx_messageInfo_GetBlobRequest.Size(m) +} +func (m *GetBlobRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBlobRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBlobRequest proto.InternalMessageInfo + +func (m *GetBlobRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetBlobRequest) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *GetBlobRequest) GetLimit() int64 { + if m != nil { + return m.Limit + } + return 0 +} + +type GetBlobResponse struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBlobResponse) Reset() { *m = GetBlobResponse{} } +func (m *GetBlobResponse) String() string { return proto.CompactTextString(m) } +func (*GetBlobResponse) ProtoMessage() {} +func (*GetBlobResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{1} +} + +func (m *GetBlobResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBlobResponse.Unmarshal(m, b) +} +func (m *GetBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBlobResponse.Marshal(b, m, deterministic) +} +func (m *GetBlobResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBlobResponse.Merge(m, src) +} +func (m *GetBlobResponse) XXX_Size() int { + return xxx_messageInfo_GetBlobResponse.Size(m) +} +func (m *GetBlobResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBlobResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBlobResponse proto.InternalMessageInfo + +func (m *GetBlobResponse) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *GetBlobResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *GetBlobResponse) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +type GetBlobsRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBlobsRequest) Reset() { *m = GetBlobsRequest{} } +func (m *GetBlobsRequest) String() string { return proto.CompactTextString(m) } +func (*GetBlobsRequest) ProtoMessage() {} +func (*GetBlobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{2} +} + +func (m *GetBlobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBlobsRequest.Unmarshal(m, b) +} +func (m *GetBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBlobsRequest.Marshal(b, m, deterministic) +} +func (m *GetBlobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBlobsRequest.Merge(m, src) +} +func (m *GetBlobsRequest) XXX_Size() int { + return xxx_messageInfo_GetBlobsRequest.Size(m) +} +func (m *GetBlobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetBlobsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBlobsRequest proto.InternalMessageInfo + +func (m *GetBlobsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { + if m != nil { + return m.RevisionPaths + } + return nil +} + +func (m *GetBlobsRequest) GetLimit() int64 { + if m != nil { + return m.Limit + } + return 0 +} + +type GetBlobsRequest_RevisionPath struct { + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBlobsRequest_RevisionPath) Reset() { *m = GetBlobsRequest_RevisionPath{} } +func (m *GetBlobsRequest_RevisionPath) String() string { return proto.CompactTextString(m) } +func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} +func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{2, 0} +} + +func (m *GetBlobsRequest_RevisionPath) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBlobsRequest_RevisionPath.Unmarshal(m, b) +} +func (m *GetBlobsRequest_RevisionPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBlobsRequest_RevisionPath.Marshal(b, m, deterministic) +} +func (m *GetBlobsRequest_RevisionPath) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBlobsRequest_RevisionPath.Merge(m, src) +} +func (m *GetBlobsRequest_RevisionPath) XXX_Size() int { + return xxx_messageInfo_GetBlobsRequest_RevisionPath.Size(m) +} +func (m *GetBlobsRequest_RevisionPath) XXX_DiscardUnknown() { + xxx_messageInfo_GetBlobsRequest_RevisionPath.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBlobsRequest_RevisionPath proto.InternalMessageInfo + +func (m *GetBlobsRequest_RevisionPath) GetRevision() string { + if m != nil { + return m.Revision + } + return "" +} + +func (m *GetBlobsRequest_RevisionPath) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type GetBlobsResponse struct { + // 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"` + IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` + Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} } +func (m *GetBlobsResponse) String() string { return proto.CompactTextString(m) } +func (*GetBlobsResponse) ProtoMessage() {} +func (*GetBlobsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{3} +} + +func (m *GetBlobsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetBlobsResponse.Unmarshal(m, b) +} +func (m *GetBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetBlobsResponse.Marshal(b, m, deterministic) +} +func (m *GetBlobsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetBlobsResponse.Merge(m, src) +} +func (m *GetBlobsResponse) XXX_Size() int { + return xxx_messageInfo_GetBlobsResponse.Size(m) +} +func (m *GetBlobsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetBlobsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetBlobsResponse proto.InternalMessageInfo + +func (m *GetBlobsResponse) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *GetBlobsResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *GetBlobsResponse) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *GetBlobsResponse) GetIsSubmodule() bool { + if m != nil { + return m.IsSubmodule + } + return false +} + +func (m *GetBlobsResponse) GetMode() int32 { + if m != nil { + return m.Mode + } + return 0 +} + +func (m *GetBlobsResponse) GetRevision() string { + if m != nil { + return m.Revision + } + return "" +} + +func (m *GetBlobsResponse) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type LFSPointer struct { + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LFSPointer) Reset() { *m = LFSPointer{} } +func (m *LFSPointer) String() string { return proto.CompactTextString(m) } +func (*LFSPointer) ProtoMessage() {} +func (*LFSPointer) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{4} +} + +func (m *LFSPointer) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LFSPointer.Unmarshal(m, b) +} +func (m *LFSPointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LFSPointer.Marshal(b, m, deterministic) +} +func (m *LFSPointer) XXX_Merge(src proto.Message) { + xxx_messageInfo_LFSPointer.Merge(m, src) +} +func (m *LFSPointer) XXX_Size() int { + return xxx_messageInfo_LFSPointer.Size(m) +} +func (m *LFSPointer) XXX_DiscardUnknown() { + xxx_messageInfo_LFSPointer.DiscardUnknown(m) +} + +var xxx_messageInfo_LFSPointer proto.InternalMessageInfo + +func (m *LFSPointer) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *LFSPointer) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *LFSPointer) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +type NewBlobObject struct { + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NewBlobObject) Reset() { *m = NewBlobObject{} } +func (m *NewBlobObject) String() string { return proto.CompactTextString(m) } +func (*NewBlobObject) ProtoMessage() {} +func (*NewBlobObject) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{5} +} + +func (m *NewBlobObject) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NewBlobObject.Unmarshal(m, b) +} +func (m *NewBlobObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NewBlobObject.Marshal(b, m, deterministic) +} +func (m *NewBlobObject) XXX_Merge(src proto.Message) { + xxx_messageInfo_NewBlobObject.Merge(m, src) +} +func (m *NewBlobObject) XXX_Size() int { + return xxx_messageInfo_NewBlobObject.Size(m) +} +func (m *NewBlobObject) XXX_DiscardUnknown() { + xxx_messageInfo_NewBlobObject.DiscardUnknown(m) +} + +var xxx_messageInfo_NewBlobObject proto.InternalMessageInfo + +func (m *NewBlobObject) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *NewBlobObject) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *NewBlobObject) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type GetLFSPointersRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetLFSPointersRequest) Reset() { *m = GetLFSPointersRequest{} } +func (m *GetLFSPointersRequest) String() string { return proto.CompactTextString(m) } +func (*GetLFSPointersRequest) ProtoMessage() {} +func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{6} +} + +func (m *GetLFSPointersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetLFSPointersRequest.Unmarshal(m, b) +} +func (m *GetLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetLFSPointersRequest.Marshal(b, m, deterministic) +} +func (m *GetLFSPointersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLFSPointersRequest.Merge(m, src) +} +func (m *GetLFSPointersRequest) XXX_Size() int { + return xxx_messageInfo_GetLFSPointersRequest.Size(m) +} +func (m *GetLFSPointersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetLFSPointersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLFSPointersRequest proto.InternalMessageInfo + +func (m *GetLFSPointersRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetLFSPointersRequest) GetBlobIds() []string { + if m != nil { + return m.BlobIds + } + return nil +} + +type GetLFSPointersResponse struct { + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetLFSPointersResponse) Reset() { *m = GetLFSPointersResponse{} } +func (m *GetLFSPointersResponse) String() string { return proto.CompactTextString(m) } +func (*GetLFSPointersResponse) ProtoMessage() {} +func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{7} +} + +func (m *GetLFSPointersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetLFSPointersResponse.Unmarshal(m, b) +} +func (m *GetLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetLFSPointersResponse.Marshal(b, m, deterministic) +} +func (m *GetLFSPointersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetLFSPointersResponse.Merge(m, src) +} +func (m *GetLFSPointersResponse) XXX_Size() int { + return xxx_messageInfo_GetLFSPointersResponse.Size(m) +} +func (m *GetLFSPointersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetLFSPointersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetLFSPointersResponse proto.InternalMessageInfo + +func (m *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if m != nil { + return m.LfsPointers + } + return nil +} + +type GetNewLFSPointersRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + // Note: When `not_in_all` is true, `not_in_refs` is ignored + NotInAll bool `protobuf:"varint,4,opt,name=not_in_all,json=notInAll,proto3" json:"not_in_all,omitempty"` + NotInRefs [][]byte `protobuf:"bytes,5,rep,name=not_in_refs,json=notInRefs,proto3" json:"not_in_refs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetNewLFSPointersRequest) Reset() { *m = GetNewLFSPointersRequest{} } +func (m *GetNewLFSPointersRequest) String() string { return proto.CompactTextString(m) } +func (*GetNewLFSPointersRequest) ProtoMessage() {} +func (*GetNewLFSPointersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{8} +} + +func (m *GetNewLFSPointersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetNewLFSPointersRequest.Unmarshal(m, b) +} +func (m *GetNewLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetNewLFSPointersRequest.Marshal(b, m, deterministic) +} +func (m *GetNewLFSPointersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNewLFSPointersRequest.Merge(m, src) +} +func (m *GetNewLFSPointersRequest) XXX_Size() int { + return xxx_messageInfo_GetNewLFSPointersRequest.Size(m) +} +func (m *GetNewLFSPointersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNewLFSPointersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNewLFSPointersRequest proto.InternalMessageInfo + +func (m *GetNewLFSPointersRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetNewLFSPointersRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *GetNewLFSPointersRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *GetNewLFSPointersRequest) GetNotInAll() bool { + if m != nil { + return m.NotInAll + } + return false +} + +func (m *GetNewLFSPointersRequest) GetNotInRefs() [][]byte { + if m != nil { + return m.NotInRefs + } + return nil +} + +type GetNewLFSPointersResponse struct { + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetNewLFSPointersResponse) Reset() { *m = GetNewLFSPointersResponse{} } +func (m *GetNewLFSPointersResponse) String() string { return proto.CompactTextString(m) } +func (*GetNewLFSPointersResponse) ProtoMessage() {} +func (*GetNewLFSPointersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{9} +} + +func (m *GetNewLFSPointersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetNewLFSPointersResponse.Unmarshal(m, b) +} +func (m *GetNewLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetNewLFSPointersResponse.Marshal(b, m, deterministic) +} +func (m *GetNewLFSPointersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNewLFSPointersResponse.Merge(m, src) +} +func (m *GetNewLFSPointersResponse) XXX_Size() int { + return xxx_messageInfo_GetNewLFSPointersResponse.Size(m) +} +func (m *GetNewLFSPointersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNewLFSPointersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNewLFSPointersResponse proto.InternalMessageInfo + +func (m *GetNewLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if m != nil { + return m.LfsPointers + } + return nil +} + +type GetAllLFSPointersRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAllLFSPointersRequest) Reset() { *m = GetAllLFSPointersRequest{} } +func (m *GetAllLFSPointersRequest) String() string { return proto.CompactTextString(m) } +func (*GetAllLFSPointersRequest) ProtoMessage() {} +func (*GetAllLFSPointersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{10} +} + +func (m *GetAllLFSPointersRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAllLFSPointersRequest.Unmarshal(m, b) +} +func (m *GetAllLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAllLFSPointersRequest.Marshal(b, m, deterministic) +} +func (m *GetAllLFSPointersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAllLFSPointersRequest.Merge(m, src) +} +func (m *GetAllLFSPointersRequest) XXX_Size() int { + return xxx_messageInfo_GetAllLFSPointersRequest.Size(m) +} +func (m *GetAllLFSPointersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetAllLFSPointersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAllLFSPointersRequest proto.InternalMessageInfo + +func (m *GetAllLFSPointersRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetAllLFSPointersRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type GetAllLFSPointersResponse struct { + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetAllLFSPointersResponse) Reset() { *m = GetAllLFSPointersResponse{} } +func (m *GetAllLFSPointersResponse) String() string { return proto.CompactTextString(m) } +func (*GetAllLFSPointersResponse) ProtoMessage() {} +func (*GetAllLFSPointersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_6903d1e8a20272e8, []int{11} +} + +func (m *GetAllLFSPointersResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetAllLFSPointersResponse.Unmarshal(m, b) +} +func (m *GetAllLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetAllLFSPointersResponse.Marshal(b, m, deterministic) +} +func (m *GetAllLFSPointersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetAllLFSPointersResponse.Merge(m, src) +} +func (m *GetAllLFSPointersResponse) XXX_Size() int { + return xxx_messageInfo_GetAllLFSPointersResponse.Size(m) +} +func (m *GetAllLFSPointersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetAllLFSPointersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetAllLFSPointersResponse proto.InternalMessageInfo + +func (m *GetAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if m != nil { + return m.LfsPointers + } + return nil +} + +func init() { + proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest") + proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse") + proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest") + proto.RegisterType((*GetBlobsRequest_RevisionPath)(nil), "gitaly.GetBlobsRequest.RevisionPath") + proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse") + proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer") + proto.RegisterType((*NewBlobObject)(nil), "gitaly.NewBlobObject") + proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest") + proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse") + proto.RegisterType((*GetNewLFSPointersRequest)(nil), "gitaly.GetNewLFSPointersRequest") + proto.RegisterType((*GetNewLFSPointersResponse)(nil), "gitaly.GetNewLFSPointersResponse") + proto.RegisterType((*GetAllLFSPointersRequest)(nil), "gitaly.GetAllLFSPointersRequest") + proto.RegisterType((*GetAllLFSPointersResponse)(nil), "gitaly.GetAllLFSPointersResponse") +} + +func init() { proto.RegisterFile("blob.proto", fileDescriptor_6903d1e8a20272e8) } + +var fileDescriptor_6903d1e8a20272e8 = []byte{ + // 636 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x4e, 0xdb, 0x40, + 0x10, 0xd6, 0x62, 0x02, 0xc9, 0x24, 0x50, 0xba, 0x6a, 0xc1, 0x58, 0x2d, 0x32, 0x56, 0x0f, 0xbe, + 0x34, 0xa1, 0xa9, 0x7a, 0xad, 0x04, 0x07, 0x22, 0x4a, 0x05, 0x68, 0xb9, 0x55, 0x95, 0x22, 0x1b, + 0x6f, 0x60, 0xd1, 0xc6, 0xeb, 0x7a, 0x17, 0x10, 0x7d, 0x91, 0x3e, 0x48, 0xef, 0x7d, 0x84, 0x3e, + 0x47, 0x9f, 0xa1, 0xa7, 0xca, 0xeb, 0x9f, 0xd8, 0x89, 0xd3, 0x8b, 0xdb, 0xdb, 0xec, 0xcc, 0xce, + 0x7c, 0xdf, 0xcc, 0x7c, 0x5e, 0x03, 0xf8, 0x5c, 0xf8, 0xfd, 0x28, 0x16, 0x4a, 0xe0, 0xb5, 0x6b, + 0xa6, 0x3c, 0xfe, 0x68, 0xf5, 0xe4, 0x8d, 0x17, 0xd3, 0x20, 0xf5, 0x3a, 0x1c, 0x36, 0x47, 0x54, + 0x1d, 0x71, 0xe1, 0x13, 0xfa, 0xe5, 0x8e, 0x4a, 0x85, 0x87, 0x00, 0x31, 0x8d, 0x84, 0x64, 0x4a, + 0xc4, 0x8f, 0x26, 0xb2, 0x91, 0xdb, 0x1d, 0xe2, 0x7e, 0x9a, 0xdc, 0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0x3d, 0xf7, 0xf8, 0x64, 0x6d, 0x59, 0x3b, + 0x0b, 0xfe, 0x94, 0x82, 0xd3, 0xf9, 0xfd, 0xcd, 0x6d, 0xb5, 0x57, 0x2c, 0xf4, 0xe6, 0x00, 0xe1, + 0x0f, 0xd0, 0xce, 0x9f, 0x0b, 0xbc, 0xb3, 0xe4, 0x19, 0xb3, 0xcc, 0xc5, 0x40, 0x5d, 0xad, 0xcf, + 0xfa, 0x0f, 0x51, 0xea, 0x1a, 0xbf, 0x2c, 0x25, 0x2e, 0x4e, 0xde, 0xda, 0x5b, 0x16, 0xae, 0xab, + 0x4e, 0xe1, 0xe9, 0x82, 0x2c, 0xb0, 0x5d, 0xaa, 0x50, 0xab, 0x78, 0x6b, 0xff, 0x2f, 0x37, 0x96, + 0xc3, 0x54, 0xb7, 0x57, 0x81, 0xa9, 0x15, 0x51, 0x05, 0xa6, 0x7e, 0xf5, 0x15, 0x98, 0xa3, 0x83, + 0x4f, 0x49, 0x02, 0xf7, 0xfc, 0xfe, 0x95, 0x98, 0x0e, 0x52, 0xf3, 0xb5, 0x88, 0xaf, 0x07, 0x69, + 0x99, 0x81, 0xfe, 0xe7, 0x0e, 0xae, 0x45, 0x76, 0x8e, 0x7c, 0x7f, 0x4d, 0xbb, 0xde, 0xfe, 0x09, + 0x00, 0x00, 0xff, 0xff, 0x2a, 0xce, 0xc4, 0x0f, 0xaa, 0x07, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// BlobServiceClient is the client API for BlobService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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) + GetBlobs(ctx context.Context, in *GetBlobsRequest, opts ...grpc.CallOption) (BlobService_GetBlobsClient, error) + GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) + GetNewLFSPointers(ctx context.Context, in *GetNewLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetNewLFSPointersClient, error) + GetAllLFSPointers(ctx context.Context, in *GetAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetAllLFSPointersClient, error) +} + +type blobServiceClient struct { + cc *grpc.ClientConn +} + +func NewBlobServiceClient(cc *grpc.ClientConn) 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) GetLFSPointers(ctx context.Context, in *GetLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[2], "/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) GetNewLFSPointers(ctx context.Context, in *GetNewLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetNewLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[3], "/gitaly.BlobService/GetNewLFSPointers", opts...) + if err != nil { + return nil, err + } + x := &blobServiceGetNewLFSPointersClient{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_GetNewLFSPointersClient interface { + Recv() (*GetNewLFSPointersResponse, error) + grpc.ClientStream +} + +type blobServiceGetNewLFSPointersClient struct { + grpc.ClientStream +} + +func (x *blobServiceGetNewLFSPointersClient) Recv() (*GetNewLFSPointersResponse, error) { + m := new(GetNewLFSPointersResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *blobServiceClient) GetAllLFSPointers(ctx context.Context, in *GetAllLFSPointersRequest, opts ...grpc.CallOption) (BlobService_GetAllLFSPointersClient, error) { + stream, err := c.cc.NewStream(ctx, &_BlobService_serviceDesc.Streams[4], "/gitaly.BlobService/GetAllLFSPointers", opts...) + if err != nil { + return nil, err + } + x := &blobServiceGetAllLFSPointersClient{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_GetAllLFSPointersClient interface { + Recv() (*GetAllLFSPointersResponse, error) + grpc.ClientStream +} + +type blobServiceGetAllLFSPointersClient struct { + grpc.ClientStream +} + +func (x *blobServiceGetAllLFSPointersClient) Recv() (*GetAllLFSPointersResponse, error) { + m := new(GetAllLFSPointersResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// BlobServiceServer is the server API for BlobService service. +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 + GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error + GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error + GetNewLFSPointers(*GetNewLFSPointersRequest, BlobService_GetNewLFSPointersServer) error + GetAllLFSPointers(*GetAllLFSPointersRequest, BlobService_GetAllLFSPointersServer) error +} + +// UnimplementedBlobServiceServer can be embedded to have forward compatible implementations. +type UnimplementedBlobServiceServer struct { +} + +func (*UnimplementedBlobServiceServer) GetBlob(req *GetBlobRequest, srv BlobService_GetBlobServer) error { + return status.Errorf(codes.Unimplemented, "method GetBlob not implemented") +} +func (*UnimplementedBlobServiceServer) GetBlobs(req *GetBlobsRequest, srv BlobService_GetBlobsServer) error { + return status.Errorf(codes.Unimplemented, "method GetBlobs not implemented") +} +func (*UnimplementedBlobServiceServer) GetLFSPointers(req *GetLFSPointersRequest, srv BlobService_GetLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method GetLFSPointers not implemented") +} +func (*UnimplementedBlobServiceServer) GetNewLFSPointers(req *GetNewLFSPointersRequest, srv BlobService_GetNewLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method GetNewLFSPointers not implemented") +} +func (*UnimplementedBlobServiceServer) GetAllLFSPointers(req *GetAllLFSPointersRequest, srv BlobService_GetAllLFSPointersServer) error { + return status.Errorf(codes.Unimplemented, "method GetAllLFSPointers not implemented") +} + +func RegisterBlobServiceServer(s *grpc.Server, 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_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_GetNewLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetNewLFSPointersRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).GetNewLFSPointers(m, &blobServiceGetNewLFSPointersServer{stream}) +} + +type BlobService_GetNewLFSPointersServer interface { + Send(*GetNewLFSPointersResponse) error + grpc.ServerStream +} + +type blobServiceGetNewLFSPointersServer struct { + grpc.ServerStream +} + +func (x *blobServiceGetNewLFSPointersServer) Send(m *GetNewLFSPointersResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _BlobService_GetAllLFSPointers_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetAllLFSPointersRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(BlobServiceServer).GetAllLFSPointers(m, &blobServiceGetAllLFSPointersServer{stream}) +} + +type BlobService_GetAllLFSPointersServer interface { + Send(*GetAllLFSPointersResponse) error + grpc.ServerStream +} + +type blobServiceGetAllLFSPointersServer struct { + grpc.ServerStream +} + +func (x *blobServiceGetAllLFSPointersServer) Send(m *GetAllLFSPointersResponse) error { + return x.ServerStream.SendMsg(m) +} + +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: "GetLFSPointers", + Handler: _BlobService_GetLFSPointers_Handler, + ServerStreams: true, + }, + { + StreamName: "GetNewLFSPointers", + Handler: _BlobService_GetNewLFSPointers_Handler, + ServerStreams: true, + }, + { + StreamName: "GetAllLFSPointers", + Handler: _BlobService_GetAllLFSPointers_Handler, + ServerStreams: true, + }, + }, + Metadata: "blob.proto", +} diff --git a/proto/go/gitalypb/cleanup.pb.go b/proto/go/gitalypb/cleanup.pb.go new file mode 100644 index 000000000..5a6e97aed --- /dev/null +++ b/proto/go/gitalypb/cleanup.pb.go @@ -0,0 +1,587 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: cleanup.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ApplyBfgObjectMapRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyBfgObjectMapRequest) Reset() { *m = ApplyBfgObjectMapRequest{} } +func (m *ApplyBfgObjectMapRequest) String() string { return proto.CompactTextString(m) } +func (*ApplyBfgObjectMapRequest) ProtoMessage() {} +func (*ApplyBfgObjectMapRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{0} +} + +func (m *ApplyBfgObjectMapRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyBfgObjectMapRequest.Unmarshal(m, b) +} +func (m *ApplyBfgObjectMapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyBfgObjectMapRequest.Marshal(b, m, deterministic) +} +func (m *ApplyBfgObjectMapRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyBfgObjectMapRequest.Merge(m, src) +} +func (m *ApplyBfgObjectMapRequest) XXX_Size() int { + return xxx_messageInfo_ApplyBfgObjectMapRequest.Size(m) +} +func (m *ApplyBfgObjectMapRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyBfgObjectMapRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyBfgObjectMapRequest proto.InternalMessageInfo + +func (m *ApplyBfgObjectMapRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ApplyBfgObjectMapRequest) GetObjectMap() []byte { + if m != nil { + return m.ObjectMap + } + return nil +} + +type ApplyBfgObjectMapResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyBfgObjectMapResponse) Reset() { *m = ApplyBfgObjectMapResponse{} } +func (m *ApplyBfgObjectMapResponse) String() string { return proto.CompactTextString(m) } +func (*ApplyBfgObjectMapResponse) ProtoMessage() {} +func (*ApplyBfgObjectMapResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{1} +} + +func (m *ApplyBfgObjectMapResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyBfgObjectMapResponse.Unmarshal(m, b) +} +func (m *ApplyBfgObjectMapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyBfgObjectMapResponse.Marshal(b, m, deterministic) +} +func (m *ApplyBfgObjectMapResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyBfgObjectMapResponse.Merge(m, src) +} +func (m *ApplyBfgObjectMapResponse) XXX_Size() int { + return xxx_messageInfo_ApplyBfgObjectMapResponse.Size(m) +} +func (m *ApplyBfgObjectMapResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyBfgObjectMapResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyBfgObjectMapResponse proto.InternalMessageInfo + +type ApplyBfgObjectMapStreamRequest struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyBfgObjectMapStreamRequest) Reset() { *m = ApplyBfgObjectMapStreamRequest{} } +func (m *ApplyBfgObjectMapStreamRequest) String() string { return proto.CompactTextString(m) } +func (*ApplyBfgObjectMapStreamRequest) ProtoMessage() {} +func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{2} +} + +func (m *ApplyBfgObjectMapStreamRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Unmarshal(m, b) +} +func (m *ApplyBfgObjectMapStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Marshal(b, m, deterministic) +} +func (m *ApplyBfgObjectMapStreamRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Merge(m, src) +} +func (m *ApplyBfgObjectMapStreamRequest) XXX_Size() int { + return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Size(m) +} +func (m *ApplyBfgObjectMapStreamRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyBfgObjectMapStreamRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyBfgObjectMapStreamRequest proto.InternalMessageInfo + +func (m *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte { + if m != nil { + return m.ObjectMap + } + return nil +} + +type ApplyBfgObjectMapStreamResponse struct { + Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyBfgObjectMapStreamResponse) Reset() { *m = ApplyBfgObjectMapStreamResponse{} } +func (m *ApplyBfgObjectMapStreamResponse) String() string { return proto.CompactTextString(m) } +func (*ApplyBfgObjectMapStreamResponse) ProtoMessage() {} +func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{3} +} + +func (m *ApplyBfgObjectMapStreamResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Unmarshal(m, b) +} +func (m *ApplyBfgObjectMapStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Marshal(b, m, deterministic) +} +func (m *ApplyBfgObjectMapStreamResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Merge(m, src) +} +func (m *ApplyBfgObjectMapStreamResponse) XXX_Size() int { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Size(m) +} +func (m *ApplyBfgObjectMapStreamResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyBfgObjectMapStreamResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyBfgObjectMapStreamResponse proto.InternalMessageInfo + +func (m *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry { + if m != nil { + return m.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 { + Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` + OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` + NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyBfgObjectMapStreamResponse_Entry) Reset() { *m = ApplyBfgObjectMapStreamResponse_Entry{} } +func (m *ApplyBfgObjectMapStreamResponse_Entry) String() string { return proto.CompactTextString(m) } +func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage() {} +func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{3, 0} +} + +func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Unmarshal(m, b) +} +func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Marshal(b, m, deterministic) +} +func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Merge(m, src) +} +func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Size() int { + return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Size(m) +} +func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry proto.InternalMessageInfo + +func (m *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType { + if m != nil { + return m.Type + } + return ObjectType_UNKNOWN +} + +func (m *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string { + if m != nil { + return m.OldOid + } + return "" +} + +func (m *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string { + if m != nil { + return m.NewOid + } + return "" +} + +type CloseSessionRequest struct { + SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloseSessionRequest) Reset() { *m = CloseSessionRequest{} } +func (m *CloseSessionRequest) String() string { return proto.CompactTextString(m) } +func (*CloseSessionRequest) ProtoMessage() {} +func (*CloseSessionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{4} +} + +func (m *CloseSessionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloseSessionRequest.Unmarshal(m, b) +} +func (m *CloseSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloseSessionRequest.Marshal(b, m, deterministic) +} +func (m *CloseSessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloseSessionRequest.Merge(m, src) +} +func (m *CloseSessionRequest) XXX_Size() int { + return xxx_messageInfo_CloseSessionRequest.Size(m) +} +func (m *CloseSessionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CloseSessionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CloseSessionRequest proto.InternalMessageInfo + +func (m *CloseSessionRequest) GetSessionId() string { + if m != nil { + return m.SessionId + } + return "" +} + +type CloseSessionResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloseSessionResponse) Reset() { *m = CloseSessionResponse{} } +func (m *CloseSessionResponse) String() string { return proto.CompactTextString(m) } +func (*CloseSessionResponse) ProtoMessage() {} +func (*CloseSessionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b19e990e4662c9c, []int{5} +} + +func (m *CloseSessionResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloseSessionResponse.Unmarshal(m, b) +} +func (m *CloseSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloseSessionResponse.Marshal(b, m, deterministic) +} +func (m *CloseSessionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloseSessionResponse.Merge(m, src) +} +func (m *CloseSessionResponse) XXX_Size() int { + return xxx_messageInfo_CloseSessionResponse.Size(m) +} +func (m *CloseSessionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CloseSessionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CloseSessionResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ApplyBfgObjectMapRequest)(nil), "gitaly.ApplyBfgObjectMapRequest") + proto.RegisterType((*ApplyBfgObjectMapResponse)(nil), "gitaly.ApplyBfgObjectMapResponse") + proto.RegisterType((*ApplyBfgObjectMapStreamRequest)(nil), "gitaly.ApplyBfgObjectMapStreamRequest") + proto.RegisterType((*ApplyBfgObjectMapStreamResponse)(nil), "gitaly.ApplyBfgObjectMapStreamResponse") + proto.RegisterType((*ApplyBfgObjectMapStreamResponse_Entry)(nil), "gitaly.ApplyBfgObjectMapStreamResponse.Entry") + proto.RegisterType((*CloseSessionRequest)(nil), "gitaly.CloseSessionRequest") + proto.RegisterType((*CloseSessionResponse)(nil), "gitaly.CloseSessionResponse") +} + +func init() { proto.RegisterFile("cleanup.proto", fileDescriptor_1b19e990e4662c9c) } + +var fileDescriptor_1b19e990e4662c9c = []byte{ + // 430 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xcd, 0x6e, 0xd4, 0x30, + 0x18, 0x94, 0xfb, 0xb3, 0xdd, 0x7c, 0x5d, 0x2a, 0x30, 0x88, 0x2e, 0x29, 0x85, 0x25, 0x87, 0x92, + 0x4b, 0xb3, 0x65, 0xe1, 0x05, 0x68, 0x85, 0x10, 0x07, 0xb4, 0x92, 0x97, 0x13, 0x97, 0x95, 0x37, + 0xfe, 0x08, 0x46, 0x49, 0x6c, 0x6c, 0x97, 0x2a, 0x4f, 0xd2, 0x47, 0xe2, 0xc4, 0x0b, 0xf5, 0x84, + 0x6a, 0x27, 0xd0, 0xaa, 0xbb, 0x94, 0x4b, 0x6f, 0xc9, 0x8c, 0xbf, 0x99, 0xf9, 0xc6, 0x09, 0xdc, + 0xcb, 0x4b, 0xe4, 0xf5, 0xa9, 0xce, 0xb4, 0x51, 0x4e, 0xd1, 0x5e, 0x21, 0x1d, 0x2f, 0x9b, 0x78, + 0x60, 0xbf, 0x72, 0x83, 0x22, 0xa0, 0x49, 0x05, 0xc3, 0xb7, 0x5a, 0x97, 0xcd, 0xf1, 0x97, 0x62, + 0xba, 0xf8, 0x86, 0xb9, 0xfb, 0xc8, 0x35, 0xc3, 0xef, 0xa7, 0x68, 0x1d, 0x9d, 0x00, 0x18, 0xd4, + 0xca, 0x4a, 0xa7, 0x4c, 0x33, 0x24, 0x23, 0x92, 0x6e, 0x4f, 0x68, 0x16, 0x64, 0x32, 0xf6, 0x87, + 0x61, 0x57, 0x4e, 0xd1, 0x7d, 0x00, 0xe5, 0x75, 0xe6, 0x15, 0xd7, 0xc3, 0xb5, 0x11, 0x49, 0x07, + 0x2c, 0x52, 0x9d, 0x72, 0xb2, 0x07, 0x4f, 0x96, 0xd8, 0x59, 0xad, 0x6a, 0x8b, 0x89, 0x85, 0x67, + 0x37,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 0xf1, 0x11, 0xa1, 0x33, 0x18, 0x5c, 0x2d, 0x83, 0xee, 0x75, + 0x3a, 0x4b, 0x8a, 0x8d, 0x9f, 0x2e, 0x27, 0x5b, 0xe5, 0xfe, 0xc5, 0x79, 0xba, 0xd1, 0x27, 0xf7, + 0xc9, 0xf1, 0xd1, 0xe7, 0xcb, 0x83, 0x25, 0x5f, 0x64, 0xb9, 0xaa, 0xc6, 0xe1, 0xf1, 0x50, 0x99, + 0x62, 0x1c, 0xc6, 0xc7, 0xfe, 0x77, 0x1c, 0x17, 0xaa, 0x7d, 0xd7, 0x8b, 0x45, 0xcf, 0x43, 0xaf, + 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x2b, 0xc3, 0x76, 0xe4, 0xc8, 0x03, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CleanupServiceClient is the client API for CleanupService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CleanupServiceClient interface { + // Deprecated in favour of ApplyBfgObjectMapStream + ApplyBfgObjectMap(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapClient, error) + ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) + CloseSession(ctx context.Context, in *CloseSessionRequest, opts ...grpc.CallOption) (*CloseSessionResponse, error) +} + +type cleanupServiceClient struct { + cc *grpc.ClientConn +} + +func NewCleanupServiceClient(cc *grpc.ClientConn) CleanupServiceClient { + return &cleanupServiceClient{cc} +} + +func (c *cleanupServiceClient) ApplyBfgObjectMap(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapClient, error) { + stream, err := c.cc.NewStream(ctx, &_CleanupService_serviceDesc.Streams[0], "/gitaly.CleanupService/ApplyBfgObjectMap", opts...) + if err != nil { + return nil, err + } + x := &cleanupServiceApplyBfgObjectMapClient{stream} + return x, nil +} + +type CleanupService_ApplyBfgObjectMapClient interface { + Send(*ApplyBfgObjectMapRequest) error + CloseAndRecv() (*ApplyBfgObjectMapResponse, error) + grpc.ClientStream +} + +type cleanupServiceApplyBfgObjectMapClient struct { + grpc.ClientStream +} + +func (x *cleanupServiceApplyBfgObjectMapClient) Send(m *ApplyBfgObjectMapRequest) error { + return x.ClientStream.SendMsg(m) +} + +func (x *cleanupServiceApplyBfgObjectMapClient) CloseAndRecv() (*ApplyBfgObjectMapResponse, error) { + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + m := new(ApplyBfgObjectMapResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *cleanupServiceClient) ApplyBfgObjectMapStream(ctx context.Context, opts ...grpc.CallOption) (CleanupService_ApplyBfgObjectMapStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &_CleanupService_serviceDesc.Streams[1], "/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 +} + +func (c *cleanupServiceClient) CloseSession(ctx context.Context, in *CloseSessionRequest, opts ...grpc.CallOption) (*CloseSessionResponse, error) { + out := new(CloseSessionResponse) + err := c.cc.Invoke(ctx, "/gitaly.CleanupService/CloseSession", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// CleanupServiceServer is the server API for CleanupService service. +type CleanupServiceServer interface { + // Deprecated in favour of ApplyBfgObjectMapStream + ApplyBfgObjectMap(CleanupService_ApplyBfgObjectMapServer) error + ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error + CloseSession(context.Context, *CloseSessionRequest) (*CloseSessionResponse, error) +} + +// UnimplementedCleanupServiceServer can be embedded to have forward compatible implementations. +type UnimplementedCleanupServiceServer struct { +} + +func (*UnimplementedCleanupServiceServer) ApplyBfgObjectMap(srv CleanupService_ApplyBfgObjectMapServer) error { + return status.Errorf(codes.Unimplemented, "method ApplyBfgObjectMap not implemented") +} +func (*UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(srv CleanupService_ApplyBfgObjectMapStreamServer) error { + return status.Errorf(codes.Unimplemented, "method ApplyBfgObjectMapStream not implemented") +} +func (*UnimplementedCleanupServiceServer) CloseSession(ctx context.Context, req *CloseSessionRequest) (*CloseSessionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CloseSession not implemented") +} + +func RegisterCleanupServiceServer(s *grpc.Server, srv CleanupServiceServer) { + s.RegisterService(&_CleanupService_serviceDesc, srv) +} + +func _CleanupService_ApplyBfgObjectMap_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(CleanupServiceServer).ApplyBfgObjectMap(&cleanupServiceApplyBfgObjectMapServer{stream}) +} + +type CleanupService_ApplyBfgObjectMapServer interface { + SendAndClose(*ApplyBfgObjectMapResponse) error + Recv() (*ApplyBfgObjectMapRequest, error) + grpc.ServerStream +} + +type cleanupServiceApplyBfgObjectMapServer struct { + grpc.ServerStream +} + +func (x *cleanupServiceApplyBfgObjectMapServer) SendAndClose(m *ApplyBfgObjectMapResponse) error { + return x.ServerStream.SendMsg(m) +} + +func (x *cleanupServiceApplyBfgObjectMapServer) Recv() (*ApplyBfgObjectMapRequest, error) { + m := new(ApplyBfgObjectMapRequest) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +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 +} + +func _CleanupService_CloseSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CloseSessionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(CleanupServiceServer).CloseSession(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.CleanupService/CloseSession", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(CleanupServiceServer).CloseSession(ctx, req.(*CloseSessionRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _CleanupService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.CleanupService", + HandlerType: (*CleanupServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CloseSession", + Handler: _CleanupService_CloseSession_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ApplyBfgObjectMap", + Handler: _CleanupService_ApplyBfgObjectMap_Handler, + ClientStreams: true, + }, + { + 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 new file mode 100644 index 000000000..e30924901 --- /dev/null +++ b/proto/go/gitalypb/commit.pb.go @@ -0,0 +1,4027 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: commit.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// TODO: Replace this enum with ObjectType in shared.proto +type TreeEntryResponse_ObjectType int32 + +const ( + TreeEntryResponse_COMMIT TreeEntryResponse_ObjectType = 0 + TreeEntryResponse_BLOB TreeEntryResponse_ObjectType = 1 + TreeEntryResponse_TREE TreeEntryResponse_ObjectType = 2 + TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 +) + +var TreeEntryResponse_ObjectType_name = map[int32]string{ + 0: "COMMIT", + 1: "BLOB", + 2: "TREE", + 3: "TAG", +} + +var TreeEntryResponse_ObjectType_value = map[string]int32{ + "COMMIT": 0, + "BLOB": 1, + "TREE": 2, + "TAG": 3, +} + +func (x TreeEntryResponse_ObjectType) String() string { + return proto.EnumName(TreeEntryResponse_ObjectType_name, int32(x)) +} + +func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{5, 0} +} + +// TODO: Replace this enum with ObjectType in shared.proto +type TreeEntry_EntryType int32 + +const ( + TreeEntry_BLOB TreeEntry_EntryType = 0 + TreeEntry_TREE TreeEntry_EntryType = 1 + TreeEntry_COMMIT TreeEntry_EntryType = 3 +) + +var TreeEntry_EntryType_name = map[int32]string{ + 0: "BLOB", + 1: "TREE", + 3: "COMMIT", +} + +var TreeEntry_EntryType_value = map[string]int32{ + "BLOB": 0, + "TREE": 1, + "COMMIT": 3, +} + +func (x TreeEntry_EntryType) String() string { + return proto.EnumName(TreeEntry_EntryType_name, int32(x)) +} + +func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{12, 0} +} + +type FindAllCommitsRequest_Order int32 + +const ( + FindAllCommitsRequest_NONE FindAllCommitsRequest_Order = 0 + FindAllCommitsRequest_TOPO FindAllCommitsRequest_Order = 1 + FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 +) + +var FindAllCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + 2: "DATE", +} + +var FindAllCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + "DATE": 2, +} + +func (x FindAllCommitsRequest_Order) String() string { + return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x)) +} + +func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{23, 0} +} + +type CommitStatsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitStatsRequest) Reset() { *m = CommitStatsRequest{} } +func (m *CommitStatsRequest) String() string { return proto.CompactTextString(m) } +func (*CommitStatsRequest) ProtoMessage() {} +func (*CommitStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{0} +} + +func (m *CommitStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitStatsRequest.Unmarshal(m, b) +} +func (m *CommitStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitStatsRequest.Marshal(b, m, deterministic) +} +func (m *CommitStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitStatsRequest.Merge(m, src) +} +func (m *CommitStatsRequest) XXX_Size() int { + return xxx_messageInfo_CommitStatsRequest.Size(m) +} +func (m *CommitStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitStatsRequest proto.InternalMessageInfo + +func (m *CommitStatsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitStatsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type CommitStatsResponse struct { + // OID is the commit. Empty means not found + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitStatsResponse) Reset() { *m = CommitStatsResponse{} } +func (m *CommitStatsResponse) String() string { return proto.CompactTextString(m) } +func (*CommitStatsResponse) ProtoMessage() {} +func (*CommitStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{1} +} + +func (m *CommitStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitStatsResponse.Unmarshal(m, b) +} +func (m *CommitStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitStatsResponse.Marshal(b, m, deterministic) +} +func (m *CommitStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitStatsResponse.Merge(m, src) +} +func (m *CommitStatsResponse) XXX_Size() int { + return xxx_messageInfo_CommitStatsResponse.Size(m) +} +func (m *CommitStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitStatsResponse proto.InternalMessageInfo + +func (m *CommitStatsResponse) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *CommitStatsResponse) GetAdditions() int32 { + if m != nil { + return m.Additions + } + return 0 +} + +func (m *CommitStatsResponse) GetDeletions() int32 { + if m != nil { + return m.Deletions + } + return 0 +} + +type CommitIsAncestorRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` + ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitIsAncestorRequest) Reset() { *m = CommitIsAncestorRequest{} } +func (m *CommitIsAncestorRequest) String() string { return proto.CompactTextString(m) } +func (*CommitIsAncestorRequest) ProtoMessage() {} +func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{2} +} + +func (m *CommitIsAncestorRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitIsAncestorRequest.Unmarshal(m, b) +} +func (m *CommitIsAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitIsAncestorRequest.Marshal(b, m, deterministic) +} +func (m *CommitIsAncestorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitIsAncestorRequest.Merge(m, src) +} +func (m *CommitIsAncestorRequest) XXX_Size() int { + return xxx_messageInfo_CommitIsAncestorRequest.Size(m) +} +func (m *CommitIsAncestorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitIsAncestorRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitIsAncestorRequest proto.InternalMessageInfo + +func (m *CommitIsAncestorRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitIsAncestorRequest) GetAncestorId() string { + if m != nil { + return m.AncestorId + } + return "" +} + +func (m *CommitIsAncestorRequest) GetChildId() string { + if m != nil { + return m.ChildId + } + return "" +} + +type CommitIsAncestorResponse struct { + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitIsAncestorResponse) Reset() { *m = CommitIsAncestorResponse{} } +func (m *CommitIsAncestorResponse) String() string { return proto.CompactTextString(m) } +func (*CommitIsAncestorResponse) ProtoMessage() {} +func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{3} +} + +func (m *CommitIsAncestorResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitIsAncestorResponse.Unmarshal(m, b) +} +func (m *CommitIsAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitIsAncestorResponse.Marshal(b, m, deterministic) +} +func (m *CommitIsAncestorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitIsAncestorResponse.Merge(m, src) +} +func (m *CommitIsAncestorResponse) XXX_Size() int { + return xxx_messageInfo_CommitIsAncestorResponse.Size(m) +} +func (m *CommitIsAncestorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitIsAncestorResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitIsAncestorResponse proto.InternalMessageInfo + +func (m *CommitIsAncestorResponse) GetValue() bool { + if m != nil { + return m.Value + } + return false +} + +type TreeEntryRequest struct { + 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 int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TreeEntryRequest) Reset() { *m = TreeEntryRequest{} } +func (m *TreeEntryRequest) String() string { return proto.CompactTextString(m) } +func (*TreeEntryRequest) ProtoMessage() {} +func (*TreeEntryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{4} +} + +func (m *TreeEntryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TreeEntryRequest.Unmarshal(m, b) +} +func (m *TreeEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TreeEntryRequest.Marshal(b, m, deterministic) +} +func (m *TreeEntryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TreeEntryRequest.Merge(m, src) +} +func (m *TreeEntryRequest) XXX_Size() int { + return xxx_messageInfo_TreeEntryRequest.Size(m) +} +func (m *TreeEntryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TreeEntryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TreeEntryRequest proto.InternalMessageInfo + +func (m *TreeEntryRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *TreeEntryRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *TreeEntryRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *TreeEntryRequest) GetLimit() int64 { + if m != nil { + return m.Limit + } + return 0 +} + +type TreeEntryResponse struct { + 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"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TreeEntryResponse) Reset() { *m = TreeEntryResponse{} } +func (m *TreeEntryResponse) String() string { return proto.CompactTextString(m) } +func (*TreeEntryResponse) ProtoMessage() {} +func (*TreeEntryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{5} +} + +func (m *TreeEntryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TreeEntryResponse.Unmarshal(m, b) +} +func (m *TreeEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TreeEntryResponse.Marshal(b, m, deterministic) +} +func (m *TreeEntryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_TreeEntryResponse.Merge(m, src) +} +func (m *TreeEntryResponse) XXX_Size() int { + return xxx_messageInfo_TreeEntryResponse.Size(m) +} +func (m *TreeEntryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_TreeEntryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_TreeEntryResponse proto.InternalMessageInfo + +func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { + if m != nil { + return m.Type + } + return TreeEntryResponse_COMMIT +} + +func (m *TreeEntryResponse) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *TreeEntryResponse) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +func (m *TreeEntryResponse) GetMode() int32 { + if m != nil { + return m.Mode + } + return 0 +} + +func (m *TreeEntryResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type CommitsBetweenRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} } +func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) } +func (*CommitsBetweenRequest) ProtoMessage() {} +func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{6} +} + +func (m *CommitsBetweenRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitsBetweenRequest.Unmarshal(m, b) +} +func (m *CommitsBetweenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitsBetweenRequest.Marshal(b, m, deterministic) +} +func (m *CommitsBetweenRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitsBetweenRequest.Merge(m, src) +} +func (m *CommitsBetweenRequest) XXX_Size() int { + return xxx_messageInfo_CommitsBetweenRequest.Size(m) +} +func (m *CommitsBetweenRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitsBetweenRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitsBetweenRequest proto.InternalMessageInfo + +func (m *CommitsBetweenRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitsBetweenRequest) GetFrom() []byte { + if m != nil { + return m.From + } + return nil +} + +func (m *CommitsBetweenRequest) GetTo() []byte { + if m != nil { + return m.To + } + return nil +} + +type CommitsBetweenResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} } +func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) } +func (*CommitsBetweenResponse) ProtoMessage() {} +func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{7} +} + +func (m *CommitsBetweenResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitsBetweenResponse.Unmarshal(m, b) +} +func (m *CommitsBetweenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitsBetweenResponse.Marshal(b, m, deterministic) +} +func (m *CommitsBetweenResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitsBetweenResponse.Merge(m, src) +} +func (m *CommitsBetweenResponse) XXX_Size() int { + return xxx_messageInfo_CommitsBetweenResponse.Size(m) +} +func (m *CommitsBetweenResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitsBetweenResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitsBetweenResponse proto.InternalMessageInfo + +func (m *CommitsBetweenResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type CountCommitsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + After *timestamp.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` + Before *timestamp.Timestamp `protobuf:"bytes,4,opt,name=before,proto3" json:"before,omitempty"` + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } +func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*CountCommitsRequest) ProtoMessage() {} +func (*CountCommitsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{8} +} + +func (m *CountCommitsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CountCommitsRequest.Unmarshal(m, b) +} +func (m *CountCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CountCommitsRequest.Marshal(b, m, deterministic) +} +func (m *CountCommitsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountCommitsRequest.Merge(m, src) +} +func (m *CountCommitsRequest) XXX_Size() int { + return xxx_messageInfo_CountCommitsRequest.Size(m) +} +func (m *CountCommitsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CountCommitsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CountCommitsRequest proto.InternalMessageInfo + +func (m *CountCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CountCommitsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *CountCommitsRequest) GetAfter() *timestamp.Timestamp { + if m != nil { + return m.After + } + return nil +} + +func (m *CountCommitsRequest) GetBefore() *timestamp.Timestamp { + if m != nil { + return m.Before + } + return nil +} + +func (m *CountCommitsRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *CountCommitsRequest) GetMaxCount() int32 { + if m != nil { + return m.MaxCount + } + return 0 +} + +func (m *CountCommitsRequest) GetAll() bool { + if m != nil { + return m.All + } + return false +} + +type CountCommitsResponse struct { + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} } +func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*CountCommitsResponse) ProtoMessage() {} +func (*CountCommitsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{9} +} + +func (m *CountCommitsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CountCommitsResponse.Unmarshal(m, b) +} +func (m *CountCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CountCommitsResponse.Marshal(b, m, deterministic) +} +func (m *CountCommitsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountCommitsResponse.Merge(m, src) +} +func (m *CountCommitsResponse) XXX_Size() int { + return xxx_messageInfo_CountCommitsResponse.Size(m) +} +func (m *CountCommitsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CountCommitsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CountCommitsResponse proto.InternalMessageInfo + +func (m *CountCommitsResponse) GetCount() int32 { + if m != nil { + return m.Count + } + return 0 +} + +type CountDivergingCommitsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountDivergingCommitsRequest) Reset() { *m = CountDivergingCommitsRequest{} } +func (m *CountDivergingCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*CountDivergingCommitsRequest) ProtoMessage() {} +func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{10} +} + +func (m *CountDivergingCommitsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CountDivergingCommitsRequest.Unmarshal(m, b) +} +func (m *CountDivergingCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CountDivergingCommitsRequest.Marshal(b, m, deterministic) +} +func (m *CountDivergingCommitsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountDivergingCommitsRequest.Merge(m, src) +} +func (m *CountDivergingCommitsRequest) XXX_Size() int { + return xxx_messageInfo_CountDivergingCommitsRequest.Size(m) +} +func (m *CountDivergingCommitsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CountDivergingCommitsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CountDivergingCommitsRequest proto.InternalMessageInfo + +func (m *CountDivergingCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CountDivergingCommitsRequest) GetFrom() []byte { + if m != nil { + return m.From + } + return nil +} + +func (m *CountDivergingCommitsRequest) GetTo() []byte { + if m != nil { + return m.To + } + return nil +} + +func (m *CountDivergingCommitsRequest) GetMaxCount() int32 { + if m != nil { + return m.MaxCount + } + return 0 +} + +type CountDivergingCommitsResponse struct { + LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` + RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CountDivergingCommitsResponse) Reset() { *m = CountDivergingCommitsResponse{} } +func (m *CountDivergingCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*CountDivergingCommitsResponse) ProtoMessage() {} +func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{11} +} + +func (m *CountDivergingCommitsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CountDivergingCommitsResponse.Unmarshal(m, b) +} +func (m *CountDivergingCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CountDivergingCommitsResponse.Marshal(b, m, deterministic) +} +func (m *CountDivergingCommitsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CountDivergingCommitsResponse.Merge(m, src) +} +func (m *CountDivergingCommitsResponse) XXX_Size() int { + return xxx_messageInfo_CountDivergingCommitsResponse.Size(m) +} +func (m *CountDivergingCommitsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CountDivergingCommitsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CountDivergingCommitsResponse proto.InternalMessageInfo + +func (m *CountDivergingCommitsResponse) GetLeftCount() int32 { + if m != nil { + return m.LeftCount + } + return 0 +} + +func (m *CountDivergingCommitsResponse) GetRightCount() int32 { + if m != nil { + return m.RightCount + } + return 0 +} + +type TreeEntry struct { + // 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"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *TreeEntry) Reset() { *m = TreeEntry{} } +func (m *TreeEntry) String() string { return proto.CompactTextString(m) } +func (*TreeEntry) ProtoMessage() {} +func (*TreeEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{12} +} + +func (m *TreeEntry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_TreeEntry.Unmarshal(m, b) +} +func (m *TreeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_TreeEntry.Marshal(b, m, deterministic) +} +func (m *TreeEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_TreeEntry.Merge(m, src) +} +func (m *TreeEntry) XXX_Size() int { + return xxx_messageInfo_TreeEntry.Size(m) +} +func (m *TreeEntry) XXX_DiscardUnknown() { + xxx_messageInfo_TreeEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_TreeEntry proto.InternalMessageInfo + +func (m *TreeEntry) GetOid() string { + if m != nil { + return m.Oid + } + return "" +} + +func (m *TreeEntry) GetRootOid() string { + if m != nil { + return m.RootOid + } + return "" +} + +func (m *TreeEntry) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *TreeEntry) GetType() TreeEntry_EntryType { + if m != nil { + return m.Type + } + return TreeEntry_BLOB +} + +func (m *TreeEntry) GetMode() int32 { + if m != nil { + return m.Mode + } + return 0 +} + +func (m *TreeEntry) GetCommitOid() string { + if m != nil { + return m.CommitOid + } + return "" +} + +func (m *TreeEntry) GetFlatPath() []byte { + if m != nil { + return m.FlatPath + } + return nil +} + +type GetTreeEntriesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } +func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) } +func (*GetTreeEntriesRequest) ProtoMessage() {} +func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{13} +} + +func (m *GetTreeEntriesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTreeEntriesRequest.Unmarshal(m, b) +} +func (m *GetTreeEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTreeEntriesRequest.Marshal(b, m, deterministic) +} +func (m *GetTreeEntriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTreeEntriesRequest.Merge(m, src) +} +func (m *GetTreeEntriesRequest) XXX_Size() int { + return xxx_messageInfo_GetTreeEntriesRequest.Size(m) +} +func (m *GetTreeEntriesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTreeEntriesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTreeEntriesRequest proto.InternalMessageInfo + +func (m *GetTreeEntriesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetTreeEntriesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *GetTreeEntriesRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *GetTreeEntriesRequest) GetRecursive() bool { + if m != nil { + return m.Recursive + } + return false +} + +type GetTreeEntriesResponse struct { + Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} } +func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) } +func (*GetTreeEntriesResponse) ProtoMessage() {} +func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{14} +} + +func (m *GetTreeEntriesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTreeEntriesResponse.Unmarshal(m, b) +} +func (m *GetTreeEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTreeEntriesResponse.Marshal(b, m, deterministic) +} +func (m *GetTreeEntriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTreeEntriesResponse.Merge(m, src) +} +func (m *GetTreeEntriesResponse) XXX_Size() int { + return xxx_messageInfo_GetTreeEntriesResponse.Size(m) +} +func (m *GetTreeEntriesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTreeEntriesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTreeEntriesResponse proto.InternalMessageInfo + +func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry { + if m != nil { + return m.Entries + } + return nil +} + +type ListFilesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } +func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } +func (*ListFilesRequest) ProtoMessage() {} +func (*ListFilesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{15} +} + +func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFilesRequest.Unmarshal(m, b) +} +func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFilesRequest.Marshal(b, m, deterministic) +} +func (m *ListFilesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFilesRequest.Merge(m, src) +} +func (m *ListFilesRequest) XXX_Size() int { + return xxx_messageInfo_ListFilesRequest.Size(m) +} +func (m *ListFilesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListFilesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFilesRequest proto.InternalMessageInfo + +func (m *ListFilesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListFilesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +// A single 'page' of the paginated response +type ListFilesResponse struct { + // Remember to force encoding utf-8 on the client side + Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } +func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } +func (*ListFilesResponse) ProtoMessage() {} +func (*ListFilesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{16} +} + +func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListFilesResponse.Unmarshal(m, b) +} +func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListFilesResponse.Marshal(b, m, deterministic) +} +func (m *ListFilesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListFilesResponse.Merge(m, src) +} +func (m *ListFilesResponse) XXX_Size() int { + return xxx_messageInfo_ListFilesResponse.Size(m) +} +func (m *ListFilesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListFilesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListFilesResponse proto.InternalMessageInfo + +func (m *ListFilesResponse) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +type FindCommitRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} } +func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) } +func (*FindCommitRequest) ProtoMessage() {} +func (*FindCommitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{17} +} + +func (m *FindCommitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindCommitRequest.Unmarshal(m, b) +} +func (m *FindCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindCommitRequest.Marshal(b, m, deterministic) +} +func (m *FindCommitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindCommitRequest.Merge(m, src) +} +func (m *FindCommitRequest) XXX_Size() int { + return xxx_messageInfo_FindCommitRequest.Size(m) +} +func (m *FindCommitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindCommitRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindCommitRequest proto.InternalMessageInfo + +func (m *FindCommitRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindCommitRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type FindCommitResponse struct { + // commit is nil when the commit was not found + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} } +func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) } +func (*FindCommitResponse) ProtoMessage() {} +func (*FindCommitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{18} +} + +func (m *FindCommitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindCommitResponse.Unmarshal(m, b) +} +func (m *FindCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindCommitResponse.Marshal(b, m, deterministic) +} +func (m *FindCommitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindCommitResponse.Merge(m, src) +} +func (m *FindCommitResponse) XXX_Size() int { + return xxx_messageInfo_FindCommitResponse.Size(m) +} +func (m *FindCommitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindCommitResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindCommitResponse proto.InternalMessageInfo + +func (m *FindCommitResponse) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +type ListCommitsByOidRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest{} } +func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) } +func (*ListCommitsByOidRequest) ProtoMessage() {} +func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{19} +} + +func (m *ListCommitsByOidRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCommitsByOidRequest.Unmarshal(m, b) +} +func (m *ListCommitsByOidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCommitsByOidRequest.Marshal(b, m, deterministic) +} +func (m *ListCommitsByOidRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCommitsByOidRequest.Merge(m, src) +} +func (m *ListCommitsByOidRequest) XXX_Size() int { + return xxx_messageInfo_ListCommitsByOidRequest.Size(m) +} +func (m *ListCommitsByOidRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListCommitsByOidRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCommitsByOidRequest proto.InternalMessageInfo + +func (m *ListCommitsByOidRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListCommitsByOidRequest) GetOid() []string { + if m != nil { + return m.Oid + } + return nil +} + +type ListCommitsByOidResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidResponse{} } +func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) } +func (*ListCommitsByOidResponse) ProtoMessage() {} +func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{20} +} + +func (m *ListCommitsByOidResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCommitsByOidResponse.Unmarshal(m, b) +} +func (m *ListCommitsByOidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCommitsByOidResponse.Marshal(b, m, deterministic) +} +func (m *ListCommitsByOidResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCommitsByOidResponse.Merge(m, src) +} +func (m *ListCommitsByOidResponse) XXX_Size() int { + return xxx_messageInfo_ListCommitsByOidResponse.Size(m) +} +func (m *ListCommitsByOidResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListCommitsByOidResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCommitsByOidResponse proto.InternalMessageInfo + +func (m *ListCommitsByOidResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type ListCommitsByRefNameRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListCommitsByRefNameRequest) Reset() { *m = ListCommitsByRefNameRequest{} } +func (m *ListCommitsByRefNameRequest) String() string { return proto.CompactTextString(m) } +func (*ListCommitsByRefNameRequest) ProtoMessage() {} +func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{21} +} + +func (m *ListCommitsByRefNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCommitsByRefNameRequest.Unmarshal(m, b) +} +func (m *ListCommitsByRefNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCommitsByRefNameRequest.Marshal(b, m, deterministic) +} +func (m *ListCommitsByRefNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCommitsByRefNameRequest.Merge(m, src) +} +func (m *ListCommitsByRefNameRequest) XXX_Size() int { + return xxx_messageInfo_ListCommitsByRefNameRequest.Size(m) +} +func (m *ListCommitsByRefNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListCommitsByRefNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCommitsByRefNameRequest proto.InternalMessageInfo + +func (m *ListCommitsByRefNameRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListCommitsByRefNameRequest) GetRefNames() [][]byte { + if m != nil { + return m.RefNames + } + return nil +} + +type ListCommitsByRefNameResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListCommitsByRefNameResponse) Reset() { *m = ListCommitsByRefNameResponse{} } +func (m *ListCommitsByRefNameResponse) String() string { return proto.CompactTextString(m) } +func (*ListCommitsByRefNameResponse) ProtoMessage() {} +func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{22} +} + +func (m *ListCommitsByRefNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListCommitsByRefNameResponse.Unmarshal(m, b) +} +func (m *ListCommitsByRefNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListCommitsByRefNameResponse.Marshal(b, m, deterministic) +} +func (m *ListCommitsByRefNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListCommitsByRefNameResponse.Merge(m, src) +} +func (m *ListCommitsByRefNameResponse) XXX_Size() int { + return xxx_messageInfo_ListCommitsByRefNameResponse.Size(m) +} +func (m *ListCommitsByRefNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListCommitsByRefNameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListCommitsByRefNameResponse proto.InternalMessageInfo + +func (m *ListCommitsByRefNameResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type FindAllCommitsRequest struct { + 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"` + MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` + Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` + Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} } +func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllCommitsRequest) ProtoMessage() {} +func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{23} +} + +func (m *FindAllCommitsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllCommitsRequest.Unmarshal(m, b) +} +func (m *FindAllCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllCommitsRequest.Marshal(b, m, deterministic) +} +func (m *FindAllCommitsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllCommitsRequest.Merge(m, src) +} +func (m *FindAllCommitsRequest) XXX_Size() int { + return xxx_messageInfo_FindAllCommitsRequest.Size(m) +} +func (m *FindAllCommitsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllCommitsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllCommitsRequest proto.InternalMessageInfo + +func (m *FindAllCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindAllCommitsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *FindAllCommitsRequest) GetMaxCount() int32 { + if m != nil { + return m.MaxCount + } + return 0 +} + +func (m *FindAllCommitsRequest) GetSkip() int32 { + if m != nil { + return m.Skip + } + return 0 +} + +func (m *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { + if m != nil { + return m.Order + } + return FindAllCommitsRequest_NONE +} + +// A single 'page' of the result set +type FindAllCommitsResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} } +func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllCommitsResponse) ProtoMessage() {} +func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{24} +} + +func (m *FindAllCommitsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllCommitsResponse.Unmarshal(m, b) +} +func (m *FindAllCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllCommitsResponse.Marshal(b, m, deterministic) +} +func (m *FindAllCommitsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllCommitsResponse.Merge(m, src) +} +func (m *FindAllCommitsResponse) XXX_Size() int { + return xxx_messageInfo_FindAllCommitsResponse.Size(m) +} +func (m *FindAllCommitsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllCommitsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllCommitsResponse proto.InternalMessageInfo + +func (m *FindAllCommitsResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type FindCommitsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + Offset int32 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` + Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` + Follow bool `protobuf:"varint,6,opt,name=follow,proto3" json:"follow,omitempty"` + SkipMerges bool `protobuf:"varint,7,opt,name=skip_merges,json=skipMerges,proto3" json:"skip_merges,omitempty"` + DisableWalk bool `protobuf:"varint,8,opt,name=disable_walk,json=disableWalk,proto3" json:"disable_walk,omitempty"` + After *timestamp.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` + Before *timestamp.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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } +func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*FindCommitsRequest) ProtoMessage() {} +func (*FindCommitsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{25} +} + +func (m *FindCommitsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindCommitsRequest.Unmarshal(m, b) +} +func (m *FindCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindCommitsRequest.Marshal(b, m, deterministic) +} +func (m *FindCommitsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindCommitsRequest.Merge(m, src) +} +func (m *FindCommitsRequest) XXX_Size() int { + return xxx_messageInfo_FindCommitsRequest.Size(m) +} +func (m *FindCommitsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindCommitsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindCommitsRequest proto.InternalMessageInfo + +func (m *FindCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindCommitsRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *FindCommitsRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *FindCommitsRequest) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *FindCommitsRequest) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +func (m *FindCommitsRequest) GetFollow() bool { + if m != nil { + return m.Follow + } + return false +} + +func (m *FindCommitsRequest) GetSkipMerges() bool { + if m != nil { + return m.SkipMerges + } + return false +} + +func (m *FindCommitsRequest) GetDisableWalk() bool { + if m != nil { + return m.DisableWalk + } + return false +} + +func (m *FindCommitsRequest) GetAfter() *timestamp.Timestamp { + if m != nil { + return m.After + } + return nil +} + +func (m *FindCommitsRequest) GetBefore() *timestamp.Timestamp { + if m != nil { + return m.Before + } + return nil +} + +func (m *FindCommitsRequest) GetAll() bool { + if m != nil { + return m.All + } + return false +} + +// A single 'page' of the result set +type FindCommitsResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } +func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*FindCommitsResponse) ProtoMessage() {} +func (*FindCommitsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{26} +} + +func (m *FindCommitsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindCommitsResponse.Unmarshal(m, b) +} +func (m *FindCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindCommitsResponse.Marshal(b, m, deterministic) +} +func (m *FindCommitsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindCommitsResponse.Merge(m, src) +} +func (m *FindCommitsResponse) XXX_Size() int { + return xxx_messageInfo_FindCommitsResponse.Size(m) +} +func (m *FindCommitsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindCommitsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindCommitsResponse proto.InternalMessageInfo + +func (m *FindCommitsResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type CommitLanguagesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} } +func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } +func (*CommitLanguagesRequest) ProtoMessage() {} +func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{27} +} + +func (m *CommitLanguagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitLanguagesRequest.Unmarshal(m, b) +} +func (m *CommitLanguagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitLanguagesRequest.Marshal(b, m, deterministic) +} +func (m *CommitLanguagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitLanguagesRequest.Merge(m, src) +} +func (m *CommitLanguagesRequest) XXX_Size() int { + return xxx_messageInfo_CommitLanguagesRequest.Size(m) +} +func (m *CommitLanguagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitLanguagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitLanguagesRequest proto.InternalMessageInfo + +func (m *CommitLanguagesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitLanguagesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type CommitLanguagesResponse struct { + Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} } +func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } +func (*CommitLanguagesResponse) ProtoMessage() {} +func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{28} +} + +func (m *CommitLanguagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitLanguagesResponse.Unmarshal(m, b) +} +func (m *CommitLanguagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitLanguagesResponse.Marshal(b, m, deterministic) +} +func (m *CommitLanguagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitLanguagesResponse.Merge(m, src) +} +func (m *CommitLanguagesResponse) XXX_Size() int { + return xxx_messageInfo_CommitLanguagesResponse.Size(m) +} +func (m *CommitLanguagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitLanguagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitLanguagesResponse proto.InternalMessageInfo + +func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { + if m != nil { + return m.Languages + } + return nil +} + +type CommitLanguagesResponse_Language struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` + Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguagesResponse_Language{} } +func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) } +func (*CommitLanguagesResponse_Language) ProtoMessage() {} +func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{28, 0} +} + +func (m *CommitLanguagesResponse_Language) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitLanguagesResponse_Language.Unmarshal(m, b) +} +func (m *CommitLanguagesResponse_Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitLanguagesResponse_Language.Marshal(b, m, deterministic) +} +func (m *CommitLanguagesResponse_Language) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitLanguagesResponse_Language.Merge(m, src) +} +func (m *CommitLanguagesResponse_Language) XXX_Size() int { + return xxx_messageInfo_CommitLanguagesResponse_Language.Size(m) +} +func (m *CommitLanguagesResponse_Language) XXX_DiscardUnknown() { + xxx_messageInfo_CommitLanguagesResponse_Language.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitLanguagesResponse_Language proto.InternalMessageInfo + +func (m *CommitLanguagesResponse_Language) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *CommitLanguagesResponse_Language) GetShare() float32 { + if m != nil { + return m.Share + } + return 0 +} + +func (m *CommitLanguagesResponse_Language) GetColor() string { + if m != nil { + return m.Color + } + return "" +} + +type RawBlameRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } +func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } +func (*RawBlameRequest) ProtoMessage() {} +func (*RawBlameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{29} +} + +func (m *RawBlameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawBlameRequest.Unmarshal(m, b) +} +func (m *RawBlameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawBlameRequest.Marshal(b, m, deterministic) +} +func (m *RawBlameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawBlameRequest.Merge(m, src) +} +func (m *RawBlameRequest) XXX_Size() int { + return xxx_messageInfo_RawBlameRequest.Size(m) +} +func (m *RawBlameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RawBlameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RawBlameRequest proto.InternalMessageInfo + +func (m *RawBlameRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RawBlameRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *RawBlameRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type RawBlameResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } +func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } +func (*RawBlameResponse) ProtoMessage() {} +func (*RawBlameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{30} +} + +func (m *RawBlameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawBlameResponse.Unmarshal(m, b) +} +func (m *RawBlameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawBlameResponse.Marshal(b, m, deterministic) +} +func (m *RawBlameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawBlameResponse.Merge(m, src) +} +func (m *RawBlameResponse) XXX_Size() int { + return xxx_messageInfo_RawBlameResponse.Size(m) +} +func (m *RawBlameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RawBlameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RawBlameResponse proto.InternalMessageInfo + +func (m *RawBlameResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type LastCommitForPathRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} } +func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } +func (*LastCommitForPathRequest) ProtoMessage() {} +func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{31} +} + +func (m *LastCommitForPathRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LastCommitForPathRequest.Unmarshal(m, b) +} +func (m *LastCommitForPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LastCommitForPathRequest.Marshal(b, m, deterministic) +} +func (m *LastCommitForPathRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LastCommitForPathRequest.Merge(m, src) +} +func (m *LastCommitForPathRequest) XXX_Size() int { + return xxx_messageInfo_LastCommitForPathRequest.Size(m) +} +func (m *LastCommitForPathRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LastCommitForPathRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LastCommitForPathRequest proto.InternalMessageInfo + +func (m *LastCommitForPathRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *LastCommitForPathRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *LastCommitForPathRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type LastCommitForPathResponse struct { + // commit is nil when the commit was not found + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} } +func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } +func (*LastCommitForPathResponse) ProtoMessage() {} +func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{32} +} + +func (m *LastCommitForPathResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LastCommitForPathResponse.Unmarshal(m, b) +} +func (m *LastCommitForPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LastCommitForPathResponse.Marshal(b, m, deterministic) +} +func (m *LastCommitForPathResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LastCommitForPathResponse.Merge(m, src) +} +func (m *LastCommitForPathResponse) XXX_Size() int { + return xxx_messageInfo_LastCommitForPathResponse.Size(m) +} +func (m *LastCommitForPathResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LastCommitForPathResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_LastCommitForPathResponse proto.InternalMessageInfo + +func (m *LastCommitForPathResponse) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +type ListLastCommitsForTreeRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + // limit == -1 will get the last commit for all paths + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListLastCommitsForTreeRequest) Reset() { *m = ListLastCommitsForTreeRequest{} } +func (m *ListLastCommitsForTreeRequest) String() string { return proto.CompactTextString(m) } +func (*ListLastCommitsForTreeRequest) ProtoMessage() {} +func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{33} +} + +func (m *ListLastCommitsForTreeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListLastCommitsForTreeRequest.Unmarshal(m, b) +} +func (m *ListLastCommitsForTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListLastCommitsForTreeRequest.Marshal(b, m, deterministic) +} +func (m *ListLastCommitsForTreeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListLastCommitsForTreeRequest.Merge(m, src) +} +func (m *ListLastCommitsForTreeRequest) XXX_Size() int { + return xxx_messageInfo_ListLastCommitsForTreeRequest.Size(m) +} +func (m *ListLastCommitsForTreeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListLastCommitsForTreeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListLastCommitsForTreeRequest proto.InternalMessageInfo + +func (m *ListLastCommitsForTreeRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListLastCommitsForTreeRequest) GetRevision() string { + if m != nil { + return m.Revision + } + return "" +} + +func (m *ListLastCommitsForTreeRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *ListLastCommitsForTreeRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *ListLastCommitsForTreeRequest) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +type ListLastCommitsForTreeResponse struct { + Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListLastCommitsForTreeResponse) Reset() { *m = ListLastCommitsForTreeResponse{} } +func (m *ListLastCommitsForTreeResponse) String() string { return proto.CompactTextString(m) } +func (*ListLastCommitsForTreeResponse) ProtoMessage() {} +func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{34} +} + +func (m *ListLastCommitsForTreeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListLastCommitsForTreeResponse.Unmarshal(m, b) +} +func (m *ListLastCommitsForTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListLastCommitsForTreeResponse.Marshal(b, m, deterministic) +} +func (m *ListLastCommitsForTreeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListLastCommitsForTreeResponse.Merge(m, src) +} +func (m *ListLastCommitsForTreeResponse) XXX_Size() int { + return xxx_messageInfo_ListLastCommitsForTreeResponse.Size(m) +} +func (m *ListLastCommitsForTreeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListLastCommitsForTreeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListLastCommitsForTreeResponse proto.InternalMessageInfo + +func (m *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { + if m != nil { + return m.Commits + } + return nil +} + +type ListLastCommitsForTreeResponse_CommitForTree struct { + Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListLastCommitsForTreeResponse_CommitForTree) Reset() { + *m = ListLastCommitsForTreeResponse_CommitForTree{} +} +func (m *ListLastCommitsForTreeResponse_CommitForTree) String() string { + return proto.CompactTextString(m) +} +func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} +func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{34, 0} +} + +func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Unmarshal(m, b) +} +func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Marshal(b, m, deterministic) +} +func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Merge(m, src) +} +func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Size() int { + return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Size(m) +} +func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_DiscardUnknown() { + xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.DiscardUnknown(m) +} + +var xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree proto.InternalMessageInfo + +func (m *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +func (m *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { + if m != nil { + return m.PathBytes + } + return nil +} + +type CommitsByMessageRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} } +func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } +func (*CommitsByMessageRequest) ProtoMessage() {} +func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{35} +} + +func (m *CommitsByMessageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitsByMessageRequest.Unmarshal(m, b) +} +func (m *CommitsByMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitsByMessageRequest.Marshal(b, m, deterministic) +} +func (m *CommitsByMessageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitsByMessageRequest.Merge(m, src) +} +func (m *CommitsByMessageRequest) XXX_Size() int { + return xxx_messageInfo_CommitsByMessageRequest.Size(m) +} +func (m *CommitsByMessageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitsByMessageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitsByMessageRequest proto.InternalMessageInfo + +func (m *CommitsByMessageRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitsByMessageRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *CommitsByMessageRequest) GetOffset() int32 { + if m != nil { + return m.Offset + } + return 0 +} + +func (m *CommitsByMessageRequest) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *CommitsByMessageRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *CommitsByMessageRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +// One 'page' of the paginated response of CommitsByMessage +type CommitsByMessageResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} } +func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } +func (*CommitsByMessageResponse) ProtoMessage() {} +func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{36} +} + +func (m *CommitsByMessageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitsByMessageResponse.Unmarshal(m, b) +} +func (m *CommitsByMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitsByMessageResponse.Marshal(b, m, deterministic) +} +func (m *CommitsByMessageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitsByMessageResponse.Merge(m, src) +} +func (m *CommitsByMessageResponse) XXX_Size() int { + return xxx_messageInfo_CommitsByMessageResponse.Size(m) +} +func (m *CommitsByMessageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitsByMessageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitsByMessageResponse proto.InternalMessageInfo + +func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type FilterShasWithSignaturesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithSignaturesRequest{} } +func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) } +func (*FilterShasWithSignaturesRequest) ProtoMessage() {} +func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{37} +} + +func (m *FilterShasWithSignaturesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FilterShasWithSignaturesRequest.Unmarshal(m, b) +} +func (m *FilterShasWithSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FilterShasWithSignaturesRequest.Marshal(b, m, deterministic) +} +func (m *FilterShasWithSignaturesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FilterShasWithSignaturesRequest.Merge(m, src) +} +func (m *FilterShasWithSignaturesRequest) XXX_Size() int { + return xxx_messageInfo_FilterShasWithSignaturesRequest.Size(m) +} +func (m *FilterShasWithSignaturesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FilterShasWithSignaturesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FilterShasWithSignaturesRequest proto.InternalMessageInfo + +func (m *FilterShasWithSignaturesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FilterShasWithSignaturesRequest) GetShas() [][]byte { + if m != nil { + return m.Shas + } + return nil +} + +type FilterShasWithSignaturesResponse struct { + Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWithSignaturesResponse{} } +func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) } +func (*FilterShasWithSignaturesResponse) ProtoMessage() {} +func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{38} +} + +func (m *FilterShasWithSignaturesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FilterShasWithSignaturesResponse.Unmarshal(m, b) +} +func (m *FilterShasWithSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FilterShasWithSignaturesResponse.Marshal(b, m, deterministic) +} +func (m *FilterShasWithSignaturesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FilterShasWithSignaturesResponse.Merge(m, src) +} +func (m *FilterShasWithSignaturesResponse) XXX_Size() int { + return xxx_messageInfo_FilterShasWithSignaturesResponse.Size(m) +} +func (m *FilterShasWithSignaturesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FilterShasWithSignaturesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FilterShasWithSignaturesResponse proto.InternalMessageInfo + +func (m *FilterShasWithSignaturesResponse) GetShas() [][]byte { + if m != nil { + return m.Shas + } + return nil +} + +type ExtractCommitSignatureRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSignatureRequest{} } +func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) } +func (*ExtractCommitSignatureRequest) ProtoMessage() {} +func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{39} +} + +func (m *ExtractCommitSignatureRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtractCommitSignatureRequest.Unmarshal(m, b) +} +func (m *ExtractCommitSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtractCommitSignatureRequest.Marshal(b, m, deterministic) +} +func (m *ExtractCommitSignatureRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtractCommitSignatureRequest.Merge(m, src) +} +func (m *ExtractCommitSignatureRequest) XXX_Size() int { + return xxx_messageInfo_ExtractCommitSignatureRequest.Size(m) +} +func (m *ExtractCommitSignatureRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ExtractCommitSignatureRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtractCommitSignatureRequest proto.InternalMessageInfo + +func (m *ExtractCommitSignatureRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ExtractCommitSignatureRequest) GetCommitId() string { + if m != nil { + return m.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 { + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSignatureResponse{} } +func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) } +func (*ExtractCommitSignatureResponse) ProtoMessage() {} +func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{40} +} + +func (m *ExtractCommitSignatureResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExtractCommitSignatureResponse.Unmarshal(m, b) +} +func (m *ExtractCommitSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExtractCommitSignatureResponse.Marshal(b, m, deterministic) +} +func (m *ExtractCommitSignatureResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtractCommitSignatureResponse.Merge(m, src) +} +func (m *ExtractCommitSignatureResponse) XXX_Size() int { + return xxx_messageInfo_ExtractCommitSignatureResponse.Size(m) +} +func (m *ExtractCommitSignatureResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ExtractCommitSignatureResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtractCommitSignatureResponse proto.InternalMessageInfo + +func (m *ExtractCommitSignatureResponse) GetSignature() []byte { + if m != nil { + return m.Signature + } + return nil +} + +func (m *ExtractCommitSignatureResponse) GetSignedText() []byte { + if m != nil { + return m.SignedText + } + return nil +} + +type GetCommitSignaturesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesRequest{} } +func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) } +func (*GetCommitSignaturesRequest) ProtoMessage() {} +func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{41} +} + +func (m *GetCommitSignaturesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCommitSignaturesRequest.Unmarshal(m, b) +} +func (m *GetCommitSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCommitSignaturesRequest.Marshal(b, m, deterministic) +} +func (m *GetCommitSignaturesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCommitSignaturesRequest.Merge(m, src) +} +func (m *GetCommitSignaturesRequest) XXX_Size() int { + return xxx_messageInfo_GetCommitSignaturesRequest.Size(m) +} +func (m *GetCommitSignaturesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCommitSignaturesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCommitSignaturesRequest proto.InternalMessageInfo + +func (m *GetCommitSignaturesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetCommitSignaturesRequest) GetCommitIds() []string { + if m != nil { + return m.CommitIds + } + return nil +} + +type GetCommitSignaturesResponse struct { + // 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"` + SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignaturesResponse{} } +func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) } +func (*GetCommitSignaturesResponse) ProtoMessage() {} +func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{42} +} + +func (m *GetCommitSignaturesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCommitSignaturesResponse.Unmarshal(m, b) +} +func (m *GetCommitSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCommitSignaturesResponse.Marshal(b, m, deterministic) +} +func (m *GetCommitSignaturesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCommitSignaturesResponse.Merge(m, src) +} +func (m *GetCommitSignaturesResponse) XXX_Size() int { + return xxx_messageInfo_GetCommitSignaturesResponse.Size(m) +} +func (m *GetCommitSignaturesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCommitSignaturesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCommitSignaturesResponse proto.InternalMessageInfo + +func (m *GetCommitSignaturesResponse) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *GetCommitSignaturesResponse) GetSignature() []byte { + if m != nil { + return m.Signature + } + return nil +} + +func (m *GetCommitSignaturesResponse) GetSignedText() []byte { + if m != nil { + return m.SignedText + } + return nil +} + +type GetCommitMessagesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesRequest{} } +func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) } +func (*GetCommitMessagesRequest) ProtoMessage() {} +func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{43} +} + +func (m *GetCommitMessagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCommitMessagesRequest.Unmarshal(m, b) +} +func (m *GetCommitMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCommitMessagesRequest.Marshal(b, m, deterministic) +} +func (m *GetCommitMessagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCommitMessagesRequest.Merge(m, src) +} +func (m *GetCommitMessagesRequest) XXX_Size() int { + return xxx_messageInfo_GetCommitMessagesRequest.Size(m) +} +func (m *GetCommitMessagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCommitMessagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCommitMessagesRequest proto.InternalMessageInfo + +func (m *GetCommitMessagesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetCommitMessagesRequest) GetCommitIds() []string { + if m != nil { + return m.CommitIds + } + return nil +} + +type GetCommitMessagesResponse struct { + // Only present for a new commit message + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResponse{} } +func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) } +func (*GetCommitMessagesResponse) ProtoMessage() {} +func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_db7163399a465f48, []int{44} +} + +func (m *GetCommitMessagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCommitMessagesResponse.Unmarshal(m, b) +} +func (m *GetCommitMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCommitMessagesResponse.Marshal(b, m, deterministic) +} +func (m *GetCommitMessagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCommitMessagesResponse.Merge(m, src) +} +func (m *GetCommitMessagesResponse) XXX_Size() int { + return xxx_messageInfo_GetCommitMessagesResponse.Size(m) +} +func (m *GetCommitMessagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCommitMessagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCommitMessagesResponse proto.InternalMessageInfo + +func (m *GetCommitMessagesResponse) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *GetCommitMessagesResponse) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func init() { + proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value) + proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value) + proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value) + proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest") + proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse") + proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest") + proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse") + proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest") + proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse") + proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest") + proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse") + proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest") + proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse") + proto.RegisterType((*CountDivergingCommitsRequest)(nil), "gitaly.CountDivergingCommitsRequest") + proto.RegisterType((*CountDivergingCommitsResponse)(nil), "gitaly.CountDivergingCommitsResponse") + proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry") + proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest") + proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse") + proto.RegisterType((*ListFilesRequest)(nil), "gitaly.ListFilesRequest") + proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse") + proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest") + proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") + proto.RegisterType((*ListCommitsByOidRequest)(nil), "gitaly.ListCommitsByOidRequest") + proto.RegisterType((*ListCommitsByOidResponse)(nil), "gitaly.ListCommitsByOidResponse") + proto.RegisterType((*ListCommitsByRefNameRequest)(nil), "gitaly.ListCommitsByRefNameRequest") + proto.RegisterType((*ListCommitsByRefNameResponse)(nil), "gitaly.ListCommitsByRefNameResponse") + proto.RegisterType((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest") + proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse") + proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest") + proto.RegisterType((*FindCommitsResponse)(nil), "gitaly.FindCommitsResponse") + proto.RegisterType((*CommitLanguagesRequest)(nil), "gitaly.CommitLanguagesRequest") + proto.RegisterType((*CommitLanguagesResponse)(nil), "gitaly.CommitLanguagesResponse") + proto.RegisterType((*CommitLanguagesResponse_Language)(nil), "gitaly.CommitLanguagesResponse.Language") + proto.RegisterType((*RawBlameRequest)(nil), "gitaly.RawBlameRequest") + proto.RegisterType((*RawBlameResponse)(nil), "gitaly.RawBlameResponse") + proto.RegisterType((*LastCommitForPathRequest)(nil), "gitaly.LastCommitForPathRequest") + proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse") + proto.RegisterType((*ListLastCommitsForTreeRequest)(nil), "gitaly.ListLastCommitsForTreeRequest") + proto.RegisterType((*ListLastCommitsForTreeResponse)(nil), "gitaly.ListLastCommitsForTreeResponse") + proto.RegisterType((*ListLastCommitsForTreeResponse_CommitForTree)(nil), "gitaly.ListLastCommitsForTreeResponse.CommitForTree") + proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest") + proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse") + proto.RegisterType((*FilterShasWithSignaturesRequest)(nil), "gitaly.FilterShasWithSignaturesRequest") + proto.RegisterType((*FilterShasWithSignaturesResponse)(nil), "gitaly.FilterShasWithSignaturesResponse") + proto.RegisterType((*ExtractCommitSignatureRequest)(nil), "gitaly.ExtractCommitSignatureRequest") + proto.RegisterType((*ExtractCommitSignatureResponse)(nil), "gitaly.ExtractCommitSignatureResponse") + proto.RegisterType((*GetCommitSignaturesRequest)(nil), "gitaly.GetCommitSignaturesRequest") + proto.RegisterType((*GetCommitSignaturesResponse)(nil), "gitaly.GetCommitSignaturesResponse") + proto.RegisterType((*GetCommitMessagesRequest)(nil), "gitaly.GetCommitMessagesRequest") + proto.RegisterType((*GetCommitMessagesResponse)(nil), "gitaly.GetCommitMessagesResponse") +} + +func init() { proto.RegisterFile("commit.proto", fileDescriptor_db7163399a465f48) } + +var fileDescriptor_db7163399a465f48 = []byte{ + // 1994 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0xdb, 0x6e, 0xe3, 0xc6, + 0x19, 0x0e, 0x75, 0x24, 0x7f, 0xb9, 0x8e, 0x3c, 0x7b, 0x92, 0x69, 0x7b, 0xed, 0x70, 0x77, 0x53, + 0x07, 0x69, 0x65, 0xd7, 0x3d, 0xa0, 0xbd, 0x2a, 0xd6, 0x89, 0x6d, 0xd8, 0x5d, 0x5b, 0x29, 0x2d, + 0x20, 0x40, 0x91, 0x42, 0xa5, 0xc4, 0x91, 0x34, 0x5d, 0x4a, 0x54, 0xc8, 0x91, 0xd7, 0x2a, 0x8a, + 0xde, 0x17, 0x28, 0x7a, 0x5b, 0xf4, 0x01, 0x7a, 0xd9, 0x8b, 0x3e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 0xbe, 0xc6, 0xee, 0x4a, 0x3e, 0x6d, 0x52, 0x77, 0xe5, 0x46, 0x22, + 0xa7, 0xee, 0xca, 0xcd, 0xec, 0x2b, 0xed, 0xf3, 0x6b, 0x78, 0x90, 0x43, 0x6d, 0x90, 0x95, 0x80, + 0xe6, 0x05, 0x44, 0xcb, 0x7c, 0x76, 0xe3, 0x9c, 0x3c, 0x65, 0x18, 0xd6, 0x32, 0xec, 0x42, 0xe5, + 0xdc, 0x22, 0x9e, 0xa3, 0x72, 0x6e, 0x21, 0x35, 0x49, 0xa9, 0x39, 0xdc, 0xff, 0x0d, 0x5b, 0xe0, + 0x39, 0xdd, 0x66, 0xcf, 0x1f, 0xed, 0x89, 0xe6, 0x0f, 0xfd, 0x60, 0xb0, 0x27, 0xb6, 0x11, 0x7f, + 0x2d, 0xef, 0x0d, 0x7c, 0xd9, 0x9f, 0x74, 0xbb, 0x15, 0x2e, 0xfa, 0xf1, 0x37, 0x01, 0x00, 0x00, + 0xff, 0xff, 0xa1, 0x79, 0xf4, 0xb9, 0xa1, 0x1e, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// CommitServiceClient is the client API for CommitService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type CommitServiceClient interface { + CommitIsAncestor(ctx context.Context, in *CommitIsAncestorRequest, opts ...grpc.CallOption) (*CommitIsAncestorResponse, error) + TreeEntry(ctx context.Context, in *TreeEntryRequest, opts ...grpc.CallOption) (CommitService_TreeEntryClient, error) + CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) + CountCommits(ctx context.Context, in *CountCommitsRequest, opts ...grpc.CallOption) (*CountCommitsResponse, error) + CountDivergingCommits(ctx context.Context, in *CountDivergingCommitsRequest, opts ...grpc.CallOption) (*CountDivergingCommitsResponse, error) + GetTreeEntries(ctx context.Context, in *GetTreeEntriesRequest, opts ...grpc.CallOption) (CommitService_GetTreeEntriesClient, error) + ListFiles(ctx context.Context, in *ListFilesRequest, opts ...grpc.CallOption) (CommitService_ListFilesClient, error) + FindCommit(ctx context.Context, in *FindCommitRequest, opts ...grpc.CallOption) (*FindCommitResponse, error) + 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) + FindCommits(ctx context.Context, in *FindCommitsRequest, opts ...grpc.CallOption) (CommitService_FindCommitsClient, error) + CommitLanguages(ctx context.Context, in *CommitLanguagesRequest, opts ...grpc.CallOption) (*CommitLanguagesResponse, error) + RawBlame(ctx context.Context, in *RawBlameRequest, opts ...grpc.CallOption) (CommitService_RawBlameClient, error) + LastCommitForPath(ctx context.Context, in *LastCommitForPathRequest, opts ...grpc.CallOption) (*LastCommitForPathResponse, error) + ListLastCommitsForTree(ctx context.Context, in *ListLastCommitsForTreeRequest, opts ...grpc.CallOption) (CommitService_ListLastCommitsForTreeClient, error) + CommitsByMessage(ctx context.Context, in *CommitsByMessageRequest, opts ...grpc.CallOption) (CommitService_CommitsByMessageClient, error) + ListCommitsByOid(ctx context.Context, in *ListCommitsByOidRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByOidClient, error) + ListCommitsByRefName(ctx context.Context, in *ListCommitsByRefNameRequest, opts ...grpc.CallOption) (CommitService_ListCommitsByRefNameClient, error) + FilterShasWithSignatures(ctx context.Context, opts ...grpc.CallOption) (CommitService_FilterShasWithSignaturesClient, error) + // ExtractCommitSignature returns a stream because the signed text may be + // arbitrarily large and signature verification is impossible without the + // full text. + ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error) + GetCommitSignatures(ctx context.Context, in *GetCommitSignaturesRequest, opts ...grpc.CallOption) (CommitService_GetCommitSignaturesClient, error) + GetCommitMessages(ctx context.Context, in *GetCommitMessagesRequest, opts ...grpc.CallOption) (CommitService_GetCommitMessagesClient, error) +} + +type commitServiceClient struct { + cc *grpc.ClientConn +} + +func NewCommitServiceClient(cc *grpc.ClientConn) CommitServiceClient { + return &commitServiceClient{cc} +} + +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[0], "/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) CommitsBetween(ctx context.Context, in *CommitsBetweenRequest, opts ...grpc.CallOption) (CommitService_CommitsBetweenClient, error) { + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[1], "/gitaly.CommitService/CommitsBetween", opts...) + if err != nil { + return nil, err + } + x := &commitServiceCommitsBetweenClient{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_CommitsBetweenClient interface { + Recv() (*CommitsBetweenResponse, error) + grpc.ClientStream +} + +type commitServiceCommitsBetweenClient struct { + grpc.ClientStream +} + +func (x *commitServiceCommitsBetweenClient) Recv() (*CommitsBetweenResponse, error) { + m := new(CommitsBetweenResponse) + 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[2], "/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[3], "/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[4], "/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[5], "/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[6], "/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[7], "/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[8], "/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[9], "/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[10], "/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[11], "/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) ExtractCommitSignature(ctx context.Context, in *ExtractCommitSignatureRequest, opts ...grpc.CallOption) (CommitService_ExtractCommitSignatureClient, error) { + stream, err := c.cc.NewStream(ctx, &_CommitService_serviceDesc.Streams[12], "/gitaly.CommitService/ExtractCommitSignature", opts...) + if err != nil { + return nil, err + } + x := &commitServiceExtractCommitSignatureClient{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_ExtractCommitSignatureClient interface { + Recv() (*ExtractCommitSignatureResponse, error) + grpc.ClientStream +} + +type commitServiceExtractCommitSignatureClient struct { + grpc.ClientStream +} + +func (x *commitServiceExtractCommitSignatureClient) Recv() (*ExtractCommitSignatureResponse, error) { + m := new(ExtractCommitSignatureResponse) + 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 +} + +// CommitServiceServer is the server API for CommitService service. +type CommitServiceServer interface { + CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) + TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error + CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error + CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) + CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) + GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error + ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error + FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) + CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) + // Use a stream to paginate the result set + FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error + FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error + CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) + RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error + LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) + ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error + CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error + ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error + ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error + FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error + // ExtractCommitSignature returns a stream because the signed text may be + // arbitrarily large and signature verification is impossible without the + // full text. + ExtractCommitSignature(*ExtractCommitSignatureRequest, CommitService_ExtractCommitSignatureServer) error + GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error + GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error +} + +// UnimplementedCommitServiceServer can be embedded to have forward compatible implementations. +type UnimplementedCommitServiceServer struct { +} + +func (*UnimplementedCommitServiceServer) CommitIsAncestor(ctx context.Context, req *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitIsAncestor not implemented") +} +func (*UnimplementedCommitServiceServer) TreeEntry(req *TreeEntryRequest, srv CommitService_TreeEntryServer) error { + return status.Errorf(codes.Unimplemented, "method TreeEntry not implemented") +} +func (*UnimplementedCommitServiceServer) CommitsBetween(req *CommitsBetweenRequest, srv CommitService_CommitsBetweenServer) error { + return status.Errorf(codes.Unimplemented, "method CommitsBetween not implemented") +} +func (*UnimplementedCommitServiceServer) CountCommits(ctx context.Context, req *CountCommitsRequest) (*CountCommitsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountCommits not implemented") +} +func (*UnimplementedCommitServiceServer) CountDivergingCommits(ctx context.Context, req *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CountDivergingCommits not implemented") +} +func (*UnimplementedCommitServiceServer) GetTreeEntries(req *GetTreeEntriesRequest, srv CommitService_GetTreeEntriesServer) error { + return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") +} +func (*UnimplementedCommitServiceServer) ListFiles(req *ListFilesRequest, srv CommitService_ListFilesServer) error { + return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") +} +func (*UnimplementedCommitServiceServer) FindCommit(ctx context.Context, req *FindCommitRequest) (*FindCommitResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindCommit not implemented") +} +func (*UnimplementedCommitServiceServer) CommitStats(ctx context.Context, req *CommitStatsRequest) (*CommitStatsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitStats not implemented") +} +func (*UnimplementedCommitServiceServer) FindAllCommits(req *FindAllCommitsRequest, srv CommitService_FindAllCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllCommits not implemented") +} +func (*UnimplementedCommitServiceServer) FindCommits(req *FindCommitsRequest, srv CommitService_FindCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method FindCommits not implemented") +} +func (*UnimplementedCommitServiceServer) CommitLanguages(ctx context.Context, req *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CommitLanguages not implemented") +} +func (*UnimplementedCommitServiceServer) RawBlame(req *RawBlameRequest, srv CommitService_RawBlameServer) error { + return status.Errorf(codes.Unimplemented, "method RawBlame not implemented") +} +func (*UnimplementedCommitServiceServer) LastCommitForPath(ctx context.Context, req *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LastCommitForPath not implemented") +} +func (*UnimplementedCommitServiceServer) ListLastCommitsForTree(req *ListLastCommitsForTreeRequest, srv CommitService_ListLastCommitsForTreeServer) error { + return status.Errorf(codes.Unimplemented, "method ListLastCommitsForTree not implemented") +} +func (*UnimplementedCommitServiceServer) CommitsByMessage(req *CommitsByMessageRequest, srv CommitService_CommitsByMessageServer) error { + return status.Errorf(codes.Unimplemented, "method CommitsByMessage not implemented") +} +func (*UnimplementedCommitServiceServer) ListCommitsByOid(req *ListCommitsByOidRequest, srv CommitService_ListCommitsByOidServer) error { + return status.Errorf(codes.Unimplemented, "method ListCommitsByOid not implemented") +} +func (*UnimplementedCommitServiceServer) ListCommitsByRefName(req *ListCommitsByRefNameRequest, srv CommitService_ListCommitsByRefNameServer) error { + return status.Errorf(codes.Unimplemented, "method ListCommitsByRefName not implemented") +} +func (*UnimplementedCommitServiceServer) FilterShasWithSignatures(srv CommitService_FilterShasWithSignaturesServer) error { + return status.Errorf(codes.Unimplemented, "method FilterShasWithSignatures not implemented") +} +func (*UnimplementedCommitServiceServer) ExtractCommitSignature(req *ExtractCommitSignatureRequest, srv CommitService_ExtractCommitSignatureServer) error { + return status.Errorf(codes.Unimplemented, "method ExtractCommitSignature not implemented") +} +func (*UnimplementedCommitServiceServer) GetCommitSignatures(req *GetCommitSignaturesRequest, srv CommitService_GetCommitSignaturesServer) error { + return status.Errorf(codes.Unimplemented, "method GetCommitSignatures not implemented") +} +func (*UnimplementedCommitServiceServer) GetCommitMessages(req *GetCommitMessagesRequest, srv CommitService_GetCommitMessagesServer) error { + return status.Errorf(codes.Unimplemented, "method GetCommitMessages not implemented") +} + +func RegisterCommitServiceServer(s *grpc.Server, srv CommitServiceServer) { + s.RegisterService(&_CommitService_serviceDesc, srv) +} + +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_CommitsBetween_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommitsBetweenRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).CommitsBetween(m, &commitServiceCommitsBetweenServer{stream}) +} + +type CommitService_CommitsBetweenServer interface { + Send(*CommitsBetweenResponse) error + grpc.ServerStream +} + +type commitServiceCommitsBetweenServer struct { + grpc.ServerStream +} + +func (x *commitServiceCommitsBetweenServer) Send(m *CommitsBetweenResponse) 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_ExtractCommitSignature_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ExtractCommitSignatureRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(CommitServiceServer).ExtractCommitSignature(m, &commitServiceExtractCommitSignatureServer{stream}) +} + +type CommitService_ExtractCommitSignatureServer interface { + Send(*ExtractCommitSignatureResponse) error + grpc.ServerStream +} + +type commitServiceExtractCommitSignatureServer struct { + grpc.ServerStream +} + +func (x *commitServiceExtractCommitSignatureServer) Send(m *ExtractCommitSignatureResponse) error { + return x.ServerStream.SendMsg(m) +} + +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) +} + +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: "TreeEntry", + Handler: _CommitService_TreeEntry_Handler, + ServerStreams: true, + }, + { + StreamName: "CommitsBetween", + Handler: _CommitService_CommitsBetween_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: "ExtractCommitSignature", + Handler: _CommitService_ExtractCommitSignature_Handler, + ServerStreams: true, + }, + { + StreamName: "GetCommitSignatures", + Handler: _CommitService_GetCommitSignatures_Handler, + ServerStreams: true, + }, + { + StreamName: "GetCommitMessages", + Handler: _CommitService_GetCommitMessages_Handler, + ServerStreams: true, + }, + }, + Metadata: "commit.proto", +} diff --git a/proto/go/gitalypb/conflicts.pb.go b/proto/go/gitalypb/conflicts.pb.go new file mode 100644 index 000000000..0dda32c33 --- /dev/null +++ b/proto/go/gitalypb/conflicts.pb.go @@ -0,0 +1,717 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: conflicts.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ListConflictFilesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` + TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListConflictFilesRequest) Reset() { *m = ListConflictFilesRequest{} } +func (m *ListConflictFilesRequest) String() string { return proto.CompactTextString(m) } +func (*ListConflictFilesRequest) ProtoMessage() {} +func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{0} +} + +func (m *ListConflictFilesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListConflictFilesRequest.Unmarshal(m, b) +} +func (m *ListConflictFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListConflictFilesRequest.Marshal(b, m, deterministic) +} +func (m *ListConflictFilesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConflictFilesRequest.Merge(m, src) +} +func (m *ListConflictFilesRequest) XXX_Size() int { + return xxx_messageInfo_ListConflictFilesRequest.Size(m) +} +func (m *ListConflictFilesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListConflictFilesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConflictFilesRequest proto.InternalMessageInfo + +func (m *ListConflictFilesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListConflictFilesRequest) GetOurCommitOid() string { + if m != nil { + return m.OurCommitOid + } + return "" +} + +func (m *ListConflictFilesRequest) GetTheirCommitOid() string { + if m != nil { + return m.TheirCommitOid + } + return "" +} + +type ConflictFileHeader struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` + TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` + OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` + OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConflictFileHeader) Reset() { *m = ConflictFileHeader{} } +func (m *ConflictFileHeader) String() string { return proto.CompactTextString(m) } +func (*ConflictFileHeader) ProtoMessage() {} +func (*ConflictFileHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{1} +} + +func (m *ConflictFileHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConflictFileHeader.Unmarshal(m, b) +} +func (m *ConflictFileHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConflictFileHeader.Marshal(b, m, deterministic) +} +func (m *ConflictFileHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConflictFileHeader.Merge(m, src) +} +func (m *ConflictFileHeader) XXX_Size() int { + return xxx_messageInfo_ConflictFileHeader.Size(m) +} +func (m *ConflictFileHeader) XXX_DiscardUnknown() { + xxx_messageInfo_ConflictFileHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_ConflictFileHeader proto.InternalMessageInfo + +func (m *ConflictFileHeader) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ConflictFileHeader) GetCommitOid() string { + if m != nil { + return m.CommitOid + } + return "" +} + +func (m *ConflictFileHeader) GetTheirPath() []byte { + if m != nil { + return m.TheirPath + } + return nil +} + +func (m *ConflictFileHeader) GetOurPath() []byte { + if m != nil { + return m.OurPath + } + return nil +} + +func (m *ConflictFileHeader) GetOurMode() int32 { + if m != nil { + return m.OurMode + } + return 0 +} + +type ConflictFile struct { + // Types that are valid to be assigned to ConflictFilePayload: + // *ConflictFile_Header + // *ConflictFile_Content + ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ConflictFile) Reset() { *m = ConflictFile{} } +func (m *ConflictFile) String() string { return proto.CompactTextString(m) } +func (*ConflictFile) ProtoMessage() {} +func (*ConflictFile) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{2} +} + +func (m *ConflictFile) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ConflictFile.Unmarshal(m, b) +} +func (m *ConflictFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ConflictFile.Marshal(b, m, deterministic) +} +func (m *ConflictFile) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConflictFile.Merge(m, src) +} +func (m *ConflictFile) XXX_Size() int { + return xxx_messageInfo_ConflictFile.Size(m) +} +func (m *ConflictFile) XXX_DiscardUnknown() { + xxx_messageInfo_ConflictFile.DiscardUnknown(m) +} + +var xxx_messageInfo_ConflictFile proto.InternalMessageInfo + +type isConflictFile_ConflictFilePayload interface { + isConflictFile_ConflictFilePayload() +} + +type ConflictFile_Header struct { + Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type ConflictFile_Content struct { + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +} + +func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {} + +func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {} + +func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload { + if m != nil { + return m.ConflictFilePayload + } + return nil +} + +func (m *ConflictFile) GetHeader() *ConflictFileHeader { + if x, ok := m.GetConflictFilePayload().(*ConflictFile_Header); ok { + return x.Header + } + return nil +} + +func (m *ConflictFile) GetContent() []byte { + if x, ok := m.GetConflictFilePayload().(*ConflictFile_Content); ok { + return x.Content + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ConflictFile) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ConflictFile_Header)(nil), + (*ConflictFile_Content)(nil), + } +} + +type ListConflictFilesResponse struct { + Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListConflictFilesResponse) Reset() { *m = ListConflictFilesResponse{} } +func (m *ListConflictFilesResponse) String() string { return proto.CompactTextString(m) } +func (*ListConflictFilesResponse) ProtoMessage() {} +func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{3} +} + +func (m *ListConflictFilesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListConflictFilesResponse.Unmarshal(m, b) +} +func (m *ListConflictFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListConflictFilesResponse.Marshal(b, m, deterministic) +} +func (m *ListConflictFilesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConflictFilesResponse.Merge(m, src) +} +func (m *ListConflictFilesResponse) XXX_Size() int { + return xxx_messageInfo_ListConflictFilesResponse.Size(m) +} +func (m *ListConflictFilesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListConflictFilesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConflictFilesResponse proto.InternalMessageInfo + +func (m *ListConflictFilesResponse) GetFiles() []*ConflictFile { + if m != nil { + return m.Files + } + return nil +} + +type ResolveConflictsRequestHeader struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` + TargetRepository *Repository `protobuf:"bytes,3,opt,name=target_repository,json=targetRepository,proto3" json:"target_repository,omitempty"` + TheirCommitOid string `protobuf:"bytes,4,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` + SourceBranch []byte `protobuf:"bytes,5,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` + TargetBranch []byte `protobuf:"bytes,6,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` + CommitMessage []byte `protobuf:"bytes,7,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResolveConflictsRequestHeader) Reset() { *m = ResolveConflictsRequestHeader{} } +func (m *ResolveConflictsRequestHeader) String() string { return proto.CompactTextString(m) } +func (*ResolveConflictsRequestHeader) ProtoMessage() {} +func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{4} +} + +func (m *ResolveConflictsRequestHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResolveConflictsRequestHeader.Unmarshal(m, b) +} +func (m *ResolveConflictsRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResolveConflictsRequestHeader.Marshal(b, m, deterministic) +} +func (m *ResolveConflictsRequestHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveConflictsRequestHeader.Merge(m, src) +} +func (m *ResolveConflictsRequestHeader) XXX_Size() int { + return xxx_messageInfo_ResolveConflictsRequestHeader.Size(m) +} +func (m *ResolveConflictsRequestHeader) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveConflictsRequestHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveConflictsRequestHeader proto.InternalMessageInfo + +func (m *ResolveConflictsRequestHeader) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ResolveConflictsRequestHeader) GetOurCommitOid() string { + if m != nil { + return m.OurCommitOid + } + return "" +} + +func (m *ResolveConflictsRequestHeader) GetTargetRepository() *Repository { + if m != nil { + return m.TargetRepository + } + return nil +} + +func (m *ResolveConflictsRequestHeader) GetTheirCommitOid() string { + if m != nil { + return m.TheirCommitOid + } + return "" +} + +func (m *ResolveConflictsRequestHeader) GetSourceBranch() []byte { + if m != nil { + return m.SourceBranch + } + return nil +} + +func (m *ResolveConflictsRequestHeader) GetTargetBranch() []byte { + if m != nil { + return m.TargetBranch + } + return nil +} + +func (m *ResolveConflictsRequestHeader) GetCommitMessage() []byte { + if m != nil { + return m.CommitMessage + } + return nil +} + +func (m *ResolveConflictsRequestHeader) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +type ResolveConflictsRequest struct { + // Types that are valid to be assigned to ResolveConflictsRequestPayload: + // *ResolveConflictsRequest_Header + // *ResolveConflictsRequest_FilesJson + ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResolveConflictsRequest) Reset() { *m = ResolveConflictsRequest{} } +func (m *ResolveConflictsRequest) String() string { return proto.CompactTextString(m) } +func (*ResolveConflictsRequest) ProtoMessage() {} +func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{5} +} + +func (m *ResolveConflictsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResolveConflictsRequest.Unmarshal(m, b) +} +func (m *ResolveConflictsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResolveConflictsRequest.Marshal(b, m, deterministic) +} +func (m *ResolveConflictsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveConflictsRequest.Merge(m, src) +} +func (m *ResolveConflictsRequest) XXX_Size() int { + return xxx_messageInfo_ResolveConflictsRequest.Size(m) +} +func (m *ResolveConflictsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveConflictsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveConflictsRequest proto.InternalMessageInfo + +type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { + isResolveConflictsRequest_ResolveConflictsRequestPayload() +} + +type ResolveConflictsRequest_Header struct { + Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type ResolveConflictsRequest_FilesJson struct { + FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` +} + +func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} + +func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} + +func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload { + if m != nil { + return m.ResolveConflictsRequestPayload + } + return nil +} + +func (m *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader { + if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok { + return x.Header + } + return nil +} + +func (m *ResolveConflictsRequest) GetFilesJson() []byte { + if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok { + return x.FilesJson + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*ResolveConflictsRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*ResolveConflictsRequest_Header)(nil), + (*ResolveConflictsRequest_FilesJson)(nil), + } +} + +type ResolveConflictsResponse struct { + ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ResolveConflictsResponse) Reset() { *m = ResolveConflictsResponse{} } +func (m *ResolveConflictsResponse) String() string { return proto.CompactTextString(m) } +func (*ResolveConflictsResponse) ProtoMessage() {} +func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_28fc8937e7d75862, []int{6} +} + +func (m *ResolveConflictsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ResolveConflictsResponse.Unmarshal(m, b) +} +func (m *ResolveConflictsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ResolveConflictsResponse.Marshal(b, m, deterministic) +} +func (m *ResolveConflictsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveConflictsResponse.Merge(m, src) +} +func (m *ResolveConflictsResponse) XXX_Size() int { + return xxx_messageInfo_ResolveConflictsResponse.Size(m) +} +func (m *ResolveConflictsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveConflictsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveConflictsResponse proto.InternalMessageInfo + +func (m *ResolveConflictsResponse) GetResolutionError() string { + if m != nil { + return m.ResolutionError + } + return "" +} + +func init() { + proto.RegisterType((*ListConflictFilesRequest)(nil), "gitaly.ListConflictFilesRequest") + proto.RegisterType((*ConflictFileHeader)(nil), "gitaly.ConflictFileHeader") + proto.RegisterType((*ConflictFile)(nil), "gitaly.ConflictFile") + proto.RegisterType((*ListConflictFilesResponse)(nil), "gitaly.ListConflictFilesResponse") + proto.RegisterType((*ResolveConflictsRequestHeader)(nil), "gitaly.ResolveConflictsRequestHeader") + proto.RegisterType((*ResolveConflictsRequest)(nil), "gitaly.ResolveConflictsRequest") + proto.RegisterType((*ResolveConflictsResponse)(nil), "gitaly.ResolveConflictsResponse") +} + +func init() { proto.RegisterFile("conflicts.proto", fileDescriptor_28fc8937e7d75862) } + +var fileDescriptor_28fc8937e7d75862 = []byte{ + // 626 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xcf, 0x4e, 0xdb, 0x4c, + 0x14, 0xc5, 0x19, 0x42, 0xfe, 0x5d, 0x0c, 0x84, 0xd1, 0xf7, 0x09, 0x63, 0x09, 0x61, 0x4c, 0x91, + 0xdc, 0x4a, 0x4d, 0x20, 0xed, 0x1e, 0x29, 0x88, 0x16, 0x55, 0x45, 0xad, 0x5c, 0x75, 0xd3, 0x8d, + 0xe5, 0xd8, 0x97, 0xc4, 0x95, 0xe3, 0x49, 0x67, 0xc6, 0x48, 0x79, 0x12, 0x76, 0x55, 0x1f, 0xa4, + 0xef, 0xd2, 0xc7, 0xa8, 0xc4, 0xaa, 0xca, 0x8c, 0x6d, 0x02, 0x49, 0x68, 0xd5, 0xee, 0x92, 0x73, + 0x7f, 0xbe, 0x73, 0xee, 0xdc, 0xa3, 0x81, 0xad, 0x90, 0xa5, 0x57, 0x49, 0x1c, 0x4a, 0xd1, 0x1e, + 0x73, 0x26, 0x19, 0xad, 0x0d, 0x62, 0x19, 0x24, 0x13, 0xcb, 0x10, 0xc3, 0x80, 0x63, 0xa4, 0x55, + 0xe7, 0x2b, 0x01, 0xf3, 0x6d, 0x2c, 0xe4, 0x59, 0x4e, 0xbf, 0x8a, 0x13, 0x14, 0x1e, 0x7e, 0xc9, + 0x50, 0x48, 0xda, 0x05, 0xe0, 0x38, 0x66, 0x22, 0x96, 0x8c, 0x4f, 0x4c, 0x62, 0x13, 0x77, 0xbd, + 0x4b, 0xdb, 0xba, 0x4f, 0xdb, 0x2b, 0x2b, 0xde, 0x0c, 0x45, 0x9f, 0xc0, 0x26, 0xcb, 0xb8, 0x1f, + 0xb2, 0xd1, 0x28, 0x96, 0x3e, 0x8b, 0x23, 0x73, 0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 0x65, 0xcf, 0x96, 0x75, 0xf0, 0x08, 0xa1, 0x9d, 0x39, 0xcd, 0xdb, + 0x1b, 0xb7, 0xda, 0x58, 0xb5, 0xc8, 0xc9, 0x31, 0xa1, 0x11, 0xb4, 0x1e, 0x8e, 0x40, 0xf7, 0x7f, + 0x73, 0x9b, 0x96, 0xbd, 0x1c, 0xc8, 0xcf, 0x58, 0xbf, 0xbd, 0x71, 0xeb, 0x0d, 0x62, 0x55, 0x4e, + 0xda, 0x27, 0x2e, 0xe9, 0x1d, 0x7f, 0x9a, 0x7e, 0x91, 0x04, 0xfd, 0x76, 0xc8, 0x46, 0x1d, 0xfd, + 0xf3, 0x39, 0xe3, 0x83, 0x8e, 0xee, 0xd3, 0x51, 0xef, 0x71, 0x67, 0xc0, 0xf2, 0xff, 0xe3, 0x7e, + 0xbf, 0xa6, 0xa4, 0x17, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x0e, 0xbc, 0xad, 0x15, 0xcb, 0x05, + 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ConflictsServiceClient is the client API for ConflictsService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ConflictsServiceClient interface { + ListConflictFiles(ctx context.Context, in *ListConflictFilesRequest, opts ...grpc.CallOption) (ConflictsService_ListConflictFilesClient, error) + ResolveConflicts(ctx context.Context, opts ...grpc.CallOption) (ConflictsService_ResolveConflictsClient, error) +} + +type conflictsServiceClient struct { + cc *grpc.ClientConn +} + +func NewConflictsServiceClient(cc *grpc.ClientConn) 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. +type ConflictsServiceServer interface { + ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error + ResolveConflicts(ConflictsService_ResolveConflictsServer) error +} + +// UnimplementedConflictsServiceServer can be embedded to have forward compatible implementations. +type UnimplementedConflictsServiceServer struct { +} + +func (*UnimplementedConflictsServiceServer) ListConflictFiles(req *ListConflictFilesRequest, srv ConflictsService_ListConflictFilesServer) error { + return status.Errorf(codes.Unimplemented, "method ListConflictFiles not implemented") +} +func (*UnimplementedConflictsServiceServer) ResolveConflicts(srv ConflictsService_ResolveConflictsServer) error { + return status.Errorf(codes.Unimplemented, "method ResolveConflicts not implemented") +} + +func RegisterConflictsServiceServer(s *grpc.Server, 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 +} + +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 new file mode 100644 index 000000000..c11dde4dc --- /dev/null +++ b/proto/go/gitalypb/diff.pb.go @@ -0,0 +1,1419 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: diff.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type CommitDiffRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + IgnoreWhitespaceChange bool `protobuf:"varint,4,opt,name=ignore_whitespace_change,json=ignoreWhitespaceChange,proto3" json:"ignore_whitespace_change,omitempty"` + Paths [][]byte `protobuf:"bytes,5,rep,name=paths,proto3" json:"paths,omitempty"` + CollapseDiffs bool `protobuf:"varint,6,opt,name=collapse_diffs,json=collapseDiffs,proto3" json:"collapse_diffs,omitempty"` + 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"` + MaxLines int32 `protobuf:"varint,9,opt,name=max_lines,json=maxLines,proto3" json:"max_lines,omitempty"` + 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"` + SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` + SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} } +func (m *CommitDiffRequest) String() string { return proto.CompactTextString(m) } +func (*CommitDiffRequest) ProtoMessage() {} +func (*CommitDiffRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{0} +} + +func (m *CommitDiffRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitDiffRequest.Unmarshal(m, b) +} +func (m *CommitDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitDiffRequest.Marshal(b, m, deterministic) +} +func (m *CommitDiffRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitDiffRequest.Merge(m, src) +} +func (m *CommitDiffRequest) XXX_Size() int { + return xxx_messageInfo_CommitDiffRequest.Size(m) +} +func (m *CommitDiffRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitDiffRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitDiffRequest proto.InternalMessageInfo + +func (m *CommitDiffRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitDiffRequest) GetLeftCommitId() string { + if m != nil { + return m.LeftCommitId + } + return "" +} + +func (m *CommitDiffRequest) GetRightCommitId() string { + if m != nil { + return m.RightCommitId + } + return "" +} + +func (m *CommitDiffRequest) GetIgnoreWhitespaceChange() bool { + if m != nil { + return m.IgnoreWhitespaceChange + } + return false +} + +func (m *CommitDiffRequest) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +func (m *CommitDiffRequest) GetCollapseDiffs() bool { + if m != nil { + return m.CollapseDiffs + } + return false +} + +func (m *CommitDiffRequest) GetEnforceLimits() bool { + if m != nil { + return m.EnforceLimits + } + return false +} + +func (m *CommitDiffRequest) GetMaxFiles() int32 { + if m != nil { + return m.MaxFiles + } + return 0 +} + +func (m *CommitDiffRequest) GetMaxLines() int32 { + if m != nil { + return m.MaxLines + } + return 0 +} + +func (m *CommitDiffRequest) GetMaxBytes() int32 { + if m != nil { + return m.MaxBytes + } + return 0 +} + +func (m *CommitDiffRequest) GetMaxPatchBytes() int32 { + if m != nil { + return m.MaxPatchBytes + } + return 0 +} + +func (m *CommitDiffRequest) GetSafeMaxFiles() int32 { + if m != nil { + return m.SafeMaxFiles + } + return 0 +} + +func (m *CommitDiffRequest) GetSafeMaxLines() int32 { + if m != nil { + return m.SafeMaxLines + } + return 0 +} + +func (m *CommitDiffRequest) GetSafeMaxBytes() int32 { + if m != nil { + return m.SafeMaxBytes + } + return 0 +} + +// A CommitDiffResponse corresponds to a single changed file in a commit. +type CommitDiffResponse struct { + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` + 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"` + ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` + OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` + Binary bool `protobuf:"varint,7,opt,name=binary,proto3" json:"binary,omitempty"` + RawPatchData []byte `protobuf:"bytes,9,opt,name=raw_patch_data,json=rawPatchData,proto3" json:"raw_patch_data,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} } +func (m *CommitDiffResponse) String() string { return proto.CompactTextString(m) } +func (*CommitDiffResponse) ProtoMessage() {} +func (*CommitDiffResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{1} +} + +func (m *CommitDiffResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitDiffResponse.Unmarshal(m, b) +} +func (m *CommitDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitDiffResponse.Marshal(b, m, deterministic) +} +func (m *CommitDiffResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitDiffResponse.Merge(m, src) +} +func (m *CommitDiffResponse) XXX_Size() int { + return xxx_messageInfo_CommitDiffResponse.Size(m) +} +func (m *CommitDiffResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitDiffResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitDiffResponse proto.InternalMessageInfo + +func (m *CommitDiffResponse) GetFromPath() []byte { + if m != nil { + return m.FromPath + } + return nil +} + +func (m *CommitDiffResponse) GetToPath() []byte { + if m != nil { + return m.ToPath + } + return nil +} + +func (m *CommitDiffResponse) GetFromId() string { + if m != nil { + return m.FromId + } + return "" +} + +func (m *CommitDiffResponse) GetToId() string { + if m != nil { + return m.ToId + } + return "" +} + +func (m *CommitDiffResponse) GetOldMode() int32 { + if m != nil { + return m.OldMode + } + return 0 +} + +func (m *CommitDiffResponse) GetNewMode() int32 { + if m != nil { + return m.NewMode + } + return 0 +} + +func (m *CommitDiffResponse) GetBinary() bool { + if m != nil { + return m.Binary + } + return false +} + +func (m *CommitDiffResponse) GetRawPatchData() []byte { + if m != nil { + return m.RawPatchData + } + return nil +} + +func (m *CommitDiffResponse) GetEndOfPatch() bool { + if m != nil { + return m.EndOfPatch + } + return false +} + +func (m *CommitDiffResponse) GetOverflowMarker() bool { + if m != nil { + return m.OverflowMarker + } + return false +} + +func (m *CommitDiffResponse) GetCollapsed() bool { + if m != nil { + return m.Collapsed + } + return false +} + +func (m *CommitDiffResponse) GetTooLarge() bool { + if m != nil { + return m.TooLarge + } + return false +} + +type CommitDeltaRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitDeltaRequest) Reset() { *m = CommitDeltaRequest{} } +func (m *CommitDeltaRequest) String() string { return proto.CompactTextString(m) } +func (*CommitDeltaRequest) ProtoMessage() {} +func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{2} +} + +func (m *CommitDeltaRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitDeltaRequest.Unmarshal(m, b) +} +func (m *CommitDeltaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitDeltaRequest.Marshal(b, m, deterministic) +} +func (m *CommitDeltaRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitDeltaRequest.Merge(m, src) +} +func (m *CommitDeltaRequest) XXX_Size() int { + return xxx_messageInfo_CommitDeltaRequest.Size(m) +} +func (m *CommitDeltaRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitDeltaRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitDeltaRequest proto.InternalMessageInfo + +func (m *CommitDeltaRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitDeltaRequest) GetLeftCommitId() string { + if m != nil { + return m.LeftCommitId + } + return "" +} + +func (m *CommitDeltaRequest) GetRightCommitId() string { + if m != nil { + return m.RightCommitId + } + return "" +} + +func (m *CommitDeltaRequest) GetPaths() [][]byte { + if m != nil { + return m.Paths + } + return nil +} + +type CommitDelta struct { + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` + 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"` + ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` + OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitDelta) Reset() { *m = CommitDelta{} } +func (m *CommitDelta) String() string { return proto.CompactTextString(m) } +func (*CommitDelta) ProtoMessage() {} +func (*CommitDelta) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{3} +} + +func (m *CommitDelta) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitDelta.Unmarshal(m, b) +} +func (m *CommitDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitDelta.Marshal(b, m, deterministic) +} +func (m *CommitDelta) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitDelta.Merge(m, src) +} +func (m *CommitDelta) XXX_Size() int { + return xxx_messageInfo_CommitDelta.Size(m) +} +func (m *CommitDelta) XXX_DiscardUnknown() { + xxx_messageInfo_CommitDelta.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitDelta proto.InternalMessageInfo + +func (m *CommitDelta) GetFromPath() []byte { + if m != nil { + return m.FromPath + } + return nil +} + +func (m *CommitDelta) GetToPath() []byte { + if m != nil { + return m.ToPath + } + return nil +} + +func (m *CommitDelta) GetFromId() string { + if m != nil { + return m.FromId + } + return "" +} + +func (m *CommitDelta) GetToId() string { + if m != nil { + return m.ToId + } + return "" +} + +func (m *CommitDelta) GetOldMode() int32 { + if m != nil { + return m.OldMode + } + return 0 +} + +func (m *CommitDelta) GetNewMode() int32 { + if m != nil { + return m.NewMode + } + return 0 +} + +type CommitDeltaResponse struct { + Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitDeltaResponse) Reset() { *m = CommitDeltaResponse{} } +func (m *CommitDeltaResponse) String() string { return proto.CompactTextString(m) } +func (*CommitDeltaResponse) ProtoMessage() {} +func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{4} +} + +func (m *CommitDeltaResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitDeltaResponse.Unmarshal(m, b) +} +func (m *CommitDeltaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitDeltaResponse.Marshal(b, m, deterministic) +} +func (m *CommitDeltaResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitDeltaResponse.Merge(m, src) +} +func (m *CommitDeltaResponse) XXX_Size() int { + return xxx_messageInfo_CommitDeltaResponse.Size(m) +} +func (m *CommitDeltaResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitDeltaResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitDeltaResponse proto.InternalMessageInfo + +func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta { + if m != nil { + return m.Deltas + } + return nil +} + +type CommitPatchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitPatchRequest) Reset() { *m = CommitPatchRequest{} } +func (m *CommitPatchRequest) String() string { return proto.CompactTextString(m) } +func (*CommitPatchRequest) ProtoMessage() {} +func (*CommitPatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{5} +} + +func (m *CommitPatchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitPatchRequest.Unmarshal(m, b) +} +func (m *CommitPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitPatchRequest.Marshal(b, m, deterministic) +} +func (m *CommitPatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitPatchRequest.Merge(m, src) +} +func (m *CommitPatchRequest) XXX_Size() int { + return xxx_messageInfo_CommitPatchRequest.Size(m) +} +func (m *CommitPatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CommitPatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitPatchRequest proto.InternalMessageInfo + +func (m *CommitPatchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CommitPatchRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type CommitPatchResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitPatchResponse) Reset() { *m = CommitPatchResponse{} } +func (m *CommitPatchResponse) String() string { return proto.CompactTextString(m) } +func (*CommitPatchResponse) ProtoMessage() {} +func (*CommitPatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{6} +} + +func (m *CommitPatchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitPatchResponse.Unmarshal(m, b) +} +func (m *CommitPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitPatchResponse.Marshal(b, m, deterministic) +} +func (m *CommitPatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitPatchResponse.Merge(m, src) +} +func (m *CommitPatchResponse) XXX_Size() int { + return xxx_messageInfo_CommitPatchResponse.Size(m) +} +func (m *CommitPatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CommitPatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitPatchResponse proto.InternalMessageInfo + +func (m *CommitPatchResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type RawDiffRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} } +func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) } +func (*RawDiffRequest) ProtoMessage() {} +func (*RawDiffRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{7} +} + +func (m *RawDiffRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawDiffRequest.Unmarshal(m, b) +} +func (m *RawDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawDiffRequest.Marshal(b, m, deterministic) +} +func (m *RawDiffRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawDiffRequest.Merge(m, src) +} +func (m *RawDiffRequest) XXX_Size() int { + return xxx_messageInfo_RawDiffRequest.Size(m) +} +func (m *RawDiffRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RawDiffRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RawDiffRequest proto.InternalMessageInfo + +func (m *RawDiffRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RawDiffRequest) GetLeftCommitId() string { + if m != nil { + return m.LeftCommitId + } + return "" +} + +func (m *RawDiffRequest) GetRightCommitId() string { + if m != nil { + return m.RightCommitId + } + return "" +} + +type RawDiffResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} } +func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) } +func (*RawDiffResponse) ProtoMessage() {} +func (*RawDiffResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{8} +} + +func (m *RawDiffResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawDiffResponse.Unmarshal(m, b) +} +func (m *RawDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawDiffResponse.Marshal(b, m, deterministic) +} +func (m *RawDiffResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawDiffResponse.Merge(m, src) +} +func (m *RawDiffResponse) XXX_Size() int { + return xxx_messageInfo_RawDiffResponse.Size(m) +} +func (m *RawDiffResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RawDiffResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RawDiffResponse proto.InternalMessageInfo + +func (m *RawDiffResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type RawPatchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} } +func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) } +func (*RawPatchRequest) ProtoMessage() {} +func (*RawPatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{9} +} + +func (m *RawPatchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawPatchRequest.Unmarshal(m, b) +} +func (m *RawPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawPatchRequest.Marshal(b, m, deterministic) +} +func (m *RawPatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawPatchRequest.Merge(m, src) +} +func (m *RawPatchRequest) XXX_Size() int { + return xxx_messageInfo_RawPatchRequest.Size(m) +} +func (m *RawPatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RawPatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RawPatchRequest proto.InternalMessageInfo + +func (m *RawPatchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RawPatchRequest) GetLeftCommitId() string { + if m != nil { + return m.LeftCommitId + } + return "" +} + +func (m *RawPatchRequest) GetRightCommitId() string { + if m != nil { + return m.RightCommitId + } + return "" +} + +type RawPatchResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} } +func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) } +func (*RawPatchResponse) ProtoMessage() {} +func (*RawPatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{10} +} + +func (m *RawPatchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RawPatchResponse.Unmarshal(m, b) +} +func (m *RawPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RawPatchResponse.Marshal(b, m, deterministic) +} +func (m *RawPatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RawPatchResponse.Merge(m, src) +} +func (m *RawPatchResponse) XXX_Size() int { + return xxx_messageInfo_RawPatchResponse.Size(m) +} +func (m *RawPatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RawPatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RawPatchResponse proto.InternalMessageInfo + +func (m *RawPatchResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type DiffStatsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiffStatsRequest) Reset() { *m = DiffStatsRequest{} } +func (m *DiffStatsRequest) String() string { return proto.CompactTextString(m) } +func (*DiffStatsRequest) ProtoMessage() {} +func (*DiffStatsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{11} +} + +func (m *DiffStatsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiffStatsRequest.Unmarshal(m, b) +} +func (m *DiffStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiffStatsRequest.Marshal(b, m, deterministic) +} +func (m *DiffStatsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiffStatsRequest.Merge(m, src) +} +func (m *DiffStatsRequest) XXX_Size() int { + return xxx_messageInfo_DiffStatsRequest.Size(m) +} +func (m *DiffStatsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DiffStatsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DiffStatsRequest proto.InternalMessageInfo + +func (m *DiffStatsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *DiffStatsRequest) GetLeftCommitId() string { + if m != nil { + return m.LeftCommitId + } + return "" +} + +func (m *DiffStatsRequest) GetRightCommitId() string { + if m != nil { + return m.RightCommitId + } + return "" +} + +type DiffStats struct { + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiffStats) Reset() { *m = DiffStats{} } +func (m *DiffStats) String() string { return proto.CompactTextString(m) } +func (*DiffStats) ProtoMessage() {} +func (*DiffStats) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{12} +} + +func (m *DiffStats) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiffStats.Unmarshal(m, b) +} +func (m *DiffStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiffStats.Marshal(b, m, deterministic) +} +func (m *DiffStats) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiffStats.Merge(m, src) +} +func (m *DiffStats) XXX_Size() int { + return xxx_messageInfo_DiffStats.Size(m) +} +func (m *DiffStats) XXX_DiscardUnknown() { + xxx_messageInfo_DiffStats.DiscardUnknown(m) +} + +var xxx_messageInfo_DiffStats proto.InternalMessageInfo + +func (m *DiffStats) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *DiffStats) GetAdditions() int32 { + if m != nil { + return m.Additions + } + return 0 +} + +func (m *DiffStats) GetDeletions() int32 { + if m != nil { + return m.Deletions + } + return 0 +} + +type DiffStatsResponse struct { + Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DiffStatsResponse) Reset() { *m = DiffStatsResponse{} } +func (m *DiffStatsResponse) String() string { return proto.CompactTextString(m) } +func (*DiffStatsResponse) ProtoMessage() {} +func (*DiffStatsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_686521effc814b25, []int{13} +} + +func (m *DiffStatsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DiffStatsResponse.Unmarshal(m, b) +} +func (m *DiffStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DiffStatsResponse.Marshal(b, m, deterministic) +} +func (m *DiffStatsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiffStatsResponse.Merge(m, src) +} +func (m *DiffStatsResponse) XXX_Size() int { + return xxx_messageInfo_DiffStatsResponse.Size(m) +} +func (m *DiffStatsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DiffStatsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DiffStatsResponse proto.InternalMessageInfo + +func (m *DiffStatsResponse) GetStats() []*DiffStats { + if m != nil { + return m.Stats + } + return nil +} + +func init() { + proto.RegisterType((*CommitDiffRequest)(nil), "gitaly.CommitDiffRequest") + proto.RegisterType((*CommitDiffResponse)(nil), "gitaly.CommitDiffResponse") + proto.RegisterType((*CommitDeltaRequest)(nil), "gitaly.CommitDeltaRequest") + proto.RegisterType((*CommitDelta)(nil), "gitaly.CommitDelta") + proto.RegisterType((*CommitDeltaResponse)(nil), "gitaly.CommitDeltaResponse") + proto.RegisterType((*CommitPatchRequest)(nil), "gitaly.CommitPatchRequest") + proto.RegisterType((*CommitPatchResponse)(nil), "gitaly.CommitPatchResponse") + proto.RegisterType((*RawDiffRequest)(nil), "gitaly.RawDiffRequest") + proto.RegisterType((*RawDiffResponse)(nil), "gitaly.RawDiffResponse") + proto.RegisterType((*RawPatchRequest)(nil), "gitaly.RawPatchRequest") + proto.RegisterType((*RawPatchResponse)(nil), "gitaly.RawPatchResponse") + proto.RegisterType((*DiffStatsRequest)(nil), "gitaly.DiffStatsRequest") + proto.RegisterType((*DiffStats)(nil), "gitaly.DiffStats") + proto.RegisterType((*DiffStatsResponse)(nil), "gitaly.DiffStatsResponse") +} + +func init() { proto.RegisterFile("diff.proto", fileDescriptor_686521effc814b25) } + +var fileDescriptor_686521effc814b25 = []byte{ + // 904 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4d, 0x6f, 0xeb, 0x44, + 0x14, 0x95, 0x9b, 0x8f, 0x3a, 0x37, 0x6e, 0xda, 0x4e, 0x51, 0x9f, 0x9b, 0xc7, 0x22, 0xb2, 0xde, + 0x47, 0x10, 0xa2, 0x7d, 0x94, 0x0d, 0x0b, 0x56, 0x7d, 0x4f, 0xa0, 0x3e, 0xb5, 0xa2, 0xf2, 0x5b, + 0x20, 0xc1, 0xc2, 0x9a, 0x64, 0xc6, 0xc9, 0x08, 0xdb, 0x13, 0x66, 0x86, 0xa6, 0xfd, 0x1b, 0x80, + 0xc4, 0x1f, 0x40, 0x62, 0xc3, 0x5f, 0x63, 0x8f, 0x58, 0xa1, 0xb9, 0x63, 0x3b, 0x4e, 0x1b, 0x75, + 0x53, 0x16, 0xdd, 0xf9, 0x9e, 0x73, 0x7c, 0xe7, 0xcc, 0xfd, 0x70, 0x02, 0xc0, 0x44, 0x9a, 0x1e, + 0x2f, 0x94, 0x34, 0x92, 0x74, 0x67, 0xc2, 0xd0, 0xec, 0x76, 0x18, 0xe8, 0x39, 0x55, 0x9c, 0x39, + 0x34, 0xfa, 0xa3, 0x0d, 0xfb, 0x6f, 0x65, 0x9e, 0x0b, 0xf3, 0x4e, 0xa4, 0x69, 0xcc, 0x7f, 0xfa, + 0x99, 0x6b, 0x43, 0x4e, 0x01, 0x14, 0x5f, 0x48, 0x2d, 0x8c, 0x54, 0xb7, 0xa1, 0x37, 0xf2, 0xc6, + 0xfd, 0x53, 0x72, 0xec, 0x12, 0x1c, 0xc7, 0x35, 0x13, 0x37, 0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0xa4, + 0x27, 0x33, 0x59, 0xc6, 0x8b, 0xc9, 0xa4, 0x8b, 0xd0, 0x17, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, + 0x7b, 0x5b, 0x1a, 0xed, 0xc8, 0x0a, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// DiffServiceClient is the client API for DiffService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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) + CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error) + RawDiff(ctx context.Context, in *RawDiffRequest, opts ...grpc.CallOption) (DiffService_RawDiffClient, error) + RawPatch(ctx context.Context, in *RawPatchRequest, opts ...grpc.CallOption) (DiffService_RawPatchClient, error) + DiffStats(ctx context.Context, in *DiffStatsRequest, opts ...grpc.CallOption) (DiffService_DiffStatsClient, error) +} + +type diffServiceClient struct { + cc *grpc.ClientConn +} + +func NewDiffServiceClient(cc *grpc.ClientConn) 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) CommitPatch(ctx context.Context, in *CommitPatchRequest, opts ...grpc.CallOption) (DiffService_CommitPatchClient, error) { + stream, err := c.cc.NewStream(ctx, &_DiffService_serviceDesc.Streams[2], "/gitaly.DiffService/CommitPatch", opts...) + if err != nil { + return nil, err + } + x := &diffServiceCommitPatchClient{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_CommitPatchClient interface { + Recv() (*CommitPatchResponse, error) + grpc.ClientStream +} + +type diffServiceCommitPatchClient struct { + grpc.ClientStream +} + +func (x *diffServiceCommitPatchClient) Recv() (*CommitPatchResponse, error) { + m := new(CommitPatchResponse) + 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[3], "/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[4], "/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[5], "/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 +} + +// DiffServiceServer is the server API for DiffService service. +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 + CommitPatch(*CommitPatchRequest, DiffService_CommitPatchServer) error + RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error + RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error + DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error +} + +// UnimplementedDiffServiceServer can be embedded to have forward compatible implementations. +type UnimplementedDiffServiceServer struct { +} + +func (*UnimplementedDiffServiceServer) CommitDiff(req *CommitDiffRequest, srv DiffService_CommitDiffServer) error { + return status.Errorf(codes.Unimplemented, "method CommitDiff not implemented") +} +func (*UnimplementedDiffServiceServer) CommitDelta(req *CommitDeltaRequest, srv DiffService_CommitDeltaServer) error { + return status.Errorf(codes.Unimplemented, "method CommitDelta not implemented") +} +func (*UnimplementedDiffServiceServer) CommitPatch(req *CommitPatchRequest, srv DiffService_CommitPatchServer) error { + return status.Errorf(codes.Unimplemented, "method CommitPatch not implemented") +} +func (*UnimplementedDiffServiceServer) RawDiff(req *RawDiffRequest, srv DiffService_RawDiffServer) error { + return status.Errorf(codes.Unimplemented, "method RawDiff not implemented") +} +func (*UnimplementedDiffServiceServer) RawPatch(req *RawPatchRequest, srv DiffService_RawPatchServer) error { + return status.Errorf(codes.Unimplemented, "method RawPatch not implemented") +} +func (*UnimplementedDiffServiceServer) DiffStats(req *DiffStatsRequest, srv DiffService_DiffStatsServer) error { + return status.Errorf(codes.Unimplemented, "method DiffStats not implemented") +} + +func RegisterDiffServiceServer(s *grpc.Server, 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_CommitPatch_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(CommitPatchRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(DiffServiceServer).CommitPatch(m, &diffServiceCommitPatchServer{stream}) +} + +type DiffService_CommitPatchServer interface { + Send(*CommitPatchResponse) error + grpc.ServerStream +} + +type diffServiceCommitPatchServer struct { + grpc.ServerStream +} + +func (x *diffServiceCommitPatchServer) Send(m *CommitPatchResponse) 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) +} + +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: "CommitPatch", + Handler: _DiffService_CommitPatch_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, + }, + }, + Metadata: "diff.proto", +} diff --git a/proto/go/gitalypb/namespace.pb.go b/proto/go/gitalypb/namespace.pb.go new file mode 100644 index 000000000..21c711034 --- /dev/null +++ b/proto/go/gitalypb/namespace.pb.go @@ -0,0 +1,580 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: namespace.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type AddNamespaceRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddNamespaceRequest) Reset() { *m = AddNamespaceRequest{} } +func (m *AddNamespaceRequest) String() string { return proto.CompactTextString(m) } +func (*AddNamespaceRequest) ProtoMessage() {} +func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{0} +} + +func (m *AddNamespaceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddNamespaceRequest.Unmarshal(m, b) +} +func (m *AddNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddNamespaceRequest.Marshal(b, m, deterministic) +} +func (m *AddNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNamespaceRequest.Merge(m, src) +} +func (m *AddNamespaceRequest) XXX_Size() int { + return xxx_messageInfo_AddNamespaceRequest.Size(m) +} +func (m *AddNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddNamespaceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddNamespaceRequest proto.InternalMessageInfo + +func (m *AddNamespaceRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *AddNamespaceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type RemoveNamespaceRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveNamespaceRequest) Reset() { *m = RemoveNamespaceRequest{} } +func (m *RemoveNamespaceRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveNamespaceRequest) ProtoMessage() {} +func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{1} +} + +func (m *RemoveNamespaceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveNamespaceRequest.Unmarshal(m, b) +} +func (m *RemoveNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveNamespaceRequest.Marshal(b, m, deterministic) +} +func (m *RemoveNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNamespaceRequest.Merge(m, src) +} +func (m *RemoveNamespaceRequest) XXX_Size() int { + return xxx_messageInfo_RemoveNamespaceRequest.Size(m) +} +func (m *RemoveNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNamespaceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNamespaceRequest proto.InternalMessageInfo + +func (m *RemoveNamespaceRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *RemoveNamespaceRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type RenameNamespaceRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RenameNamespaceRequest) Reset() { *m = RenameNamespaceRequest{} } +func (m *RenameNamespaceRequest) String() string { return proto.CompactTextString(m) } +func (*RenameNamespaceRequest) ProtoMessage() {} +func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{2} +} + +func (m *RenameNamespaceRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RenameNamespaceRequest.Unmarshal(m, b) +} +func (m *RenameNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RenameNamespaceRequest.Marshal(b, m, deterministic) +} +func (m *RenameNamespaceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RenameNamespaceRequest.Merge(m, src) +} +func (m *RenameNamespaceRequest) XXX_Size() int { + return xxx_messageInfo_RenameNamespaceRequest.Size(m) +} +func (m *RenameNamespaceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RenameNamespaceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RenameNamespaceRequest proto.InternalMessageInfo + +func (m *RenameNamespaceRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *RenameNamespaceRequest) GetFrom() string { + if m != nil { + return m.From + } + return "" +} + +func (m *RenameNamespaceRequest) GetTo() string { + if m != nil { + return m.To + } + return "" +} + +type NamespaceExistsRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NamespaceExistsRequest) Reset() { *m = NamespaceExistsRequest{} } +func (m *NamespaceExistsRequest) String() string { return proto.CompactTextString(m) } +func (*NamespaceExistsRequest) ProtoMessage() {} +func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{3} +} + +func (m *NamespaceExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NamespaceExistsRequest.Unmarshal(m, b) +} +func (m *NamespaceExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NamespaceExistsRequest.Marshal(b, m, deterministic) +} +func (m *NamespaceExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceExistsRequest.Merge(m, src) +} +func (m *NamespaceExistsRequest) XXX_Size() int { + return xxx_messageInfo_NamespaceExistsRequest.Size(m) +} +func (m *NamespaceExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceExistsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceExistsRequest proto.InternalMessageInfo + +func (m *NamespaceExistsRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *NamespaceExistsRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type NamespaceExistsResponse struct { + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *NamespaceExistsResponse) Reset() { *m = NamespaceExistsResponse{} } +func (m *NamespaceExistsResponse) String() string { return proto.CompactTextString(m) } +func (*NamespaceExistsResponse) ProtoMessage() {} +func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{4} +} + +func (m *NamespaceExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_NamespaceExistsResponse.Unmarshal(m, b) +} +func (m *NamespaceExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_NamespaceExistsResponse.Marshal(b, m, deterministic) +} +func (m *NamespaceExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamespaceExistsResponse.Merge(m, src) +} +func (m *NamespaceExistsResponse) XXX_Size() int { + return xxx_messageInfo_NamespaceExistsResponse.Size(m) +} +func (m *NamespaceExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NamespaceExistsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NamespaceExistsResponse proto.InternalMessageInfo + +func (m *NamespaceExistsResponse) GetExists() bool { + if m != nil { + return m.Exists + } + return false +} + +type AddNamespaceResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddNamespaceResponse) Reset() { *m = AddNamespaceResponse{} } +func (m *AddNamespaceResponse) String() string { return proto.CompactTextString(m) } +func (*AddNamespaceResponse) ProtoMessage() {} +func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{5} +} + +func (m *AddNamespaceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddNamespaceResponse.Unmarshal(m, b) +} +func (m *AddNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddNamespaceResponse.Marshal(b, m, deterministic) +} +func (m *AddNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddNamespaceResponse.Merge(m, src) +} +func (m *AddNamespaceResponse) XXX_Size() int { + return xxx_messageInfo_AddNamespaceResponse.Size(m) +} +func (m *AddNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddNamespaceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AddNamespaceResponse proto.InternalMessageInfo + +type RemoveNamespaceResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveNamespaceResponse) Reset() { *m = RemoveNamespaceResponse{} } +func (m *RemoveNamespaceResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveNamespaceResponse) ProtoMessage() {} +func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{6} +} + +func (m *RemoveNamespaceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveNamespaceResponse.Unmarshal(m, b) +} +func (m *RemoveNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveNamespaceResponse.Marshal(b, m, deterministic) +} +func (m *RemoveNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNamespaceResponse.Merge(m, src) +} +func (m *RemoveNamespaceResponse) XXX_Size() int { + return xxx_messageInfo_RemoveNamespaceResponse.Size(m) +} +func (m *RemoveNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNamespaceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNamespaceResponse proto.InternalMessageInfo + +type RenameNamespaceResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RenameNamespaceResponse) Reset() { *m = RenameNamespaceResponse{} } +func (m *RenameNamespaceResponse) String() string { return proto.CompactTextString(m) } +func (*RenameNamespaceResponse) ProtoMessage() {} +func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ecb1e126f615f5dd, []int{7} +} + +func (m *RenameNamespaceResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RenameNamespaceResponse.Unmarshal(m, b) +} +func (m *RenameNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RenameNamespaceResponse.Marshal(b, m, deterministic) +} +func (m *RenameNamespaceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RenameNamespaceResponse.Merge(m, src) +} +func (m *RenameNamespaceResponse) XXX_Size() int { + return xxx_messageInfo_RenameNamespaceResponse.Size(m) +} +func (m *RenameNamespaceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RenameNamespaceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RenameNamespaceResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*AddNamespaceRequest)(nil), "gitaly.AddNamespaceRequest") + proto.RegisterType((*RemoveNamespaceRequest)(nil), "gitaly.RemoveNamespaceRequest") + proto.RegisterType((*RenameNamespaceRequest)(nil), "gitaly.RenameNamespaceRequest") + proto.RegisterType((*NamespaceExistsRequest)(nil), "gitaly.NamespaceExistsRequest") + proto.RegisterType((*NamespaceExistsResponse)(nil), "gitaly.NamespaceExistsResponse") + proto.RegisterType((*AddNamespaceResponse)(nil), "gitaly.AddNamespaceResponse") + proto.RegisterType((*RemoveNamespaceResponse)(nil), "gitaly.RemoveNamespaceResponse") + proto.RegisterType((*RenameNamespaceResponse)(nil), "gitaly.RenameNamespaceResponse") +} + +func init() { proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) } + +var fileDescriptor_ecb1e126f615f5dd = []byte{ + // 340 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcd, 0x4e, 0xc2, 0x40, + 0x10, 0xc7, 0xd3, 0x42, 0x08, 0x8e, 0x44, 0xc8, 0x6a, 0x00, 0xd1, 0xf8, 0xd1, 0x13, 0x17, 0x5b, + 0x3f, 0x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97, 0x9f, 0x15, 0x68, 0x2d, 0xd5, 0x01, 0xf2, + 0xc5, 0x74, 0x8c, 0x64, 0x00, 0x8d, 0xfc, 0x15, 0xe4, 0xc0, 0x37, 0xdb, 0xe0, 0x5b, 0x86, 0xdf, + 0x3b, 0xb4, 0x9b, 0xe9, 0xd5, 0xf5, 0xef, 0xaf, 0x7e, 0xb5, 0xee, 0xb4, 0x1c, 0xf2, 0x04, 0xcd, + 0x52, 0x7d, 0xe4, 0x28, 0xfb, 0xd4, 0xbe, 0x06, 0xbd, 0xe3, 0x8d, 0xbe, 0x9d, 0x5e, 0xf8, 0xc5, + 0x3c, 0xdd, 0xb6, 0x13, 0x79, 0xba, 0xb5, 0x37, 0x45, 0x7a, 0x69, 0x4c, 0x2b, 0xba, 0x7d, 0x21, + 0x56, 0xf4, 0x0d, 0xf3, 0x4d, 0xe9, 0x6e, 0xcb, 0xb9, 0x39, 0x7f, 0x54, 0xb9, 0x33, 0x3a, 0xf2, + 0xc7, 0x2c, 0x0e, 0x4c, 0x78, 0xc6, 0x78, 0x14, 0x18, 0x42, 0xa0, 0xdf, 0x5e, 0x10, 0xb1, 0xf4, + 0x9c, 0x8c, 0x46, 0x35, 0x2d, 0x5d, 0xfd, 0x04, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x5d, 0x7a, 0x6b, + 0xb7, 0x03, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// NamespaceServiceClient is the client API for NamespaceService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type NamespaceServiceClient interface { + AddNamespace(ctx context.Context, in *AddNamespaceRequest, opts ...grpc.CallOption) (*AddNamespaceResponse, error) + RemoveNamespace(ctx context.Context, in *RemoveNamespaceRequest, opts ...grpc.CallOption) (*RemoveNamespaceResponse, error) + RenameNamespace(ctx context.Context, in *RenameNamespaceRequest, opts ...grpc.CallOption) (*RenameNamespaceResponse, error) + NamespaceExists(ctx context.Context, in *NamespaceExistsRequest, opts ...grpc.CallOption) (*NamespaceExistsResponse, error) +} + +type namespaceServiceClient struct { + cc *grpc.ClientConn +} + +func NewNamespaceServiceClient(cc *grpc.ClientConn) 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. +type NamespaceServiceServer interface { + AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) + RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) + RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) + NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) +} + +// UnimplementedNamespaceServiceServer can be embedded to have forward compatible implementations. +type UnimplementedNamespaceServiceServer struct { +} + +func (*UnimplementedNamespaceServiceServer) AddNamespace(ctx context.Context, req *AddNamespaceRequest) (*AddNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddNamespace not implemented") +} +func (*UnimplementedNamespaceServiceServer) RemoveNamespace(ctx context.Context, req *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveNamespace not implemented") +} +func (*UnimplementedNamespaceServiceServer) RenameNamespace(ctx context.Context, req *RenameNamespaceRequest) (*RenameNamespaceResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RenameNamespace not implemented") +} +func (*UnimplementedNamespaceServiceServer) NamespaceExists(ctx context.Context, req *NamespaceExistsRequest) (*NamespaceExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method NamespaceExists not implemented") +} + +func RegisterNamespaceServiceServer(s *grpc.Server, 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) +} + +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 new file mode 100644 index 000000000..0683df02d --- /dev/null +++ b/proto/go/gitalypb/objectpool.pb.go @@ -0,0 +1,918 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: objectpool.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +// Creates an object pool from the repository. The client is responsible for +// joining this pool later with this repository. +type CreateObjectPoolRequest struct { + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateObjectPoolRequest) Reset() { *m = CreateObjectPoolRequest{} } +func (m *CreateObjectPoolRequest) String() string { return proto.CompactTextString(m) } +func (*CreateObjectPoolRequest) ProtoMessage() {} +func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{0} +} + +func (m *CreateObjectPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateObjectPoolRequest.Unmarshal(m, b) +} +func (m *CreateObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateObjectPoolRequest.Marshal(b, m, deterministic) +} +func (m *CreateObjectPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateObjectPoolRequest.Merge(m, src) +} +func (m *CreateObjectPoolRequest) XXX_Size() int { + return xxx_messageInfo_CreateObjectPoolRequest.Size(m) +} +func (m *CreateObjectPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateObjectPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateObjectPoolRequest proto.InternalMessageInfo + +func (m *CreateObjectPoolRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +func (m *CreateObjectPoolRequest) GetOrigin() *Repository { + if m != nil { + return m.Origin + } + return nil +} + +type CreateObjectPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateObjectPoolResponse) Reset() { *m = CreateObjectPoolResponse{} } +func (m *CreateObjectPoolResponse) String() string { return proto.CompactTextString(m) } +func (*CreateObjectPoolResponse) ProtoMessage() {} +func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{1} +} + +func (m *CreateObjectPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateObjectPoolResponse.Unmarshal(m, b) +} +func (m *CreateObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateObjectPoolResponse.Marshal(b, m, deterministic) +} +func (m *CreateObjectPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateObjectPoolResponse.Merge(m, src) +} +func (m *CreateObjectPoolResponse) XXX_Size() int { + return xxx_messageInfo_CreateObjectPoolResponse.Size(m) +} +func (m *CreateObjectPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateObjectPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateObjectPoolResponse proto.InternalMessageInfo + +// Removes the directory from disk, caller is responsible for leaving the object +// pool before calling this RPC +type DeleteObjectPoolRequest struct { + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteObjectPoolRequest) Reset() { *m = DeleteObjectPoolRequest{} } +func (m *DeleteObjectPoolRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteObjectPoolRequest) ProtoMessage() {} +func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{2} +} + +func (m *DeleteObjectPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteObjectPoolRequest.Unmarshal(m, b) +} +func (m *DeleteObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteObjectPoolRequest.Marshal(b, m, deterministic) +} +func (m *DeleteObjectPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteObjectPoolRequest.Merge(m, src) +} +func (m *DeleteObjectPoolRequest) XXX_Size() int { + return xxx_messageInfo_DeleteObjectPoolRequest.Size(m) +} +func (m *DeleteObjectPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteObjectPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteObjectPoolRequest proto.InternalMessageInfo + +func (m *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +type DeleteObjectPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteObjectPoolResponse) Reset() { *m = DeleteObjectPoolResponse{} } +func (m *DeleteObjectPoolResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteObjectPoolResponse) ProtoMessage() {} +func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{3} +} + +func (m *DeleteObjectPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteObjectPoolResponse.Unmarshal(m, b) +} +func (m *DeleteObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteObjectPoolResponse.Marshal(b, m, deterministic) +} +func (m *DeleteObjectPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteObjectPoolResponse.Merge(m, src) +} +func (m *DeleteObjectPoolResponse) XXX_Size() int { + return xxx_messageInfo_DeleteObjectPoolResponse.Size(m) +} +func (m *DeleteObjectPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteObjectPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteObjectPoolResponse proto.InternalMessageInfo + +type LinkRepositoryToObjectPoolRequest struct { + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LinkRepositoryToObjectPoolRequest) Reset() { *m = LinkRepositoryToObjectPoolRequest{} } +func (m *LinkRepositoryToObjectPoolRequest) String() string { return proto.CompactTextString(m) } +func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {} +func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{4} +} + +func (m *LinkRepositoryToObjectPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Unmarshal(m, b) +} +func (m *LinkRepositoryToObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Marshal(b, m, deterministic) +} +func (m *LinkRepositoryToObjectPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Merge(m, src) +} +func (m *LinkRepositoryToObjectPoolRequest) XXX_Size() int { + return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Size(m) +} +func (m *LinkRepositoryToObjectPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LinkRepositoryToObjectPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkRepositoryToObjectPoolRequest proto.InternalMessageInfo + +func (m *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +func (m *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type LinkRepositoryToObjectPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *LinkRepositoryToObjectPoolResponse) Reset() { *m = LinkRepositoryToObjectPoolResponse{} } +func (m *LinkRepositoryToObjectPoolResponse) String() string { return proto.CompactTextString(m) } +func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {} +func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{5} +} + +func (m *LinkRepositoryToObjectPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Unmarshal(m, b) +} +func (m *LinkRepositoryToObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Marshal(b, m, deterministic) +} +func (m *LinkRepositoryToObjectPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Merge(m, src) +} +func (m *LinkRepositoryToObjectPoolResponse) XXX_Size() int { + return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Size(m) +} +func (m *LinkRepositoryToObjectPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LinkRepositoryToObjectPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_LinkRepositoryToObjectPoolResponse proto.InternalMessageInfo + +// This RPC doesn't require the ObjectPool as it will remove the alternates file +// from the pool participant. The caller is responsible no data loss occurs. +type UnlinkRepositoryFromObjectPoolRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnlinkRepositoryFromObjectPoolRequest) Reset() { *m = UnlinkRepositoryFromObjectPoolRequest{} } +func (m *UnlinkRepositoryFromObjectPoolRequest) String() string { return proto.CompactTextString(m) } +func (*UnlinkRepositoryFromObjectPoolRequest) ProtoMessage() {} +func (*UnlinkRepositoryFromObjectPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{6} +} + +func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Unmarshal(m, b) +} +func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Marshal(b, m, deterministic) +} +func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Merge(m, src) +} +func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Size() int { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Size(m) +} +func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest proto.InternalMessageInfo + +func (m *UnlinkRepositoryFromObjectPoolRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UnlinkRepositoryFromObjectPoolRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +type UnlinkRepositoryFromObjectPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UnlinkRepositoryFromObjectPoolResponse) Reset() { + *m = UnlinkRepositoryFromObjectPoolResponse{} +} +func (m *UnlinkRepositoryFromObjectPoolResponse) String() string { return proto.CompactTextString(m) } +func (*UnlinkRepositoryFromObjectPoolResponse) ProtoMessage() {} +func (*UnlinkRepositoryFromObjectPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{7} +} + +func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Unmarshal(m, b) +} +func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Marshal(b, m, deterministic) +} +func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Merge(m, src) +} +func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Size() int { + return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Size(m) +} +func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse proto.InternalMessageInfo + +type ReduplicateRepositoryRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReduplicateRepositoryRequest) Reset() { *m = ReduplicateRepositoryRequest{} } +func (m *ReduplicateRepositoryRequest) String() string { return proto.CompactTextString(m) } +func (*ReduplicateRepositoryRequest) ProtoMessage() {} +func (*ReduplicateRepositoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{8} +} + +func (m *ReduplicateRepositoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReduplicateRepositoryRequest.Unmarshal(m, b) +} +func (m *ReduplicateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReduplicateRepositoryRequest.Marshal(b, m, deterministic) +} +func (m *ReduplicateRepositoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReduplicateRepositoryRequest.Merge(m, src) +} +func (m *ReduplicateRepositoryRequest) XXX_Size() int { + return xxx_messageInfo_ReduplicateRepositoryRequest.Size(m) +} +func (m *ReduplicateRepositoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ReduplicateRepositoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ReduplicateRepositoryRequest proto.InternalMessageInfo + +func (m *ReduplicateRepositoryRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type ReduplicateRepositoryResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ReduplicateRepositoryResponse) Reset() { *m = ReduplicateRepositoryResponse{} } +func (m *ReduplicateRepositoryResponse) String() string { return proto.CompactTextString(m) } +func (*ReduplicateRepositoryResponse) ProtoMessage() {} +func (*ReduplicateRepositoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{9} +} + +func (m *ReduplicateRepositoryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ReduplicateRepositoryResponse.Unmarshal(m, b) +} +func (m *ReduplicateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ReduplicateRepositoryResponse.Marshal(b, m, deterministic) +} +func (m *ReduplicateRepositoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReduplicateRepositoryResponse.Merge(m, src) +} +func (m *ReduplicateRepositoryResponse) XXX_Size() int { + return xxx_messageInfo_ReduplicateRepositoryResponse.Size(m) +} +func (m *ReduplicateRepositoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ReduplicateRepositoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ReduplicateRepositoryResponse proto.InternalMessageInfo + +type DisconnectGitAlternatesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisconnectGitAlternatesRequest) Reset() { *m = DisconnectGitAlternatesRequest{} } +func (m *DisconnectGitAlternatesRequest) String() string { return proto.CompactTextString(m) } +func (*DisconnectGitAlternatesRequest) ProtoMessage() {} +func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{10} +} + +func (m *DisconnectGitAlternatesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectGitAlternatesRequest.Unmarshal(m, b) +} +func (m *DisconnectGitAlternatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectGitAlternatesRequest.Marshal(b, m, deterministic) +} +func (m *DisconnectGitAlternatesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectGitAlternatesRequest.Merge(m, src) +} +func (m *DisconnectGitAlternatesRequest) XXX_Size() int { + return xxx_messageInfo_DisconnectGitAlternatesRequest.Size(m) +} +func (m *DisconnectGitAlternatesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectGitAlternatesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectGitAlternatesRequest proto.InternalMessageInfo + +func (m *DisconnectGitAlternatesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type DisconnectGitAlternatesResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DisconnectGitAlternatesResponse) Reset() { *m = DisconnectGitAlternatesResponse{} } +func (m *DisconnectGitAlternatesResponse) String() string { return proto.CompactTextString(m) } +func (*DisconnectGitAlternatesResponse) ProtoMessage() {} +func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{11} +} + +func (m *DisconnectGitAlternatesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DisconnectGitAlternatesResponse.Unmarshal(m, b) +} +func (m *DisconnectGitAlternatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DisconnectGitAlternatesResponse.Marshal(b, m, deterministic) +} +func (m *DisconnectGitAlternatesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DisconnectGitAlternatesResponse.Merge(m, src) +} +func (m *DisconnectGitAlternatesResponse) XXX_Size() int { + return xxx_messageInfo_DisconnectGitAlternatesResponse.Size(m) +} +func (m *DisconnectGitAlternatesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DisconnectGitAlternatesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DisconnectGitAlternatesResponse proto.InternalMessageInfo + +type FetchIntoObjectPoolRequest struct { + Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` + ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchIntoObjectPoolRequest) Reset() { *m = FetchIntoObjectPoolRequest{} } +func (m *FetchIntoObjectPoolRequest) String() string { return proto.CompactTextString(m) } +func (*FetchIntoObjectPoolRequest) ProtoMessage() {} +func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{12} +} + +func (m *FetchIntoObjectPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchIntoObjectPoolRequest.Unmarshal(m, b) +} +func (m *FetchIntoObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchIntoObjectPoolRequest.Marshal(b, m, deterministic) +} +func (m *FetchIntoObjectPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchIntoObjectPoolRequest.Merge(m, src) +} +func (m *FetchIntoObjectPoolRequest) XXX_Size() int { + return xxx_messageInfo_FetchIntoObjectPoolRequest.Size(m) +} +func (m *FetchIntoObjectPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FetchIntoObjectPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchIntoObjectPoolRequest proto.InternalMessageInfo + +func (m *FetchIntoObjectPoolRequest) GetOrigin() *Repository { + if m != nil { + return m.Origin + } + return nil +} + +func (m *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +func (m *FetchIntoObjectPoolRequest) GetRepack() bool { + if m != nil { + return m.Repack + } + return false +} + +type FetchIntoObjectPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchIntoObjectPoolResponse) Reset() { *m = FetchIntoObjectPoolResponse{} } +func (m *FetchIntoObjectPoolResponse) String() string { return proto.CompactTextString(m) } +func (*FetchIntoObjectPoolResponse) ProtoMessage() {} +func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_949871727a345eae, []int{13} +} + +func (m *FetchIntoObjectPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchIntoObjectPoolResponse.Unmarshal(m, b) +} +func (m *FetchIntoObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchIntoObjectPoolResponse.Marshal(b, m, deterministic) +} +func (m *FetchIntoObjectPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchIntoObjectPoolResponse.Merge(m, src) +} +func (m *FetchIntoObjectPoolResponse) XXX_Size() int { + return xxx_messageInfo_FetchIntoObjectPoolResponse.Size(m) +} +func (m *FetchIntoObjectPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FetchIntoObjectPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchIntoObjectPoolResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*CreateObjectPoolRequest)(nil), "gitaly.CreateObjectPoolRequest") + proto.RegisterType((*CreateObjectPoolResponse)(nil), "gitaly.CreateObjectPoolResponse") + proto.RegisterType((*DeleteObjectPoolRequest)(nil), "gitaly.DeleteObjectPoolRequest") + proto.RegisterType((*DeleteObjectPoolResponse)(nil), "gitaly.DeleteObjectPoolResponse") + proto.RegisterType((*LinkRepositoryToObjectPoolRequest)(nil), "gitaly.LinkRepositoryToObjectPoolRequest") + proto.RegisterType((*LinkRepositoryToObjectPoolResponse)(nil), "gitaly.LinkRepositoryToObjectPoolResponse") + proto.RegisterType((*UnlinkRepositoryFromObjectPoolRequest)(nil), "gitaly.UnlinkRepositoryFromObjectPoolRequest") + proto.RegisterType((*UnlinkRepositoryFromObjectPoolResponse)(nil), "gitaly.UnlinkRepositoryFromObjectPoolResponse") + proto.RegisterType((*ReduplicateRepositoryRequest)(nil), "gitaly.ReduplicateRepositoryRequest") + proto.RegisterType((*ReduplicateRepositoryResponse)(nil), "gitaly.ReduplicateRepositoryResponse") + proto.RegisterType((*DisconnectGitAlternatesRequest)(nil), "gitaly.DisconnectGitAlternatesRequest") + proto.RegisterType((*DisconnectGitAlternatesResponse)(nil), "gitaly.DisconnectGitAlternatesResponse") + proto.RegisterType((*FetchIntoObjectPoolRequest)(nil), "gitaly.FetchIntoObjectPoolRequest") + proto.RegisterType((*FetchIntoObjectPoolResponse)(nil), "gitaly.FetchIntoObjectPoolResponse") +} + +func init() { proto.RegisterFile("objectpool.proto", fileDescriptor_949871727a345eae) } + +var fileDescriptor_949871727a345eae = []byte{ + // 535 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xd3, 0x30, + 0x1c, 0xc5, 0xe5, 0x4d, 0x94, 0xf2, 0x2f, 0x87, 0x61, 0x04, 0xad, 0x0c, 0x5b, 0xbb, 0xb0, 0x8d, + 0x32, 0x69, 0x29, 0xed, 0x3e, 0x01, 0x30, 0x0d, 0x21, 0x21, 0x40, 0x61, 0x5c, 0xb8, 0xa0, 0x24, + 0xb3, 0x3a, 0xb3, 0x2c, 0xff, 0xe0, 0xb8, 0x48, 0xe3, 0xc4, 0x19, 0x71, 0xe0, 0x82, 0xf6, 0x6d, + 0xf8, 0x60, 0x3b, 0xa1, 0x36, 0x6e, 0xd3, 0x36, 0x71, 0x12, 0x6d, 0xbb, 0x25, 0xd6, 0xeb, 0x7b, + 0xbf, 0xfe, 0xed, 0xe7, 0xc0, 0x1a, 0x7a, 0x5f, 0xb9, 0xaf, 0x22, 0xc4, 0xc0, 0x8e, 0x24, 0x2a, + 0xa4, 0xb5, 0xa1, 0x50, 0x6e, 0x70, 0x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, 0x95, 0x3d, 0x2d, 0xd5, 0x65, 0x63, 0x05, 0xdc, 0xcf, 0x39, 0xf4, 0xd4, 0x9a, 0x5a, + 0x99, 0x8b, 0xca, 0x9e, 0x14, 0x6a, 0x32, 0x51, 0x2f, 0x9f, 0x7f, 0x1e, 0xff, 0x20, 0x70, 0x3d, + 0xdb, 0xc7, 0xb3, 0x5e, 0xf2, 0xb8, 0x87, 0x72, 0xd8, 0x4b, 0x6c, 0x7a, 0x93, 0x2f, 0x70, 0x6f, + 0x88, 0xfa, 0x3d, 0xf2, 0xbc, 0xda, 0x64, 0x69, 0xff, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf5, + 0xbc, 0x47, 0x6f, 0xbe, 0x07, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ObjectPoolServiceClient is the client API for ObjectPoolService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ObjectPoolServiceClient interface { + CreateObjectPool(ctx context.Context, in *CreateObjectPoolRequest, opts ...grpc.CallOption) (*CreateObjectPoolResponse, error) + 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) + UnlinkRepositoryFromObjectPool(ctx context.Context, in *UnlinkRepositoryFromObjectPoolRequest, opts ...grpc.CallOption) (*UnlinkRepositoryFromObjectPoolResponse, error) + ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) + DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) + FetchIntoObjectPool(ctx context.Context, in *FetchIntoObjectPoolRequest, opts ...grpc.CallOption) (*FetchIntoObjectPoolResponse, error) +} + +type objectPoolServiceClient struct { + cc *grpc.ClientConn +} + +func NewObjectPoolServiceClient(cc *grpc.ClientConn) 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) UnlinkRepositoryFromObjectPool(ctx context.Context, in *UnlinkRepositoryFromObjectPoolRequest, opts ...grpc.CallOption) (*UnlinkRepositoryFromObjectPoolResponse, error) { + out := new(UnlinkRepositoryFromObjectPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.ObjectPoolService/UnlinkRepositoryFromObjectPool", 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 +} + +// ObjectPoolServiceServer is the server API for ObjectPoolService service. +type ObjectPoolServiceServer interface { + CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) + DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) + // Repositories are assumed to be stored on the same disk + LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) + UnlinkRepositoryFromObjectPool(context.Context, *UnlinkRepositoryFromObjectPoolRequest) (*UnlinkRepositoryFromObjectPoolResponse, error) + ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) + DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) + FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) +} + +// UnimplementedObjectPoolServiceServer can be embedded to have forward compatible implementations. +type UnimplementedObjectPoolServiceServer struct { +} + +func (*UnimplementedObjectPoolServiceServer) CreateObjectPool(ctx context.Context, req *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateObjectPool not implemented") +} +func (*UnimplementedObjectPoolServiceServer) DeleteObjectPool(ctx context.Context, req *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteObjectPool not implemented") +} +func (*UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(ctx context.Context, req *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method LinkRepositoryToObjectPool not implemented") +} +func (*UnimplementedObjectPoolServiceServer) UnlinkRepositoryFromObjectPool(ctx context.Context, req *UnlinkRepositoryFromObjectPoolRequest) (*UnlinkRepositoryFromObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UnlinkRepositoryFromObjectPool not implemented") +} +func (*UnimplementedObjectPoolServiceServer) ReduplicateRepository(ctx context.Context, req *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ReduplicateRepository not implemented") +} +func (*UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(ctx context.Context, req *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DisconnectGitAlternates not implemented") +} +func (*UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(ctx context.Context, req *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchIntoObjectPool not implemented") +} + +func RegisterObjectPoolServiceServer(s *grpc.Server, 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_UnlinkRepositoryFromObjectPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UnlinkRepositoryFromObjectPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ObjectPoolServiceServer).UnlinkRepositoryFromObjectPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.ObjectPoolService/UnlinkRepositoryFromObjectPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ObjectPoolServiceServer).UnlinkRepositoryFromObjectPool(ctx, req.(*UnlinkRepositoryFromObjectPoolRequest)) + } + 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) +} + +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: "UnlinkRepositoryFromObjectPool", + Handler: _ObjectPoolService_UnlinkRepositoryFromObjectPool_Handler, + }, + { + MethodName: "ReduplicateRepository", + Handler: _ObjectPoolService_ReduplicateRepository_Handler, + }, + { + MethodName: "DisconnectGitAlternates", + Handler: _ObjectPoolService_DisconnectGitAlternates_Handler, + }, + { + MethodName: "FetchIntoObjectPool", + Handler: _ObjectPoolService_FetchIntoObjectPool_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "objectpool.proto", +} diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go new file mode 100644 index 000000000..089c6ad30 --- /dev/null +++ b/proto/go/gitalypb/operations.pb.go @@ -0,0 +1,3551 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: operations.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type UserCommitFilesActionHeader_ActionType int32 + +const ( + UserCommitFilesActionHeader_CREATE UserCommitFilesActionHeader_ActionType = 0 + UserCommitFilesActionHeader_CREATE_DIR UserCommitFilesActionHeader_ActionType = 1 + UserCommitFilesActionHeader_UPDATE UserCommitFilesActionHeader_ActionType = 2 + UserCommitFilesActionHeader_MOVE UserCommitFilesActionHeader_ActionType = 3 + UserCommitFilesActionHeader_DELETE UserCommitFilesActionHeader_ActionType = 4 + UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 +) + +var UserCommitFilesActionHeader_ActionType_name = map[int32]string{ + 0: "CREATE", + 1: "CREATE_DIR", + 2: "UPDATE", + 3: "MOVE", + 4: "DELETE", + 5: "CHMOD", +} + +var UserCommitFilesActionHeader_ActionType_value = map[string]int32{ + "CREATE": 0, + "CREATE_DIR": 1, + "UPDATE": 2, + "MOVE": 3, + "DELETE": 4, + "CHMOD": 5, +} + +func (x UserCommitFilesActionHeader_ActionType) String() string { + return proto.EnumName(UserCommitFilesActionHeader_ActionType_name, int32(x)) +} + +func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{21, 0} +} + +type UserCreateBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} } +func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) } +func (*UserCreateBranchRequest) ProtoMessage() {} +func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{0} +} + +func (m *UserCreateBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCreateBranchRequest.Unmarshal(m, b) +} +func (m *UserCreateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCreateBranchRequest.Marshal(b, m, deterministic) +} +func (m *UserCreateBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCreateBranchRequest.Merge(m, src) +} +func (m *UserCreateBranchRequest) XXX_Size() int { + return xxx_messageInfo_UserCreateBranchRequest.Size(m) +} +func (m *UserCreateBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserCreateBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCreateBranchRequest proto.InternalMessageInfo + +func (m *UserCreateBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserCreateBranchRequest) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserCreateBranchRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserCreateBranchRequest) GetStartPoint() []byte { + if m != nil { + return m.StartPoint + } + return nil +} + +type UserCreateBranchResponse struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} } +func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) } +func (*UserCreateBranchResponse) ProtoMessage() {} +func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{1} +} + +func (m *UserCreateBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCreateBranchResponse.Unmarshal(m, b) +} +func (m *UserCreateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCreateBranchResponse.Marshal(b, m, deterministic) +} +func (m *UserCreateBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCreateBranchResponse.Merge(m, src) +} +func (m *UserCreateBranchResponse) XXX_Size() int { + return xxx_messageInfo_UserCreateBranchResponse.Size(m) +} +func (m *UserCreateBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserCreateBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCreateBranchResponse proto.InternalMessageInfo + +func (m *UserCreateBranchResponse) GetBranch() *Branch { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserCreateBranchResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserUpdateBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` + Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserUpdateBranchRequest) Reset() { *m = UserUpdateBranchRequest{} } +func (m *UserUpdateBranchRequest) String() string { return proto.CompactTextString(m) } +func (*UserUpdateBranchRequest) ProtoMessage() {} +func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{2} +} + +func (m *UserUpdateBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserUpdateBranchRequest.Unmarshal(m, b) +} +func (m *UserUpdateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserUpdateBranchRequest.Marshal(b, m, deterministic) +} +func (m *UserUpdateBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserUpdateBranchRequest.Merge(m, src) +} +func (m *UserUpdateBranchRequest) XXX_Size() int { + return xxx_messageInfo_UserUpdateBranchRequest.Size(m) +} +func (m *UserUpdateBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserUpdateBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserUpdateBranchRequest proto.InternalMessageInfo + +func (m *UserUpdateBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserUpdateBranchRequest) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserUpdateBranchRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserUpdateBranchRequest) GetNewrev() []byte { + if m != nil { + return m.Newrev + } + return nil +} + +func (m *UserUpdateBranchRequest) GetOldrev() []byte { + if m != nil { + return m.Oldrev + } + return nil +} + +type UserUpdateBranchResponse struct { + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserUpdateBranchResponse) Reset() { *m = UserUpdateBranchResponse{} } +func (m *UserUpdateBranchResponse) String() string { return proto.CompactTextString(m) } +func (*UserUpdateBranchResponse) ProtoMessage() {} +func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{3} +} + +func (m *UserUpdateBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserUpdateBranchResponse.Unmarshal(m, b) +} +func (m *UserUpdateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserUpdateBranchResponse.Marshal(b, m, deterministic) +} +func (m *UserUpdateBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserUpdateBranchResponse.Merge(m, src) +} +func (m *UserUpdateBranchResponse) XXX_Size() int { + return xxx_messageInfo_UserUpdateBranchResponse.Size(m) +} +func (m *UserUpdateBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserUpdateBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserUpdateBranchResponse proto.InternalMessageInfo + +func (m *UserUpdateBranchResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserDeleteBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} } +func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) } +func (*UserDeleteBranchRequest) ProtoMessage() {} +func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{4} +} + +func (m *UserDeleteBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserDeleteBranchRequest.Unmarshal(m, b) +} +func (m *UserDeleteBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserDeleteBranchRequest.Marshal(b, m, deterministic) +} +func (m *UserDeleteBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserDeleteBranchRequest.Merge(m, src) +} +func (m *UserDeleteBranchRequest) XXX_Size() int { + return xxx_messageInfo_UserDeleteBranchRequest.Size(m) +} +func (m *UserDeleteBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserDeleteBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserDeleteBranchRequest proto.InternalMessageInfo + +func (m *UserDeleteBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserDeleteBranchRequest) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserDeleteBranchRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +type UserDeleteBranchResponse struct { + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} } +func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) } +func (*UserDeleteBranchResponse) ProtoMessage() {} +func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{5} +} + +func (m *UserDeleteBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserDeleteBranchResponse.Unmarshal(m, b) +} +func (m *UserDeleteBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserDeleteBranchResponse.Marshal(b, m, deterministic) +} +func (m *UserDeleteBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserDeleteBranchResponse.Merge(m, src) +} +func (m *UserDeleteBranchResponse) XXX_Size() int { + return xxx_messageInfo_UserDeleteBranchResponse.Size(m) +} +func (m *UserDeleteBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserDeleteBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserDeleteBranchResponse proto.InternalMessageInfo + +func (m *UserDeleteBranchResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserDeleteTagRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} } +func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) } +func (*UserDeleteTagRequest) ProtoMessage() {} +func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{6} +} + +func (m *UserDeleteTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserDeleteTagRequest.Unmarshal(m, b) +} +func (m *UserDeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserDeleteTagRequest.Marshal(b, m, deterministic) +} +func (m *UserDeleteTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserDeleteTagRequest.Merge(m, src) +} +func (m *UserDeleteTagRequest) XXX_Size() int { + return xxx_messageInfo_UserDeleteTagRequest.Size(m) +} +func (m *UserDeleteTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserDeleteTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserDeleteTagRequest proto.InternalMessageInfo + +func (m *UserDeleteTagRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserDeleteTagRequest) GetTagName() []byte { + if m != nil { + return m.TagName + } + return nil +} + +func (m *UserDeleteTagRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +type UserDeleteTagResponse struct { + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} } +func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) } +func (*UserDeleteTagResponse) ProtoMessage() {} +func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{7} +} + +func (m *UserDeleteTagResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserDeleteTagResponse.Unmarshal(m, b) +} +func (m *UserDeleteTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserDeleteTagResponse.Marshal(b, m, deterministic) +} +func (m *UserDeleteTagResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserDeleteTagResponse.Merge(m, src) +} +func (m *UserDeleteTagResponse) XXX_Size() int { + return xxx_messageInfo_UserDeleteTagResponse.Size(m) +} +func (m *UserDeleteTagResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserDeleteTagResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserDeleteTagResponse proto.InternalMessageInfo + +func (m *UserDeleteTagResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserCreateTagRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + TargetRevision []byte `protobuf:"bytes,4,opt,name=target_revision,json=targetRevision,proto3" json:"target_revision,omitempty"` + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} } +func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) } +func (*UserCreateTagRequest) ProtoMessage() {} +func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{8} +} + +func (m *UserCreateTagRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCreateTagRequest.Unmarshal(m, b) +} +func (m *UserCreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCreateTagRequest.Marshal(b, m, deterministic) +} +func (m *UserCreateTagRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCreateTagRequest.Merge(m, src) +} +func (m *UserCreateTagRequest) XXX_Size() int { + return xxx_messageInfo_UserCreateTagRequest.Size(m) +} +func (m *UserCreateTagRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserCreateTagRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCreateTagRequest proto.InternalMessageInfo + +func (m *UserCreateTagRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserCreateTagRequest) GetTagName() []byte { + if m != nil { + return m.TagName + } + return nil +} + +func (m *UserCreateTagRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserCreateTagRequest) GetTargetRevision() []byte { + if m != nil { + return m.TargetRevision + } + return nil +} + +func (m *UserCreateTagRequest) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +type UserCreateTagResponse struct { + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` + Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} } +func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) } +func (*UserCreateTagResponse) ProtoMessage() {} +func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{9} +} + +func (m *UserCreateTagResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCreateTagResponse.Unmarshal(m, b) +} +func (m *UserCreateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCreateTagResponse.Marshal(b, m, deterministic) +} +func (m *UserCreateTagResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCreateTagResponse.Merge(m, src) +} +func (m *UserCreateTagResponse) XXX_Size() int { + return xxx_messageInfo_UserCreateTagResponse.Size(m) +} +func (m *UserCreateTagResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserCreateTagResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCreateTagResponse proto.InternalMessageInfo + +func (m *UserCreateTagResponse) GetTag() *Tag { + if m != nil { + return m.Tag + } + return nil +} + +func (m *UserCreateTagResponse) GetExists() bool { + if m != nil { + return m.Exists + } + return false +} + +func (m *UserCreateTagResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserMergeBranchRequest struct { + // First message + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + // Second message + // Tell the server to apply the merge to the branch + Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} } +func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) } +func (*UserMergeBranchRequest) ProtoMessage() {} +func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{10} +} + +func (m *UserMergeBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserMergeBranchRequest.Unmarshal(m, b) +} +func (m *UserMergeBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserMergeBranchRequest.Marshal(b, m, deterministic) +} +func (m *UserMergeBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserMergeBranchRequest.Merge(m, src) +} +func (m *UserMergeBranchRequest) XXX_Size() int { + return xxx_messageInfo_UserMergeBranchRequest.Size(m) +} +func (m *UserMergeBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserMergeBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserMergeBranchRequest proto.InternalMessageInfo + +func (m *UserMergeBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserMergeBranchRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserMergeBranchRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *UserMergeBranchRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserMergeBranchRequest) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *UserMergeBranchRequest) GetApply() bool { + if m != nil { + return m.Apply + } + return false +} + +type UserMergeBranchResponse struct { + // 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 string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} } +func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) } +func (*UserMergeBranchResponse) ProtoMessage() {} +func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{11} +} + +func (m *UserMergeBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserMergeBranchResponse.Unmarshal(m, b) +} +func (m *UserMergeBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserMergeBranchResponse.Marshal(b, m, deterministic) +} +func (m *UserMergeBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserMergeBranchResponse.Merge(m, src) +} +func (m *UserMergeBranchResponse) XXX_Size() int { + return xxx_messageInfo_UserMergeBranchResponse.Size(m) +} +func (m *UserMergeBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserMergeBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserMergeBranchResponse proto.InternalMessageInfo + +func (m *UserMergeBranchResponse) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserMergeBranchResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserMergeToRefRequest struct { + // 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. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + SourceSha string `protobuf:"bytes,3,opt,name=source_sha,json=sourceSha,proto3" json:"source_sha,omitempty"` + // branch is deprecated in favor of `first_parent_ref`. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + TargetRef []byte `protobuf:"bytes,5,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` + Message []byte `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` + FirstParentRef []byte `protobuf:"bytes,7,opt,name=first_parent_ref,json=firstParentRef,proto3" json:"first_parent_ref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserMergeToRefRequest) Reset() { *m = UserMergeToRefRequest{} } +func (m *UserMergeToRefRequest) String() string { return proto.CompactTextString(m) } +func (*UserMergeToRefRequest) ProtoMessage() {} +func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{12} +} + +func (m *UserMergeToRefRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserMergeToRefRequest.Unmarshal(m, b) +} +func (m *UserMergeToRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserMergeToRefRequest.Marshal(b, m, deterministic) +} +func (m *UserMergeToRefRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserMergeToRefRequest.Merge(m, src) +} +func (m *UserMergeToRefRequest) XXX_Size() int { + return xxx_messageInfo_UserMergeToRefRequest.Size(m) +} +func (m *UserMergeToRefRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserMergeToRefRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserMergeToRefRequest proto.InternalMessageInfo + +func (m *UserMergeToRefRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserMergeToRefRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserMergeToRefRequest) GetSourceSha() string { + if m != nil { + return m.SourceSha + } + return "" +} + +func (m *UserMergeToRefRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserMergeToRefRequest) GetTargetRef() []byte { + if m != nil { + return m.TargetRef + } + return nil +} + +func (m *UserMergeToRefRequest) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *UserMergeToRefRequest) GetFirstParentRef() []byte { + if m != nil { + return m.FirstParentRef + } + return nil +} + +type UserMergeToRefResponse struct { + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserMergeToRefResponse) Reset() { *m = UserMergeToRefResponse{} } +func (m *UserMergeToRefResponse) String() string { return proto.CompactTextString(m) } +func (*UserMergeToRefResponse) ProtoMessage() {} +func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{13} +} + +func (m *UserMergeToRefResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserMergeToRefResponse.Unmarshal(m, b) +} +func (m *UserMergeToRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserMergeToRefResponse.Marshal(b, m, deterministic) +} +func (m *UserMergeToRefResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserMergeToRefResponse.Merge(m, src) +} +func (m *UserMergeToRefResponse) XXX_Size() int { + return xxx_messageInfo_UserMergeToRefResponse.Size(m) +} +func (m *UserMergeToRefResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserMergeToRefResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserMergeToRefResponse proto.InternalMessageInfo + +func (m *UserMergeToRefResponse) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *UserMergeToRefResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type OperationBranchUpdate struct { + // If this string is non-empty the branch has been updated. + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Used for cache invalidation in GitLab + RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"` + // Used for cache invalidation in GitLab + BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} } +func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) } +func (*OperationBranchUpdate) ProtoMessage() {} +func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{14} +} + +func (m *OperationBranchUpdate) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationBranchUpdate.Unmarshal(m, b) +} +func (m *OperationBranchUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationBranchUpdate.Marshal(b, m, deterministic) +} +func (m *OperationBranchUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationBranchUpdate.Merge(m, src) +} +func (m *OperationBranchUpdate) XXX_Size() int { + return xxx_messageInfo_OperationBranchUpdate.Size(m) +} +func (m *OperationBranchUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_OperationBranchUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationBranchUpdate proto.InternalMessageInfo + +func (m *OperationBranchUpdate) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *OperationBranchUpdate) GetRepoCreated() bool { + if m != nil { + return m.RepoCreated + } + return false +} + +func (m *OperationBranchUpdate) GetBranchCreated() bool { + if m != nil { + return m.BranchCreated + } + return false +} + +type UserFFBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + CommitId string `protobuf:"bytes,3,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} } +func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) } +func (*UserFFBranchRequest) ProtoMessage() {} +func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{15} +} + +func (m *UserFFBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserFFBranchRequest.Unmarshal(m, b) +} +func (m *UserFFBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserFFBranchRequest.Marshal(b, m, deterministic) +} +func (m *UserFFBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserFFBranchRequest.Merge(m, src) +} +func (m *UserFFBranchRequest) XXX_Size() int { + return xxx_messageInfo_UserFFBranchRequest.Size(m) +} +func (m *UserFFBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserFFBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserFFBranchRequest proto.InternalMessageInfo + +func (m *UserFFBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserFFBranchRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserFFBranchRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *UserFFBranchRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +type UserFFBranchResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} } +func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) } +func (*UserFFBranchResponse) ProtoMessage() {} +func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{16} +} + +func (m *UserFFBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserFFBranchResponse.Unmarshal(m, b) +} +func (m *UserFFBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserFFBranchResponse.Marshal(b, m, deterministic) +} +func (m *UserFFBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserFFBranchResponse.Merge(m, src) +} +func (m *UserFFBranchResponse) XXX_Size() int { + return xxx_messageInfo_UserFFBranchResponse.Size(m) +} +func (m *UserFFBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserFFBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserFFBranchResponse proto.InternalMessageInfo + +func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserFFBranchResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserCherryPickRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` + BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} } +func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) } +func (*UserCherryPickRequest) ProtoMessage() {} +func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{17} +} + +func (m *UserCherryPickRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCherryPickRequest.Unmarshal(m, b) +} +func (m *UserCherryPickRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCherryPickRequest.Marshal(b, m, deterministic) +} +func (m *UserCherryPickRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCherryPickRequest.Merge(m, src) +} +func (m *UserCherryPickRequest) XXX_Size() int { + return xxx_messageInfo_UserCherryPickRequest.Size(m) +} +func (m *UserCherryPickRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserCherryPickRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCherryPickRequest proto.InternalMessageInfo + +func (m *UserCherryPickRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserCherryPickRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserCherryPickRequest) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +func (m *UserCherryPickRequest) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserCherryPickRequest) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *UserCherryPickRequest) GetStartBranchName() []byte { + if m != nil { + return m.StartBranchName + } + return nil +} + +func (m *UserCherryPickRequest) GetStartRepository() *Repository { + if m != nil { + return m.StartRepository + } + return nil +} + +type UserCherryPickResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` + CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} } +func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) } +func (*UserCherryPickResponse) ProtoMessage() {} +func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{18} +} + +func (m *UserCherryPickResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCherryPickResponse.Unmarshal(m, b) +} +func (m *UserCherryPickResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCherryPickResponse.Marshal(b, m, deterministic) +} +func (m *UserCherryPickResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCherryPickResponse.Merge(m, src) +} +func (m *UserCherryPickResponse) XXX_Size() int { + return xxx_messageInfo_UserCherryPickResponse.Size(m) +} +func (m *UserCherryPickResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserCherryPickResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCherryPickResponse proto.InternalMessageInfo + +func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserCherryPickResponse) GetCreateTreeError() string { + if m != nil { + return m.CreateTreeError + } + return "" +} + +func (m *UserCherryPickResponse) GetCommitError() string { + if m != nil { + return m.CommitError + } + return "" +} + +func (m *UserCherryPickResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserRevertRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + Commit *GitCommit `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` + BranchName []byte `protobuf:"bytes,4,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + Message []byte `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` + StartBranchName []byte `protobuf:"bytes,6,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + StartRepository *Repository `protobuf:"bytes,7,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} } +func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) } +func (*UserRevertRequest) ProtoMessage() {} +func (*UserRevertRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{19} +} + +func (m *UserRevertRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRevertRequest.Unmarshal(m, b) +} +func (m *UserRevertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRevertRequest.Marshal(b, m, deterministic) +} +func (m *UserRevertRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRevertRequest.Merge(m, src) +} +func (m *UserRevertRequest) XXX_Size() int { + return xxx_messageInfo_UserRevertRequest.Size(m) +} +func (m *UserRevertRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserRevertRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRevertRequest proto.InternalMessageInfo + +func (m *UserRevertRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserRevertRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserRevertRequest) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +func (m *UserRevertRequest) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserRevertRequest) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *UserRevertRequest) GetStartBranchName() []byte { + if m != nil { + return m.StartBranchName + } + return nil +} + +func (m *UserRevertRequest) GetStartRepository() *Repository { + if m != nil { + return m.StartRepository + } + return nil +} + +type UserRevertResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + CreateTreeError string `protobuf:"bytes,2,opt,name=create_tree_error,json=createTreeError,proto3" json:"create_tree_error,omitempty"` + CommitError string `protobuf:"bytes,3,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRevertResponse) Reset() { *m = UserRevertResponse{} } +func (m *UserRevertResponse) String() string { return proto.CompactTextString(m) } +func (*UserRevertResponse) ProtoMessage() {} +func (*UserRevertResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{20} +} + +func (m *UserRevertResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRevertResponse.Unmarshal(m, b) +} +func (m *UserRevertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRevertResponse.Marshal(b, m, deterministic) +} +func (m *UserRevertResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRevertResponse.Merge(m, src) +} +func (m *UserRevertResponse) XXX_Size() int { + return xxx_messageInfo_UserRevertResponse.Size(m) +} +func (m *UserRevertResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserRevertResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRevertResponse proto.InternalMessageInfo + +func (m *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserRevertResponse) GetCreateTreeError() string { + if m != nil { + return m.CreateTreeError + } + return "" +} + +func (m *UserRevertResponse) GetCommitError() string { + if m != nil { + return m.CommitError + } + return "" +} + +func (m *UserRevertResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +type UserCommitFilesActionHeader struct { + Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"` + FilePath []byte `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"` + PreviousPath []byte `protobuf:"bytes,3,opt,name=previous_path,json=previousPath,proto3" json:"previous_path,omitempty"` + Base64Content bool `protobuf:"varint,4,opt,name=base64_content,json=base64Content,proto3" json:"base64_content,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCommitFilesActionHeader) Reset() { *m = UserCommitFilesActionHeader{} } +func (m *UserCommitFilesActionHeader) String() string { return proto.CompactTextString(m) } +func (*UserCommitFilesActionHeader) ProtoMessage() {} +func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{21} +} + +func (m *UserCommitFilesActionHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCommitFilesActionHeader.Unmarshal(m, b) +} +func (m *UserCommitFilesActionHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCommitFilesActionHeader.Marshal(b, m, deterministic) +} +func (m *UserCommitFilesActionHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCommitFilesActionHeader.Merge(m, src) +} +func (m *UserCommitFilesActionHeader) XXX_Size() int { + return xxx_messageInfo_UserCommitFilesActionHeader.Size(m) +} +func (m *UserCommitFilesActionHeader) XXX_DiscardUnknown() { + xxx_messageInfo_UserCommitFilesActionHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCommitFilesActionHeader proto.InternalMessageInfo + +func (m *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType { + if m != nil { + return m.Action + } + return UserCommitFilesActionHeader_CREATE +} + +func (m *UserCommitFilesActionHeader) GetFilePath() []byte { + if m != nil { + return m.FilePath + } + return nil +} + +func (m *UserCommitFilesActionHeader) GetPreviousPath() []byte { + if m != nil { + return m.PreviousPath + } + return nil +} + +func (m *UserCommitFilesActionHeader) GetBase64Content() bool { + if m != nil { + return m.Base64Content + } + return false +} + +func (m *UserCommitFilesActionHeader) GetExecuteFilemode() bool { + if m != nil { + return m.ExecuteFilemode + } + return false +} + +func (m *UserCommitFilesActionHeader) GetInferContent() bool { + if m != nil { + return m.InferContent + } + return false +} + +type UserCommitFilesAction struct { + // Types that are valid to be assigned to UserCommitFilesActionPayload: + // *UserCommitFilesAction_Header + // *UserCommitFilesAction_Content + UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCommitFilesAction) Reset() { *m = UserCommitFilesAction{} } +func (m *UserCommitFilesAction) String() string { return proto.CompactTextString(m) } +func (*UserCommitFilesAction) ProtoMessage() {} +func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{22} +} + +func (m *UserCommitFilesAction) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCommitFilesAction.Unmarshal(m, b) +} +func (m *UserCommitFilesAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCommitFilesAction.Marshal(b, m, deterministic) +} +func (m *UserCommitFilesAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCommitFilesAction.Merge(m, src) +} +func (m *UserCommitFilesAction) XXX_Size() int { + return xxx_messageInfo_UserCommitFilesAction.Size(m) +} +func (m *UserCommitFilesAction) XXX_DiscardUnknown() { + xxx_messageInfo_UserCommitFilesAction.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCommitFilesAction proto.InternalMessageInfo + +type isUserCommitFilesAction_UserCommitFilesActionPayload interface { + isUserCommitFilesAction_UserCommitFilesActionPayload() +} + +type UserCommitFilesAction_Header struct { + Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserCommitFilesAction_Content struct { + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +} + +func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + +func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + +func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload { + if m != nil { + return m.UserCommitFilesActionPayload + } + return nil +} + +func (m *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader { + if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok { + return x.Header + } + return nil +} + +func (m *UserCommitFilesAction) GetContent() []byte { + if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok { + return x.Content + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserCommitFilesAction) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UserCommitFilesAction_Header)(nil), + (*UserCommitFilesAction_Content)(nil), + } +} + +type UserCommitFilesRequestHeader struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + BranchName []byte `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + CommitMessage []byte `protobuf:"bytes,4,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + CommitAuthorName []byte `protobuf:"bytes,5,opt,name=commit_author_name,json=commitAuthorName,proto3" json:"commit_author_name,omitempty"` + CommitAuthorEmail []byte `protobuf:"bytes,6,opt,name=commit_author_email,json=commitAuthorEmail,proto3" json:"commit_author_email,omitempty"` + StartBranchName []byte `protobuf:"bytes,7,opt,name=start_branch_name,json=startBranchName,proto3" json:"start_branch_name,omitempty"` + StartRepository *Repository `protobuf:"bytes,8,opt,name=start_repository,json=startRepository,proto3" json:"start_repository,omitempty"` + Force bool `protobuf:"varint,9,opt,name=force,proto3" json:"force,omitempty"` + StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCommitFilesRequestHeader) Reset() { *m = UserCommitFilesRequestHeader{} } +func (m *UserCommitFilesRequestHeader) String() string { return proto.CompactTextString(m) } +func (*UserCommitFilesRequestHeader) ProtoMessage() {} +func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{23} +} + +func (m *UserCommitFilesRequestHeader) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCommitFilesRequestHeader.Unmarshal(m, b) +} +func (m *UserCommitFilesRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCommitFilesRequestHeader.Marshal(b, m, deterministic) +} +func (m *UserCommitFilesRequestHeader) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCommitFilesRequestHeader.Merge(m, src) +} +func (m *UserCommitFilesRequestHeader) XXX_Size() int { + return xxx_messageInfo_UserCommitFilesRequestHeader.Size(m) +} +func (m *UserCommitFilesRequestHeader) XXX_DiscardUnknown() { + xxx_messageInfo_UserCommitFilesRequestHeader.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCommitFilesRequestHeader proto.InternalMessageInfo + +func (m *UserCommitFilesRequestHeader) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetBranchName() []byte { + if m != nil { + return m.BranchName + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetCommitMessage() []byte { + if m != nil { + return m.CommitMessage + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte { + if m != nil { + return m.CommitAuthorName + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte { + if m != nil { + return m.CommitAuthorEmail + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetStartBranchName() []byte { + if m != nil { + return m.StartBranchName + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetStartRepository() *Repository { + if m != nil { + return m.StartRepository + } + return nil +} + +func (m *UserCommitFilesRequestHeader) GetForce() bool { + if m != nil { + return m.Force + } + return false +} + +func (m *UserCommitFilesRequestHeader) GetStartSha() string { + if m != nil { + return m.StartSha + } + return "" +} + +type UserCommitFilesRequest struct { + // Types that are valid to be assigned to UserCommitFilesRequestPayload: + // *UserCommitFilesRequest_Header + // *UserCommitFilesRequest_Action + UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCommitFilesRequest) Reset() { *m = UserCommitFilesRequest{} } +func (m *UserCommitFilesRequest) String() string { return proto.CompactTextString(m) } +func (*UserCommitFilesRequest) ProtoMessage() {} +func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{24} +} + +func (m *UserCommitFilesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCommitFilesRequest.Unmarshal(m, b) +} +func (m *UserCommitFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCommitFilesRequest.Marshal(b, m, deterministic) +} +func (m *UserCommitFilesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCommitFilesRequest.Merge(m, src) +} +func (m *UserCommitFilesRequest) XXX_Size() int { + return xxx_messageInfo_UserCommitFilesRequest.Size(m) +} +func (m *UserCommitFilesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserCommitFilesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCommitFilesRequest proto.InternalMessageInfo + +type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface { + isUserCommitFilesRequest_UserCommitFilesRequestPayload() +} + +type UserCommitFilesRequest_Header struct { + Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserCommitFilesRequest_Action struct { + Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` +} + +func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + +func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + +func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload { + if m != nil { + return m.UserCommitFilesRequestPayload + } + return nil +} + +func (m *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader { + if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok { + return x.Header + } + return nil +} + +func (m *UserCommitFilesRequest) GetAction() *UserCommitFilesAction { + if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok { + return x.Action + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserCommitFilesRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UserCommitFilesRequest_Header)(nil), + (*UserCommitFilesRequest_Action)(nil), + } +} + +type UserCommitFilesResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserCommitFilesResponse) Reset() { *m = UserCommitFilesResponse{} } +func (m *UserCommitFilesResponse) String() string { return proto.CompactTextString(m) } +func (*UserCommitFilesResponse) ProtoMessage() {} +func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{25} +} + +func (m *UserCommitFilesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserCommitFilesResponse.Unmarshal(m, b) +} +func (m *UserCommitFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserCommitFilesResponse.Marshal(b, m, deterministic) +} +func (m *UserCommitFilesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserCommitFilesResponse.Merge(m, src) +} +func (m *UserCommitFilesResponse) XXX_Size() int { + return xxx_messageInfo_UserCommitFilesResponse.Size(m) +} +func (m *UserCommitFilesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserCommitFilesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserCommitFilesResponse proto.InternalMessageInfo + +func (m *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserCommitFilesResponse) GetIndexError() string { + if m != nil { + return m.IndexError + } + return "" +} + +func (m *UserCommitFilesResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 +// +// Deprecated: Do not use. +type UserRebaseRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` + RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` + RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRebaseRequest) Reset() { *m = UserRebaseRequest{} } +func (m *UserRebaseRequest) String() string { return proto.CompactTextString(m) } +func (*UserRebaseRequest) ProtoMessage() {} +func (*UserRebaseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{26} +} + +func (m *UserRebaseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRebaseRequest.Unmarshal(m, b) +} +func (m *UserRebaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRebaseRequest.Marshal(b, m, deterministic) +} +func (m *UserRebaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRebaseRequest.Merge(m, src) +} +func (m *UserRebaseRequest) XXX_Size() int { + return xxx_messageInfo_UserRebaseRequest.Size(m) +} +func (m *UserRebaseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserRebaseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRebaseRequest proto.InternalMessageInfo + +func (m *UserRebaseRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserRebaseRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserRebaseRequest) GetRebaseId() string { + if m != nil { + return m.RebaseId + } + return "" +} + +func (m *UserRebaseRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserRebaseRequest) GetBranchSha() string { + if m != nil { + return m.BranchSha + } + return "" +} + +func (m *UserRebaseRequest) GetRemoteRepository() *Repository { + if m != nil { + return m.RemoteRepository + } + return nil +} + +func (m *UserRebaseRequest) GetRemoteBranch() []byte { + if m != nil { + return m.RemoteBranch + } + return nil +} + +// DEPRECATED: https://gitlab.com/gitlab-org/gitaly/issues/1628 +// +// Deprecated: Do not use. +type UserRebaseResponse struct { + RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3" json:"rebase_sha,omitempty"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRebaseResponse) Reset() { *m = UserRebaseResponse{} } +func (m *UserRebaseResponse) String() string { return proto.CompactTextString(m) } +func (*UserRebaseResponse) ProtoMessage() {} +func (*UserRebaseResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{27} +} + +func (m *UserRebaseResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRebaseResponse.Unmarshal(m, b) +} +func (m *UserRebaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRebaseResponse.Marshal(b, m, deterministic) +} +func (m *UserRebaseResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRebaseResponse.Merge(m, src) +} +func (m *UserRebaseResponse) XXX_Size() int { + return xxx_messageInfo_UserRebaseResponse.Size(m) +} +func (m *UserRebaseResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserRebaseResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRebaseResponse proto.InternalMessageInfo + +func (m *UserRebaseResponse) GetRebaseSha() string { + if m != nil { + return m.RebaseSha + } + return "" +} + +func (m *UserRebaseResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +func (m *UserRebaseResponse) GetGitError() string { + if m != nil { + return m.GitError + } + return "" +} + +type UserRebaseConfirmableRequest struct { + // Types that are valid to be assigned to UserRebaseConfirmableRequestPayload: + // *UserRebaseConfirmableRequest_Header_ + // *UserRebaseConfirmableRequest_Apply + UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRebaseConfirmableRequest) Reset() { *m = UserRebaseConfirmableRequest{} } +func (m *UserRebaseConfirmableRequest) String() string { return proto.CompactTextString(m) } +func (*UserRebaseConfirmableRequest) ProtoMessage() {} +func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{28} +} + +func (m *UserRebaseConfirmableRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRebaseConfirmableRequest.Unmarshal(m, b) +} +func (m *UserRebaseConfirmableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRebaseConfirmableRequest.Marshal(b, m, deterministic) +} +func (m *UserRebaseConfirmableRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRebaseConfirmableRequest.Merge(m, src) +} +func (m *UserRebaseConfirmableRequest) XXX_Size() int { + return xxx_messageInfo_UserRebaseConfirmableRequest.Size(m) +} +func (m *UserRebaseConfirmableRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserRebaseConfirmableRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRebaseConfirmableRequest proto.InternalMessageInfo + +type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface { + isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() +} + +type UserRebaseConfirmableRequest_Header_ struct { + Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserRebaseConfirmableRequest_Apply struct { + Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` +} + +func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +} + +func (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +} + +func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload { + if m != nil { + return m.UserRebaseConfirmableRequestPayload + } + return nil +} + +func (m *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header { + if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok { + return x.Header + } + return nil +} + +func (m *UserRebaseConfirmableRequest) GetApply() bool { + if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok { + return x.Apply + } + return false +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserRebaseConfirmableRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UserRebaseConfirmableRequest_Header_)(nil), + (*UserRebaseConfirmableRequest_Apply)(nil), + } +} + +type UserRebaseConfirmableRequest_Header struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` + RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` + RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRebaseConfirmableRequest_Header) Reset() { *m = UserRebaseConfirmableRequest_Header{} } +func (m *UserRebaseConfirmableRequest_Header) String() string { return proto.CompactTextString(m) } +func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} +func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{28, 0} +} + +func (m *UserRebaseConfirmableRequest_Header) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Unmarshal(m, b) +} +func (m *UserRebaseConfirmableRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Marshal(b, m, deterministic) +} +func (m *UserRebaseConfirmableRequest_Header) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRebaseConfirmableRequest_Header.Merge(m, src) +} +func (m *UserRebaseConfirmableRequest_Header) XXX_Size() int { + return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Size(m) +} +func (m *UserRebaseConfirmableRequest_Header) XXX_DiscardUnknown() { + xxx_messageInfo_UserRebaseConfirmableRequest_Header.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRebaseConfirmableRequest_Header proto.InternalMessageInfo + +func (m *UserRebaseConfirmableRequest_Header) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserRebaseConfirmableRequest_Header) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserRebaseConfirmableRequest_Header) GetRebaseId() string { + if m != nil { + return m.RebaseId + } + return "" +} + +func (m *UserRebaseConfirmableRequest_Header) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserRebaseConfirmableRequest_Header) GetBranchSha() string { + if m != nil { + return m.BranchSha + } + return "" +} + +func (m *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository { + if m != nil { + return m.RemoteRepository + } + return nil +} + +func (m *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte { + if m != nil { + return m.RemoteBranch + } + return nil +} + +type UserRebaseConfirmableResponse struct { + // Types that are valid to be assigned to UserRebaseConfirmableResponsePayload: + // *UserRebaseConfirmableResponse_RebaseSha + // *UserRebaseConfirmableResponse_RebaseApplied + UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"` + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserRebaseConfirmableResponse) Reset() { *m = UserRebaseConfirmableResponse{} } +func (m *UserRebaseConfirmableResponse) String() string { return proto.CompactTextString(m) } +func (*UserRebaseConfirmableResponse) ProtoMessage() {} +func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{29} +} + +func (m *UserRebaseConfirmableResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserRebaseConfirmableResponse.Unmarshal(m, b) +} +func (m *UserRebaseConfirmableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserRebaseConfirmableResponse.Marshal(b, m, deterministic) +} +func (m *UserRebaseConfirmableResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserRebaseConfirmableResponse.Merge(m, src) +} +func (m *UserRebaseConfirmableResponse) XXX_Size() int { + return xxx_messageInfo_UserRebaseConfirmableResponse.Size(m) +} +func (m *UserRebaseConfirmableResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserRebaseConfirmableResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserRebaseConfirmableResponse proto.InternalMessageInfo + +type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface { + isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() +} + +type UserRebaseConfirmableResponse_RebaseSha struct { + RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` +} + +type UserRebaseConfirmableResponse_RebaseApplied struct { + RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` +} + +func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +} + +func (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +} + +func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload { + if m != nil { + return m.UserRebaseConfirmableResponsePayload + } + return nil +} + +func (m *UserRebaseConfirmableResponse) GetRebaseSha() string { + if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok { + return x.RebaseSha + } + return "" +} + +func (m *UserRebaseConfirmableResponse) GetRebaseApplied() bool { + if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok { + return x.RebaseApplied + } + return false +} + +func (m *UserRebaseConfirmableResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +func (m *UserRebaseConfirmableResponse) GetGitError() string { + if m != nil { + return m.GitError + } + return "" +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserRebaseConfirmableResponse) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UserRebaseConfirmableResponse_RebaseSha)(nil), + (*UserRebaseConfirmableResponse_RebaseApplied)(nil), + } +} + +type UserSquashRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + SquashId string `protobuf:"bytes,3,opt,name=squash_id,json=squashId,proto3" json:"squash_id,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + StartSha string `protobuf:"bytes,5,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` + EndSha string `protobuf:"bytes,6,opt,name=end_sha,json=endSha,proto3" json:"end_sha,omitempty"` + Author *User `protobuf:"bytes,7,opt,name=author,proto3" json:"author,omitempty"` + CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} } +func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) } +func (*UserSquashRequest) ProtoMessage() {} +func (*UserSquashRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{30} +} + +func (m *UserSquashRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSquashRequest.Unmarshal(m, b) +} +func (m *UserSquashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSquashRequest.Marshal(b, m, deterministic) +} +func (m *UserSquashRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSquashRequest.Merge(m, src) +} +func (m *UserSquashRequest) XXX_Size() int { + return xxx_messageInfo_UserSquashRequest.Size(m) +} +func (m *UserSquashRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserSquashRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSquashRequest proto.InternalMessageInfo + +func (m *UserSquashRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserSquashRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserSquashRequest) GetSquashId() string { + if m != nil { + return m.SquashId + } + return "" +} + +func (m *UserSquashRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserSquashRequest) GetStartSha() string { + if m != nil { + return m.StartSha + } + return "" +} + +func (m *UserSquashRequest) GetEndSha() string { + if m != nil { + return m.EndSha + } + return "" +} + +func (m *UserSquashRequest) GetAuthor() *User { + if m != nil { + return m.Author + } + return nil +} + +func (m *UserSquashRequest) GetCommitMessage() []byte { + if m != nil { + return m.CommitMessage + } + return nil +} + +type UserSquashResponse struct { + SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` + GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} } +func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) } +func (*UserSquashResponse) ProtoMessage() {} +func (*UserSquashResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{31} +} + +func (m *UserSquashResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserSquashResponse.Unmarshal(m, b) +} +func (m *UserSquashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserSquashResponse.Marshal(b, m, deterministic) +} +func (m *UserSquashResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserSquashResponse.Merge(m, src) +} +func (m *UserSquashResponse) XXX_Size() int { + return xxx_messageInfo_UserSquashResponse.Size(m) +} +func (m *UserSquashResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserSquashResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserSquashResponse proto.InternalMessageInfo + +func (m *UserSquashResponse) GetSquashSha() string { + if m != nil { + return m.SquashSha + } + return "" +} + +func (m *UserSquashResponse) GetGitError() string { + if m != nil { + return m.GitError + } + return "" +} + +type UserApplyPatchRequest struct { + // Types that are valid to be assigned to UserApplyPatchRequestPayload: + // *UserApplyPatchRequest_Header_ + // *UserApplyPatchRequest_Patches + UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserApplyPatchRequest) Reset() { *m = UserApplyPatchRequest{} } +func (m *UserApplyPatchRequest) String() string { return proto.CompactTextString(m) } +func (*UserApplyPatchRequest) ProtoMessage() {} +func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{32} +} + +func (m *UserApplyPatchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserApplyPatchRequest.Unmarshal(m, b) +} +func (m *UserApplyPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserApplyPatchRequest.Marshal(b, m, deterministic) +} +func (m *UserApplyPatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserApplyPatchRequest.Merge(m, src) +} +func (m *UserApplyPatchRequest) XXX_Size() int { + return xxx_messageInfo_UserApplyPatchRequest.Size(m) +} +func (m *UserApplyPatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserApplyPatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserApplyPatchRequest proto.InternalMessageInfo + +type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface { + isUserApplyPatchRequest_UserApplyPatchRequestPayload() +} + +type UserApplyPatchRequest_Header_ struct { + Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserApplyPatchRequest_Patches struct { + Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"` +} + +func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} + +func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} + +func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload { + if m != nil { + return m.UserApplyPatchRequestPayload + } + return nil +} + +func (m *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header { + if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok { + return x.Header + } + return nil +} + +func (m *UserApplyPatchRequest) GetPatches() []byte { + if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok { + return x.Patches + } + return nil +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*UserApplyPatchRequest) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*UserApplyPatchRequest_Header_)(nil), + (*UserApplyPatchRequest_Patches)(nil), + } +} + +type UserApplyPatchRequest_Header struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserApplyPatchRequest_Header) Reset() { *m = UserApplyPatchRequest_Header{} } +func (m *UserApplyPatchRequest_Header) String() string { return proto.CompactTextString(m) } +func (*UserApplyPatchRequest_Header) ProtoMessage() {} +func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{32, 0} +} + +func (m *UserApplyPatchRequest_Header) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserApplyPatchRequest_Header.Unmarshal(m, b) +} +func (m *UserApplyPatchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserApplyPatchRequest_Header.Marshal(b, m, deterministic) +} +func (m *UserApplyPatchRequest_Header) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserApplyPatchRequest_Header.Merge(m, src) +} +func (m *UserApplyPatchRequest_Header) XXX_Size() int { + return xxx_messageInfo_UserApplyPatchRequest_Header.Size(m) +} +func (m *UserApplyPatchRequest_Header) XXX_DiscardUnknown() { + xxx_messageInfo_UserApplyPatchRequest_Header.DiscardUnknown(m) +} + +var xxx_messageInfo_UserApplyPatchRequest_Header proto.InternalMessageInfo + +func (m *UserApplyPatchRequest_Header) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserApplyPatchRequest_Header) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserApplyPatchRequest_Header) GetTargetBranch() []byte { + if m != nil { + return m.TargetBranch + } + return nil +} + +type UserApplyPatchResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserApplyPatchResponse) Reset() { *m = UserApplyPatchResponse{} } +func (m *UserApplyPatchResponse) String() string { return proto.CompactTextString(m) } +func (*UserApplyPatchResponse) ProtoMessage() {} +func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{33} +} + +func (m *UserApplyPatchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserApplyPatchResponse.Unmarshal(m, b) +} +func (m *UserApplyPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserApplyPatchResponse.Marshal(b, m, deterministic) +} +func (m *UserApplyPatchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserApplyPatchResponse.Merge(m, src) +} +func (m *UserApplyPatchResponse) XXX_Size() int { + return xxx_messageInfo_UserApplyPatchResponse.Size(m) +} +func (m *UserApplyPatchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserApplyPatchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserApplyPatchResponse proto.InternalMessageInfo + +func (m *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +type UserUpdateSubmoduleRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` + CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserUpdateSubmoduleRequest) Reset() { *m = UserUpdateSubmoduleRequest{} } +func (m *UserUpdateSubmoduleRequest) String() string { return proto.CompactTextString(m) } +func (*UserUpdateSubmoduleRequest) ProtoMessage() {} +func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{34} +} + +func (m *UserUpdateSubmoduleRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserUpdateSubmoduleRequest.Unmarshal(m, b) +} +func (m *UserUpdateSubmoduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserUpdateSubmoduleRequest.Marshal(b, m, deterministic) +} +func (m *UserUpdateSubmoduleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserUpdateSubmoduleRequest.Merge(m, src) +} +func (m *UserUpdateSubmoduleRequest) XXX_Size() int { + return xxx_messageInfo_UserUpdateSubmoduleRequest.Size(m) +} +func (m *UserUpdateSubmoduleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UserUpdateSubmoduleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UserUpdateSubmoduleRequest proto.InternalMessageInfo + +func (m *UserUpdateSubmoduleRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UserUpdateSubmoduleRequest) GetUser() *User { + if m != nil { + return m.User + } + return nil +} + +func (m *UserUpdateSubmoduleRequest) GetCommitSha() string { + if m != nil { + return m.CommitSha + } + return "" +} + +func (m *UserUpdateSubmoduleRequest) GetBranch() []byte { + if m != nil { + return m.Branch + } + return nil +} + +func (m *UserUpdateSubmoduleRequest) GetSubmodule() []byte { + if m != nil { + return m.Submodule + } + return nil +} + +func (m *UserUpdateSubmoduleRequest) GetCommitMessage() []byte { + if m != nil { + return m.CommitMessage + } + return nil +} + +type UserUpdateSubmoduleResponse struct { + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UserUpdateSubmoduleResponse) Reset() { *m = UserUpdateSubmoduleResponse{} } +func (m *UserUpdateSubmoduleResponse) String() string { return proto.CompactTextString(m) } +func (*UserUpdateSubmoduleResponse) ProtoMessage() {} +func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_1b4a5877375e491e, []int{35} +} + +func (m *UserUpdateSubmoduleResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UserUpdateSubmoduleResponse.Unmarshal(m, b) +} +func (m *UserUpdateSubmoduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UserUpdateSubmoduleResponse.Marshal(b, m, deterministic) +} +func (m *UserUpdateSubmoduleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UserUpdateSubmoduleResponse.Merge(m, src) +} +func (m *UserUpdateSubmoduleResponse) XXX_Size() int { + return xxx_messageInfo_UserUpdateSubmoduleResponse.Size(m) +} +func (m *UserUpdateSubmoduleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UserUpdateSubmoduleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UserUpdateSubmoduleResponse proto.InternalMessageInfo + +func (m *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate { + if m != nil { + return m.BranchUpdate + } + return nil +} + +func (m *UserUpdateSubmoduleResponse) GetPreReceiveError() string { + if m != nil { + return m.PreReceiveError + } + return "" +} + +func (m *UserUpdateSubmoduleResponse) GetCommitError() string { + if m != nil { + return m.CommitError + } + return "" +} + +func init() { + proto.RegisterEnum("gitaly.UserCommitFilesActionHeader_ActionType", UserCommitFilesActionHeader_ActionType_name, UserCommitFilesActionHeader_ActionType_value) + proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest") + proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse") + proto.RegisterType((*UserUpdateBranchRequest)(nil), "gitaly.UserUpdateBranchRequest") + proto.RegisterType((*UserUpdateBranchResponse)(nil), "gitaly.UserUpdateBranchResponse") + proto.RegisterType((*UserDeleteBranchRequest)(nil), "gitaly.UserDeleteBranchRequest") + proto.RegisterType((*UserDeleteBranchResponse)(nil), "gitaly.UserDeleteBranchResponse") + proto.RegisterType((*UserDeleteTagRequest)(nil), "gitaly.UserDeleteTagRequest") + proto.RegisterType((*UserDeleteTagResponse)(nil), "gitaly.UserDeleteTagResponse") + proto.RegisterType((*UserCreateTagRequest)(nil), "gitaly.UserCreateTagRequest") + proto.RegisterType((*UserCreateTagResponse)(nil), "gitaly.UserCreateTagResponse") + proto.RegisterType((*UserMergeBranchRequest)(nil), "gitaly.UserMergeBranchRequest") + proto.RegisterType((*UserMergeBranchResponse)(nil), "gitaly.UserMergeBranchResponse") + proto.RegisterType((*UserMergeToRefRequest)(nil), "gitaly.UserMergeToRefRequest") + proto.RegisterType((*UserMergeToRefResponse)(nil), "gitaly.UserMergeToRefResponse") + proto.RegisterType((*OperationBranchUpdate)(nil), "gitaly.OperationBranchUpdate") + proto.RegisterType((*UserFFBranchRequest)(nil), "gitaly.UserFFBranchRequest") + proto.RegisterType((*UserFFBranchResponse)(nil), "gitaly.UserFFBranchResponse") + proto.RegisterType((*UserCherryPickRequest)(nil), "gitaly.UserCherryPickRequest") + proto.RegisterType((*UserCherryPickResponse)(nil), "gitaly.UserCherryPickResponse") + proto.RegisterType((*UserRevertRequest)(nil), "gitaly.UserRevertRequest") + proto.RegisterType((*UserRevertResponse)(nil), "gitaly.UserRevertResponse") + proto.RegisterType((*UserCommitFilesActionHeader)(nil), "gitaly.UserCommitFilesActionHeader") + proto.RegisterType((*UserCommitFilesAction)(nil), "gitaly.UserCommitFilesAction") + proto.RegisterType((*UserCommitFilesRequestHeader)(nil), "gitaly.UserCommitFilesRequestHeader") + proto.RegisterType((*UserCommitFilesRequest)(nil), "gitaly.UserCommitFilesRequest") + proto.RegisterType((*UserCommitFilesResponse)(nil), "gitaly.UserCommitFilesResponse") + proto.RegisterType((*UserRebaseRequest)(nil), "gitaly.UserRebaseRequest") + proto.RegisterType((*UserRebaseResponse)(nil), "gitaly.UserRebaseResponse") + proto.RegisterType((*UserRebaseConfirmableRequest)(nil), "gitaly.UserRebaseConfirmableRequest") + proto.RegisterType((*UserRebaseConfirmableRequest_Header)(nil), "gitaly.UserRebaseConfirmableRequest.Header") + proto.RegisterType((*UserRebaseConfirmableResponse)(nil), "gitaly.UserRebaseConfirmableResponse") + proto.RegisterType((*UserSquashRequest)(nil), "gitaly.UserSquashRequest") + proto.RegisterType((*UserSquashResponse)(nil), "gitaly.UserSquashResponse") + proto.RegisterType((*UserApplyPatchRequest)(nil), "gitaly.UserApplyPatchRequest") + proto.RegisterType((*UserApplyPatchRequest_Header)(nil), "gitaly.UserApplyPatchRequest.Header") + proto.RegisterType((*UserApplyPatchResponse)(nil), "gitaly.UserApplyPatchResponse") + proto.RegisterType((*UserUpdateSubmoduleRequest)(nil), "gitaly.UserUpdateSubmoduleRequest") + proto.RegisterType((*UserUpdateSubmoduleResponse)(nil), "gitaly.UserUpdateSubmoduleResponse") +} + +func init() { proto.RegisterFile("operations.proto", fileDescriptor_1b4a5877375e491e) } + +var fileDescriptor_1b4a5877375e491e = []byte{ + // 2065 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x23, 0x49, + 0x15, 0x4f, 0xdb, 0x8e, 0xe3, 0xbc, 0x38, 0x89, 0x53, 0xbb, 0x3b, 0x9b, 0xf5, 0x4c, 0x48, 0xb6, + 0x33, 0xc3, 0x64, 0x06, 0xf0, 0x7c, 0x80, 0x40, 0x42, 0x5a, 0xd0, 0x24, 0x71, 0xc8, 0xae, 0x98, + 0x9d, 0xd0, 0xc9, 0x80, 0xb4, 0x42, 0x34, 0x1d, 0xbb, 0x6c, 0xb7, 0xb0, 0xdd, 0xde, 0xea, 0x76, + 0x98, 0x70, 0x40, 0x48, 0x48, 0x2c, 0x47, 0x4e, 0x2c, 0x17, 0x24, 0x38, 0x21, 0x21, 0x2e, 0x5c, + 0x10, 0xe2, 0x80, 0x90, 0x38, 0xc1, 0x75, 0x0f, 0xdc, 0xf8, 0x13, 0xb8, 0x20, 0x2e, 0x7b, 0x42, + 0x55, 0xef, 0xb5, 0x5d, 0xd5, 0x1f, 0x21, 0x59, 0x12, 0xcd, 0x80, 0xf6, 0xe6, 0x7e, 0x55, 0xf5, + 0xea, 0xbd, 0xdf, 0xfb, 0xac, 0x2a, 0x43, 0x2d, 0x18, 0x71, 0xe1, 0x45, 0x7e, 0x30, 0x0c, 0x1b, + 0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a, 0x6d, + 0x12, 0xaa, 0x82, 0x84, 0x37, 0xdb, 0x52, 0x23, 0xca, 0x6f, 0x14, 0xf8, 0x94, 0xcf, 0x72, 0xb1, + 0x63, 0x2f, 0xc3, 0xac, 0x37, 0x1a, 0xf5, 0x4f, 0x57, 0xcb, 0x0a, 0x02, 0xfc, 0xb0, 0x7f, 0x43, + 0x81, 0x6c, 0x68, 0x45, 0xa0, 0x1a, 0x02, 0x58, 0x09, 0x01, 0xb6, 0x61, 0x91, 0x22, 0x76, 0xac, + 0x92, 0x09, 0x19, 0x7e, 0x2d, 0x56, 0xe4, 0x49, 0x5c, 0x77, 0x90, 0x29, 0x66, 0x1c, 0xa7, 0x7a, + 0xac, 0x7d, 0x65, 0xc3, 0x5f, 0xca, 0x84, 0xff, 0xad, 0x52, 0xa5, 0x50, 0x2b, 0xda, 0xef, 0x15, + 0xd0, 0x03, 0x94, 0xb8, 0x47, 0x81, 0xc3, 0x3b, 0x57, 0x6b, 0x83, 0x35, 0x80, 0x30, 0x18, 0x8b, + 0x16, 0x77, 0xc3, 0x9e, 0x47, 0x46, 0x98, 0x47, 0xca, 0x61, 0xcf, 0xcb, 0xb5, 0xc2, 0x1a, 0xc0, + 0xc4, 0xd5, 0x3b, 0x64, 0x88, 0xf9, 0xd8, 0xcb, 0x3b, 0xba, 0x91, 0xca, 0xa6, 0x91, 0xb6, 0xa0, + 0xd6, 0xf1, 0x45, 0x18, 0xb9, 0x23, 0x4f, 0xf0, 0x21, 0x2e, 0x9f, 0xc3, 0x20, 0x51, 0xf4, 0x03, + 0x45, 0x76, 0x78, 0xc7, 0xf6, 0x34, 0x6f, 0x24, 0x20, 0xce, 0x63, 0xb6, 0x8b, 0xd4, 0xbb, 0xef, + 0xc3, 0x2b, 0x99, 0x56, 0x3c, 0x7b, 0x87, 0xd7, 0xa1, 0x2a, 0x21, 0x76, 0x5b, 0x2a, 0x48, 0xdb, + 0x14, 0x71, 0x0b, 0x92, 0x86, 0x71, 0xdb, 0x66,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xb7, 0x6c, 0xa7, 0x9c, + 0x89, 0xe3, 0x7e, 0x7b, 0x13, 0x5e, 0x4f, 0xbb, 0x9c, 0xc0, 0x5d, 0x26, 0x3e, 0xf7, 0xeb, 0xf8, + 0xca, 0x49, 0x17, 0xe4, 0x12, 0xf3, 0xeb, 0x3a, 0x2c, 0xf8, 0xc3, 0x36, 0x7f, 0x66, 0x64, 0x56, + 0x50, 0xa4, 0x33, 0x32, 0x66, 0xce, 0xe9, 0xef, 0x57, 0x93, 0x22, 0x2a, 0x13, 0xcf, 0x95, 0x77, + 0xa2, 0x42, 0x6d, 0xa3, 0x75, 0xa2, 0x48, 0x38, 0xe3, 0xe0, 0xb7, 0x06, 0x14, 0x37, 0xca, 0x49, + 0x66, 0xf1, 0xa4, 0x82, 0x14, 0x79, 0x52, 0xf9, 0x32, 0xac, 0x08, 0x3e, 0x08, 0x22, 0xae, 0x3b, + 0x66, 0x39, 0x57, 0xe0, 0x1a, 0x4e, 0xd6, 0x3c, 0x73, 0x13, 0x16, 0x89, 0x01, 0x6d, 0x8f, 0x01, + 0x50, 0x45, 0x22, 0x9a, 0xe1, 0x8b, 0x85, 0x55, 0xcb, 0xfe, 0xc1, 0xa4, 0x62, 0x22, 0x52, 0x93, + 0x13, 0x3a, 0x90, 0x52, 0x52, 0x3e, 0x3c, 0x34, 0x90, 0x9a, 0x52, 0xbe, 0x0b, 0xf4, 0xba, 0x12, + 0x9f, 0x6e, 0xa2, 0x12, 0x56, 0xba, 0x54, 0x06, 0x95, 0x08, 0x7f, 0xa6, 0x6c, 0x86, 0x22, 0xec, + 0x04, 0xc3, 0x8e, 0x2f, 0x06, 0xde, 0x71, 0x7f, 0x62, 0xb7, 0x66, 0x22, 0x30, 0x3e, 0x65, 0x58, + 0x21, 0x67, 0x55, 0x23, 0x15, 0x1f, 0xd7, 0xe2, 0x23, 0xb5, 0x3a, 0xe3, 0xec, 0xcf, 0xd0, 0xa1, + 0xba, 0xfe, 0xb3, 0x02, 0x94, 0xa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, 0xa9, 0x89, 0x7e, 0xbd, 0xa7, 0x83, 0x4f, 0xfc, 0xb0, 0x01, + 0x31, 0xf9, 0x19, 0x7d, 0x9b, 0xc9, 0xcf, 0xec, 0x57, 0x74, 0x7e, 0xdf, 0x42, 0x47, 0x99, 0x56, + 0x51, 0xd3, 0x51, 0x52, 0xdd, 0x84, 0xe9, 0x28, 0xe9, 0xe2, 0x9b, 0xb4, 0xa4, 0x8f, 0x6f, 0x26, + 0x89, 0xaa, 0xc2, 0xec, 0x74, 0xd6, 0x4b, 0xd6, 0xd8, 0xfa, 0xe6, 0x99, 0x73, 0x52, 0xaa, 0x6c, + 0xdf, 0x7f, 0x47, 0x2e, 0xe8, 0x7b, 0xc7, 0x8d, 0x56, 0x30, 0xb8, 0x87, 0x3f, 0x3f, 0x13, 0x88, + 0xee, 0x3d, 0x64, 0x73, 0x4f, 0xfd, 0xb3, 0xe4, 0x5e, 0x37, 0xa0, 0xef, 0xd1, 0xf1, 0x71, 0x59, + 0x91, 0x3e, 0xfb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x12, 0xf0, 0xf7, 0x96, 0x22, 0x00, + 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// OperationServiceClient is the client API for OperationService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type OperationServiceClient interface { + UserCreateBranch(ctx context.Context, in *UserCreateBranchRequest, opts ...grpc.CallOption) (*UserCreateBranchResponse, error) + UserUpdateBranch(ctx context.Context, in *UserUpdateBranchRequest, opts ...grpc.CallOption) (*UserUpdateBranchResponse, error) + UserDeleteBranch(ctx context.Context, in *UserDeleteBranchRequest, opts ...grpc.CallOption) (*UserDeleteBranchResponse, error) + UserCreateTag(ctx context.Context, in *UserCreateTagRequest, opts ...grpc.CallOption) (*UserCreateTagResponse, error) + UserDeleteTag(ctx context.Context, in *UserDeleteTagRequest, opts ...grpc.CallOption) (*UserDeleteTagResponse, error) + UserMergeToRef(ctx context.Context, in *UserMergeToRefRequest, opts ...grpc.CallOption) (*UserMergeToRefResponse, error) + UserMergeBranch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserMergeBranchClient, error) + UserFFBranch(ctx context.Context, in *UserFFBranchRequest, opts ...grpc.CallOption) (*UserFFBranchResponse, error) + UserCherryPick(ctx context.Context, in *UserCherryPickRequest, opts ...grpc.CallOption) (*UserCherryPickResponse, error) + UserCommitFiles(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserCommitFilesClient, error) + UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) + UserRebaseConfirmable(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserRebaseConfirmableClient, error) + UserRevert(ctx context.Context, in *UserRevertRequest, opts ...grpc.CallOption) (*UserRevertResponse, error) + UserSquash(ctx context.Context, in *UserSquashRequest, opts ...grpc.CallOption) (*UserSquashResponse, error) + UserApplyPatch(ctx context.Context, opts ...grpc.CallOption) (OperationService_UserApplyPatchClient, error) + UserUpdateSubmodule(ctx context.Context, in *UserUpdateSubmoduleRequest, opts ...grpc.CallOption) (*UserUpdateSubmoduleResponse, error) +} + +type operationServiceClient struct { + cc *grpc.ClientConn +} + +func NewOperationServiceClient(cc *grpc.ClientConn) 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 +} + +// Deprecated: Do not use. +func (c *operationServiceClient) UserRebase(ctx context.Context, in *UserRebaseRequest, opts ...grpc.CallOption) (*UserRebaseResponse, error) { + out := new(UserRebaseResponse) + err := c.cc.Invoke(ctx, "/gitaly.OperationService/UserRebase", in, out, opts...) + if err != nil { + return nil, err + } + return out, 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. +type OperationServiceServer interface { + UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) + UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) + UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) + UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) + UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) + UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) + UserMergeBranch(OperationService_UserMergeBranchServer) error + UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) + UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) + UserCommitFiles(OperationService_UserCommitFilesServer) error + UserRebase(context.Context, *UserRebaseRequest) (*UserRebaseResponse, error) + UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error + UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) + UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) + UserApplyPatch(OperationService_UserApplyPatchServer) error + UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) +} + +// UnimplementedOperationServiceServer can be embedded to have forward compatible implementations. +type UnimplementedOperationServiceServer struct { +} + +func (*UnimplementedOperationServiceServer) UserCreateBranch(ctx context.Context, req *UserCreateBranchRequest) (*UserCreateBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCreateBranch not implemented") +} +func (*UnimplementedOperationServiceServer) UserUpdateBranch(ctx context.Context, req *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserUpdateBranch not implemented") +} +func (*UnimplementedOperationServiceServer) UserDeleteBranch(ctx context.Context, req *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserDeleteBranch not implemented") +} +func (*UnimplementedOperationServiceServer) UserCreateTag(ctx context.Context, req *UserCreateTagRequest) (*UserCreateTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCreateTag not implemented") +} +func (*UnimplementedOperationServiceServer) UserDeleteTag(ctx context.Context, req *UserDeleteTagRequest) (*UserDeleteTagResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserDeleteTag not implemented") +} +func (*UnimplementedOperationServiceServer) UserMergeToRef(ctx context.Context, req *UserMergeToRefRequest) (*UserMergeToRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserMergeToRef not implemented") +} +func (*UnimplementedOperationServiceServer) UserMergeBranch(srv OperationService_UserMergeBranchServer) error { + return status.Errorf(codes.Unimplemented, "method UserMergeBranch not implemented") +} +func (*UnimplementedOperationServiceServer) UserFFBranch(ctx context.Context, req *UserFFBranchRequest) (*UserFFBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserFFBranch not implemented") +} +func (*UnimplementedOperationServiceServer) UserCherryPick(ctx context.Context, req *UserCherryPickRequest) (*UserCherryPickResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserCherryPick not implemented") +} +func (*UnimplementedOperationServiceServer) UserCommitFiles(srv OperationService_UserCommitFilesServer) error { + return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented") +} +func (*UnimplementedOperationServiceServer) UserRebase(ctx context.Context, req *UserRebaseRequest) (*UserRebaseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserRebase not implemented") +} +func (*UnimplementedOperationServiceServer) UserRebaseConfirmable(srv OperationService_UserRebaseConfirmableServer) error { + return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented") +} +func (*UnimplementedOperationServiceServer) UserRevert(ctx context.Context, req *UserRevertRequest) (*UserRevertResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserRevert not implemented") +} +func (*UnimplementedOperationServiceServer) UserSquash(ctx context.Context, req *UserSquashRequest) (*UserSquashResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserSquash not implemented") +} +func (*UnimplementedOperationServiceServer) UserApplyPatch(srv OperationService_UserApplyPatchServer) error { + return status.Errorf(codes.Unimplemented, "method UserApplyPatch not implemented") +} +func (*UnimplementedOperationServiceServer) UserUpdateSubmodule(ctx context.Context, req *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UserUpdateSubmodule not implemented") +} + +func RegisterOperationServiceServer(s *grpc.Server, 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_UserRebase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserRebaseRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(OperationServiceServer).UserRebase(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.OperationService/UserRebase", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(OperationServiceServer).UserRebase(ctx, req.(*UserRebaseRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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) +} + +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: "UserRebase", + Handler: _OperationService_UserRebase_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/protolist.go b/proto/go/gitalypb/protolist.go new file mode 100644 index 000000000..c85049d62 --- /dev/null +++ b/proto/go/gitalypb/protolist.go @@ -0,0 +1,24 @@ +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", + "namespace.proto", + "objectpool.proto", + "operations.proto", + "ref.proto", + "remote.proto", + "repository-service.proto", + "server.proto", + "shared.proto", + "smarthttp.proto", + "ssh.proto", + "storage.proto", + "wiki.proto", +} diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go new file mode 100644 index 000000000..3b74af8a7 --- /dev/null +++ b/proto/go/gitalypb/ref.pb.go @@ -0,0 +1,3124 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: ref.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type FindLocalBranchesRequest_SortBy int32 + +const ( + FindLocalBranchesRequest_NAME FindLocalBranchesRequest_SortBy = 0 + FindLocalBranchesRequest_UPDATED_ASC FindLocalBranchesRequest_SortBy = 1 + FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 +) + +var FindLocalBranchesRequest_SortBy_name = map[int32]string{ + 0: "NAME", + 1: "UPDATED_ASC", + 2: "UPDATED_DESC", +} + +var FindLocalBranchesRequest_SortBy_value = map[string]int32{ + "NAME": 0, + "UPDATED_ASC": 1, + "UPDATED_DESC": 2, +} + +func (x FindLocalBranchesRequest_SortBy) String() string { + return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x)) +} + +func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{10, 0} +} + +type CreateBranchResponse_Status int32 + +const ( + CreateBranchResponse_OK CreateBranchResponse_Status = 0 + CreateBranchResponse_ERR_EXISTS CreateBranchResponse_Status = 1 + CreateBranchResponse_ERR_INVALID CreateBranchResponse_Status = 2 + CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 +) + +var CreateBranchResponse_Status_name = map[int32]string{ + 0: "OK", + 1: "ERR_EXISTS", + 2: "ERR_INVALID", + 3: "ERR_INVALID_START_POINT", +} + +var CreateBranchResponse_Status_value = map[string]int32{ + "OK": 0, + "ERR_EXISTS": 1, + "ERR_INVALID": 2, + "ERR_INVALID_START_POINT": 3, +} + +func (x CreateBranchResponse_Status) String() string { + return proto.EnumName(CreateBranchResponse_Status_name, int32(x)) +} + +func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{21, 0} +} + +type ListNewBlobsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Limit the number of revs to be returned fro mgit-rev-list + // If the limit is set to zero, all items will be returned + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNewBlobsRequest) Reset() { *m = ListNewBlobsRequest{} } +func (m *ListNewBlobsRequest) String() string { return proto.CompactTextString(m) } +func (*ListNewBlobsRequest) ProtoMessage() {} +func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{0} +} + +func (m *ListNewBlobsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNewBlobsRequest.Unmarshal(m, b) +} +func (m *ListNewBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNewBlobsRequest.Marshal(b, m, deterministic) +} +func (m *ListNewBlobsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNewBlobsRequest.Merge(m, src) +} +func (m *ListNewBlobsRequest) XXX_Size() int { + return xxx_messageInfo_ListNewBlobsRequest.Size(m) +} +func (m *ListNewBlobsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNewBlobsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNewBlobsRequest proto.InternalMessageInfo + +func (m *ListNewBlobsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListNewBlobsRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *ListNewBlobsRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +type ListNewBlobsResponse struct { + NewBlobObjects []*NewBlobObject `protobuf:"bytes,1,rep,name=new_blob_objects,json=newBlobObjects,proto3" json:"new_blob_objects,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNewBlobsResponse) Reset() { *m = ListNewBlobsResponse{} } +func (m *ListNewBlobsResponse) String() string { return proto.CompactTextString(m) } +func (*ListNewBlobsResponse) ProtoMessage() {} +func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{1} +} + +func (m *ListNewBlobsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNewBlobsResponse.Unmarshal(m, b) +} +func (m *ListNewBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNewBlobsResponse.Marshal(b, m, deterministic) +} +func (m *ListNewBlobsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNewBlobsResponse.Merge(m, src) +} +func (m *ListNewBlobsResponse) XXX_Size() int { + return xxx_messageInfo_ListNewBlobsResponse.Size(m) +} +func (m *ListNewBlobsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNewBlobsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNewBlobsResponse proto.InternalMessageInfo + +func (m *ListNewBlobsResponse) GetNewBlobObjects() []*NewBlobObject { + if m != nil { + return m.NewBlobObjects + } + return nil +} + +type FindDefaultBranchNameRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} } +func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) } +func (*FindDefaultBranchNameRequest) ProtoMessage() {} +func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{2} +} + +func (m *FindDefaultBranchNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindDefaultBranchNameRequest.Unmarshal(m, b) +} +func (m *FindDefaultBranchNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindDefaultBranchNameRequest.Marshal(b, m, deterministic) +} +func (m *FindDefaultBranchNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindDefaultBranchNameRequest.Merge(m, src) +} +func (m *FindDefaultBranchNameRequest) XXX_Size() int { + return xxx_messageInfo_FindDefaultBranchNameRequest.Size(m) +} +func (m *FindDefaultBranchNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindDefaultBranchNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindDefaultBranchNameRequest proto.InternalMessageInfo + +func (m *FindDefaultBranchNameRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FindDefaultBranchNameResponse struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} } +func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) } +func (*FindDefaultBranchNameResponse) ProtoMessage() {} +func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{3} +} + +func (m *FindDefaultBranchNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindDefaultBranchNameResponse.Unmarshal(m, b) +} +func (m *FindDefaultBranchNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindDefaultBranchNameResponse.Marshal(b, m, deterministic) +} +func (m *FindDefaultBranchNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindDefaultBranchNameResponse.Merge(m, src) +} +func (m *FindDefaultBranchNameResponse) XXX_Size() int { + return xxx_messageInfo_FindDefaultBranchNameResponse.Size(m) +} +func (m *FindDefaultBranchNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindDefaultBranchNameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindDefaultBranchNameResponse proto.InternalMessageInfo + +func (m *FindDefaultBranchNameResponse) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +type FindAllBranchNamesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} } +func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllBranchNamesRequest) ProtoMessage() {} +func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{4} +} + +func (m *FindAllBranchNamesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllBranchNamesRequest.Unmarshal(m, b) +} +func (m *FindAllBranchNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllBranchNamesRequest.Marshal(b, m, deterministic) +} +func (m *FindAllBranchNamesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllBranchNamesRequest.Merge(m, src) +} +func (m *FindAllBranchNamesRequest) XXX_Size() int { + return xxx_messageInfo_FindAllBranchNamesRequest.Size(m) +} +func (m *FindAllBranchNamesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllBranchNamesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllBranchNamesRequest proto.InternalMessageInfo + +func (m *FindAllBranchNamesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FindAllBranchNamesResponse struct { + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} } +func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllBranchNamesResponse) ProtoMessage() {} +func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{5} +} + +func (m *FindAllBranchNamesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllBranchNamesResponse.Unmarshal(m, b) +} +func (m *FindAllBranchNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllBranchNamesResponse.Marshal(b, m, deterministic) +} +func (m *FindAllBranchNamesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllBranchNamesResponse.Merge(m, src) +} +func (m *FindAllBranchNamesResponse) XXX_Size() int { + return xxx_messageInfo_FindAllBranchNamesResponse.Size(m) +} +func (m *FindAllBranchNamesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllBranchNamesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllBranchNamesResponse proto.InternalMessageInfo + +func (m *FindAllBranchNamesResponse) GetNames() [][]byte { + if m != nil { + return m.Names + } + return nil +} + +type FindAllTagNamesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} } +func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllTagNamesRequest) ProtoMessage() {} +func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{6} +} + +func (m *FindAllTagNamesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllTagNamesRequest.Unmarshal(m, b) +} +func (m *FindAllTagNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllTagNamesRequest.Marshal(b, m, deterministic) +} +func (m *FindAllTagNamesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllTagNamesRequest.Merge(m, src) +} +func (m *FindAllTagNamesRequest) XXX_Size() int { + return xxx_messageInfo_FindAllTagNamesRequest.Size(m) +} +func (m *FindAllTagNamesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllTagNamesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllTagNamesRequest proto.InternalMessageInfo + +func (m *FindAllTagNamesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FindAllTagNamesResponse struct { + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} } +func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllTagNamesResponse) ProtoMessage() {} +func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{7} +} + +func (m *FindAllTagNamesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllTagNamesResponse.Unmarshal(m, b) +} +func (m *FindAllTagNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllTagNamesResponse.Marshal(b, m, deterministic) +} +func (m *FindAllTagNamesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllTagNamesResponse.Merge(m, src) +} +func (m *FindAllTagNamesResponse) XXX_Size() int { + return xxx_messageInfo_FindAllTagNamesResponse.Size(m) +} +func (m *FindAllTagNamesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllTagNamesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllTagNamesResponse proto.InternalMessageInfo + +func (m *FindAllTagNamesResponse) GetNames() [][]byte { + if m != nil { + return m.Names + } + return nil +} + +type FindRefNameRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Require that the resulting ref contains this commit as an ancestor + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + // Example prefix: "refs/heads/". Type bytes because that is the type of ref names. + Prefix []byte `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} } +func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) } +func (*FindRefNameRequest) ProtoMessage() {} +func (*FindRefNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{8} +} + +func (m *FindRefNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRefNameRequest.Unmarshal(m, b) +} +func (m *FindRefNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRefNameRequest.Marshal(b, m, deterministic) +} +func (m *FindRefNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRefNameRequest.Merge(m, src) +} +func (m *FindRefNameRequest) XXX_Size() int { + return xxx_messageInfo_FindRefNameRequest.Size(m) +} +func (m *FindRefNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindRefNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRefNameRequest proto.InternalMessageInfo + +func (m *FindRefNameRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindRefNameRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *FindRefNameRequest) GetPrefix() []byte { + if m != nil { + return m.Prefix + } + return nil +} + +type FindRefNameResponse struct { + // Example name: "refs/heads/master". Cannot assume UTF8, so the type is bytes. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} } +func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) } +func (*FindRefNameResponse) ProtoMessage() {} +func (*FindRefNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{9} +} + +func (m *FindRefNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRefNameResponse.Unmarshal(m, b) +} +func (m *FindRefNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRefNameResponse.Marshal(b, m, deterministic) +} +func (m *FindRefNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRefNameResponse.Merge(m, src) +} +func (m *FindRefNameResponse) XXX_Size() int { + return xxx_messageInfo_FindRefNameResponse.Size(m) +} +func (m *FindRefNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindRefNameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRefNameResponse proto.InternalMessageInfo + +func (m *FindRefNameResponse) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +type FindLocalBranchesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} } +func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) } +func (*FindLocalBranchesRequest) ProtoMessage() {} +func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{10} +} + +func (m *FindLocalBranchesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLocalBranchesRequest.Unmarshal(m, b) +} +func (m *FindLocalBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLocalBranchesRequest.Marshal(b, m, deterministic) +} +func (m *FindLocalBranchesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLocalBranchesRequest.Merge(m, src) +} +func (m *FindLocalBranchesRequest) XXX_Size() int { + return xxx_messageInfo_FindLocalBranchesRequest.Size(m) +} +func (m *FindLocalBranchesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindLocalBranchesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLocalBranchesRequest proto.InternalMessageInfo + +func (m *FindLocalBranchesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy { + if m != nil { + return m.SortBy + } + return FindLocalBranchesRequest_NAME +} + +type FindLocalBranchesResponse struct { + Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} } +func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) } +func (*FindLocalBranchesResponse) ProtoMessage() {} +func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{11} +} + +func (m *FindLocalBranchesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLocalBranchesResponse.Unmarshal(m, b) +} +func (m *FindLocalBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLocalBranchesResponse.Marshal(b, m, deterministic) +} +func (m *FindLocalBranchesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLocalBranchesResponse.Merge(m, src) +} +func (m *FindLocalBranchesResponse) XXX_Size() int { + return xxx_messageInfo_FindLocalBranchesResponse.Size(m) +} +func (m *FindLocalBranchesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindLocalBranchesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLocalBranchesResponse proto.InternalMessageInfo + +func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { + if m != nil { + return m.Branches + } + return nil +} + +type FindLocalBranchResponse struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"` + CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"` + CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} } +func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) } +func (*FindLocalBranchResponse) ProtoMessage() {} +func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{12} +} + +func (m *FindLocalBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLocalBranchResponse.Unmarshal(m, b) +} +func (m *FindLocalBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLocalBranchResponse.Marshal(b, m, deterministic) +} +func (m *FindLocalBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLocalBranchResponse.Merge(m, src) +} +func (m *FindLocalBranchResponse) XXX_Size() int { + return xxx_messageInfo_FindLocalBranchResponse.Size(m) +} +func (m *FindLocalBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindLocalBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLocalBranchResponse proto.InternalMessageInfo + +func (m *FindLocalBranchResponse) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *FindLocalBranchResponse) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *FindLocalBranchResponse) GetCommitSubject() []byte { + if m != nil { + return m.CommitSubject + } + return nil +} + +func (m *FindLocalBranchResponse) GetCommitAuthor() *FindLocalBranchCommitAuthor { + if m != nil { + return m.CommitAuthor + } + return nil +} + +func (m *FindLocalBranchResponse) GetCommitCommitter() *FindLocalBranchCommitAuthor { + if m != nil { + return m.CommitCommitter + } + return nil +} + +type FindLocalBranchCommitAuthor struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} } +func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) } +func (*FindLocalBranchCommitAuthor) ProtoMessage() {} +func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{13} +} + +func (m *FindLocalBranchCommitAuthor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLocalBranchCommitAuthor.Unmarshal(m, b) +} +func (m *FindLocalBranchCommitAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLocalBranchCommitAuthor.Marshal(b, m, deterministic) +} +func (m *FindLocalBranchCommitAuthor) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLocalBranchCommitAuthor.Merge(m, src) +} +func (m *FindLocalBranchCommitAuthor) XXX_Size() int { + return xxx_messageInfo_FindLocalBranchCommitAuthor.Size(m) +} +func (m *FindLocalBranchCommitAuthor) XXX_DiscardUnknown() { + xxx_messageInfo_FindLocalBranchCommitAuthor.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLocalBranchCommitAuthor proto.InternalMessageInfo + +func (m *FindLocalBranchCommitAuthor) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *FindLocalBranchCommitAuthor) GetEmail() []byte { + if m != nil { + return m.Email + } + return nil +} + +func (m *FindLocalBranchCommitAuthor) GetDate() *timestamp.Timestamp { + if m != nil { + return m.Date + } + return nil +} + +type FindAllBranchesRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} } +func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllBranchesRequest) ProtoMessage() {} +func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{14} +} + +func (m *FindAllBranchesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllBranchesRequest.Unmarshal(m, b) +} +func (m *FindAllBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllBranchesRequest.Marshal(b, m, deterministic) +} +func (m *FindAllBranchesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllBranchesRequest.Merge(m, src) +} +func (m *FindAllBranchesRequest) XXX_Size() int { + return xxx_messageInfo_FindAllBranchesRequest.Size(m) +} +func (m *FindAllBranchesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllBranchesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllBranchesRequest proto.InternalMessageInfo + +func (m *FindAllBranchesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindAllBranchesRequest) GetMergedOnly() bool { + if m != nil { + return m.MergedOnly + } + return false +} + +func (m *FindAllBranchesRequest) GetMergedBranches() [][]byte { + if m != nil { + return m.MergedBranches + } + return nil +} + +type FindAllBranchesResponse struct { + Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} } +func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllBranchesResponse) ProtoMessage() {} +func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{15} +} + +func (m *FindAllBranchesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllBranchesResponse.Unmarshal(m, b) +} +func (m *FindAllBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllBranchesResponse.Marshal(b, m, deterministic) +} +func (m *FindAllBranchesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllBranchesResponse.Merge(m, src) +} +func (m *FindAllBranchesResponse) XXX_Size() int { + return xxx_messageInfo_FindAllBranchesResponse.Size(m) +} +func (m *FindAllBranchesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllBranchesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllBranchesResponse proto.InternalMessageInfo + +func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { + if m != nil { + return m.Branches + } + return nil +} + +type FindAllBranchesResponse_Branch struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesResponse_Branch{} } +func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) } +func (*FindAllBranchesResponse_Branch) ProtoMessage() {} +func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{15, 0} +} + +func (m *FindAllBranchesResponse_Branch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllBranchesResponse_Branch.Unmarshal(m, b) +} +func (m *FindAllBranchesResponse_Branch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllBranchesResponse_Branch.Marshal(b, m, deterministic) +} +func (m *FindAllBranchesResponse_Branch) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllBranchesResponse_Branch.Merge(m, src) +} +func (m *FindAllBranchesResponse_Branch) XXX_Size() int { + return xxx_messageInfo_FindAllBranchesResponse_Branch.Size(m) +} +func (m *FindAllBranchesResponse_Branch) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllBranchesResponse_Branch.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllBranchesResponse_Branch proto.InternalMessageInfo + +func (m *FindAllBranchesResponse_Branch) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *FindAllBranchesResponse_Branch) GetTarget() *GitCommit { + if m != nil { + return m.Target + } + return nil +} + +type FindAllTagsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} } +func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllTagsRequest) ProtoMessage() {} +func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{16} +} + +func (m *FindAllTagsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllTagsRequest.Unmarshal(m, b) +} +func (m *FindAllTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllTagsRequest.Marshal(b, m, deterministic) +} +func (m *FindAllTagsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllTagsRequest.Merge(m, src) +} +func (m *FindAllTagsRequest) XXX_Size() int { + return xxx_messageInfo_FindAllTagsRequest.Size(m) +} +func (m *FindAllTagsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllTagsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllTagsRequest proto.InternalMessageInfo + +func (m *FindAllTagsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FindAllTagsResponse struct { + Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} } +func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllTagsResponse) ProtoMessage() {} +func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{17} +} + +func (m *FindAllTagsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllTagsResponse.Unmarshal(m, b) +} +func (m *FindAllTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllTagsResponse.Marshal(b, m, deterministic) +} +func (m *FindAllTagsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllTagsResponse.Merge(m, src) +} +func (m *FindAllTagsResponse) XXX_Size() int { + return xxx_messageInfo_FindAllTagsResponse.Size(m) +} +func (m *FindAllTagsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllTagsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllTagsResponse proto.InternalMessageInfo + +func (m *FindAllTagsResponse) GetTags() []*Tag { + if m != nil { + return m.Tags + } + return nil +} + +type RefExistsRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} } +func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) } +func (*RefExistsRequest) ProtoMessage() {} +func (*RefExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{18} +} + +func (m *RefExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RefExistsRequest.Unmarshal(m, b) +} +func (m *RefExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RefExistsRequest.Marshal(b, m, deterministic) +} +func (m *RefExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RefExistsRequest.Merge(m, src) +} +func (m *RefExistsRequest) XXX_Size() int { + return xxx_messageInfo_RefExistsRequest.Size(m) +} +func (m *RefExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RefExistsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RefExistsRequest proto.InternalMessageInfo + +func (m *RefExistsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RefExistsRequest) GetRef() []byte { + if m != nil { + return m.Ref + } + return nil +} + +type RefExistsResponse struct { + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} } +func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) } +func (*RefExistsResponse) ProtoMessage() {} +func (*RefExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{19} +} + +func (m *RefExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RefExistsResponse.Unmarshal(m, b) +} +func (m *RefExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RefExistsResponse.Marshal(b, m, deterministic) +} +func (m *RefExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RefExistsResponse.Merge(m, src) +} +func (m *RefExistsResponse) XXX_Size() int { + return xxx_messageInfo_RefExistsResponse.Size(m) +} +func (m *RefExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RefExistsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RefExistsResponse proto.InternalMessageInfo + +func (m *RefExistsResponse) GetValue() bool { + if m != nil { + return m.Value + } + return false +} + +type CreateBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} } +func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) } +func (*CreateBranchRequest) ProtoMessage() {} +func (*CreateBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{20} +} + +func (m *CreateBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateBranchRequest.Unmarshal(m, b) +} +func (m *CreateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateBranchRequest.Marshal(b, m, deterministic) +} +func (m *CreateBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBranchRequest.Merge(m, src) +} +func (m *CreateBranchRequest) XXX_Size() int { + return xxx_messageInfo_CreateBranchRequest.Size(m) +} +func (m *CreateBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBranchRequest proto.InternalMessageInfo + +func (m *CreateBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CreateBranchRequest) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *CreateBranchRequest) GetStartPoint() []byte { + if m != nil { + return m.StartPoint + } + return nil +} + +type CreateBranchResponse struct { + Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` + Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} } +func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) } +func (*CreateBranchResponse) ProtoMessage() {} +func (*CreateBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{21} +} + +func (m *CreateBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateBranchResponse.Unmarshal(m, b) +} +func (m *CreateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateBranchResponse.Marshal(b, m, deterministic) +} +func (m *CreateBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBranchResponse.Merge(m, src) +} +func (m *CreateBranchResponse) XXX_Size() int { + return xxx_messageInfo_CreateBranchResponse.Size(m) +} +func (m *CreateBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBranchResponse proto.InternalMessageInfo + +func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { + if m != nil { + return m.Status + } + return CreateBranchResponse_OK +} + +func (m *CreateBranchResponse) GetBranch() *Branch { + if m != nil { + return m.Branch + } + return nil +} + +type DeleteBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} } +func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteBranchRequest) ProtoMessage() {} +func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{22} +} + +func (m *DeleteBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteBranchRequest.Unmarshal(m, b) +} +func (m *DeleteBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteBranchRequest.Marshal(b, m, deterministic) +} +func (m *DeleteBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBranchRequest.Merge(m, src) +} +func (m *DeleteBranchRequest) XXX_Size() int { + return xxx_messageInfo_DeleteBranchRequest.Size(m) +} +func (m *DeleteBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteBranchRequest proto.InternalMessageInfo + +func (m *DeleteBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *DeleteBranchRequest) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +// Not clear if we need to do status signaling; we can add fields later. +type DeleteBranchResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} } +func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteBranchResponse) ProtoMessage() {} +func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{23} +} + +func (m *DeleteBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteBranchResponse.Unmarshal(m, b) +} +func (m *DeleteBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteBranchResponse.Marshal(b, m, deterministic) +} +func (m *DeleteBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteBranchResponse.Merge(m, src) +} +func (m *DeleteBranchResponse) XXX_Size() int { + return xxx_messageInfo_DeleteBranchResponse.Size(m) +} +func (m *DeleteBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteBranchResponse proto.InternalMessageInfo + +type FindBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // Name can be 'master' but also 'refs/heads/master' + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} } +func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) } +func (*FindBranchRequest) ProtoMessage() {} +func (*FindBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{24} +} + +func (m *FindBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindBranchRequest.Unmarshal(m, b) +} +func (m *FindBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindBranchRequest.Marshal(b, m, deterministic) +} +func (m *FindBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindBranchRequest.Merge(m, src) +} +func (m *FindBranchRequest) XXX_Size() int { + return xxx_messageInfo_FindBranchRequest.Size(m) +} +func (m *FindBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindBranchRequest proto.InternalMessageInfo + +func (m *FindBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindBranchRequest) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +type FindBranchResponse struct { + Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} } +func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) } +func (*FindBranchResponse) ProtoMessage() {} +func (*FindBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{25} +} + +func (m *FindBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindBranchResponse.Unmarshal(m, b) +} +func (m *FindBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindBranchResponse.Marshal(b, m, deterministic) +} +func (m *FindBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindBranchResponse.Merge(m, src) +} +func (m *FindBranchResponse) XXX_Size() int { + return xxx_messageInfo_FindBranchResponse.Size(m) +} +func (m *FindBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindBranchResponse proto.InternalMessageInfo + +func (m *FindBranchResponse) GetBranch() *Branch { + if m != nil { + return m.Branch + } + return nil +} + +type DeleteRefsRequest struct { + 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"` + Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} } +func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteRefsRequest) ProtoMessage() {} +func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{26} +} + +func (m *DeleteRefsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRefsRequest.Unmarshal(m, b) +} +func (m *DeleteRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRefsRequest.Marshal(b, m, deterministic) +} +func (m *DeleteRefsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRefsRequest.Merge(m, src) +} +func (m *DeleteRefsRequest) XXX_Size() int { + return xxx_messageInfo_DeleteRefsRequest.Size(m) +} +func (m *DeleteRefsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRefsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRefsRequest proto.InternalMessageInfo + +func (m *DeleteRefsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *DeleteRefsRequest) GetExceptWithPrefix() [][]byte { + if m != nil { + return m.ExceptWithPrefix + } + return nil +} + +func (m *DeleteRefsRequest) GetRefs() [][]byte { + if m != nil { + return m.Refs + } + return nil +} + +type DeleteRefsResponse struct { + GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} } +func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteRefsResponse) ProtoMessage() {} +func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{27} +} + +func (m *DeleteRefsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteRefsResponse.Unmarshal(m, b) +} +func (m *DeleteRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteRefsResponse.Marshal(b, m, deterministic) +} +func (m *DeleteRefsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteRefsResponse.Merge(m, src) +} +func (m *DeleteRefsResponse) XXX_Size() int { + return xxx_messageInfo_DeleteRefsResponse.Size(m) +} +func (m *DeleteRefsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteRefsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteRefsResponse proto.InternalMessageInfo + +func (m *DeleteRefsResponse) GetGitError() string { + if m != nil { + return m.GitError + } + return "" +} + +type ListBranchNamesContainingCommitRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBranchNamesContainingCommitRequest) Reset() { + *m = ListBranchNamesContainingCommitRequest{} +} +func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } +func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} +func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{28} +} + +func (m *ListBranchNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Unmarshal(m, b) +} +func (m *ListBranchNamesContainingCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Marshal(b, m, deterministic) +} +func (m *ListBranchNamesContainingCommitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBranchNamesContainingCommitRequest.Merge(m, src) +} +func (m *ListBranchNamesContainingCommitRequest) XXX_Size() int { + return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Size(m) +} +func (m *ListBranchNamesContainingCommitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListBranchNamesContainingCommitRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBranchNamesContainingCommitRequest proto.InternalMessageInfo + +func (m *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListBranchNamesContainingCommitRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *ListBranchNamesContainingCommitRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +type ListBranchNamesContainingCommitResponse struct { + BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListBranchNamesContainingCommitResponse) Reset() { + *m = ListBranchNamesContainingCommitResponse{} +} +func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } +func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} +func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{29} +} + +func (m *ListBranchNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Unmarshal(m, b) +} +func (m *ListBranchNamesContainingCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Marshal(b, m, deterministic) +} +func (m *ListBranchNamesContainingCommitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListBranchNamesContainingCommitResponse.Merge(m, src) +} +func (m *ListBranchNamesContainingCommitResponse) XXX_Size() int { + return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Size(m) +} +func (m *ListBranchNamesContainingCommitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListBranchNamesContainingCommitResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListBranchNamesContainingCommitResponse proto.InternalMessageInfo + +func (m *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { + if m != nil { + return m.BranchNames + } + return nil +} + +type ListTagNamesContainingCommitRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagNamesContainingCommitRequest{} } +func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } +func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} +func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{30} +} + +func (m *ListTagNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTagNamesContainingCommitRequest.Unmarshal(m, b) +} +func (m *ListTagNamesContainingCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTagNamesContainingCommitRequest.Marshal(b, m, deterministic) +} +func (m *ListTagNamesContainingCommitRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTagNamesContainingCommitRequest.Merge(m, src) +} +func (m *ListTagNamesContainingCommitRequest) XXX_Size() int { + return xxx_messageInfo_ListTagNamesContainingCommitRequest.Size(m) +} +func (m *ListTagNamesContainingCommitRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTagNamesContainingCommitRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTagNamesContainingCommitRequest proto.InternalMessageInfo + +func (m *ListTagNamesContainingCommitRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListTagNamesContainingCommitRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *ListTagNamesContainingCommitRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +type ListTagNamesContainingCommitResponse struct { + TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNamesContainingCommitResponse{} } +func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } +func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} +func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{31} +} + +func (m *ListTagNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListTagNamesContainingCommitResponse.Unmarshal(m, b) +} +func (m *ListTagNamesContainingCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListTagNamesContainingCommitResponse.Marshal(b, m, deterministic) +} +func (m *ListTagNamesContainingCommitResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTagNamesContainingCommitResponse.Merge(m, src) +} +func (m *ListTagNamesContainingCommitResponse) XXX_Size() int { + return xxx_messageInfo_ListTagNamesContainingCommitResponse.Size(m) +} +func (m *ListTagNamesContainingCommitResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTagNamesContainingCommitResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTagNamesContainingCommitResponse proto.InternalMessageInfo + +func (m *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { + if m != nil { + return m.TagNames + } + return nil +} + +type GetTagMessagesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} } +func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) } +func (*GetTagMessagesRequest) ProtoMessage() {} +func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{32} +} + +func (m *GetTagMessagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTagMessagesRequest.Unmarshal(m, b) +} +func (m *GetTagMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTagMessagesRequest.Marshal(b, m, deterministic) +} +func (m *GetTagMessagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTagMessagesRequest.Merge(m, src) +} +func (m *GetTagMessagesRequest) XXX_Size() int { + return xxx_messageInfo_GetTagMessagesRequest.Size(m) +} +func (m *GetTagMessagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTagMessagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTagMessagesRequest proto.InternalMessageInfo + +func (m *GetTagMessagesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetTagMessagesRequest) GetTagIds() []string { + if m != nil { + return m.TagIds + } + return nil +} + +type GetTagMessagesResponse struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} } +func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) } +func (*GetTagMessagesResponse) ProtoMessage() {} +func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{33} +} + +func (m *GetTagMessagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetTagMessagesResponse.Unmarshal(m, b) +} +func (m *GetTagMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetTagMessagesResponse.Marshal(b, m, deterministic) +} +func (m *GetTagMessagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTagMessagesResponse.Merge(m, src) +} +func (m *GetTagMessagesResponse) XXX_Size() int { + return xxx_messageInfo_GetTagMessagesResponse.Size(m) +} +func (m *GetTagMessagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTagMessagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTagMessagesResponse proto.InternalMessageInfo + +func (m *GetTagMessagesResponse) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *GetTagMessagesResponse) GetTagId() string { + if m != nil { + return m.TagId + } + return "" +} + +type ListNewCommitsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} } +func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) } +func (*ListNewCommitsRequest) ProtoMessage() {} +func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{34} +} + +func (m *ListNewCommitsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNewCommitsRequest.Unmarshal(m, b) +} +func (m *ListNewCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNewCommitsRequest.Marshal(b, m, deterministic) +} +func (m *ListNewCommitsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNewCommitsRequest.Merge(m, src) +} +func (m *ListNewCommitsRequest) XXX_Size() int { + return xxx_messageInfo_ListNewCommitsRequest.Size(m) +} +func (m *ListNewCommitsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNewCommitsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNewCommitsRequest proto.InternalMessageInfo + +func (m *ListNewCommitsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ListNewCommitsRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +type ListNewCommitsResponse struct { + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{} } +func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) } +func (*ListNewCommitsResponse) ProtoMessage() {} +func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{35} +} + +func (m *ListNewCommitsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListNewCommitsResponse.Unmarshal(m, b) +} +func (m *ListNewCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListNewCommitsResponse.Marshal(b, m, deterministic) +} +func (m *ListNewCommitsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNewCommitsResponse.Merge(m, src) +} +func (m *ListNewCommitsResponse) XXX_Size() int { + return xxx_messageInfo_ListNewCommitsResponse.Size(m) +} +func (m *ListNewCommitsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNewCommitsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNewCommitsResponse proto.InternalMessageInfo + +func (m *ListNewCommitsResponse) GetCommits() []*GitCommit { + if m != nil { + return m.Commits + } + return nil +} + +type FindAllRemoteBranchesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranchesRequest{} } +func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) } +func (*FindAllRemoteBranchesRequest) ProtoMessage() {} +func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{36} +} + +func (m *FindAllRemoteBranchesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllRemoteBranchesRequest.Unmarshal(m, b) +} +func (m *FindAllRemoteBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllRemoteBranchesRequest.Marshal(b, m, deterministic) +} +func (m *FindAllRemoteBranchesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllRemoteBranchesRequest.Merge(m, src) +} +func (m *FindAllRemoteBranchesRequest) XXX_Size() int { + return xxx_messageInfo_FindAllRemoteBranchesRequest.Size(m) +} +func (m *FindAllRemoteBranchesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllRemoteBranchesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllRemoteBranchesRequest proto.InternalMessageInfo + +func (m *FindAllRemoteBranchesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindAllRemoteBranchesRequest) GetRemoteName() string { + if m != nil { + return m.RemoteName + } + return "" +} + +type FindAllRemoteBranchesResponse struct { + Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBranchesResponse{} } +func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) } +func (*FindAllRemoteBranchesResponse) ProtoMessage() {} +func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{37} +} + +func (m *FindAllRemoteBranchesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindAllRemoteBranchesResponse.Unmarshal(m, b) +} +func (m *FindAllRemoteBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindAllRemoteBranchesResponse.Marshal(b, m, deterministic) +} +func (m *FindAllRemoteBranchesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindAllRemoteBranchesResponse.Merge(m, src) +} +func (m *FindAllRemoteBranchesResponse) XXX_Size() int { + return xxx_messageInfo_FindAllRemoteBranchesResponse.Size(m) +} +func (m *FindAllRemoteBranchesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindAllRemoteBranchesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindAllRemoteBranchesResponse proto.InternalMessageInfo + +func (m *FindAllRemoteBranchesResponse) GetBranches() []*Branch { + if m != nil { + return m.Branches + } + return nil +} + +type PackRefsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + AllRefs bool `protobuf:"varint,2,opt,name=all_refs,json=allRefs,proto3" json:"all_refs,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PackRefsRequest) Reset() { *m = PackRefsRequest{} } +func (m *PackRefsRequest) String() string { return proto.CompactTextString(m) } +func (*PackRefsRequest) ProtoMessage() {} +func (*PackRefsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{38} +} + +func (m *PackRefsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PackRefsRequest.Unmarshal(m, b) +} +func (m *PackRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PackRefsRequest.Marshal(b, m, deterministic) +} +func (m *PackRefsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PackRefsRequest.Merge(m, src) +} +func (m *PackRefsRequest) XXX_Size() int { + return xxx_messageInfo_PackRefsRequest.Size(m) +} +func (m *PackRefsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PackRefsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PackRefsRequest proto.InternalMessageInfo + +func (m *PackRefsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *PackRefsRequest) GetAllRefs() bool { + if m != nil { + return m.AllRefs + } + return false +} + +type PackRefsResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PackRefsResponse) Reset() { *m = PackRefsResponse{} } +func (m *PackRefsResponse) String() string { return proto.CompactTextString(m) } +func (*PackRefsResponse) ProtoMessage() {} +func (*PackRefsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_65d958559ea81b29, []int{39} +} + +func (m *PackRefsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PackRefsResponse.Unmarshal(m, b) +} +func (m *PackRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PackRefsResponse.Marshal(b, m, deterministic) +} +func (m *PackRefsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PackRefsResponse.Merge(m, src) +} +func (m *PackRefsResponse) XXX_Size() int { + return xxx_messageInfo_PackRefsResponse.Size(m) +} +func (m *PackRefsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PackRefsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PackRefsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value) + proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value) + proto.RegisterType((*ListNewBlobsRequest)(nil), "gitaly.ListNewBlobsRequest") + proto.RegisterType((*ListNewBlobsResponse)(nil), "gitaly.ListNewBlobsResponse") + proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest") + proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse") + proto.RegisterType((*FindAllBranchNamesRequest)(nil), "gitaly.FindAllBranchNamesRequest") + proto.RegisterType((*FindAllBranchNamesResponse)(nil), "gitaly.FindAllBranchNamesResponse") + proto.RegisterType((*FindAllTagNamesRequest)(nil), "gitaly.FindAllTagNamesRequest") + proto.RegisterType((*FindAllTagNamesResponse)(nil), "gitaly.FindAllTagNamesResponse") + proto.RegisterType((*FindRefNameRequest)(nil), "gitaly.FindRefNameRequest") + proto.RegisterType((*FindRefNameResponse)(nil), "gitaly.FindRefNameResponse") + proto.RegisterType((*FindLocalBranchesRequest)(nil), "gitaly.FindLocalBranchesRequest") + proto.RegisterType((*FindLocalBranchesResponse)(nil), "gitaly.FindLocalBranchesResponse") + proto.RegisterType((*FindLocalBranchResponse)(nil), "gitaly.FindLocalBranchResponse") + proto.RegisterType((*FindLocalBranchCommitAuthor)(nil), "gitaly.FindLocalBranchCommitAuthor") + proto.RegisterType((*FindAllBranchesRequest)(nil), "gitaly.FindAllBranchesRequest") + proto.RegisterType((*FindAllBranchesResponse)(nil), "gitaly.FindAllBranchesResponse") + proto.RegisterType((*FindAllBranchesResponse_Branch)(nil), "gitaly.FindAllBranchesResponse.Branch") + proto.RegisterType((*FindAllTagsRequest)(nil), "gitaly.FindAllTagsRequest") + proto.RegisterType((*FindAllTagsResponse)(nil), "gitaly.FindAllTagsResponse") + proto.RegisterType((*RefExistsRequest)(nil), "gitaly.RefExistsRequest") + proto.RegisterType((*RefExistsResponse)(nil), "gitaly.RefExistsResponse") + proto.RegisterType((*CreateBranchRequest)(nil), "gitaly.CreateBranchRequest") + proto.RegisterType((*CreateBranchResponse)(nil), "gitaly.CreateBranchResponse") + proto.RegisterType((*DeleteBranchRequest)(nil), "gitaly.DeleteBranchRequest") + proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse") + proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest") + proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse") + proto.RegisterType((*DeleteRefsRequest)(nil), "gitaly.DeleteRefsRequest") + proto.RegisterType((*DeleteRefsResponse)(nil), "gitaly.DeleteRefsResponse") + proto.RegisterType((*ListBranchNamesContainingCommitRequest)(nil), "gitaly.ListBranchNamesContainingCommitRequest") + proto.RegisterType((*ListBranchNamesContainingCommitResponse)(nil), "gitaly.ListBranchNamesContainingCommitResponse") + proto.RegisterType((*ListTagNamesContainingCommitRequest)(nil), "gitaly.ListTagNamesContainingCommitRequest") + proto.RegisterType((*ListTagNamesContainingCommitResponse)(nil), "gitaly.ListTagNamesContainingCommitResponse") + proto.RegisterType((*GetTagMessagesRequest)(nil), "gitaly.GetTagMessagesRequest") + proto.RegisterType((*GetTagMessagesResponse)(nil), "gitaly.GetTagMessagesResponse") + proto.RegisterType((*ListNewCommitsRequest)(nil), "gitaly.ListNewCommitsRequest") + proto.RegisterType((*ListNewCommitsResponse)(nil), "gitaly.ListNewCommitsResponse") + proto.RegisterType((*FindAllRemoteBranchesRequest)(nil), "gitaly.FindAllRemoteBranchesRequest") + proto.RegisterType((*FindAllRemoteBranchesResponse)(nil), "gitaly.FindAllRemoteBranchesResponse") + proto.RegisterType((*PackRefsRequest)(nil), "gitaly.PackRefsRequest") + proto.RegisterType((*PackRefsResponse)(nil), "gitaly.PackRefsResponse") +} + +func init() { proto.RegisterFile("ref.proto", fileDescriptor_65d958559ea81b29) } + +var fileDescriptor_65d958559ea81b29 = []byte{ + // 1638 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5b, 0x73, 0xdb, 0xb8, + 0x15, 0x0e, 0x65, 0x5b, 0x96, 0x8e, 0x14, 0x99, 0x86, 0x6f, 0x32, 0x9d, 0xc4, 0x0e, 0x72, 0x73, + 0x9a, 0x54, 0x4e, 0x94, 0x69, 0x5f, 0xda, 0x99, 0x56, 0xb6, 0xd5, 0xc4, 0x8d, 0x23, 0xbb, 0x90, + 0x9a, 0xa4, 0xb7, 0x61, 0x29, 0x09, 0xa2, 0xd9, 0x52, 0xa2, 0x42, 0x42, 0x71, 0x3c, 0xd3, 0xf6, + 0xb1, 0x33, 0x9d, 0xee, 0x4c, 0xde, 0x76, 0xff, 0xc1, 0xfe, 0x8b, 0x7d, 0xde, 0x87, 0xfd, 0x47, + 0xfb, 0xb4, 0x43, 0x00, 0x14, 0x49, 0x89, 0x92, 0x3d, 0xab, 0xcd, 0xee, 0x93, 0x04, 0xe0, 0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x38, 0x3d, + 0x66, 0x58, 0x3d, 0xab, 0x67, 0xca, 0x8e, 0xf2, 0xe3, 0x92, 0x66, 0x02, 0x0f, 0x2e, 0x75, 0x48, + 0x46, 0x76, 0x1b, 0xf2, 0x62, 0x17, 0x74, 0x41, 0xcb, 0x44, 0xae, 0x72, 0xcd, 0x50, 0xf5, 0xf7, + 0xf3, 0x19, 0x45, 0x4d, 0xe1, 0xcf, 0x14, 0xb8, 0xe3, 0x83, 0x06, 0x8c, 0xee, 0x27, 0x0e, 0xf1, + 0x08, 0xee, 0x4e, 0xf7, 0x26, 0xdc, 0x39, 0x66, 0x98, 0xb1, 0xe0, 0x32, 0x4c, 0x2a, 0xc9, 0xc8, + 0x06, 0xb0, 0xf6, 0x9c, 0xfa, 0x48, 0xaf, 0xa8, 0xe7, 0x19, 0xe6, 0x6c, 0xb7, 0xe4, 0x06, 0x2c, + 0xfa, 0xf6, 0xac, 0xb6, 0x28, 0xab, 0xac, 0x7f, 0x97, 0x98, 0x47, 0x6d, 0xdf, 0x56, 0x4a, 0x9d, + 0x23, 0xa1, 0x33, 0xf8, 0x4f, 0xb0, 0x3e, 0x6a, 0x56, 0xfa, 0x5c, 0x84, 0xc5, 0xae, 0x98, 0x93, + 0x87, 0x2c, 0x18, 0xa2, 0x35, 0xff, 0xee, 0xf2, 0xd1, 0x79, 0x32, 0xb2, 0x64, 0x81, 0x83, 0x8b, + 0x38, 0x78, 0x5c, 0x1c, 0x1b, 0x9f, 0xc1, 0x9a, 0x7c, 0x34, 0x89, 0x6c, 0x7c, 0xb2, 0x47, 0x1b, + 0xae, 0xc2, 0xfa, 0xa8, 0x25, 0x19, 0xc4, 0x23, 0x58, 0x14, 0x52, 0xc1, 0xed, 0x96, 0x70, 0xcf, + 0x06, 0x12, 0xd8, 0x13, 0x8f, 0xb1, 0x8a, 0x6d, 0x13, 0xda, 0x75, 0x82, 0xde, 0x35, 0x33, 0x5f, + 0x71, 0x39, 0x98, 0x3e, 0x6c, 0x57, 0x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7f, 0x0d, 0xf9, 0xe8, 0xb7, 0xdb, 0xb0, 0x98, 0x13, 0xbe, 0x27, 0x87, 0xc5, + 0x9c, 0xf4, 0xb9, 0x37, 0x8e, 0xfb, 0x02, 0x32, 0xc1, 0x4d, 0x88, 0x36, 0x02, 0xb5, 0x91, 0xdb, + 0x57, 0x2b, 0x8e, 0x2f, 0x8c, 0x15, 0xde, 0xfe, 0x93, 0x3f, 0xfb, 0x52, 0xb6, 0xd1, 0x2c, 0xb5, + 0x9c, 0xee, 0x9e, 0xf8, 0xfb, 0x73, 0xc7, 0x35, 0xf7, 0x84, 0xae, 0xf8, 0x28, 0xbe, 0x67, 0x3a, + 0x72, 0xdc, 0x6f, 0x36, 0xd3, 0x7c, 0xea, 0xd9, 0x77, 0x01, 0x00, 0x00, 0xff, 0xff, 0x93, 0xb1, + 0x53, 0x96, 0x64, 0x17, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// RefServiceClient is the client API for RefService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type RefServiceClient interface { + FindDefaultBranchName(ctx context.Context, in *FindDefaultBranchNameRequest, opts ...grpc.CallOption) (*FindDefaultBranchNameResponse, error) + FindAllBranchNames(ctx context.Context, in *FindAllBranchNamesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchNamesClient, error) + FindAllTagNames(ctx context.Context, in *FindAllTagNamesRequest, opts ...grpc.CallOption) (RefService_FindAllTagNamesClient, error) + // Find a Ref matching the given constraints. Response may be empty. + FindRefName(ctx context.Context, in *FindRefNameRequest, opts ...grpc.CallOption) (*FindRefNameResponse, 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) + FindAllBranches(ctx context.Context, in *FindAllBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllBranchesClient, error) + FindAllTags(ctx context.Context, in *FindAllTagsRequest, opts ...grpc.CallOption) (RefService_FindAllTagsClient, error) + FindAllRemoteBranches(ctx context.Context, in *FindAllRemoteBranchesRequest, opts ...grpc.CallOption) (RefService_FindAllRemoteBranchesClient, error) + RefExists(ctx context.Context, in *RefExistsRequest, opts ...grpc.CallOption) (*RefExistsResponse, error) + CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) + DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) + FindBranch(ctx context.Context, in *FindBranchRequest, opts ...grpc.CallOption) (*FindBranchResponse, error) + DeleteRefs(ctx context.Context, in *DeleteRefsRequest, opts ...grpc.CallOption) (*DeleteRefsResponse, error) + ListBranchNamesContainingCommit(ctx context.Context, in *ListBranchNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListBranchNamesContainingCommitClient, error) + ListTagNamesContainingCommit(ctx context.Context, in *ListTagNamesContainingCommitRequest, opts ...grpc.CallOption) (RefService_ListTagNamesContainingCommitClient, error) + GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) + // Returns commits that are only reachable from the ref passed + ListNewCommits(ctx context.Context, in *ListNewCommitsRequest, opts ...grpc.CallOption) (RefService_ListNewCommitsClient, error) + ListNewBlobs(ctx context.Context, in *ListNewBlobsRequest, opts ...grpc.CallOption) (RefService_ListNewBlobsClient, error) + PackRefs(ctx context.Context, in *PackRefsRequest, opts ...grpc.CallOption) (*PackRefsResponse, error) +} + +type refServiceClient struct { + cc *grpc.ClientConn +} + +func NewRefServiceClient(cc *grpc.ClientConn) 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) FindRefName(ctx context.Context, in *FindRefNameRequest, opts ...grpc.CallOption) (*FindRefNameResponse, error) { + out := new(FindRefNameResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/FindRefName", in, out, opts...) + if err != nil { + return nil, err + } + return out, 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) 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) CreateBranch(ctx context.Context, in *CreateBranchRequest, opts ...grpc.CallOption) (*CreateBranchResponse, error) { + out := new(CreateBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/CreateBranch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *refServiceClient) DeleteBranch(ctx context.Context, in *DeleteBranchRequest, opts ...grpc.CallOption) (*DeleteBranchResponse, error) { + out := new(DeleteBranchResponse) + err := c.cc.Invoke(ctx, "/gitaly.RefService/DeleteBranch", 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) GetTagMessages(ctx context.Context, in *GetTagMessagesRequest, opts ...grpc.CallOption) (RefService_GetTagMessagesClient, error) { + stream, err := c.cc.NewStream(ctx, &_RefService_serviceDesc.Streams[8], "/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 +} + +func (c *refServiceClient) ListNewCommits(ctx context.Context, in *ListNewCommitsRequest, opts ...grpc.CallOption) (RefService_ListNewCommitsClient, error) { + stream, err := c.cc.NewStream(ctx, &_RefService_serviceDesc.Streams[9], "/gitaly.RefService/ListNewCommits", opts...) + if err != nil { + return nil, err + } + x := &refServiceListNewCommitsClient{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_ListNewCommitsClient interface { + Recv() (*ListNewCommitsResponse, error) + grpc.ClientStream +} + +type refServiceListNewCommitsClient struct { + grpc.ClientStream +} + +func (x *refServiceListNewCommitsClient) Recv() (*ListNewCommitsResponse, error) { + m := new(ListNewCommitsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *refServiceClient) ListNewBlobs(ctx context.Context, in *ListNewBlobsRequest, opts ...grpc.CallOption) (RefService_ListNewBlobsClient, error) { + stream, err := c.cc.NewStream(ctx, &_RefService_serviceDesc.Streams[10], "/gitaly.RefService/ListNewBlobs", opts...) + if err != nil { + return nil, err + } + x := &refServiceListNewBlobsClient{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_ListNewBlobsClient interface { + Recv() (*ListNewBlobsResponse, error) + grpc.ClientStream +} + +type refServiceListNewBlobsClient struct { + grpc.ClientStream +} + +func (x *refServiceListNewBlobsClient) Recv() (*ListNewBlobsResponse, error) { + m := new(ListNewBlobsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +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 +} + +// RefServiceServer is the server API for RefService service. +type RefServiceServer interface { + FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) + FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error + FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error + // Find a Ref matching the given constraints. Response may be empty. + FindRefName(context.Context, *FindRefNameRequest) (*FindRefNameResponse, error) + // Return a stream so we can divide the response in chunks of branches + FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error + FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error + FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error + FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error + RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) + CreateBranch(context.Context, *CreateBranchRequest) (*CreateBranchResponse, error) + DeleteBranch(context.Context, *DeleteBranchRequest) (*DeleteBranchResponse, error) + FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) + DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) + ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error + ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error + GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error + // Returns commits that are only reachable from the ref passed + ListNewCommits(*ListNewCommitsRequest, RefService_ListNewCommitsServer) error + ListNewBlobs(*ListNewBlobsRequest, RefService_ListNewBlobsServer) error + PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) +} + +// UnimplementedRefServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRefServiceServer struct { +} + +func (*UnimplementedRefServiceServer) FindDefaultBranchName(ctx context.Context, req *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindDefaultBranchName not implemented") +} +func (*UnimplementedRefServiceServer) FindAllBranchNames(req *FindAllBranchNamesRequest, srv RefService_FindAllBranchNamesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllBranchNames not implemented") +} +func (*UnimplementedRefServiceServer) FindAllTagNames(req *FindAllTagNamesRequest, srv RefService_FindAllTagNamesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllTagNames not implemented") +} +func (*UnimplementedRefServiceServer) FindRefName(ctx context.Context, req *FindRefNameRequest) (*FindRefNameResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRefName not implemented") +} +func (*UnimplementedRefServiceServer) FindLocalBranches(req *FindLocalBranchesRequest, srv RefService_FindLocalBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindLocalBranches not implemented") +} +func (*UnimplementedRefServiceServer) FindAllBranches(req *FindAllBranchesRequest, srv RefService_FindAllBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllBranches not implemented") +} +func (*UnimplementedRefServiceServer) FindAllTags(req *FindAllTagsRequest, srv RefService_FindAllTagsServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllTags not implemented") +} +func (*UnimplementedRefServiceServer) FindAllRemoteBranches(req *FindAllRemoteBranchesRequest, srv RefService_FindAllRemoteBranchesServer) error { + return status.Errorf(codes.Unimplemented, "method FindAllRemoteBranches not implemented") +} +func (*UnimplementedRefServiceServer) RefExists(ctx context.Context, req *RefExistsRequest) (*RefExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RefExists not implemented") +} +func (*UnimplementedRefServiceServer) CreateBranch(ctx context.Context, req *CreateBranchRequest) (*CreateBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateBranch not implemented") +} +func (*UnimplementedRefServiceServer) DeleteBranch(ctx context.Context, req *DeleteBranchRequest) (*DeleteBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteBranch not implemented") +} +func (*UnimplementedRefServiceServer) FindBranch(ctx context.Context, req *FindBranchRequest) (*FindBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindBranch not implemented") +} +func (*UnimplementedRefServiceServer) DeleteRefs(ctx context.Context, req *DeleteRefsRequest) (*DeleteRefsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteRefs not implemented") +} +func (*UnimplementedRefServiceServer) ListBranchNamesContainingCommit(req *ListBranchNamesContainingCommitRequest, srv RefService_ListBranchNamesContainingCommitServer) error { + return status.Errorf(codes.Unimplemented, "method ListBranchNamesContainingCommit not implemented") +} +func (*UnimplementedRefServiceServer) ListTagNamesContainingCommit(req *ListTagNamesContainingCommitRequest, srv RefService_ListTagNamesContainingCommitServer) error { + return status.Errorf(codes.Unimplemented, "method ListTagNamesContainingCommit not implemented") +} +func (*UnimplementedRefServiceServer) GetTagMessages(req *GetTagMessagesRequest, srv RefService_GetTagMessagesServer) error { + return status.Errorf(codes.Unimplemented, "method GetTagMessages not implemented") +} +func (*UnimplementedRefServiceServer) ListNewCommits(req *ListNewCommitsRequest, srv RefService_ListNewCommitsServer) error { + return status.Errorf(codes.Unimplemented, "method ListNewCommits not implemented") +} +func (*UnimplementedRefServiceServer) ListNewBlobs(req *ListNewBlobsRequest, srv RefService_ListNewBlobsServer) error { + return status.Errorf(codes.Unimplemented, "method ListNewBlobs not implemented") +} +func (*UnimplementedRefServiceServer) PackRefs(ctx context.Context, req *PackRefsRequest) (*PackRefsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PackRefs not implemented") +} + +func RegisterRefServiceServer(s *grpc.Server, 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_FindRefName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FindRefNameRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).FindRefName(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/FindRefName", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).FindRefName(ctx, req.(*FindRefNameRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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_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_CreateBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).CreateBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/CreateBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).CreateBranch(ctx, req.(*CreateBranchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RefService_DeleteBranch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteBranchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RefServiceServer).DeleteBranch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RefService/DeleteBranch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RefServiceServer).DeleteBranch(ctx, req.(*DeleteBranchRequest)) + } + 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_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_ListNewCommits_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListNewCommitsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListNewCommits(m, &refServiceListNewCommitsServer{stream}) +} + +type RefService_ListNewCommitsServer interface { + Send(*ListNewCommitsResponse) error + grpc.ServerStream +} + +type refServiceListNewCommitsServer struct { + grpc.ServerStream +} + +func (x *refServiceListNewCommitsServer) Send(m *ListNewCommitsResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _RefService_ListNewBlobs_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListNewBlobsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RefServiceServer).ListNewBlobs(m, &refServiceListNewBlobsServer{stream}) +} + +type RefService_ListNewBlobsServer interface { + Send(*ListNewBlobsResponse) error + grpc.ServerStream +} + +type refServiceListNewBlobsServer struct { + grpc.ServerStream +} + +func (x *refServiceListNewBlobsServer) Send(m *ListNewBlobsResponse) 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) +} + +var _RefService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RefService", + HandlerType: (*RefServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "FindDefaultBranchName", + Handler: _RefService_FindDefaultBranchName_Handler, + }, + { + MethodName: "FindRefName", + Handler: _RefService_FindRefName_Handler, + }, + { + MethodName: "RefExists", + Handler: _RefService_RefExists_Handler, + }, + { + MethodName: "CreateBranch", + Handler: _RefService_CreateBranch_Handler, + }, + { + MethodName: "DeleteBranch", + Handler: _RefService_DeleteBranch_Handler, + }, + { + MethodName: "FindBranch", + Handler: _RefService_FindBranch_Handler, + }, + { + MethodName: "DeleteRefs", + Handler: _RefService_DeleteRefs_Handler, + }, + { + MethodName: "PackRefs", + Handler: _RefService_PackRefs_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: "GetTagMessages", + Handler: _RefService_GetTagMessages_Handler, + ServerStreams: true, + }, + { + StreamName: "ListNewCommits", + Handler: _RefService_ListNewCommits_Handler, + ServerStreams: true, + }, + { + StreamName: "ListNewBlobs", + Handler: _RefService_ListNewBlobs_Handler, + ServerStreams: true, + }, + }, + Metadata: "ref.proto", +} diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go new file mode 100644 index 000000000..47d25509e --- /dev/null +++ b/proto/go/gitalypb/remote.pb.go @@ -0,0 +1,1121 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: remote.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type AddRemoteRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` + // If any, the remote is configured as a mirror with those mappings + MirrorRefmaps []string `protobuf:"bytes,5,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddRemoteRequest) Reset() { *m = AddRemoteRequest{} } +func (m *AddRemoteRequest) String() string { return proto.CompactTextString(m) } +func (*AddRemoteRequest) ProtoMessage() {} +func (*AddRemoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{0} +} + +func (m *AddRemoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddRemoteRequest.Unmarshal(m, b) +} +func (m *AddRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddRemoteRequest.Marshal(b, m, deterministic) +} +func (m *AddRemoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddRemoteRequest.Merge(m, src) +} +func (m *AddRemoteRequest) XXX_Size() int { + return xxx_messageInfo_AddRemoteRequest.Size(m) +} +func (m *AddRemoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AddRemoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AddRemoteRequest proto.InternalMessageInfo + +func (m *AddRemoteRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *AddRemoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *AddRemoteRequest) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *AddRemoteRequest) GetMirrorRefmaps() []string { + if m != nil { + return m.MirrorRefmaps + } + return nil +} + +type AddRemoteResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *AddRemoteResponse) Reset() { *m = AddRemoteResponse{} } +func (m *AddRemoteResponse) String() string { return proto.CompactTextString(m) } +func (*AddRemoteResponse) ProtoMessage() {} +func (*AddRemoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{1} +} + +func (m *AddRemoteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_AddRemoteResponse.Unmarshal(m, b) +} +func (m *AddRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_AddRemoteResponse.Marshal(b, m, deterministic) +} +func (m *AddRemoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AddRemoteResponse.Merge(m, src) +} +func (m *AddRemoteResponse) XXX_Size() int { + return xxx_messageInfo_AddRemoteResponse.Size(m) +} +func (m *AddRemoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AddRemoteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AddRemoteResponse proto.InternalMessageInfo + +type RemoveRemoteRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveRemoteRequest) Reset() { *m = RemoveRemoteRequest{} } +func (m *RemoveRemoteRequest) String() string { return proto.CompactTextString(m) } +func (*RemoveRemoteRequest) ProtoMessage() {} +func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{2} +} + +func (m *RemoveRemoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveRemoteRequest.Unmarshal(m, b) +} +func (m *RemoveRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveRemoteRequest.Marshal(b, m, deterministic) +} +func (m *RemoveRemoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveRemoteRequest.Merge(m, src) +} +func (m *RemoveRemoteRequest) XXX_Size() int { + return xxx_messageInfo_RemoveRemoteRequest.Size(m) +} +func (m *RemoveRemoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveRemoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveRemoteRequest proto.InternalMessageInfo + +func (m *RemoveRemoteRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RemoveRemoteRequest) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +type RemoveRemoteResponse struct { + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RemoveRemoteResponse) Reset() { *m = RemoveRemoteResponse{} } +func (m *RemoveRemoteResponse) String() string { return proto.CompactTextString(m) } +func (*RemoveRemoteResponse) ProtoMessage() {} +func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{3} +} + +func (m *RemoveRemoteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RemoveRemoteResponse.Unmarshal(m, b) +} +func (m *RemoveRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RemoveRemoteResponse.Marshal(b, m, deterministic) +} +func (m *RemoveRemoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveRemoteResponse.Merge(m, src) +} +func (m *RemoveRemoteResponse) XXX_Size() int { + return xxx_messageInfo_RemoveRemoteResponse.Size(m) +} +func (m *RemoveRemoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveRemoteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveRemoteResponse proto.InternalMessageInfo + +func (m *RemoveRemoteResponse) GetResult() bool { + if m != nil { + return m.Result + } + return false +} + +type FetchInternalRemoteRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RemoteRepository *Repository `protobuf:"bytes,2,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchInternalRemoteRequest) Reset() { *m = FetchInternalRemoteRequest{} } +func (m *FetchInternalRemoteRequest) String() string { return proto.CompactTextString(m) } +func (*FetchInternalRemoteRequest) ProtoMessage() {} +func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{4} +} + +func (m *FetchInternalRemoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchInternalRemoteRequest.Unmarshal(m, b) +} +func (m *FetchInternalRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchInternalRemoteRequest.Marshal(b, m, deterministic) +} +func (m *FetchInternalRemoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchInternalRemoteRequest.Merge(m, src) +} +func (m *FetchInternalRemoteRequest) XXX_Size() int { + return xxx_messageInfo_FetchInternalRemoteRequest.Size(m) +} +func (m *FetchInternalRemoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FetchInternalRemoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchInternalRemoteRequest proto.InternalMessageInfo + +func (m *FetchInternalRemoteRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FetchInternalRemoteRequest) GetRemoteRepository() *Repository { + if m != nil { + return m.RemoteRepository + } + return nil +} + +type FetchInternalRemoteResponse struct { + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchInternalRemoteResponse) Reset() { *m = FetchInternalRemoteResponse{} } +func (m *FetchInternalRemoteResponse) String() string { return proto.CompactTextString(m) } +func (*FetchInternalRemoteResponse) ProtoMessage() {} +func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{5} +} + +func (m *FetchInternalRemoteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchInternalRemoteResponse.Unmarshal(m, b) +} +func (m *FetchInternalRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchInternalRemoteResponse.Marshal(b, m, deterministic) +} +func (m *FetchInternalRemoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchInternalRemoteResponse.Merge(m, src) +} +func (m *FetchInternalRemoteResponse) XXX_Size() int { + return xxx_messageInfo_FetchInternalRemoteResponse.Size(m) +} +func (m *FetchInternalRemoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FetchInternalRemoteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchInternalRemoteResponse proto.InternalMessageInfo + +func (m *FetchInternalRemoteResponse) GetResult() bool { + if m != nil { + return m.Result + } + return false +} + +type UpdateRemoteMirrorRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RefName string `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` + OnlyBranchesMatching [][]byte `protobuf:"bytes,3,rep,name=only_branches_matching,json=onlyBranchesMatching,proto3" json:"only_branches_matching,omitempty"` + SshKey string `protobuf:"bytes,4,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` + KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateRemoteMirrorRequest) Reset() { *m = UpdateRemoteMirrorRequest{} } +func (m *UpdateRemoteMirrorRequest) String() string { return proto.CompactTextString(m) } +func (*UpdateRemoteMirrorRequest) ProtoMessage() {} +func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{6} +} + +func (m *UpdateRemoteMirrorRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateRemoteMirrorRequest.Unmarshal(m, b) +} +func (m *UpdateRemoteMirrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateRemoteMirrorRequest.Marshal(b, m, deterministic) +} +func (m *UpdateRemoteMirrorRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRemoteMirrorRequest.Merge(m, src) +} +func (m *UpdateRemoteMirrorRequest) XXX_Size() int { + return xxx_messageInfo_UpdateRemoteMirrorRequest.Size(m) +} +func (m *UpdateRemoteMirrorRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateRemoteMirrorRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateRemoteMirrorRequest proto.InternalMessageInfo + +func (m *UpdateRemoteMirrorRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *UpdateRemoteMirrorRequest) GetRefName() string { + if m != nil { + return m.RefName + } + return "" +} + +func (m *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte { + if m != nil { + return m.OnlyBranchesMatching + } + return nil +} + +func (m *UpdateRemoteMirrorRequest) GetSshKey() string { + if m != nil { + return m.SshKey + } + return "" +} + +func (m *UpdateRemoteMirrorRequest) GetKnownHosts() string { + if m != nil { + return m.KnownHosts + } + return "" +} + +type UpdateRemoteMirrorResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *UpdateRemoteMirrorResponse) Reset() { *m = UpdateRemoteMirrorResponse{} } +func (m *UpdateRemoteMirrorResponse) String() string { return proto.CompactTextString(m) } +func (*UpdateRemoteMirrorResponse) ProtoMessage() {} +func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{7} +} + +func (m *UpdateRemoteMirrorResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_UpdateRemoteMirrorResponse.Unmarshal(m, b) +} +func (m *UpdateRemoteMirrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_UpdateRemoteMirrorResponse.Marshal(b, m, deterministic) +} +func (m *UpdateRemoteMirrorResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateRemoteMirrorResponse.Merge(m, src) +} +func (m *UpdateRemoteMirrorResponse) XXX_Size() int { + return xxx_messageInfo_UpdateRemoteMirrorResponse.Size(m) +} +func (m *UpdateRemoteMirrorResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateRemoteMirrorResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateRemoteMirrorResponse proto.InternalMessageInfo + +type FindRemoteRepositoryRequest struct { + Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRemoteRepositoryRequest) Reset() { *m = FindRemoteRepositoryRequest{} } +func (m *FindRemoteRepositoryRequest) String() string { return proto.CompactTextString(m) } +func (*FindRemoteRepositoryRequest) ProtoMessage() {} +func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{8} +} + +func (m *FindRemoteRepositoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRemoteRepositoryRequest.Unmarshal(m, b) +} +func (m *FindRemoteRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRemoteRepositoryRequest.Marshal(b, m, deterministic) +} +func (m *FindRemoteRepositoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRemoteRepositoryRequest.Merge(m, src) +} +func (m *FindRemoteRepositoryRequest) XXX_Size() int { + return xxx_messageInfo_FindRemoteRepositoryRequest.Size(m) +} +func (m *FindRemoteRepositoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindRemoteRepositoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRemoteRepositoryRequest proto.InternalMessageInfo + +func (m *FindRemoteRepositoryRequest) GetRemote() string { + if m != nil { + return m.Remote + } + return "" +} + +// This migth throw a GRPC Unavailable code, to signal the request failure +// is transient. +type FindRemoteRepositoryResponse struct { + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRemoteRepositoryResponse) Reset() { *m = FindRemoteRepositoryResponse{} } +func (m *FindRemoteRepositoryResponse) String() string { return proto.CompactTextString(m) } +func (*FindRemoteRepositoryResponse) ProtoMessage() {} +func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{9} +} + +func (m *FindRemoteRepositoryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRemoteRepositoryResponse.Unmarshal(m, b) +} +func (m *FindRemoteRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRemoteRepositoryResponse.Marshal(b, m, deterministic) +} +func (m *FindRemoteRepositoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRemoteRepositoryResponse.Merge(m, src) +} +func (m *FindRemoteRepositoryResponse) XXX_Size() int { + return xxx_messageInfo_FindRemoteRepositoryResponse.Size(m) +} +func (m *FindRemoteRepositoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindRemoteRepositoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRemoteRepositoryResponse proto.InternalMessageInfo + +func (m *FindRemoteRepositoryResponse) GetExists() bool { + if m != nil { + return m.Exists + } + return false +} + +type FindRemoteRootRefRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRemoteRootRefRequest) Reset() { *m = FindRemoteRootRefRequest{} } +func (m *FindRemoteRootRefRequest) String() string { return proto.CompactTextString(m) } +func (*FindRemoteRootRefRequest) ProtoMessage() {} +func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{10} +} + +func (m *FindRemoteRootRefRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRemoteRootRefRequest.Unmarshal(m, b) +} +func (m *FindRemoteRootRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRemoteRootRefRequest.Marshal(b, m, deterministic) +} +func (m *FindRemoteRootRefRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRemoteRootRefRequest.Merge(m, src) +} +func (m *FindRemoteRootRefRequest) XXX_Size() int { + return xxx_messageInfo_FindRemoteRootRefRequest.Size(m) +} +func (m *FindRemoteRootRefRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindRemoteRootRefRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRemoteRootRefRequest proto.InternalMessageInfo + +func (m *FindRemoteRootRefRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindRemoteRootRefRequest) GetRemote() string { + if m != nil { + return m.Remote + } + return "" +} + +type FindRemoteRootRefResponse struct { + Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindRemoteRootRefResponse) Reset() { *m = FindRemoteRootRefResponse{} } +func (m *FindRemoteRootRefResponse) String() string { return proto.CompactTextString(m) } +func (*FindRemoteRootRefResponse) ProtoMessage() {} +func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{11} +} + +func (m *FindRemoteRootRefResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindRemoteRootRefResponse.Unmarshal(m, b) +} +func (m *FindRemoteRootRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindRemoteRootRefResponse.Marshal(b, m, deterministic) +} +func (m *FindRemoteRootRefResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindRemoteRootRefResponse.Merge(m, src) +} +func (m *FindRemoteRootRefResponse) XXX_Size() int { + return xxx_messageInfo_FindRemoteRootRefResponse.Size(m) +} +func (m *FindRemoteRootRefResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindRemoteRootRefResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindRemoteRootRefResponse proto.InternalMessageInfo + +func (m *FindRemoteRootRefResponse) GetRef() string { + if m != nil { + return m.Ref + } + return "" +} + +type ListRemotesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRemotesRequest) Reset() { *m = ListRemotesRequest{} } +func (m *ListRemotesRequest) String() string { return proto.CompactTextString(m) } +func (*ListRemotesRequest) ProtoMessage() {} +func (*ListRemotesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{12} +} + +func (m *ListRemotesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRemotesRequest.Unmarshal(m, b) +} +func (m *ListRemotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRemotesRequest.Marshal(b, m, deterministic) +} +func (m *ListRemotesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRemotesRequest.Merge(m, src) +} +func (m *ListRemotesRequest) XXX_Size() int { + return xxx_messageInfo_ListRemotesRequest.Size(m) +} +func (m *ListRemotesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListRemotesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRemotesRequest proto.InternalMessageInfo + +func (m *ListRemotesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type ListRemotesResponse struct { + Remotes []*ListRemotesResponse_Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRemotesResponse) Reset() { *m = ListRemotesResponse{} } +func (m *ListRemotesResponse) String() string { return proto.CompactTextString(m) } +func (*ListRemotesResponse) ProtoMessage() {} +func (*ListRemotesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{13} +} + +func (m *ListRemotesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRemotesResponse.Unmarshal(m, b) +} +func (m *ListRemotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRemotesResponse.Marshal(b, m, deterministic) +} +func (m *ListRemotesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRemotesResponse.Merge(m, src) +} +func (m *ListRemotesResponse) XXX_Size() int { + return xxx_messageInfo_ListRemotesResponse.Size(m) +} +func (m *ListRemotesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListRemotesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRemotesResponse proto.InternalMessageInfo + +func (m *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote { + if m != nil { + return m.Remotes + } + return nil +} + +type ListRemotesResponse_Remote struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + FetchUrl string `protobuf:"bytes,2,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"` + PushUrl string `protobuf:"bytes,3,opt,name=push_url,json=pushUrl,proto3" json:"push_url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListRemotesResponse_Remote) Reset() { *m = ListRemotesResponse_Remote{} } +func (m *ListRemotesResponse_Remote) String() string { return proto.CompactTextString(m) } +func (*ListRemotesResponse_Remote) ProtoMessage() {} +func (*ListRemotesResponse_Remote) Descriptor() ([]byte, []int) { + return fileDescriptor_eefc82927d57d89b, []int{13, 0} +} + +func (m *ListRemotesResponse_Remote) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListRemotesResponse_Remote.Unmarshal(m, b) +} +func (m *ListRemotesResponse_Remote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListRemotesResponse_Remote.Marshal(b, m, deterministic) +} +func (m *ListRemotesResponse_Remote) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListRemotesResponse_Remote.Merge(m, src) +} +func (m *ListRemotesResponse_Remote) XXX_Size() int { + return xxx_messageInfo_ListRemotesResponse_Remote.Size(m) +} +func (m *ListRemotesResponse_Remote) XXX_DiscardUnknown() { + xxx_messageInfo_ListRemotesResponse_Remote.DiscardUnknown(m) +} + +var xxx_messageInfo_ListRemotesResponse_Remote proto.InternalMessageInfo + +func (m *ListRemotesResponse_Remote) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *ListRemotesResponse_Remote) GetFetchUrl() string { + if m != nil { + return m.FetchUrl + } + return "" +} + +func (m *ListRemotesResponse_Remote) GetPushUrl() string { + if m != nil { + return m.PushUrl + } + return "" +} + +func init() { + proto.RegisterType((*AddRemoteRequest)(nil), "gitaly.AddRemoteRequest") + proto.RegisterType((*AddRemoteResponse)(nil), "gitaly.AddRemoteResponse") + proto.RegisterType((*RemoveRemoteRequest)(nil), "gitaly.RemoveRemoteRequest") + proto.RegisterType((*RemoveRemoteResponse)(nil), "gitaly.RemoveRemoteResponse") + proto.RegisterType((*FetchInternalRemoteRequest)(nil), "gitaly.FetchInternalRemoteRequest") + proto.RegisterType((*FetchInternalRemoteResponse)(nil), "gitaly.FetchInternalRemoteResponse") + proto.RegisterType((*UpdateRemoteMirrorRequest)(nil), "gitaly.UpdateRemoteMirrorRequest") + proto.RegisterType((*UpdateRemoteMirrorResponse)(nil), "gitaly.UpdateRemoteMirrorResponse") + proto.RegisterType((*FindRemoteRepositoryRequest)(nil), "gitaly.FindRemoteRepositoryRequest") + proto.RegisterType((*FindRemoteRepositoryResponse)(nil), "gitaly.FindRemoteRepositoryResponse") + proto.RegisterType((*FindRemoteRootRefRequest)(nil), "gitaly.FindRemoteRootRefRequest") + proto.RegisterType((*FindRemoteRootRefResponse)(nil), "gitaly.FindRemoteRootRefResponse") + proto.RegisterType((*ListRemotesRequest)(nil), "gitaly.ListRemotesRequest") + proto.RegisterType((*ListRemotesResponse)(nil), "gitaly.ListRemotesResponse") + proto.RegisterType((*ListRemotesResponse_Remote)(nil), "gitaly.ListRemotesResponse.Remote") +} + +func init() { proto.RegisterFile("remote.proto", fileDescriptor_eefc82927d57d89b) } + +var fileDescriptor_eefc82927d57d89b = []byte{ + // 723 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x4a, + 0x14, 0x96, 0xe3, 0xfc, 0x38, 0x27, 0xe9, 0x55, 0x3a, 0xa9, 0x7a, 0x1d, 0xa7, 0xd2, 0x4d, 0x7d, + 0x41, 0xf2, 0xa6, 0x49, 0x09, 0x3f, 0x2b, 0x24, 0x44, 0x17, 0xa8, 0x50, 0xca, 0xc2, 0x6d, 0x37, + 0x48, 0xc8, 0x72, 0x92, 0x71, 0x6c, 0xd5, 0xf1, 0x98, 0x19, 0xa7, 0x90, 0xc7, 0x60, 0xd5, 0x57, + 0x80, 0x0d, 0x0f, 0xc4, 0xa3, 0x74, 0x85, 0xc6, 0x33, 0x49, 0x1c, 0xe2, 0x04, 0x89, 0x8a, 0xdd, + 0x9c, 0xef, 0xfc, 0x7e, 0xc7, 0xe7, 0x1c, 0x43, 0x9d, 0xe2, 0x09, 0x49, 0x70, 0x37, 0xa6, 0x24, + 0x21, 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ae, 0xed, 0x06, 0xea, 0xe4, 0x04, 0x59, 0x59, 0x4f, 0xe3, 0x70, 0x8b, 0xc5, 0x0a, + 0xa7, 0x02, 0xef, 0xdd, 0x05, 0xd4, 0x32, 0x83, 0x8d, 0x8c, 0xdc, 0x69, 0x17, 0x81, 0xdb, 0x5b, + 0x36, 0x21, 0x13, 0xf2, 0x58, 0x39, 0x39, 0x7e, 0xcf, 0x4d, 0x43, 0x77, 0xd0, 0x1d, 0x92, 0x49, + 0x4f, 0x3c, 0x8f, 0x08, 0x1d, 0xf7, 0x44, 0x80, 0x5e, 0xfa, 0x9f, 0xef, 0x8d, 0x89, 0x94, 0xe3, + 0xc1, 0xa0, 0x9c, 0x42, 0x8f, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x27, 0xca, 0x73, 0x20, + 0x08, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// RemoteServiceClient is the client API for RemoteService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type RemoteServiceClient interface { + AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error) + FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error) + RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error) + UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) + FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) + FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) + ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (RemoteService_ListRemotesClient, error) +} + +type remoteServiceClient struct { + cc *grpc.ClientConn +} + +func NewRemoteServiceClient(cc *grpc.ClientConn) RemoteServiceClient { + return &remoteServiceClient{cc} +} + +func (c *remoteServiceClient) AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error) { + out := new(AddRemoteResponse) + err := c.cc.Invoke(ctx, "/gitaly.RemoteService/AddRemote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *remoteServiceClient) FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error) { + out := new(FetchInternalRemoteResponse) + err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FetchInternalRemote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *remoteServiceClient) RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error) { + out := new(RemoveRemoteResponse) + err := c.cc.Invoke(ctx, "/gitaly.RemoteService/RemoveRemote", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +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 +} + +func (c *remoteServiceClient) ListRemotes(ctx context.Context, in *ListRemotesRequest, opts ...grpc.CallOption) (RemoteService_ListRemotesClient, error) { + stream, err := c.cc.NewStream(ctx, &_RemoteService_serviceDesc.Streams[1], "/gitaly.RemoteService/ListRemotes", opts...) + if err != nil { + return nil, err + } + x := &remoteServiceListRemotesClient{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 RemoteService_ListRemotesClient interface { + Recv() (*ListRemotesResponse, error) + grpc.ClientStream +} + +type remoteServiceListRemotesClient struct { + grpc.ClientStream +} + +func (x *remoteServiceListRemotesClient) Recv() (*ListRemotesResponse, error) { + m := new(ListRemotesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// RemoteServiceServer is the server API for RemoteService service. +type RemoteServiceServer interface { + AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error) + FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) + RemoveRemote(context.Context, *RemoveRemoteRequest) (*RemoveRemoteResponse, error) + UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error + FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) + FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) + ListRemotes(*ListRemotesRequest, RemoteService_ListRemotesServer) error +} + +// UnimplementedRemoteServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRemoteServiceServer struct { +} + +func (*UnimplementedRemoteServiceServer) AddRemote(ctx context.Context, req *AddRemoteRequest) (*AddRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method AddRemote not implemented") +} +func (*UnimplementedRemoteServiceServer) FetchInternalRemote(ctx context.Context, req *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchInternalRemote not implemented") +} +func (*UnimplementedRemoteServiceServer) RemoveRemote(ctx context.Context, req *RemoveRemoteRequest) (*RemoveRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RemoveRemote not implemented") +} +func (*UnimplementedRemoteServiceServer) UpdateRemoteMirror(srv RemoteService_UpdateRemoteMirrorServer) error { + return status.Errorf(codes.Unimplemented, "method UpdateRemoteMirror not implemented") +} +func (*UnimplementedRemoteServiceServer) FindRemoteRepository(ctx context.Context, req *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRepository not implemented") +} +func (*UnimplementedRemoteServiceServer) FindRemoteRootRef(ctx context.Context, req *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented") +} +func (*UnimplementedRemoteServiceServer) ListRemotes(req *ListRemotesRequest, srv RemoteService_ListRemotesServer) error { + return status.Errorf(codes.Unimplemented, "method ListRemotes not implemented") +} + +func RegisterRemoteServiceServer(s *grpc.Server, srv RemoteServiceServer) { + s.RegisterService(&_RemoteService_serviceDesc, srv) +} + +func _RemoteService_AddRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AddRemoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RemoteServiceServer).AddRemote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RemoteService/AddRemote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RemoteServiceServer).AddRemote(ctx, req.(*AddRemoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RemoteService_FetchInternalRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchInternalRemoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RemoteServiceServer).FetchInternalRemote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RemoteService/FetchInternalRemote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RemoteServiceServer).FetchInternalRemote(ctx, req.(*FetchInternalRemoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RemoteService_RemoveRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RemoveRemoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RemoteServiceServer).RemoveRemote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RemoteService/RemoveRemote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RemoteServiceServer).RemoveRemote(ctx, req.(*RemoveRemoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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) +} + +func _RemoteService_ListRemotes_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListRemotesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RemoteServiceServer).ListRemotes(m, &remoteServiceListRemotesServer{stream}) +} + +type RemoteService_ListRemotesServer interface { + Send(*ListRemotesResponse) error + grpc.ServerStream +} + +type remoteServiceListRemotesServer struct { + grpc.ServerStream +} + +func (x *remoteServiceListRemotesServer) Send(m *ListRemotesResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _RemoteService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.RemoteService", + HandlerType: (*RemoteServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "AddRemote", + Handler: _RemoteService_AddRemote_Handler, + }, + { + MethodName: "FetchInternalRemote", + Handler: _RemoteService_FetchInternalRemote_Handler, + }, + { + MethodName: "RemoveRemote", + Handler: _RemoteService_RemoveRemote_Handler, + }, + { + MethodName: "FindRemoteRepository", + Handler: _RemoteService_FindRemoteRepository_Handler, + }, + { + MethodName: "FindRemoteRootRef", + Handler: _RemoteService_FindRemoteRootRef_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "UpdateRemoteMirror", + Handler: _RemoteService_UpdateRemoteMirror_Handler, + ClientStreams: true, + }, + { + StreamName: "ListRemotes", + Handler: _RemoteService_ListRemotes_Handler, + ServerStreams: true, + }, + }, + Metadata: "remote.proto", +} diff --git a/proto/go/gitalypb/repository-service.pb.go b/proto/go/gitalypb/repository-service.pb.go new file mode 100644 index 000000000..688adcbbf --- /dev/null +++ b/proto/go/gitalypb/repository-service.pb.go @@ -0,0 +1,5689 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: repository-service.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type GetArchiveRequest_Format int32 + +const ( + GetArchiveRequest_ZIP GetArchiveRequest_Format = 0 + GetArchiveRequest_TAR GetArchiveRequest_Format = 1 + GetArchiveRequest_TAR_GZ GetArchiveRequest_Format = 2 + GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 +) + +var GetArchiveRequest_Format_name = map[int32]string{ + 0: "ZIP", + 1: "TAR", + 2: "TAR_GZ", + 3: "TAR_BZ2", +} + +var GetArchiveRequest_Format_value = map[string]int32{ + "ZIP": 0, + "TAR": 1, + "TAR_GZ": 2, + "TAR_BZ2": 3, +} + +func (x GetArchiveRequest_Format) String() string { + return proto.EnumName(GetArchiveRequest_Format_name, int32(x)) +} + +func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{18, 0} +} + +type GetRawChangesResponse_RawChange_Operation int32 + +const ( + GetRawChangesResponse_RawChange_UNKNOWN GetRawChangesResponse_RawChange_Operation = 0 + GetRawChangesResponse_RawChange_ADDED GetRawChangesResponse_RawChange_Operation = 1 + GetRawChangesResponse_RawChange_COPIED GetRawChangesResponse_RawChange_Operation = 2 + GetRawChangesResponse_RawChange_DELETED GetRawChangesResponse_RawChange_Operation = 3 + GetRawChangesResponse_RawChange_MODIFIED GetRawChangesResponse_RawChange_Operation = 4 + GetRawChangesResponse_RawChange_RENAMED GetRawChangesResponse_RawChange_Operation = 5 + GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 +) + +var GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "ADDED", + 2: "COPIED", + 3: "DELETED", + 4: "MODIFIED", + 5: "RENAMED", + 6: "TYPE_CHANGED", +} + +var 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) String() string { + return proto.EnumName(GetRawChangesResponse_RawChange_Operation_name, int32(x)) +} + +func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{63, 0, 0} +} + +type RepositoryExistsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} } +func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) } +func (*RepositoryExistsRequest) ProtoMessage() {} +func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{0} +} + +func (m *RepositoryExistsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepositoryExistsRequest.Unmarshal(m, b) +} +func (m *RepositoryExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepositoryExistsRequest.Marshal(b, m, deterministic) +} +func (m *RepositoryExistsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepositoryExistsRequest.Merge(m, src) +} +func (m *RepositoryExistsRequest) XXX_Size() int { + return xxx_messageInfo_RepositoryExistsRequest.Size(m) +} +func (m *RepositoryExistsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RepositoryExistsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RepositoryExistsRequest proto.InternalMessageInfo + +func (m *RepositoryExistsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type RepositoryExistsResponse struct { + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} } +func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) } +func (*RepositoryExistsResponse) ProtoMessage() {} +func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{1} +} + +func (m *RepositoryExistsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepositoryExistsResponse.Unmarshal(m, b) +} +func (m *RepositoryExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepositoryExistsResponse.Marshal(b, m, deterministic) +} +func (m *RepositoryExistsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepositoryExistsResponse.Merge(m, src) +} +func (m *RepositoryExistsResponse) XXX_Size() int { + return xxx_messageInfo_RepositoryExistsResponse.Size(m) +} +func (m *RepositoryExistsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RepositoryExistsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RepositoryExistsResponse proto.InternalMessageInfo + +func (m *RepositoryExistsResponse) GetExists() bool { + if m != nil { + return m.Exists + } + return false +} + +type RepackIncrementalRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} } +func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) } +func (*RepackIncrementalRequest) ProtoMessage() {} +func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{2} +} + +func (m *RepackIncrementalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepackIncrementalRequest.Unmarshal(m, b) +} +func (m *RepackIncrementalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepackIncrementalRequest.Marshal(b, m, deterministic) +} +func (m *RepackIncrementalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepackIncrementalRequest.Merge(m, src) +} +func (m *RepackIncrementalRequest) XXX_Size() int { + return xxx_messageInfo_RepackIncrementalRequest.Size(m) +} +func (m *RepackIncrementalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RepackIncrementalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RepackIncrementalRequest proto.InternalMessageInfo + +func (m *RepackIncrementalRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type RepackIncrementalResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} } +func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) } +func (*RepackIncrementalResponse) ProtoMessage() {} +func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{3} +} + +func (m *RepackIncrementalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepackIncrementalResponse.Unmarshal(m, b) +} +func (m *RepackIncrementalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepackIncrementalResponse.Marshal(b, m, deterministic) +} +func (m *RepackIncrementalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepackIncrementalResponse.Merge(m, src) +} +func (m *RepackIncrementalResponse) XXX_Size() int { + return xxx_messageInfo_RepackIncrementalResponse.Size(m) +} +func (m *RepackIncrementalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RepackIncrementalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RepackIncrementalResponse proto.InternalMessageInfo + +type RepackFullRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} } +func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) } +func (*RepackFullRequest) ProtoMessage() {} +func (*RepackFullRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{4} +} + +func (m *RepackFullRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepackFullRequest.Unmarshal(m, b) +} +func (m *RepackFullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepackFullRequest.Marshal(b, m, deterministic) +} +func (m *RepackFullRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepackFullRequest.Merge(m, src) +} +func (m *RepackFullRequest) XXX_Size() int { + return xxx_messageInfo_RepackFullRequest.Size(m) +} +func (m *RepackFullRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RepackFullRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RepackFullRequest proto.InternalMessageInfo + +func (m *RepackFullRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RepackFullRequest) GetCreateBitmap() bool { + if m != nil { + return m.CreateBitmap + } + return false +} + +type RepackFullResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} } +func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) } +func (*RepackFullResponse) ProtoMessage() {} +func (*RepackFullResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{5} +} + +func (m *RepackFullResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepackFullResponse.Unmarshal(m, b) +} +func (m *RepackFullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepackFullResponse.Marshal(b, m, deterministic) +} +func (m *RepackFullResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepackFullResponse.Merge(m, src) +} +func (m *RepackFullResponse) XXX_Size() int { + return xxx_messageInfo_RepackFullResponse.Size(m) +} +func (m *RepackFullResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RepackFullResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RepackFullResponse proto.InternalMessageInfo + +type GarbageCollectRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} } +func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) } +func (*GarbageCollectRequest) ProtoMessage() {} +func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{6} +} + +func (m *GarbageCollectRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GarbageCollectRequest.Unmarshal(m, b) +} +func (m *GarbageCollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GarbageCollectRequest.Marshal(b, m, deterministic) +} +func (m *GarbageCollectRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GarbageCollectRequest.Merge(m, src) +} +func (m *GarbageCollectRequest) XXX_Size() int { + return xxx_messageInfo_GarbageCollectRequest.Size(m) +} +func (m *GarbageCollectRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GarbageCollectRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GarbageCollectRequest proto.InternalMessageInfo + +func (m *GarbageCollectRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GarbageCollectRequest) GetCreateBitmap() bool { + if m != nil { + return m.CreateBitmap + } + return false +} + +type GarbageCollectResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GarbageCollectResponse) Reset() { *m = GarbageCollectResponse{} } +func (m *GarbageCollectResponse) String() string { return proto.CompactTextString(m) } +func (*GarbageCollectResponse) ProtoMessage() {} +func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{7} +} + +func (m *GarbageCollectResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GarbageCollectResponse.Unmarshal(m, b) +} +func (m *GarbageCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GarbageCollectResponse.Marshal(b, m, deterministic) +} +func (m *GarbageCollectResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GarbageCollectResponse.Merge(m, src) +} +func (m *GarbageCollectResponse) XXX_Size() int { + return xxx_messageInfo_GarbageCollectResponse.Size(m) +} +func (m *GarbageCollectResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GarbageCollectResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GarbageCollectResponse proto.InternalMessageInfo + +type CleanupRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CleanupRequest) Reset() { *m = CleanupRequest{} } +func (m *CleanupRequest) String() string { return proto.CompactTextString(m) } +func (*CleanupRequest) ProtoMessage() {} +func (*CleanupRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{8} +} + +func (m *CleanupRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CleanupRequest.Unmarshal(m, b) +} +func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CleanupRequest.Marshal(b, m, deterministic) +} +func (m *CleanupRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CleanupRequest.Merge(m, src) +} +func (m *CleanupRequest) XXX_Size() int { + return xxx_messageInfo_CleanupRequest.Size(m) +} +func (m *CleanupRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CleanupRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CleanupRequest proto.InternalMessageInfo + +func (m *CleanupRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type CleanupResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CleanupResponse) Reset() { *m = CleanupResponse{} } +func (m *CleanupResponse) String() string { return proto.CompactTextString(m) } +func (*CleanupResponse) ProtoMessage() {} +func (*CleanupResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{9} +} + +func (m *CleanupResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CleanupResponse.Unmarshal(m, b) +} +func (m *CleanupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CleanupResponse.Marshal(b, m, deterministic) +} +func (m *CleanupResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CleanupResponse.Merge(m, src) +} +func (m *CleanupResponse) XXX_Size() int { + return xxx_messageInfo_CleanupResponse.Size(m) +} +func (m *CleanupResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CleanupResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CleanupResponse proto.InternalMessageInfo + +type RepositorySizeRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} } +func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) } +func (*RepositorySizeRequest) ProtoMessage() {} +func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{10} +} + +func (m *RepositorySizeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepositorySizeRequest.Unmarshal(m, b) +} +func (m *RepositorySizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepositorySizeRequest.Marshal(b, m, deterministic) +} +func (m *RepositorySizeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepositorySizeRequest.Merge(m, src) +} +func (m *RepositorySizeRequest) XXX_Size() int { + return xxx_messageInfo_RepositorySizeRequest.Size(m) +} +func (m *RepositorySizeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RepositorySizeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RepositorySizeRequest proto.InternalMessageInfo + +func (m *RepositorySizeRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type RepositorySizeResponse struct { + // Repository size in kilobytes + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} } +func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) } +func (*RepositorySizeResponse) ProtoMessage() {} +func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{11} +} + +func (m *RepositorySizeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RepositorySizeResponse.Unmarshal(m, b) +} +func (m *RepositorySizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RepositorySizeResponse.Marshal(b, m, deterministic) +} +func (m *RepositorySizeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RepositorySizeResponse.Merge(m, src) +} +func (m *RepositorySizeResponse) XXX_Size() int { + return xxx_messageInfo_RepositorySizeResponse.Size(m) +} +func (m *RepositorySizeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RepositorySizeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RepositorySizeResponse proto.InternalMessageInfo + +func (m *RepositorySizeResponse) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +type ApplyGitattributesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} } +func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) } +func (*ApplyGitattributesRequest) ProtoMessage() {} +func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{12} +} + +func (m *ApplyGitattributesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyGitattributesRequest.Unmarshal(m, b) +} +func (m *ApplyGitattributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyGitattributesRequest.Marshal(b, m, deterministic) +} +func (m *ApplyGitattributesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyGitattributesRequest.Merge(m, src) +} +func (m *ApplyGitattributesRequest) XXX_Size() int { + return xxx_messageInfo_ApplyGitattributesRequest.Size(m) +} +func (m *ApplyGitattributesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyGitattributesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyGitattributesRequest proto.InternalMessageInfo + +func (m *ApplyGitattributesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *ApplyGitattributesRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type ApplyGitattributesResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} } +func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) } +func (*ApplyGitattributesResponse) ProtoMessage() {} +func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{13} +} + +func (m *ApplyGitattributesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ApplyGitattributesResponse.Unmarshal(m, b) +} +func (m *ApplyGitattributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ApplyGitattributesResponse.Marshal(b, m, deterministic) +} +func (m *ApplyGitattributesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ApplyGitattributesResponse.Merge(m, src) +} +func (m *ApplyGitattributesResponse) XXX_Size() int { + return xxx_messageInfo_ApplyGitattributesResponse.Size(m) +} +func (m *ApplyGitattributesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ApplyGitattributesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ApplyGitattributesResponse proto.InternalMessageInfo + +type FetchRemoteRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` + Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` + NoTags bool `protobuf:"varint,4,opt,name=no_tags,json=noTags,proto3" json:"no_tags,omitempty"` + Timeout int32 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` + SshKey string `protobuf:"bytes,6,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` + KnownHosts string `protobuf:"bytes,7,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` + NoPrune bool `protobuf:"varint,9,opt,name=no_prune,json=noPrune,proto3" json:"no_prune,omitempty"` + RemoteParams *Remote `protobuf:"bytes,10,opt,name=remote_params,json=remoteParams,proto3" json:"remote_params,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} } +func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) } +func (*FetchRemoteRequest) ProtoMessage() {} +func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{14} +} + +func (m *FetchRemoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchRemoteRequest.Unmarshal(m, b) +} +func (m *FetchRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchRemoteRequest.Marshal(b, m, deterministic) +} +func (m *FetchRemoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchRemoteRequest.Merge(m, src) +} +func (m *FetchRemoteRequest) XXX_Size() int { + return xxx_messageInfo_FetchRemoteRequest.Size(m) +} +func (m *FetchRemoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FetchRemoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchRemoteRequest proto.InternalMessageInfo + +func (m *FetchRemoteRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FetchRemoteRequest) GetRemote() string { + if m != nil { + return m.Remote + } + return "" +} + +func (m *FetchRemoteRequest) GetForce() bool { + if m != nil { + return m.Force + } + return false +} + +func (m *FetchRemoteRequest) GetNoTags() bool { + if m != nil { + return m.NoTags + } + return false +} + +func (m *FetchRemoteRequest) GetTimeout() int32 { + if m != nil { + return m.Timeout + } + return 0 +} + +func (m *FetchRemoteRequest) GetSshKey() string { + if m != nil { + return m.SshKey + } + return "" +} + +func (m *FetchRemoteRequest) GetKnownHosts() string { + if m != nil { + return m.KnownHosts + } + return "" +} + +func (m *FetchRemoteRequest) GetNoPrune() bool { + if m != nil { + return m.NoPrune + } + return false +} + +func (m *FetchRemoteRequest) GetRemoteParams() *Remote { + if m != nil { + return m.RemoteParams + } + return nil +} + +type FetchRemoteResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchRemoteResponse) Reset() { *m = FetchRemoteResponse{} } +func (m *FetchRemoteResponse) String() string { return proto.CompactTextString(m) } +func (*FetchRemoteResponse) ProtoMessage() {} +func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{15} +} + +func (m *FetchRemoteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchRemoteResponse.Unmarshal(m, b) +} +func (m *FetchRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchRemoteResponse.Marshal(b, m, deterministic) +} +func (m *FetchRemoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchRemoteResponse.Merge(m, src) +} +func (m *FetchRemoteResponse) XXX_Size() int { + return xxx_messageInfo_FetchRemoteResponse.Size(m) +} +func (m *FetchRemoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FetchRemoteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchRemoteResponse proto.InternalMessageInfo + +type CreateRepositoryRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} } +func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryRequest) ProtoMessage() {} +func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{16} +} + +func (m *CreateRepositoryRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryRequest.Unmarshal(m, b) +} +func (m *CreateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryRequest.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryRequest.Merge(m, src) +} +func (m *CreateRepositoryRequest) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryRequest.Size(m) +} +func (m *CreateRepositoryRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryRequest proto.InternalMessageInfo + +func (m *CreateRepositoryRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type CreateRepositoryResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} } +func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryResponse) ProtoMessage() {} +func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{17} +} + +func (m *CreateRepositoryResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryResponse.Unmarshal(m, b) +} +func (m *CreateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryResponse.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryResponse.Merge(m, src) +} +func (m *CreateRepositoryResponse) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryResponse.Size(m) +} +func (m *CreateRepositoryResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryResponse proto.InternalMessageInfo + +type GetArchiveRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` + Format GetArchiveRequest_Format `protobuf:"varint,4,opt,name=format,proto3,enum=gitaly.GetArchiveRequest_Format" json:"format,omitempty"` + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} } +func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) } +func (*GetArchiveRequest) ProtoMessage() {} +func (*GetArchiveRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{18} +} + +func (m *GetArchiveRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetArchiveRequest.Unmarshal(m, b) +} +func (m *GetArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetArchiveRequest.Marshal(b, m, deterministic) +} +func (m *GetArchiveRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetArchiveRequest.Merge(m, src) +} +func (m *GetArchiveRequest) XXX_Size() int { + return xxx_messageInfo_GetArchiveRequest.Size(m) +} +func (m *GetArchiveRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetArchiveRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArchiveRequest proto.InternalMessageInfo + +func (m *GetArchiveRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetArchiveRequest) GetCommitId() string { + if m != nil { + return m.CommitId + } + return "" +} + +func (m *GetArchiveRequest) GetPrefix() string { + if m != nil { + return m.Prefix + } + return "" +} + +func (m *GetArchiveRequest) GetFormat() GetArchiveRequest_Format { + if m != nil { + return m.Format + } + return GetArchiveRequest_ZIP +} + +func (m *GetArchiveRequest) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type GetArchiveResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} } +func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) } +func (*GetArchiveResponse) ProtoMessage() {} +func (*GetArchiveResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{19} +} + +func (m *GetArchiveResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetArchiveResponse.Unmarshal(m, b) +} +func (m *GetArchiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetArchiveResponse.Marshal(b, m, deterministic) +} +func (m *GetArchiveResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetArchiveResponse.Merge(m, src) +} +func (m *GetArchiveResponse) XXX_Size() int { + return xxx_messageInfo_GetArchiveResponse.Size(m) +} +func (m *GetArchiveResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetArchiveResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetArchiveResponse proto.InternalMessageInfo + +func (m *GetArchiveResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type HasLocalBranchesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} } +func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) } +func (*HasLocalBranchesRequest) ProtoMessage() {} +func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{20} +} + +func (m *HasLocalBranchesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HasLocalBranchesRequest.Unmarshal(m, b) +} +func (m *HasLocalBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HasLocalBranchesRequest.Marshal(b, m, deterministic) +} +func (m *HasLocalBranchesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HasLocalBranchesRequest.Merge(m, src) +} +func (m *HasLocalBranchesRequest) XXX_Size() int { + return xxx_messageInfo_HasLocalBranchesRequest.Size(m) +} +func (m *HasLocalBranchesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HasLocalBranchesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HasLocalBranchesRequest proto.InternalMessageInfo + +func (m *HasLocalBranchesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type HasLocalBranchesResponse struct { + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} } +func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) } +func (*HasLocalBranchesResponse) ProtoMessage() {} +func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{21} +} + +func (m *HasLocalBranchesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_HasLocalBranchesResponse.Unmarshal(m, b) +} +func (m *HasLocalBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_HasLocalBranchesResponse.Marshal(b, m, deterministic) +} +func (m *HasLocalBranchesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HasLocalBranchesResponse.Merge(m, src) +} +func (m *HasLocalBranchesResponse) XXX_Size() int { + return xxx_messageInfo_HasLocalBranchesResponse.Size(m) +} +func (m *HasLocalBranchesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HasLocalBranchesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HasLocalBranchesResponse proto.InternalMessageInfo + +func (m *HasLocalBranchesResponse) GetValue() bool { + if m != nil { + return m.Value + } + return false +} + +type FetchSourceBranchRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` + SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` + TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchSourceBranchRequest) Reset() { *m = FetchSourceBranchRequest{} } +func (m *FetchSourceBranchRequest) String() string { return proto.CompactTextString(m) } +func (*FetchSourceBranchRequest) ProtoMessage() {} +func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{22} +} + +func (m *FetchSourceBranchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchSourceBranchRequest.Unmarshal(m, b) +} +func (m *FetchSourceBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchSourceBranchRequest.Marshal(b, m, deterministic) +} +func (m *FetchSourceBranchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchSourceBranchRequest.Merge(m, src) +} +func (m *FetchSourceBranchRequest) XXX_Size() int { + return xxx_messageInfo_FetchSourceBranchRequest.Size(m) +} +func (m *FetchSourceBranchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FetchSourceBranchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchSourceBranchRequest proto.InternalMessageInfo + +func (m *FetchSourceBranchRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FetchSourceBranchRequest) GetSourceRepository() *Repository { + if m != nil { + return m.SourceRepository + } + return nil +} + +func (m *FetchSourceBranchRequest) GetSourceBranch() []byte { + if m != nil { + return m.SourceBranch + } + return nil +} + +func (m *FetchSourceBranchRequest) GetTargetRef() []byte { + if m != nil { + return m.TargetRef + } + return nil +} + +type FetchSourceBranchResponse struct { + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchSourceBranchResponse) Reset() { *m = FetchSourceBranchResponse{} } +func (m *FetchSourceBranchResponse) String() string { return proto.CompactTextString(m) } +func (*FetchSourceBranchResponse) ProtoMessage() {} +func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{23} +} + +func (m *FetchSourceBranchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchSourceBranchResponse.Unmarshal(m, b) +} +func (m *FetchSourceBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchSourceBranchResponse.Marshal(b, m, deterministic) +} +func (m *FetchSourceBranchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchSourceBranchResponse.Merge(m, src) +} +func (m *FetchSourceBranchResponse) XXX_Size() int { + return xxx_messageInfo_FetchSourceBranchResponse.Size(m) +} +func (m *FetchSourceBranchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FetchSourceBranchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchSourceBranchResponse proto.InternalMessageInfo + +func (m *FetchSourceBranchResponse) GetResult() bool { + if m != nil { + return m.Result + } + return false +} + +type FsckRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FsckRequest) Reset() { *m = FsckRequest{} } +func (m *FsckRequest) String() string { return proto.CompactTextString(m) } +func (*FsckRequest) ProtoMessage() {} +func (*FsckRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{24} +} + +func (m *FsckRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FsckRequest.Unmarshal(m, b) +} +func (m *FsckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FsckRequest.Marshal(b, m, deterministic) +} +func (m *FsckRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FsckRequest.Merge(m, src) +} +func (m *FsckRequest) XXX_Size() int { + return xxx_messageInfo_FsckRequest.Size(m) +} +func (m *FsckRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FsckRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FsckRequest proto.InternalMessageInfo + +func (m *FsckRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FsckResponse struct { + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FsckResponse) Reset() { *m = FsckResponse{} } +func (m *FsckResponse) String() string { return proto.CompactTextString(m) } +func (*FsckResponse) ProtoMessage() {} +func (*FsckResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{25} +} + +func (m *FsckResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FsckResponse.Unmarshal(m, b) +} +func (m *FsckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FsckResponse.Marshal(b, m, deterministic) +} +func (m *FsckResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FsckResponse.Merge(m, src) +} +func (m *FsckResponse) XXX_Size() int { + return xxx_messageInfo_FsckResponse.Size(m) +} +func (m *FsckResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FsckResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FsckResponse proto.InternalMessageInfo + +func (m *FsckResponse) GetError() []byte { + if m != nil { + return m.Error + } + return nil +} + +type WriteRefRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` + Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WriteRefRequest) Reset() { *m = WriteRefRequest{} } +func (m *WriteRefRequest) String() string { return proto.CompactTextString(m) } +func (*WriteRefRequest) ProtoMessage() {} +func (*WriteRefRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{26} +} + +func (m *WriteRefRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteRefRequest.Unmarshal(m, b) +} +func (m *WriteRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteRefRequest.Marshal(b, m, deterministic) +} +func (m *WriteRefRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteRefRequest.Merge(m, src) +} +func (m *WriteRefRequest) XXX_Size() int { + return xxx_messageInfo_WriteRefRequest.Size(m) +} +func (m *WriteRefRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WriteRefRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteRefRequest proto.InternalMessageInfo + +func (m *WriteRefRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WriteRefRequest) GetRef() []byte { + if m != nil { + return m.Ref + } + return nil +} + +func (m *WriteRefRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *WriteRefRequest) GetOldRevision() []byte { + if m != nil { + return m.OldRevision + } + return nil +} + +func (m *WriteRefRequest) GetForce() bool { + if m != nil { + return m.Force + } + return false +} + +type WriteRefResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WriteRefResponse) Reset() { *m = WriteRefResponse{} } +func (m *WriteRefResponse) String() string { return proto.CompactTextString(m) } +func (*WriteRefResponse) ProtoMessage() {} +func (*WriteRefResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{27} +} + +func (m *WriteRefResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteRefResponse.Unmarshal(m, b) +} +func (m *WriteRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteRefResponse.Marshal(b, m, deterministic) +} +func (m *WriteRefResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteRefResponse.Merge(m, src) +} +func (m *WriteRefResponse) XXX_Size() int { + return xxx_messageInfo_WriteRefResponse.Size(m) +} +func (m *WriteRefResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WriteRefResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteRefResponse proto.InternalMessageInfo + +type FindMergeBaseRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindMergeBaseRequest) Reset() { *m = FindMergeBaseRequest{} } +func (m *FindMergeBaseRequest) String() string { return proto.CompactTextString(m) } +func (*FindMergeBaseRequest) ProtoMessage() {} +func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{28} +} + +func (m *FindMergeBaseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindMergeBaseRequest.Unmarshal(m, b) +} +func (m *FindMergeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindMergeBaseRequest.Marshal(b, m, deterministic) +} +func (m *FindMergeBaseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindMergeBaseRequest.Merge(m, src) +} +func (m *FindMergeBaseRequest) XXX_Size() int { + return xxx_messageInfo_FindMergeBaseRequest.Size(m) +} +func (m *FindMergeBaseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindMergeBaseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindMergeBaseRequest proto.InternalMessageInfo + +func (m *FindMergeBaseRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FindMergeBaseRequest) GetRevisions() [][]byte { + if m != nil { + return m.Revisions + } + return nil +} + +type FindMergeBaseResponse struct { + Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} } +func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) } +func (*FindMergeBaseResponse) ProtoMessage() {} +func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{29} +} + +func (m *FindMergeBaseResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindMergeBaseResponse.Unmarshal(m, b) +} +func (m *FindMergeBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindMergeBaseResponse.Marshal(b, m, deterministic) +} +func (m *FindMergeBaseResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindMergeBaseResponse.Merge(m, src) +} +func (m *FindMergeBaseResponse) XXX_Size() int { + return xxx_messageInfo_FindMergeBaseResponse.Size(m) +} +func (m *FindMergeBaseResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindMergeBaseResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindMergeBaseResponse proto.InternalMessageInfo + +func (m *FindMergeBaseResponse) GetBase() string { + if m != nil { + return m.Base + } + return "" +} + +type CreateForkRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateForkRequest) Reset() { *m = CreateForkRequest{} } +func (m *CreateForkRequest) String() string { return proto.CompactTextString(m) } +func (*CreateForkRequest) ProtoMessage() {} +func (*CreateForkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{30} +} + +func (m *CreateForkRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateForkRequest.Unmarshal(m, b) +} +func (m *CreateForkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateForkRequest.Marshal(b, m, deterministic) +} +func (m *CreateForkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateForkRequest.Merge(m, src) +} +func (m *CreateForkRequest) XXX_Size() int { + return xxx_messageInfo_CreateForkRequest.Size(m) +} +func (m *CreateForkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateForkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateForkRequest proto.InternalMessageInfo + +func (m *CreateForkRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CreateForkRequest) GetSourceRepository() *Repository { + if m != nil { + return m.SourceRepository + } + return nil +} + +type CreateForkResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateForkResponse) Reset() { *m = CreateForkResponse{} } +func (m *CreateForkResponse) String() string { return proto.CompactTextString(m) } +func (*CreateForkResponse) ProtoMessage() {} +func (*CreateForkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{31} +} + +func (m *CreateForkResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateForkResponse.Unmarshal(m, b) +} +func (m *CreateForkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateForkResponse.Marshal(b, m, deterministic) +} +func (m *CreateForkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateForkResponse.Merge(m, src) +} +func (m *CreateForkResponse) XXX_Size() int { + return xxx_messageInfo_CreateForkResponse.Size(m) +} +func (m *CreateForkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateForkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateForkResponse proto.InternalMessageInfo + +type IsRebaseInProgressRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RebaseId string `protobuf:"bytes,2,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IsRebaseInProgressRequest) Reset() { *m = IsRebaseInProgressRequest{} } +func (m *IsRebaseInProgressRequest) String() string { return proto.CompactTextString(m) } +func (*IsRebaseInProgressRequest) ProtoMessage() {} +func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{32} +} + +func (m *IsRebaseInProgressRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsRebaseInProgressRequest.Unmarshal(m, b) +} +func (m *IsRebaseInProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsRebaseInProgressRequest.Marshal(b, m, deterministic) +} +func (m *IsRebaseInProgressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsRebaseInProgressRequest.Merge(m, src) +} +func (m *IsRebaseInProgressRequest) XXX_Size() int { + return xxx_messageInfo_IsRebaseInProgressRequest.Size(m) +} +func (m *IsRebaseInProgressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsRebaseInProgressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsRebaseInProgressRequest proto.InternalMessageInfo + +func (m *IsRebaseInProgressRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *IsRebaseInProgressRequest) GetRebaseId() string { + if m != nil { + return m.RebaseId + } + return "" +} + +type IsRebaseInProgressResponse struct { + InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IsRebaseInProgressResponse) Reset() { *m = IsRebaseInProgressResponse{} } +func (m *IsRebaseInProgressResponse) String() string { return proto.CompactTextString(m) } +func (*IsRebaseInProgressResponse) ProtoMessage() {} +func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{33} +} + +func (m *IsRebaseInProgressResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsRebaseInProgressResponse.Unmarshal(m, b) +} +func (m *IsRebaseInProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsRebaseInProgressResponse.Marshal(b, m, deterministic) +} +func (m *IsRebaseInProgressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsRebaseInProgressResponse.Merge(m, src) +} +func (m *IsRebaseInProgressResponse) XXX_Size() int { + return xxx_messageInfo_IsRebaseInProgressResponse.Size(m) +} +func (m *IsRebaseInProgressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsRebaseInProgressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IsRebaseInProgressResponse proto.InternalMessageInfo + +func (m *IsRebaseInProgressResponse) GetInProgress() bool { + if m != nil { + return m.InProgress + } + return false +} + +type IsSquashInProgressRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SquashId string `protobuf:"bytes,2,opt,name=squash_id,json=squashId,proto3" json:"squash_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IsSquashInProgressRequest) Reset() { *m = IsSquashInProgressRequest{} } +func (m *IsSquashInProgressRequest) String() string { return proto.CompactTextString(m) } +func (*IsSquashInProgressRequest) ProtoMessage() {} +func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{34} +} + +func (m *IsSquashInProgressRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsSquashInProgressRequest.Unmarshal(m, b) +} +func (m *IsSquashInProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsSquashInProgressRequest.Marshal(b, m, deterministic) +} +func (m *IsSquashInProgressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsSquashInProgressRequest.Merge(m, src) +} +func (m *IsSquashInProgressRequest) XXX_Size() int { + return xxx_messageInfo_IsSquashInProgressRequest.Size(m) +} +func (m *IsSquashInProgressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IsSquashInProgressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IsSquashInProgressRequest proto.InternalMessageInfo + +func (m *IsSquashInProgressRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *IsSquashInProgressRequest) GetSquashId() string { + if m != nil { + return m.SquashId + } + return "" +} + +type IsSquashInProgressResponse struct { + InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IsSquashInProgressResponse) Reset() { *m = IsSquashInProgressResponse{} } +func (m *IsSquashInProgressResponse) String() string { return proto.CompactTextString(m) } +func (*IsSquashInProgressResponse) ProtoMessage() {} +func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{35} +} + +func (m *IsSquashInProgressResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IsSquashInProgressResponse.Unmarshal(m, b) +} +func (m *IsSquashInProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IsSquashInProgressResponse.Marshal(b, m, deterministic) +} +func (m *IsSquashInProgressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IsSquashInProgressResponse.Merge(m, src) +} +func (m *IsSquashInProgressResponse) XXX_Size() int { + return xxx_messageInfo_IsSquashInProgressResponse.Size(m) +} +func (m *IsSquashInProgressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IsSquashInProgressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IsSquashInProgressResponse proto.InternalMessageInfo + +func (m *IsSquashInProgressResponse) GetInProgress() bool { + if m != nil { + return m.InProgress + } + return false +} + +type CreateRepositoryFromURLRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromURLRequest) Reset() { *m = CreateRepositoryFromURLRequest{} } +func (m *CreateRepositoryFromURLRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromURLRequest) ProtoMessage() {} +func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{36} +} + +func (m *CreateRepositoryFromURLRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromURLRequest.Unmarshal(m, b) +} +func (m *CreateRepositoryFromURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromURLRequest.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromURLRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromURLRequest.Merge(m, src) +} +func (m *CreateRepositoryFromURLRequest) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromURLRequest.Size(m) +} +func (m *CreateRepositoryFromURLRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromURLRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromURLRequest proto.InternalMessageInfo + +func (m *CreateRepositoryFromURLRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CreateRepositoryFromURLRequest) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +type CreateRepositoryFromURLResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromURLResponse) Reset() { *m = CreateRepositoryFromURLResponse{} } +func (m *CreateRepositoryFromURLResponse) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromURLResponse) ProtoMessage() {} +func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{37} +} + +func (m *CreateRepositoryFromURLResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromURLResponse.Unmarshal(m, b) +} +func (m *CreateRepositoryFromURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromURLResponse.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromURLResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromURLResponse.Merge(m, src) +} +func (m *CreateRepositoryFromURLResponse) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromURLResponse.Size(m) +} +func (m *CreateRepositoryFromURLResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromURLResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromURLResponse proto.InternalMessageInfo + +type CreateBundleRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateBundleRequest) Reset() { *m = CreateBundleRequest{} } +func (m *CreateBundleRequest) String() string { return proto.CompactTextString(m) } +func (*CreateBundleRequest) ProtoMessage() {} +func (*CreateBundleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{38} +} + +func (m *CreateBundleRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateBundleRequest.Unmarshal(m, b) +} +func (m *CreateBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateBundleRequest.Marshal(b, m, deterministic) +} +func (m *CreateBundleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBundleRequest.Merge(m, src) +} +func (m *CreateBundleRequest) XXX_Size() int { + return xxx_messageInfo_CreateBundleRequest.Size(m) +} +func (m *CreateBundleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBundleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBundleRequest proto.InternalMessageInfo + +func (m *CreateBundleRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type CreateBundleResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateBundleResponse) Reset() { *m = CreateBundleResponse{} } +func (m *CreateBundleResponse) String() string { return proto.CompactTextString(m) } +func (*CreateBundleResponse) ProtoMessage() {} +func (*CreateBundleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{39} +} + +func (m *CreateBundleResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateBundleResponse.Unmarshal(m, b) +} +func (m *CreateBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateBundleResponse.Marshal(b, m, deterministic) +} +func (m *CreateBundleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateBundleResponse.Merge(m, src) +} +func (m *CreateBundleResponse) XXX_Size() int { + return xxx_messageInfo_CreateBundleResponse.Size(m) +} +func (m *CreateBundleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateBundleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateBundleResponse proto.InternalMessageInfo + +func (m *CreateBundleResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type WriteConfigRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + FullPath string `protobuf:"bytes,2,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WriteConfigRequest) Reset() { *m = WriteConfigRequest{} } +func (m *WriteConfigRequest) String() string { return proto.CompactTextString(m) } +func (*WriteConfigRequest) ProtoMessage() {} +func (*WriteConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{40} +} + +func (m *WriteConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteConfigRequest.Unmarshal(m, b) +} +func (m *WriteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteConfigRequest.Marshal(b, m, deterministic) +} +func (m *WriteConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteConfigRequest.Merge(m, src) +} +func (m *WriteConfigRequest) XXX_Size() int { + return xxx_messageInfo_WriteConfigRequest.Size(m) +} +func (m *WriteConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WriteConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteConfigRequest proto.InternalMessageInfo + +func (m *WriteConfigRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WriteConfigRequest) GetFullPath() string { + if m != nil { + return m.FullPath + } + return "" +} + +type WriteConfigResponse struct { + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WriteConfigResponse) Reset() { *m = WriteConfigResponse{} } +func (m *WriteConfigResponse) String() string { return proto.CompactTextString(m) } +func (*WriteConfigResponse) ProtoMessage() {} +func (*WriteConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{41} +} + +func (m *WriteConfigResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WriteConfigResponse.Unmarshal(m, b) +} +func (m *WriteConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WriteConfigResponse.Marshal(b, m, deterministic) +} +func (m *WriteConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WriteConfigResponse.Merge(m, src) +} +func (m *WriteConfigResponse) XXX_Size() int { + return xxx_messageInfo_WriteConfigResponse.Size(m) +} +func (m *WriteConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WriteConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WriteConfigResponse proto.InternalMessageInfo + +func (m *WriteConfigResponse) GetError() []byte { + if m != nil { + return m.Error + } + return nil +} + +type SetConfigRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Entries []*SetConfigRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetConfigRequest) Reset() { *m = SetConfigRequest{} } +func (m *SetConfigRequest) String() string { return proto.CompactTextString(m) } +func (*SetConfigRequest) ProtoMessage() {} +func (*SetConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{42} +} + +func (m *SetConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetConfigRequest.Unmarshal(m, b) +} +func (m *SetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetConfigRequest.Marshal(b, m, deterministic) +} +func (m *SetConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetConfigRequest.Merge(m, src) +} +func (m *SetConfigRequest) XXX_Size() int { + return xxx_messageInfo_SetConfigRequest.Size(m) +} +func (m *SetConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SetConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SetConfigRequest proto.InternalMessageInfo + +func (m *SetConfigRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SetConfigRequest) GetEntries() []*SetConfigRequest_Entry { + if m != nil { + return m.Entries + } + return nil +} + +type SetConfigRequest_Entry struct { + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Types that are valid to be assigned to Value: + // *SetConfigRequest_Entry_ValueStr + // *SetConfigRequest_Entry_ValueInt32 + // *SetConfigRequest_Entry_ValueBool + Value isSetConfigRequest_Entry_Value `protobuf_oneof:"value"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetConfigRequest_Entry) Reset() { *m = SetConfigRequest_Entry{} } +func (m *SetConfigRequest_Entry) String() string { return proto.CompactTextString(m) } +func (*SetConfigRequest_Entry) ProtoMessage() {} +func (*SetConfigRequest_Entry) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{42, 0} +} + +func (m *SetConfigRequest_Entry) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetConfigRequest_Entry.Unmarshal(m, b) +} +func (m *SetConfigRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetConfigRequest_Entry.Marshal(b, m, deterministic) +} +func (m *SetConfigRequest_Entry) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetConfigRequest_Entry.Merge(m, src) +} +func (m *SetConfigRequest_Entry) XXX_Size() int { + return xxx_messageInfo_SetConfigRequest_Entry.Size(m) +} +func (m *SetConfigRequest_Entry) XXX_DiscardUnknown() { + xxx_messageInfo_SetConfigRequest_Entry.DiscardUnknown(m) +} + +var xxx_messageInfo_SetConfigRequest_Entry proto.InternalMessageInfo + +func (m *SetConfigRequest_Entry) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +type isSetConfigRequest_Entry_Value interface { + isSetConfigRequest_Entry_Value() +} + +type SetConfigRequest_Entry_ValueStr struct { + ValueStr string `protobuf:"bytes,2,opt,name=value_str,json=valueStr,proto3,oneof"` +} + +type SetConfigRequest_Entry_ValueInt32 struct { + ValueInt32 int32 `protobuf:"varint,3,opt,name=value_int32,json=valueInt32,proto3,oneof"` +} + +type SetConfigRequest_Entry_ValueBool struct { + ValueBool bool `protobuf:"varint,4,opt,name=value_bool,json=valueBool,proto3,oneof"` +} + +func (*SetConfigRequest_Entry_ValueStr) isSetConfigRequest_Entry_Value() {} + +func (*SetConfigRequest_Entry_ValueInt32) isSetConfigRequest_Entry_Value() {} + +func (*SetConfigRequest_Entry_ValueBool) isSetConfigRequest_Entry_Value() {} + +func (m *SetConfigRequest_Entry) GetValue() isSetConfigRequest_Entry_Value { + if m != nil { + return m.Value + } + return nil +} + +func (m *SetConfigRequest_Entry) GetValueStr() string { + if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueStr); ok { + return x.ValueStr + } + return "" +} + +func (m *SetConfigRequest_Entry) GetValueInt32() int32 { + if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueInt32); ok { + return x.ValueInt32 + } + return 0 +} + +func (m *SetConfigRequest_Entry) GetValueBool() bool { + if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueBool); ok { + return x.ValueBool + } + return false +} + +// XXX_OneofWrappers is for the internal use of the proto package. +func (*SetConfigRequest_Entry) XXX_OneofWrappers() []interface{} { + return []interface{}{ + (*SetConfigRequest_Entry_ValueStr)(nil), + (*SetConfigRequest_Entry_ValueInt32)(nil), + (*SetConfigRequest_Entry_ValueBool)(nil), + } +} + +type SetConfigResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SetConfigResponse) Reset() { *m = SetConfigResponse{} } +func (m *SetConfigResponse) String() string { return proto.CompactTextString(m) } +func (*SetConfigResponse) ProtoMessage() {} +func (*SetConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{43} +} + +func (m *SetConfigResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SetConfigResponse.Unmarshal(m, b) +} +func (m *SetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SetConfigResponse.Marshal(b, m, deterministic) +} +func (m *SetConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SetConfigResponse.Merge(m, src) +} +func (m *SetConfigResponse) XXX_Size() int { + return xxx_messageInfo_SetConfigResponse.Size(m) +} +func (m *SetConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SetConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SetConfigResponse proto.InternalMessageInfo + +type DeleteConfigRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} } +func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteConfigRequest) ProtoMessage() {} +func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{44} +} + +func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteConfigRequest.Unmarshal(m, b) +} +func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteConfigRequest.Marshal(b, m, deterministic) +} +func (m *DeleteConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteConfigRequest.Merge(m, src) +} +func (m *DeleteConfigRequest) XXX_Size() int { + return xxx_messageInfo_DeleteConfigRequest.Size(m) +} +func (m *DeleteConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteConfigRequest proto.InternalMessageInfo + +func (m *DeleteConfigRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *DeleteConfigRequest) GetKeys() []string { + if m != nil { + return m.Keys + } + return nil +} + +type DeleteConfigResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteConfigResponse) Reset() { *m = DeleteConfigResponse{} } +func (m *DeleteConfigResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteConfigResponse) ProtoMessage() {} +func (*DeleteConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{45} +} + +func (m *DeleteConfigResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteConfigResponse.Unmarshal(m, b) +} +func (m *DeleteConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteConfigResponse.Marshal(b, m, deterministic) +} +func (m *DeleteConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteConfigResponse.Merge(m, src) +} +func (m *DeleteConfigResponse) XXX_Size() int { + return xxx_messageInfo_DeleteConfigResponse.Size(m) +} +func (m *DeleteConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteConfigResponse proto.InternalMessageInfo + +type RestoreCustomHooksRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreCustomHooksRequest) Reset() { *m = RestoreCustomHooksRequest{} } +func (m *RestoreCustomHooksRequest) String() string { return proto.CompactTextString(m) } +func (*RestoreCustomHooksRequest) ProtoMessage() {} +func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{46} +} + +func (m *RestoreCustomHooksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreCustomHooksRequest.Unmarshal(m, b) +} +func (m *RestoreCustomHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreCustomHooksRequest.Marshal(b, m, deterministic) +} +func (m *RestoreCustomHooksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreCustomHooksRequest.Merge(m, src) +} +func (m *RestoreCustomHooksRequest) XXX_Size() int { + return xxx_messageInfo_RestoreCustomHooksRequest.Size(m) +} +func (m *RestoreCustomHooksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreCustomHooksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreCustomHooksRequest proto.InternalMessageInfo + +func (m *RestoreCustomHooksRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *RestoreCustomHooksRequest) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type RestoreCustomHooksResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *RestoreCustomHooksResponse) Reset() { *m = RestoreCustomHooksResponse{} } +func (m *RestoreCustomHooksResponse) String() string { return proto.CompactTextString(m) } +func (*RestoreCustomHooksResponse) ProtoMessage() {} +func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{47} +} + +func (m *RestoreCustomHooksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_RestoreCustomHooksResponse.Unmarshal(m, b) +} +func (m *RestoreCustomHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_RestoreCustomHooksResponse.Marshal(b, m, deterministic) +} +func (m *RestoreCustomHooksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestoreCustomHooksResponse.Merge(m, src) +} +func (m *RestoreCustomHooksResponse) XXX_Size() int { + return xxx_messageInfo_RestoreCustomHooksResponse.Size(m) +} +func (m *RestoreCustomHooksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RestoreCustomHooksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RestoreCustomHooksResponse proto.InternalMessageInfo + +type BackupCustomHooksRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupCustomHooksRequest) Reset() { *m = BackupCustomHooksRequest{} } +func (m *BackupCustomHooksRequest) String() string { return proto.CompactTextString(m) } +func (*BackupCustomHooksRequest) ProtoMessage() {} +func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{48} +} + +func (m *BackupCustomHooksRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupCustomHooksRequest.Unmarshal(m, b) +} +func (m *BackupCustomHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupCustomHooksRequest.Marshal(b, m, deterministic) +} +func (m *BackupCustomHooksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupCustomHooksRequest.Merge(m, src) +} +func (m *BackupCustomHooksRequest) XXX_Size() int { + return xxx_messageInfo_BackupCustomHooksRequest.Size(m) +} +func (m *BackupCustomHooksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_BackupCustomHooksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupCustomHooksRequest proto.InternalMessageInfo + +func (m *BackupCustomHooksRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type BackupCustomHooksResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *BackupCustomHooksResponse) Reset() { *m = BackupCustomHooksResponse{} } +func (m *BackupCustomHooksResponse) String() string { return proto.CompactTextString(m) } +func (*BackupCustomHooksResponse) ProtoMessage() {} +func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{49} +} + +func (m *BackupCustomHooksResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_BackupCustomHooksResponse.Unmarshal(m, b) +} +func (m *BackupCustomHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_BackupCustomHooksResponse.Marshal(b, m, deterministic) +} +func (m *BackupCustomHooksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_BackupCustomHooksResponse.Merge(m, src) +} +func (m *BackupCustomHooksResponse) XXX_Size() int { + return xxx_messageInfo_BackupCustomHooksResponse.Size(m) +} +func (m *BackupCustomHooksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_BackupCustomHooksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_BackupCustomHooksResponse proto.InternalMessageInfo + +func (m *BackupCustomHooksResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type CreateRepositoryFromBundleRequest struct { + // Only available on the first message + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromBundleRequest) Reset() { *m = CreateRepositoryFromBundleRequest{} } +func (m *CreateRepositoryFromBundleRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromBundleRequest) ProtoMessage() {} +func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{50} +} + +func (m *CreateRepositoryFromBundleRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromBundleRequest.Unmarshal(m, b) +} +func (m *CreateRepositoryFromBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromBundleRequest.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromBundleRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromBundleRequest.Merge(m, src) +} +func (m *CreateRepositoryFromBundleRequest) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromBundleRequest.Size(m) +} +func (m *CreateRepositoryFromBundleRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromBundleRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromBundleRequest proto.InternalMessageInfo + +func (m *CreateRepositoryFromBundleRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CreateRepositoryFromBundleRequest) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type CreateRepositoryFromBundleResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromBundleResponse) Reset() { *m = CreateRepositoryFromBundleResponse{} } +func (m *CreateRepositoryFromBundleResponse) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromBundleResponse) ProtoMessage() {} +func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{51} +} + +func (m *CreateRepositoryFromBundleResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromBundleResponse.Unmarshal(m, b) +} +func (m *CreateRepositoryFromBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromBundleResponse.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromBundleResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromBundleResponse.Merge(m, src) +} +func (m *CreateRepositoryFromBundleResponse) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromBundleResponse.Size(m) +} +func (m *CreateRepositoryFromBundleResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromBundleResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromBundleResponse proto.InternalMessageInfo + +type FindLicenseRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLicenseRequest) Reset() { *m = FindLicenseRequest{} } +func (m *FindLicenseRequest) String() string { return proto.CompactTextString(m) } +func (*FindLicenseRequest) ProtoMessage() {} +func (*FindLicenseRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{52} +} + +func (m *FindLicenseRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLicenseRequest.Unmarshal(m, b) +} +func (m *FindLicenseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLicenseRequest.Marshal(b, m, deterministic) +} +func (m *FindLicenseRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLicenseRequest.Merge(m, src) +} +func (m *FindLicenseRequest) XXX_Size() int { + return xxx_messageInfo_FindLicenseRequest.Size(m) +} +func (m *FindLicenseRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FindLicenseRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLicenseRequest proto.InternalMessageInfo + +func (m *FindLicenseRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type FindLicenseResponse struct { + LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FindLicenseResponse) Reset() { *m = FindLicenseResponse{} } +func (m *FindLicenseResponse) String() string { return proto.CompactTextString(m) } +func (*FindLicenseResponse) ProtoMessage() {} +func (*FindLicenseResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{53} +} + +func (m *FindLicenseResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FindLicenseResponse.Unmarshal(m, b) +} +func (m *FindLicenseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FindLicenseResponse.Marshal(b, m, deterministic) +} +func (m *FindLicenseResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FindLicenseResponse.Merge(m, src) +} +func (m *FindLicenseResponse) XXX_Size() int { + return xxx_messageInfo_FindLicenseResponse.Size(m) +} +func (m *FindLicenseResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FindLicenseResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FindLicenseResponse proto.InternalMessageInfo + +func (m *FindLicenseResponse) GetLicenseShortName() string { + if m != nil { + return m.LicenseShortName + } + return "" +} + +type GetInfoAttributesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetInfoAttributesRequest) Reset() { *m = GetInfoAttributesRequest{} } +func (m *GetInfoAttributesRequest) String() string { return proto.CompactTextString(m) } +func (*GetInfoAttributesRequest) ProtoMessage() {} +func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{54} +} + +func (m *GetInfoAttributesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetInfoAttributesRequest.Unmarshal(m, b) +} +func (m *GetInfoAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetInfoAttributesRequest.Marshal(b, m, deterministic) +} +func (m *GetInfoAttributesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInfoAttributesRequest.Merge(m, src) +} +func (m *GetInfoAttributesRequest) XXX_Size() int { + return xxx_messageInfo_GetInfoAttributesRequest.Size(m) +} +func (m *GetInfoAttributesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetInfoAttributesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetInfoAttributesRequest proto.InternalMessageInfo + +func (m *GetInfoAttributesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type GetInfoAttributesResponse struct { + Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetInfoAttributesResponse) Reset() { *m = GetInfoAttributesResponse{} } +func (m *GetInfoAttributesResponse) String() string { return proto.CompactTextString(m) } +func (*GetInfoAttributesResponse) ProtoMessage() {} +func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{55} +} + +func (m *GetInfoAttributesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetInfoAttributesResponse.Unmarshal(m, b) +} +func (m *GetInfoAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetInfoAttributesResponse.Marshal(b, m, deterministic) +} +func (m *GetInfoAttributesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetInfoAttributesResponse.Merge(m, src) +} +func (m *GetInfoAttributesResponse) XXX_Size() int { + return xxx_messageInfo_GetInfoAttributesResponse.Size(m) +} +func (m *GetInfoAttributesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetInfoAttributesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetInfoAttributesResponse proto.InternalMessageInfo + +func (m *GetInfoAttributesResponse) GetAttributes() []byte { + if m != nil { + return m.Attributes + } + return nil +} + +type CalculateChecksumRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CalculateChecksumRequest) Reset() { *m = CalculateChecksumRequest{} } +func (m *CalculateChecksumRequest) String() string { return proto.CompactTextString(m) } +func (*CalculateChecksumRequest) ProtoMessage() {} +func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{56} +} + +func (m *CalculateChecksumRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CalculateChecksumRequest.Unmarshal(m, b) +} +func (m *CalculateChecksumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CalculateChecksumRequest.Marshal(b, m, deterministic) +} +func (m *CalculateChecksumRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CalculateChecksumRequest.Merge(m, src) +} +func (m *CalculateChecksumRequest) XXX_Size() int { + return xxx_messageInfo_CalculateChecksumRequest.Size(m) +} +func (m *CalculateChecksumRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CalculateChecksumRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CalculateChecksumRequest proto.InternalMessageInfo + +func (m *CalculateChecksumRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type CalculateChecksumResponse struct { + Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CalculateChecksumResponse) Reset() { *m = CalculateChecksumResponse{} } +func (m *CalculateChecksumResponse) String() string { return proto.CompactTextString(m) } +func (*CalculateChecksumResponse) ProtoMessage() {} +func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{57} +} + +func (m *CalculateChecksumResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CalculateChecksumResponse.Unmarshal(m, b) +} +func (m *CalculateChecksumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CalculateChecksumResponse.Marshal(b, m, deterministic) +} +func (m *CalculateChecksumResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CalculateChecksumResponse.Merge(m, src) +} +func (m *CalculateChecksumResponse) XXX_Size() int { + return xxx_messageInfo_CalculateChecksumResponse.Size(m) +} +func (m *CalculateChecksumResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CalculateChecksumResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CalculateChecksumResponse proto.InternalMessageInfo + +func (m *CalculateChecksumResponse) GetChecksum() string { + if m != nil { + return m.Checksum + } + return "" +} + +type GetSnapshotRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } +func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } +func (*GetSnapshotRequest) ProtoMessage() {} +func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{58} +} + +func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) +} +func (m *GetSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSnapshotRequest.Marshal(b, m, deterministic) +} +func (m *GetSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSnapshotRequest.Merge(m, src) +} +func (m *GetSnapshotRequest) XXX_Size() int { + return xxx_messageInfo_GetSnapshotRequest.Size(m) +} +func (m *GetSnapshotRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSnapshotRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSnapshotRequest proto.InternalMessageInfo + +func (m *GetSnapshotRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type GetSnapshotResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetSnapshotResponse) Reset() { *m = GetSnapshotResponse{} } +func (m *GetSnapshotResponse) String() string { return proto.CompactTextString(m) } +func (*GetSnapshotResponse) ProtoMessage() {} +func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{59} +} + +func (m *GetSnapshotResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetSnapshotResponse.Unmarshal(m, b) +} +func (m *GetSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetSnapshotResponse.Marshal(b, m, deterministic) +} +func (m *GetSnapshotResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSnapshotResponse.Merge(m, src) +} +func (m *GetSnapshotResponse) XXX_Size() int { + return xxx_messageInfo_GetSnapshotResponse.Size(m) +} +func (m *GetSnapshotResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetSnapshotResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSnapshotResponse proto.InternalMessageInfo + +func (m *GetSnapshotResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type CreateRepositoryFromSnapshotRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` + HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromSnapshotRequest) Reset() { *m = CreateRepositoryFromSnapshotRequest{} } +func (m *CreateRepositoryFromSnapshotRequest) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {} +func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{60} +} + +func (m *CreateRepositoryFromSnapshotRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Unmarshal(m, b) +} +func (m *CreateRepositoryFromSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromSnapshotRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Merge(m, src) +} +func (m *CreateRepositoryFromSnapshotRequest) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Size(m) +} +func (m *CreateRepositoryFromSnapshotRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromSnapshotRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromSnapshotRequest proto.InternalMessageInfo + +func (m *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string { + if m != nil { + return m.HttpUrl + } + return "" +} + +func (m *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string { + if m != nil { + return m.HttpAuth + } + return "" +} + +type CreateRepositoryFromSnapshotResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CreateRepositoryFromSnapshotResponse) Reset() { *m = CreateRepositoryFromSnapshotResponse{} } +func (m *CreateRepositoryFromSnapshotResponse) String() string { return proto.CompactTextString(m) } +func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {} +func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{61} +} + +func (m *CreateRepositoryFromSnapshotResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Unmarshal(m, b) +} +func (m *CreateRepositoryFromSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Marshal(b, m, deterministic) +} +func (m *CreateRepositoryFromSnapshotResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Merge(m, src) +} +func (m *CreateRepositoryFromSnapshotResponse) XXX_Size() int { + return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Size(m) +} +func (m *CreateRepositoryFromSnapshotResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateRepositoryFromSnapshotResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateRepositoryFromSnapshotResponse proto.InternalMessageInfo + +type GetRawChangesRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` + ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRawChangesRequest) Reset() { *m = GetRawChangesRequest{} } +func (m *GetRawChangesRequest) String() string { return proto.CompactTextString(m) } +func (*GetRawChangesRequest) ProtoMessage() {} +func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{62} +} + +func (m *GetRawChangesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRawChangesRequest.Unmarshal(m, b) +} +func (m *GetRawChangesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRawChangesRequest.Marshal(b, m, deterministic) +} +func (m *GetRawChangesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRawChangesRequest.Merge(m, src) +} +func (m *GetRawChangesRequest) XXX_Size() int { + return xxx_messageInfo_GetRawChangesRequest.Size(m) +} +func (m *GetRawChangesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRawChangesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRawChangesRequest proto.InternalMessageInfo + +func (m *GetRawChangesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *GetRawChangesRequest) GetFromRevision() string { + if m != nil { + return m.FromRevision + } + return "" +} + +func (m *GetRawChangesRequest) GetToRevision() string { + if m != nil { + return m.ToRevision + } + return "" +} + +type GetRawChangesResponse struct { + RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRawChangesResponse) Reset() { *m = GetRawChangesResponse{} } +func (m *GetRawChangesResponse) String() string { return proto.CompactTextString(m) } +func (*GetRawChangesResponse) ProtoMessage() {} +func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{63} +} + +func (m *GetRawChangesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRawChangesResponse.Unmarshal(m, b) +} +func (m *GetRawChangesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRawChangesResponse.Marshal(b, m, deterministic) +} +func (m *GetRawChangesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRawChangesResponse.Merge(m, src) +} +func (m *GetRawChangesResponse) XXX_Size() int { + return xxx_messageInfo_GetRawChangesResponse.Size(m) +} +func (m *GetRawChangesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetRawChangesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRawChangesResponse proto.InternalMessageInfo + +func (m *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange { + if m != nil { + return m.RawChanges + } + return nil +} + +type GetRawChangesResponse_RawChange struct { + BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // use fields 9 and 10 in place of 3 and 4 (respectively) + NewPath string `protobuf:"bytes,3,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"` // Deprecated: Do not use. + OldPath string `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` // Deprecated: Do not use. + Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"` + RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` + OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + 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"` + OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetRawChangesResponse_RawChange) Reset() { *m = GetRawChangesResponse_RawChange{} } +func (m *GetRawChangesResponse_RawChange) String() string { return proto.CompactTextString(m) } +func (*GetRawChangesResponse_RawChange) ProtoMessage() {} +func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{63, 0} +} + +func (m *GetRawChangesResponse_RawChange) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetRawChangesResponse_RawChange.Unmarshal(m, b) +} +func (m *GetRawChangesResponse_RawChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetRawChangesResponse_RawChange.Marshal(b, m, deterministic) +} +func (m *GetRawChangesResponse_RawChange) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRawChangesResponse_RawChange.Merge(m, src) +} +func (m *GetRawChangesResponse_RawChange) XXX_Size() int { + return xxx_messageInfo_GetRawChangesResponse_RawChange.Size(m) +} +func (m *GetRawChangesResponse_RawChange) XXX_DiscardUnknown() { + xxx_messageInfo_GetRawChangesResponse_RawChange.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRawChangesResponse_RawChange proto.InternalMessageInfo + +func (m *GetRawChangesResponse_RawChange) GetBlobId() string { + if m != nil { + return m.BlobId + } + return "" +} + +func (m *GetRawChangesResponse_RawChange) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +// Deprecated: Do not use. +func (m *GetRawChangesResponse_RawChange) GetNewPath() string { + if m != nil { + return m.NewPath + } + return "" +} + +// Deprecated: Do not use. +func (m *GetRawChangesResponse_RawChange) GetOldPath() string { + if m != nil { + return m.OldPath + } + return "" +} + +func (m *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation { + if m != nil { + return m.Operation + } + return GetRawChangesResponse_RawChange_UNKNOWN +} + +func (m *GetRawChangesResponse_RawChange) GetRawOperation() string { + if m != nil { + return m.RawOperation + } + return "" +} + +func (m *GetRawChangesResponse_RawChange) GetOldMode() int32 { + if m != nil { + return m.OldMode + } + return 0 +} + +func (m *GetRawChangesResponse_RawChange) GetNewMode() int32 { + if m != nil { + return m.NewMode + } + return 0 +} + +func (m *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte { + if m != nil { + return m.NewPathBytes + } + return nil +} + +func (m *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte { + if m != nil { + return m.OldPathBytes + } + return nil +} + +type SearchFilesByNameRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchFilesByNameRequest) Reset() { *m = SearchFilesByNameRequest{} } +func (m *SearchFilesByNameRequest) String() string { return proto.CompactTextString(m) } +func (*SearchFilesByNameRequest) ProtoMessage() {} +func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{64} +} + +func (m *SearchFilesByNameRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchFilesByNameRequest.Unmarshal(m, b) +} +func (m *SearchFilesByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchFilesByNameRequest.Marshal(b, m, deterministic) +} +func (m *SearchFilesByNameRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchFilesByNameRequest.Merge(m, src) +} +func (m *SearchFilesByNameRequest) XXX_Size() int { + return xxx_messageInfo_SearchFilesByNameRequest.Size(m) +} +func (m *SearchFilesByNameRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SearchFilesByNameRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchFilesByNameRequest proto.InternalMessageInfo + +func (m *SearchFilesByNameRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SearchFilesByNameRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +func (m *SearchFilesByNameRequest) GetRef() []byte { + if m != nil { + return m.Ref + } + return nil +} + +type SearchFilesByNameResponse struct { + Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchFilesByNameResponse) Reset() { *m = SearchFilesByNameResponse{} } +func (m *SearchFilesByNameResponse) String() string { return proto.CompactTextString(m) } +func (*SearchFilesByNameResponse) ProtoMessage() {} +func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{65} +} + +func (m *SearchFilesByNameResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchFilesByNameResponse.Unmarshal(m, b) +} +func (m *SearchFilesByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchFilesByNameResponse.Marshal(b, m, deterministic) +} +func (m *SearchFilesByNameResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchFilesByNameResponse.Merge(m, src) +} +func (m *SearchFilesByNameResponse) XXX_Size() int { + return xxx_messageInfo_SearchFilesByNameResponse.Size(m) +} +func (m *SearchFilesByNameResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SearchFilesByNameResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchFilesByNameResponse proto.InternalMessageInfo + +func (m *SearchFilesByNameResponse) GetFiles() [][]byte { + if m != nil { + return m.Files + } + return nil +} + +type SearchFilesByContentRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchFilesByContentRequest) Reset() { *m = SearchFilesByContentRequest{} } +func (m *SearchFilesByContentRequest) String() string { return proto.CompactTextString(m) } +func (*SearchFilesByContentRequest) ProtoMessage() {} +func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{66} +} + +func (m *SearchFilesByContentRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchFilesByContentRequest.Unmarshal(m, b) +} +func (m *SearchFilesByContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchFilesByContentRequest.Marshal(b, m, deterministic) +} +func (m *SearchFilesByContentRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchFilesByContentRequest.Merge(m, src) +} +func (m *SearchFilesByContentRequest) XXX_Size() int { + return xxx_messageInfo_SearchFilesByContentRequest.Size(m) +} +func (m *SearchFilesByContentRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SearchFilesByContentRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchFilesByContentRequest proto.InternalMessageInfo + +func (m *SearchFilesByContentRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SearchFilesByContentRequest) GetQuery() string { + if m != nil { + return m.Query + } + return "" +} + +func (m *SearchFilesByContentRequest) GetRef() []byte { + if m != nil { + return m.Ref + } + return nil +} + +func (m *SearchFilesByContentRequest) GetChunkedResponse() bool { + if m != nil { + return m.ChunkedResponse + } + return false +} + +type SearchFilesByContentResponse struct { + Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` + MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` + EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SearchFilesByContentResponse) Reset() { *m = SearchFilesByContentResponse{} } +func (m *SearchFilesByContentResponse) String() string { return proto.CompactTextString(m) } +func (*SearchFilesByContentResponse) ProtoMessage() {} +func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{67} +} + +func (m *SearchFilesByContentResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SearchFilesByContentResponse.Unmarshal(m, b) +} +func (m *SearchFilesByContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SearchFilesByContentResponse.Marshal(b, m, deterministic) +} +func (m *SearchFilesByContentResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SearchFilesByContentResponse.Merge(m, src) +} +func (m *SearchFilesByContentResponse) XXX_Size() int { + return xxx_messageInfo_SearchFilesByContentResponse.Size(m) +} +func (m *SearchFilesByContentResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SearchFilesByContentResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SearchFilesByContentResponse proto.InternalMessageInfo + +func (m *SearchFilesByContentResponse) GetMatches() [][]byte { + if m != nil { + return m.Matches + } + return nil +} + +func (m *SearchFilesByContentResponse) GetMatchData() []byte { + if m != nil { + return m.MatchData + } + return nil +} + +func (m *SearchFilesByContentResponse) GetEndOfMatch() bool { + if m != nil { + return m.EndOfMatch + } + return false +} + +type PreFetchRequest struct { + SourceRepository *Repository `protobuf:"bytes,1,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` + TargetRepository *Repository `protobuf:"bytes,2,opt,name=target_repository,json=targetRepository,proto3" json:"target_repository,omitempty"` + ObjectPool *ObjectPool `protobuf:"bytes,3,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PreFetchRequest) Reset() { *m = PreFetchRequest{} } +func (m *PreFetchRequest) String() string { return proto.CompactTextString(m) } +func (*PreFetchRequest) ProtoMessage() {} +func (*PreFetchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{68} +} + +func (m *PreFetchRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PreFetchRequest.Unmarshal(m, b) +} +func (m *PreFetchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PreFetchRequest.Marshal(b, m, deterministic) +} +func (m *PreFetchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PreFetchRequest.Merge(m, src) +} +func (m *PreFetchRequest) XXX_Size() int { + return xxx_messageInfo_PreFetchRequest.Size(m) +} +func (m *PreFetchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PreFetchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PreFetchRequest proto.InternalMessageInfo + +func (m *PreFetchRequest) GetSourceRepository() *Repository { + if m != nil { + return m.SourceRepository + } + return nil +} + +func (m *PreFetchRequest) GetTargetRepository() *Repository { + if m != nil { + return m.TargetRepository + } + return nil +} + +func (m *PreFetchRequest) GetObjectPool() *ObjectPool { + if m != nil { + return m.ObjectPool + } + return nil +} + +type PreFetchResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PreFetchResponse) Reset() { *m = PreFetchResponse{} } +func (m *PreFetchResponse) String() string { return proto.CompactTextString(m) } +func (*PreFetchResponse) ProtoMessage() {} +func (*PreFetchResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{69} +} + +func (m *PreFetchResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PreFetchResponse.Unmarshal(m, b) +} +func (m *PreFetchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PreFetchResponse.Marshal(b, m, deterministic) +} +func (m *PreFetchResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PreFetchResponse.Merge(m, src) +} +func (m *PreFetchResponse) XXX_Size() int { + return xxx_messageInfo_PreFetchResponse.Size(m) +} +func (m *PreFetchResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PreFetchResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PreFetchResponse proto.InternalMessageInfo + +type Remote struct { + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + HttpAuthorizationHeader string `protobuf:"bytes,3,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"` + MirrorRefmaps []string `protobuf:"bytes,4,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Remote) Reset() { *m = Remote{} } +func (m *Remote) String() string { return proto.CompactTextString(m) } +func (*Remote) ProtoMessage() {} +func (*Remote) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{70} +} + +func (m *Remote) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Remote.Unmarshal(m, b) +} +func (m *Remote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Remote.Marshal(b, m, deterministic) +} +func (m *Remote) XXX_Merge(src proto.Message) { + xxx_messageInfo_Remote.Merge(m, src) +} +func (m *Remote) XXX_Size() int { + return xxx_messageInfo_Remote.Size(m) +} +func (m *Remote) XXX_DiscardUnknown() { + xxx_messageInfo_Remote.DiscardUnknown(m) +} + +var xxx_messageInfo_Remote proto.InternalMessageInfo + +func (m *Remote) GetUrl() string { + if m != nil { + return m.Url + } + return "" +} + +func (m *Remote) GetName() string { + if m != nil { + return m.Name + } + return "" +} + +func (m *Remote) GetHttpAuthorizationHeader() string { + if m != nil { + return m.HttpAuthorizationHeader + } + return "" +} + +func (m *Remote) GetMirrorRefmaps() []string { + if m != nil { + return m.MirrorRefmaps + } + return nil +} + +type FetchHTTPRemoteRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Remote *Remote `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` + Timeout int32 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchHTTPRemoteRequest) Reset() { *m = FetchHTTPRemoteRequest{} } +func (m *FetchHTTPRemoteRequest) String() string { return proto.CompactTextString(m) } +func (*FetchHTTPRemoteRequest) ProtoMessage() {} +func (*FetchHTTPRemoteRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{71} +} + +func (m *FetchHTTPRemoteRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchHTTPRemoteRequest.Unmarshal(m, b) +} +func (m *FetchHTTPRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchHTTPRemoteRequest.Marshal(b, m, deterministic) +} +func (m *FetchHTTPRemoteRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchHTTPRemoteRequest.Merge(m, src) +} +func (m *FetchHTTPRemoteRequest) XXX_Size() int { + return xxx_messageInfo_FetchHTTPRemoteRequest.Size(m) +} +func (m *FetchHTTPRemoteRequest) XXX_DiscardUnknown() { + xxx_messageInfo_FetchHTTPRemoteRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchHTTPRemoteRequest proto.InternalMessageInfo + +func (m *FetchHTTPRemoteRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *FetchHTTPRemoteRequest) GetRemote() *Remote { + if m != nil { + return m.Remote + } + return nil +} + +func (m *FetchHTTPRemoteRequest) GetTimeout() int32 { + if m != nil { + return m.Timeout + } + return 0 +} + +type FetchHTTPRemoteResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *FetchHTTPRemoteResponse) Reset() { *m = FetchHTTPRemoteResponse{} } +func (m *FetchHTTPRemoteResponse) String() string { return proto.CompactTextString(m) } +func (*FetchHTTPRemoteResponse) ProtoMessage() {} +func (*FetchHTTPRemoteResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{72} +} + +func (m *FetchHTTPRemoteResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_FetchHTTPRemoteResponse.Unmarshal(m, b) +} +func (m *FetchHTTPRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_FetchHTTPRemoteResponse.Marshal(b, m, deterministic) +} +func (m *FetchHTTPRemoteResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_FetchHTTPRemoteResponse.Merge(m, src) +} +func (m *FetchHTTPRemoteResponse) XXX_Size() int { + return xxx_messageInfo_FetchHTTPRemoteResponse.Size(m) +} +func (m *FetchHTTPRemoteResponse) XXX_DiscardUnknown() { + xxx_messageInfo_FetchHTTPRemoteResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_FetchHTTPRemoteResponse proto.InternalMessageInfo + +type GetObjectDirectorySizeRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetObjectDirectorySizeRequest) Reset() { *m = GetObjectDirectorySizeRequest{} } +func (m *GetObjectDirectorySizeRequest) String() string { return proto.CompactTextString(m) } +func (*GetObjectDirectorySizeRequest) ProtoMessage() {} +func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{73} +} + +func (m *GetObjectDirectorySizeRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetObjectDirectorySizeRequest.Unmarshal(m, b) +} +func (m *GetObjectDirectorySizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetObjectDirectorySizeRequest.Marshal(b, m, deterministic) +} +func (m *GetObjectDirectorySizeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetObjectDirectorySizeRequest.Merge(m, src) +} +func (m *GetObjectDirectorySizeRequest) XXX_Size() int { + return xxx_messageInfo_GetObjectDirectorySizeRequest.Size(m) +} +func (m *GetObjectDirectorySizeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetObjectDirectorySizeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetObjectDirectorySizeRequest proto.InternalMessageInfo + +func (m *GetObjectDirectorySizeRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +type GetObjectDirectorySizeResponse struct { + // Object directory size in kilobytes + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetObjectDirectorySizeResponse) Reset() { *m = GetObjectDirectorySizeResponse{} } +func (m *GetObjectDirectorySizeResponse) String() string { return proto.CompactTextString(m) } +func (*GetObjectDirectorySizeResponse) ProtoMessage() {} +func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{74} +} + +func (m *GetObjectDirectorySizeResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetObjectDirectorySizeResponse.Unmarshal(m, b) +} +func (m *GetObjectDirectorySizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetObjectDirectorySizeResponse.Marshal(b, m, deterministic) +} +func (m *GetObjectDirectorySizeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetObjectDirectorySizeResponse.Merge(m, src) +} +func (m *GetObjectDirectorySizeResponse) XXX_Size() int { + return xxx_messageInfo_GetObjectDirectorySizeResponse.Size(m) +} +func (m *GetObjectDirectorySizeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetObjectDirectorySizeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetObjectDirectorySizeResponse proto.InternalMessageInfo + +func (m *GetObjectDirectorySizeResponse) GetSize() int64 { + if m != nil { + return m.Size + } + return 0 +} + +type CloneFromPoolRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` + Remote *Remote `protobuf:"bytes,3,opt,name=remote,proto3" json:"remote,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloneFromPoolRequest) Reset() { *m = CloneFromPoolRequest{} } +func (m *CloneFromPoolRequest) String() string { return proto.CompactTextString(m) } +func (*CloneFromPoolRequest) ProtoMessage() {} +func (*CloneFromPoolRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{75} +} + +func (m *CloneFromPoolRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloneFromPoolRequest.Unmarshal(m, b) +} +func (m *CloneFromPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloneFromPoolRequest.Marshal(b, m, deterministic) +} +func (m *CloneFromPoolRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloneFromPoolRequest.Merge(m, src) +} +func (m *CloneFromPoolRequest) XXX_Size() int { + return xxx_messageInfo_CloneFromPoolRequest.Size(m) +} +func (m *CloneFromPoolRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CloneFromPoolRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CloneFromPoolRequest proto.InternalMessageInfo + +func (m *CloneFromPoolRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CloneFromPoolRequest) GetPool() *ObjectPool { + if m != nil { + return m.Pool + } + return nil +} + +func (m *CloneFromPoolRequest) GetRemote() *Remote { + if m != nil { + return m.Remote + } + return nil +} + +type CloneFromPoolResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloneFromPoolResponse) Reset() { *m = CloneFromPoolResponse{} } +func (m *CloneFromPoolResponse) String() string { return proto.CompactTextString(m) } +func (*CloneFromPoolResponse) ProtoMessage() {} +func (*CloneFromPoolResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{76} +} + +func (m *CloneFromPoolResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloneFromPoolResponse.Unmarshal(m, b) +} +func (m *CloneFromPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloneFromPoolResponse.Marshal(b, m, deterministic) +} +func (m *CloneFromPoolResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloneFromPoolResponse.Merge(m, src) +} +func (m *CloneFromPoolResponse) XXX_Size() int { + return xxx_messageInfo_CloneFromPoolResponse.Size(m) +} +func (m *CloneFromPoolResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CloneFromPoolResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CloneFromPoolResponse proto.InternalMessageInfo + +type CloneFromPoolInternalRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` + SourceRepository *Repository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloneFromPoolInternalRequest) Reset() { *m = CloneFromPoolInternalRequest{} } +func (m *CloneFromPoolInternalRequest) String() string { return proto.CompactTextString(m) } +func (*CloneFromPoolInternalRequest) ProtoMessage() {} +func (*CloneFromPoolInternalRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{77} +} + +func (m *CloneFromPoolInternalRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloneFromPoolInternalRequest.Unmarshal(m, b) +} +func (m *CloneFromPoolInternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloneFromPoolInternalRequest.Marshal(b, m, deterministic) +} +func (m *CloneFromPoolInternalRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloneFromPoolInternalRequest.Merge(m, src) +} +func (m *CloneFromPoolInternalRequest) XXX_Size() int { + return xxx_messageInfo_CloneFromPoolInternalRequest.Size(m) +} +func (m *CloneFromPoolInternalRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CloneFromPoolInternalRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CloneFromPoolInternalRequest proto.InternalMessageInfo + +func (m *CloneFromPoolInternalRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *CloneFromPoolInternalRequest) GetPool() *ObjectPool { + if m != nil { + return m.Pool + } + return nil +} + +func (m *CloneFromPoolInternalRequest) GetSourceRepository() *Repository { + if m != nil { + return m.SourceRepository + } + return nil +} + +type CloneFromPoolInternalResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CloneFromPoolInternalResponse) Reset() { *m = CloneFromPoolInternalResponse{} } +func (m *CloneFromPoolInternalResponse) String() string { return proto.CompactTextString(m) } +func (*CloneFromPoolInternalResponse) ProtoMessage() {} +func (*CloneFromPoolInternalResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_e9b1768cf174c79b, []int{78} +} + +func (m *CloneFromPoolInternalResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CloneFromPoolInternalResponse.Unmarshal(m, b) +} +func (m *CloneFromPoolInternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CloneFromPoolInternalResponse.Marshal(b, m, deterministic) +} +func (m *CloneFromPoolInternalResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CloneFromPoolInternalResponse.Merge(m, src) +} +func (m *CloneFromPoolInternalResponse) XXX_Size() int { + return xxx_messageInfo_CloneFromPoolInternalResponse.Size(m) +} +func (m *CloneFromPoolInternalResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CloneFromPoolInternalResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CloneFromPoolInternalResponse proto.InternalMessageInfo + +func init() { + proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value) + proto.RegisterEnum("gitaly.GetRawChangesResponse_RawChange_Operation", GetRawChangesResponse_RawChange_Operation_name, GetRawChangesResponse_RawChange_Operation_value) + proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") + proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") + proto.RegisterType((*RepackIncrementalRequest)(nil), "gitaly.RepackIncrementalRequest") + proto.RegisterType((*RepackIncrementalResponse)(nil), "gitaly.RepackIncrementalResponse") + proto.RegisterType((*RepackFullRequest)(nil), "gitaly.RepackFullRequest") + proto.RegisterType((*RepackFullResponse)(nil), "gitaly.RepackFullResponse") + proto.RegisterType((*GarbageCollectRequest)(nil), "gitaly.GarbageCollectRequest") + proto.RegisterType((*GarbageCollectResponse)(nil), "gitaly.GarbageCollectResponse") + proto.RegisterType((*CleanupRequest)(nil), "gitaly.CleanupRequest") + proto.RegisterType((*CleanupResponse)(nil), "gitaly.CleanupResponse") + proto.RegisterType((*RepositorySizeRequest)(nil), "gitaly.RepositorySizeRequest") + proto.RegisterType((*RepositorySizeResponse)(nil), "gitaly.RepositorySizeResponse") + proto.RegisterType((*ApplyGitattributesRequest)(nil), "gitaly.ApplyGitattributesRequest") + proto.RegisterType((*ApplyGitattributesResponse)(nil), "gitaly.ApplyGitattributesResponse") + proto.RegisterType((*FetchRemoteRequest)(nil), "gitaly.FetchRemoteRequest") + proto.RegisterType((*FetchRemoteResponse)(nil), "gitaly.FetchRemoteResponse") + proto.RegisterType((*CreateRepositoryRequest)(nil), "gitaly.CreateRepositoryRequest") + proto.RegisterType((*CreateRepositoryResponse)(nil), "gitaly.CreateRepositoryResponse") + proto.RegisterType((*GetArchiveRequest)(nil), "gitaly.GetArchiveRequest") + proto.RegisterType((*GetArchiveResponse)(nil), "gitaly.GetArchiveResponse") + proto.RegisterType((*HasLocalBranchesRequest)(nil), "gitaly.HasLocalBranchesRequest") + proto.RegisterType((*HasLocalBranchesResponse)(nil), "gitaly.HasLocalBranchesResponse") + proto.RegisterType((*FetchSourceBranchRequest)(nil), "gitaly.FetchSourceBranchRequest") + proto.RegisterType((*FetchSourceBranchResponse)(nil), "gitaly.FetchSourceBranchResponse") + proto.RegisterType((*FsckRequest)(nil), "gitaly.FsckRequest") + proto.RegisterType((*FsckResponse)(nil), "gitaly.FsckResponse") + proto.RegisterType((*WriteRefRequest)(nil), "gitaly.WriteRefRequest") + proto.RegisterType((*WriteRefResponse)(nil), "gitaly.WriteRefResponse") + proto.RegisterType((*FindMergeBaseRequest)(nil), "gitaly.FindMergeBaseRequest") + proto.RegisterType((*FindMergeBaseResponse)(nil), "gitaly.FindMergeBaseResponse") + proto.RegisterType((*CreateForkRequest)(nil), "gitaly.CreateForkRequest") + proto.RegisterType((*CreateForkResponse)(nil), "gitaly.CreateForkResponse") + proto.RegisterType((*IsRebaseInProgressRequest)(nil), "gitaly.IsRebaseInProgressRequest") + proto.RegisterType((*IsRebaseInProgressResponse)(nil), "gitaly.IsRebaseInProgressResponse") + proto.RegisterType((*IsSquashInProgressRequest)(nil), "gitaly.IsSquashInProgressRequest") + proto.RegisterType((*IsSquashInProgressResponse)(nil), "gitaly.IsSquashInProgressResponse") + proto.RegisterType((*CreateRepositoryFromURLRequest)(nil), "gitaly.CreateRepositoryFromURLRequest") + proto.RegisterType((*CreateRepositoryFromURLResponse)(nil), "gitaly.CreateRepositoryFromURLResponse") + proto.RegisterType((*CreateBundleRequest)(nil), "gitaly.CreateBundleRequest") + proto.RegisterType((*CreateBundleResponse)(nil), "gitaly.CreateBundleResponse") + proto.RegisterType((*WriteConfigRequest)(nil), "gitaly.WriteConfigRequest") + proto.RegisterType((*WriteConfigResponse)(nil), "gitaly.WriteConfigResponse") + proto.RegisterType((*SetConfigRequest)(nil), "gitaly.SetConfigRequest") + proto.RegisterType((*SetConfigRequest_Entry)(nil), "gitaly.SetConfigRequest.Entry") + proto.RegisterType((*SetConfigResponse)(nil), "gitaly.SetConfigResponse") + proto.RegisterType((*DeleteConfigRequest)(nil), "gitaly.DeleteConfigRequest") + proto.RegisterType((*DeleteConfigResponse)(nil), "gitaly.DeleteConfigResponse") + proto.RegisterType((*RestoreCustomHooksRequest)(nil), "gitaly.RestoreCustomHooksRequest") + proto.RegisterType((*RestoreCustomHooksResponse)(nil), "gitaly.RestoreCustomHooksResponse") + proto.RegisterType((*BackupCustomHooksRequest)(nil), "gitaly.BackupCustomHooksRequest") + proto.RegisterType((*BackupCustomHooksResponse)(nil), "gitaly.BackupCustomHooksResponse") + proto.RegisterType((*CreateRepositoryFromBundleRequest)(nil), "gitaly.CreateRepositoryFromBundleRequest") + proto.RegisterType((*CreateRepositoryFromBundleResponse)(nil), "gitaly.CreateRepositoryFromBundleResponse") + proto.RegisterType((*FindLicenseRequest)(nil), "gitaly.FindLicenseRequest") + proto.RegisterType((*FindLicenseResponse)(nil), "gitaly.FindLicenseResponse") + proto.RegisterType((*GetInfoAttributesRequest)(nil), "gitaly.GetInfoAttributesRequest") + proto.RegisterType((*GetInfoAttributesResponse)(nil), "gitaly.GetInfoAttributesResponse") + proto.RegisterType((*CalculateChecksumRequest)(nil), "gitaly.CalculateChecksumRequest") + proto.RegisterType((*CalculateChecksumResponse)(nil), "gitaly.CalculateChecksumResponse") + proto.RegisterType((*GetSnapshotRequest)(nil), "gitaly.GetSnapshotRequest") + proto.RegisterType((*GetSnapshotResponse)(nil), "gitaly.GetSnapshotResponse") + proto.RegisterType((*CreateRepositoryFromSnapshotRequest)(nil), "gitaly.CreateRepositoryFromSnapshotRequest") + proto.RegisterType((*CreateRepositoryFromSnapshotResponse)(nil), "gitaly.CreateRepositoryFromSnapshotResponse") + proto.RegisterType((*GetRawChangesRequest)(nil), "gitaly.GetRawChangesRequest") + proto.RegisterType((*GetRawChangesResponse)(nil), "gitaly.GetRawChangesResponse") + proto.RegisterType((*GetRawChangesResponse_RawChange)(nil), "gitaly.GetRawChangesResponse.RawChange") + proto.RegisterType((*SearchFilesByNameRequest)(nil), "gitaly.SearchFilesByNameRequest") + proto.RegisterType((*SearchFilesByNameResponse)(nil), "gitaly.SearchFilesByNameResponse") + proto.RegisterType((*SearchFilesByContentRequest)(nil), "gitaly.SearchFilesByContentRequest") + proto.RegisterType((*SearchFilesByContentResponse)(nil), "gitaly.SearchFilesByContentResponse") + proto.RegisterType((*PreFetchRequest)(nil), "gitaly.PreFetchRequest") + proto.RegisterType((*PreFetchResponse)(nil), "gitaly.PreFetchResponse") + proto.RegisterType((*Remote)(nil), "gitaly.Remote") + proto.RegisterType((*FetchHTTPRemoteRequest)(nil), "gitaly.FetchHTTPRemoteRequest") + proto.RegisterType((*FetchHTTPRemoteResponse)(nil), "gitaly.FetchHTTPRemoteResponse") + proto.RegisterType((*GetObjectDirectorySizeRequest)(nil), "gitaly.GetObjectDirectorySizeRequest") + proto.RegisterType((*GetObjectDirectorySizeResponse)(nil), "gitaly.GetObjectDirectorySizeResponse") + proto.RegisterType((*CloneFromPoolRequest)(nil), "gitaly.CloneFromPoolRequest") + proto.RegisterType((*CloneFromPoolResponse)(nil), "gitaly.CloneFromPoolResponse") + proto.RegisterType((*CloneFromPoolInternalRequest)(nil), "gitaly.CloneFromPoolInternalRequest") + proto.RegisterType((*CloneFromPoolInternalResponse)(nil), "gitaly.CloneFromPoolInternalResponse") +} + +func init() { proto.RegisterFile("repository-service.proto", fileDescriptor_e9b1768cf174c79b) } + +var fileDescriptor_e9b1768cf174c79b = []byte{ + // 2923 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x6f, 0xdc, 0xc8, + 0xf1, 0x37, 0x35, 0x92, 0x66, 0xa6, 0x66, 0x64, 0x8f, 0x5a, 0xb2, 0x34, 0xa2, 0x25, 0xcb, 0xa6, + 0xbd, 0x5e, 0xef, 0x4b, 0xf6, 0xca, 0x7f, 0xe0, 0xbf, 0xc8, 0x03, 0x0b, 0xbd, 0xa5, 0xb5, 0xf5, + 0x08, 0x25, 0xc3, 0x58, 0x03, 0x0b, 0x2e, 0xc5, 0xe9, 0xd1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0xa8, 0x0c, 0xb1, 0x01, 0xf5, 0x9c, 0x18, 0xc1, 0x3d, 0xd4, 0x73, 0x22, 0x05, 0x23, 0xc4, 0x36, + 0xd3, 0x17, 0x70, 0x63, 0x24, 0x59, 0x46, 0xb7, 0x13, 0xef, 0xa2, 0x54, 0x56, 0xaf, 0xaf, 0xe6, + 0xf2, 0xd3, 0xe2, 0x29, 0x2c, 0x64, 0xe7, 0xc6, 0xe8, 0x9d, 0xd8, 0xb6, 0xcc, 0x4f, 0xc8, 0xf5, + 0x07, 0xaf, 0xeb, 0x96, 0x3e, 0x42, 0x5e, 0xc0, 0x4c, 0x22, 0xcb, 0x53, 0xf1, 0x91, 0x95, 0x6f, + 0xab, 0xf8, 0xc8, 0xce, 0x78, 0x63, 0x93, 0x21, 0x23, 0x59, 0xf1, 0x30, 0x7d, 0x44, 0xf7, 0x33, + 0x45, 0x8c, 0xa4, 0xc6, 0xfa, 0x3b, 0xaf, 0xe9, 0x95, 0x52, 0xb8, 0xf9, 0xf8, 0x25, 0x1b, 0xe2, + 0xd9, 0xe7, 0x6b, 0x0e, 0xe9, 0x3d, 0x12, 0x9f, 0x1f, 0x11, 0x7a, 0xf1, 0x48, 0x08, 0x7a, 0xc4, + 0x7f, 0x66, 0x7d, 0x74, 0x41, 0x64, 0xbb, 0x7f, 0x7e, 0x3e, 0xcd, 0x49, 0x4f, 0xfe, 0x13, 0x00, + 0x00, 0xff, 0xff, 0x51, 0x47, 0xf2, 0x7d, 0x11, 0x2b, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// RepositoryServiceClient is the client API for RepositoryService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type RepositoryServiceClient interface { + RepositoryExists(ctx context.Context, in *RepositoryExistsRequest, opts ...grpc.CallOption) (*RepositoryExistsResponse, error) + RepackIncremental(ctx context.Context, in *RepackIncrementalRequest, opts ...grpc.CallOption) (*RepackIncrementalResponse, error) + RepackFull(ctx context.Context, in *RepackFullRequest, opts ...grpc.CallOption) (*RepackFullResponse, error) + GarbageCollect(ctx context.Context, in *GarbageCollectRequest, opts ...grpc.CallOption) (*GarbageCollectResponse, error) + RepositorySize(ctx context.Context, in *RepositorySizeRequest, opts ...grpc.CallOption) (*RepositorySizeResponse, error) + ApplyGitattributes(ctx context.Context, in *ApplyGitattributesRequest, opts ...grpc.CallOption) (*ApplyGitattributesResponse, error) + FetchRemote(ctx context.Context, in *FetchRemoteRequest, opts ...grpc.CallOption) (*FetchRemoteResponse, error) + CreateRepository(ctx context.Context, in *CreateRepositoryRequest, opts ...grpc.CallOption) (*CreateRepositoryResponse, error) + GetArchive(ctx context.Context, in *GetArchiveRequest, opts ...grpc.CallOption) (RepositoryService_GetArchiveClient, error) + HasLocalBranches(ctx context.Context, in *HasLocalBranchesRequest, opts ...grpc.CallOption) (*HasLocalBranchesResponse, error) + FetchSourceBranch(ctx context.Context, in *FetchSourceBranchRequest, opts ...grpc.CallOption) (*FetchSourceBranchResponse, error) + Fsck(ctx context.Context, in *FsckRequest, opts ...grpc.CallOption) (*FsckResponse, error) + WriteRef(ctx context.Context, in *WriteRefRequest, opts ...grpc.CallOption) (*WriteRefResponse, error) + FindMergeBase(ctx context.Context, in *FindMergeBaseRequest, opts ...grpc.CallOption) (*FindMergeBaseResponse, error) + CreateFork(ctx context.Context, in *CreateForkRequest, opts ...grpc.CallOption) (*CreateForkResponse, error) + IsRebaseInProgress(ctx context.Context, in *IsRebaseInProgressRequest, opts ...grpc.CallOption) (*IsRebaseInProgressResponse, error) + IsSquashInProgress(ctx context.Context, in *IsSquashInProgressRequest, opts ...grpc.CallOption) (*IsSquashInProgressResponse, error) + CreateRepositoryFromURL(ctx context.Context, in *CreateRepositoryFromURLRequest, opts ...grpc.CallOption) (*CreateRepositoryFromURLResponse, error) + CreateBundle(ctx context.Context, in *CreateBundleRequest, opts ...grpc.CallOption) (RepositoryService_CreateBundleClient, error) + CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) + WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error) + SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*SetConfigResponse, error) + DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteConfigResponse, error) + FindLicense(ctx context.Context, in *FindLicenseRequest, opts ...grpc.CallOption) (*FindLicenseResponse, error) + GetInfoAttributes(ctx context.Context, in *GetInfoAttributesRequest, opts ...grpc.CallOption) (RepositoryService_GetInfoAttributesClient, error) + CalculateChecksum(ctx context.Context, in *CalculateChecksumRequest, opts ...grpc.CallOption) (*CalculateChecksumResponse, error) + Cleanup(ctx context.Context, in *CleanupRequest, opts ...grpc.CallOption) (*CleanupResponse, error) + GetSnapshot(ctx context.Context, in *GetSnapshotRequest, opts ...grpc.CallOption) (RepositoryService_GetSnapshotClient, error) + CreateRepositoryFromSnapshot(ctx context.Context, in *CreateRepositoryFromSnapshotRequest, opts ...grpc.CallOption) (*CreateRepositoryFromSnapshotResponse, error) + GetRawChanges(ctx context.Context, in *GetRawChangesRequest, opts ...grpc.CallOption) (RepositoryService_GetRawChangesClient, error) + SearchFilesByContent(ctx context.Context, in *SearchFilesByContentRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByContentClient, error) + SearchFilesByName(ctx context.Context, in *SearchFilesByNameRequest, opts ...grpc.CallOption) (RepositoryService_SearchFilesByNameClient, error) + RestoreCustomHooks(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_RestoreCustomHooksClient, error) + BackupCustomHooks(ctx context.Context, in *BackupCustomHooksRequest, opts ...grpc.CallOption) (RepositoryService_BackupCustomHooksClient, error) + PreFetch(ctx context.Context, in *PreFetchRequest, opts ...grpc.CallOption) (*PreFetchResponse, error) + FetchHTTPRemote(ctx context.Context, in *FetchHTTPRemoteRequest, opts ...grpc.CallOption) (*FetchHTTPRemoteResponse, error) + GetObjectDirectorySize(ctx context.Context, in *GetObjectDirectorySizeRequest, opts ...grpc.CallOption) (*GetObjectDirectorySizeResponse, error) + CloneFromPool(ctx context.Context, in *CloneFromPoolRequest, opts ...grpc.CallOption) (*CloneFromPoolResponse, error) + CloneFromPoolInternal(ctx context.Context, in *CloneFromPoolInternalRequest, opts ...grpc.CallOption) (*CloneFromPoolInternalResponse, error) +} + +type repositoryServiceClient struct { + cc *grpc.ClientConn +} + +func NewRepositoryServiceClient(cc *grpc.ClientConn) 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 +} + +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 +} + +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 +} + +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 +} + +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) IsRebaseInProgress(ctx context.Context, in *IsRebaseInProgressRequest, opts ...grpc.CallOption) (*IsRebaseInProgressResponse, error) { + out := new(IsRebaseInProgressResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/IsRebaseInProgress", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) IsSquashInProgress(ctx context.Context, in *IsSquashInProgressRequest, opts ...grpc.CallOption) (*IsSquashInProgressResponse, error) { + out := new(IsSquashInProgressResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/IsSquashInProgress", 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) CreateRepositoryFromBundle(ctx context.Context, opts ...grpc.CallOption) (RepositoryService_CreateRepositoryFromBundleClient, error) { + stream, err := c.cc.NewStream(ctx, &_RepositoryService_serviceDesc.Streams[2], "/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) WriteConfig(ctx context.Context, in *WriteConfigRequest, opts ...grpc.CallOption) (*WriteConfigResponse, error) { + out := new(WriteConfigResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/WriteConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) SetConfig(ctx context.Context, in *SetConfigRequest, opts ...grpc.CallOption) (*SetConfigResponse, error) { + out := new(SetConfigResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/SetConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) DeleteConfig(ctx context.Context, in *DeleteConfigRequest, opts ...grpc.CallOption) (*DeleteConfigResponse, error) { + out := new(DeleteConfigResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/DeleteConfig", in, out, opts...) + if err != nil { + return nil, err + } + return out, 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[3], "/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 +} + +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[4], "/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[5], "/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[6], "/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[7], "/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[8], "/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[9], "/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) PreFetch(ctx context.Context, in *PreFetchRequest, opts ...grpc.CallOption) (*PreFetchResponse, error) { + out := new(PreFetchResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/PreFetch", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) FetchHTTPRemote(ctx context.Context, in *FetchHTTPRemoteRequest, opts ...grpc.CallOption) (*FetchHTTPRemoteResponse, error) { + out := new(FetchHTTPRemoteResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/FetchHTTPRemote", in, out, opts...) + if err != nil { + return nil, err + } + return out, 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) CloneFromPool(ctx context.Context, in *CloneFromPoolRequest, opts ...grpc.CallOption) (*CloneFromPoolResponse, error) { + out := new(CloneFromPoolResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CloneFromPool", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *repositoryServiceClient) CloneFromPoolInternal(ctx context.Context, in *CloneFromPoolInternalRequest, opts ...grpc.CallOption) (*CloneFromPoolInternalResponse, error) { + out := new(CloneFromPoolInternalResponse) + err := c.cc.Invoke(ctx, "/gitaly.RepositoryService/CloneFromPoolInternal", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// RepositoryServiceServer is the server API for RepositoryService service. +type RepositoryServiceServer interface { + RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) + RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) + RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) + GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) + RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) + ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) + FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) + CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) + GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error + HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) + FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) + Fsck(context.Context, *FsckRequest) (*FsckResponse, error) + WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) + FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) + CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) + IsRebaseInProgress(context.Context, *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error) + IsSquashInProgress(context.Context, *IsSquashInProgressRequest) (*IsSquashInProgressResponse, error) + CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) + CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error + CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error + WriteConfig(context.Context, *WriteConfigRequest) (*WriteConfigResponse, error) + SetConfig(context.Context, *SetConfigRequest) (*SetConfigResponse, error) + DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error) + FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) + GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error + CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) + Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) + GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error + CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) + GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error + SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error + SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error + RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error + BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error + PreFetch(context.Context, *PreFetchRequest) (*PreFetchResponse, error) + FetchHTTPRemote(context.Context, *FetchHTTPRemoteRequest) (*FetchHTTPRemoteResponse, error) + GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) + CloneFromPool(context.Context, *CloneFromPoolRequest) (*CloneFromPoolResponse, error) + CloneFromPoolInternal(context.Context, *CloneFromPoolInternalRequest) (*CloneFromPoolInternalResponse, error) +} + +// UnimplementedRepositoryServiceServer can be embedded to have forward compatible implementations. +type UnimplementedRepositoryServiceServer struct { +} + +func (*UnimplementedRepositoryServiceServer) RepositoryExists(ctx context.Context, req *RepositoryExistsRequest) (*RepositoryExistsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepositoryExists not implemented") +} +func (*UnimplementedRepositoryServiceServer) RepackIncremental(ctx context.Context, req *RepackIncrementalRequest) (*RepackIncrementalResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepackIncremental not implemented") +} +func (*UnimplementedRepositoryServiceServer) RepackFull(ctx context.Context, req *RepackFullRequest) (*RepackFullResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepackFull not implemented") +} +func (*UnimplementedRepositoryServiceServer) GarbageCollect(ctx context.Context, req *GarbageCollectRequest) (*GarbageCollectResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GarbageCollect not implemented") +} +func (*UnimplementedRepositoryServiceServer) RepositorySize(ctx context.Context, req *RepositorySizeRequest) (*RepositorySizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method RepositorySize not implemented") +} +func (*UnimplementedRepositoryServiceServer) ApplyGitattributes(ctx context.Context, req *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ApplyGitattributes not implemented") +} +func (*UnimplementedRepositoryServiceServer) FetchRemote(ctx context.Context, req *FetchRemoteRequest) (*FetchRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchRemote not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateRepository(ctx context.Context, req *CreateRepositoryRequest) (*CreateRepositoryResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepository not implemented") +} +func (*UnimplementedRepositoryServiceServer) GetArchive(req *GetArchiveRequest, srv RepositoryService_GetArchiveServer) error { + return status.Errorf(codes.Unimplemented, "method GetArchive not implemented") +} +func (*UnimplementedRepositoryServiceServer) HasLocalBranches(ctx context.Context, req *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method HasLocalBranches not implemented") +} +func (*UnimplementedRepositoryServiceServer) FetchSourceBranch(ctx context.Context, req *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchSourceBranch not implemented") +} +func (*UnimplementedRepositoryServiceServer) Fsck(ctx context.Context, req *FsckRequest) (*FsckResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Fsck not implemented") +} +func (*UnimplementedRepositoryServiceServer) WriteRef(ctx context.Context, req *WriteRefRequest) (*WriteRefResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteRef not implemented") +} +func (*UnimplementedRepositoryServiceServer) FindMergeBase(ctx context.Context, req *FindMergeBaseRequest) (*FindMergeBaseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindMergeBase not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateFork(ctx context.Context, req *CreateForkRequest) (*CreateForkResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateFork not implemented") +} +func (*UnimplementedRepositoryServiceServer) IsRebaseInProgress(ctx context.Context, req *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsRebaseInProgress not implemented") +} +func (*UnimplementedRepositoryServiceServer) IsSquashInProgress(ctx context.Context, req *IsSquashInProgressRequest) (*IsSquashInProgressResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IsSquashInProgress not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(ctx context.Context, req *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromURL not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateBundle(req *CreateBundleRequest, srv RepositoryService_CreateBundleServer) error { + return status.Errorf(codes.Unimplemented, "method CreateBundle not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(srv RepositoryService_CreateRepositoryFromBundleServer) error { + return status.Errorf(codes.Unimplemented, "method CreateRepositoryFromBundle not implemented") +} +func (*UnimplementedRepositoryServiceServer) WriteConfig(ctx context.Context, req *WriteConfigRequest) (*WriteConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WriteConfig not implemented") +} +func (*UnimplementedRepositoryServiceServer) SetConfig(ctx context.Context, req *SetConfigRequest) (*SetConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method SetConfig not implemented") +} +func (*UnimplementedRepositoryServiceServer) DeleteConfig(ctx context.Context, req *DeleteConfigRequest) (*DeleteConfigResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteConfig not implemented") +} +func (*UnimplementedRepositoryServiceServer) FindLicense(ctx context.Context, req *FindLicenseRequest) (*FindLicenseResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FindLicense not implemented") +} +func (*UnimplementedRepositoryServiceServer) GetInfoAttributes(req *GetInfoAttributesRequest, srv RepositoryService_GetInfoAttributesServer) error { + return status.Errorf(codes.Unimplemented, "method GetInfoAttributes not implemented") +} +func (*UnimplementedRepositoryServiceServer) CalculateChecksum(ctx context.Context, req *CalculateChecksumRequest) (*CalculateChecksumResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CalculateChecksum not implemented") +} +func (*UnimplementedRepositoryServiceServer) Cleanup(ctx context.Context, req *CleanupRequest) (*CleanupResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Cleanup not implemented") +} +func (*UnimplementedRepositoryServiceServer) GetSnapshot(req *GetSnapshotRequest, srv RepositoryService_GetSnapshotServer) error { + return status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") +} +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(ctx context.Context, req *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromSnapshot not implemented") +} +func (*UnimplementedRepositoryServiceServer) GetRawChanges(req *GetRawChangesRequest, srv RepositoryService_GetRawChangesServer) error { + return status.Errorf(codes.Unimplemented, "method GetRawChanges not implemented") +} +func (*UnimplementedRepositoryServiceServer) SearchFilesByContent(req *SearchFilesByContentRequest, srv RepositoryService_SearchFilesByContentServer) error { + return status.Errorf(codes.Unimplemented, "method SearchFilesByContent not implemented") +} +func (*UnimplementedRepositoryServiceServer) SearchFilesByName(req *SearchFilesByNameRequest, srv RepositoryService_SearchFilesByNameServer) error { + return status.Errorf(codes.Unimplemented, "method SearchFilesByName not implemented") +} +func (*UnimplementedRepositoryServiceServer) RestoreCustomHooks(srv RepositoryService_RestoreCustomHooksServer) error { + return status.Errorf(codes.Unimplemented, "method RestoreCustomHooks not implemented") +} +func (*UnimplementedRepositoryServiceServer) BackupCustomHooks(req *BackupCustomHooksRequest, srv RepositoryService_BackupCustomHooksServer) error { + return status.Errorf(codes.Unimplemented, "method BackupCustomHooks not implemented") +} +func (*UnimplementedRepositoryServiceServer) PreFetch(ctx context.Context, req *PreFetchRequest) (*PreFetchResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method PreFetch not implemented") +} +func (*UnimplementedRepositoryServiceServer) FetchHTTPRemote(ctx context.Context, req *FetchHTTPRemoteRequest) (*FetchHTTPRemoteResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method FetchHTTPRemote not implemented") +} +func (*UnimplementedRepositoryServiceServer) GetObjectDirectorySize(ctx context.Context, req *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetObjectDirectorySize not implemented") +} +func (*UnimplementedRepositoryServiceServer) CloneFromPool(ctx context.Context, req *CloneFromPoolRequest) (*CloneFromPoolResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CloneFromPool not implemented") +} +func (*UnimplementedRepositoryServiceServer) CloneFromPoolInternal(ctx context.Context, req *CloneFromPoolInternalRequest) (*CloneFromPoolInternalResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CloneFromPoolInternal not implemented") +} + +func RegisterRepositoryServiceServer(s *grpc.Server, 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_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_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_IsRebaseInProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsRebaseInProgressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).IsRebaseInProgress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/IsRebaseInProgress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).IsRebaseInProgress(ctx, req.(*IsRebaseInProgressRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_IsSquashInProgress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(IsSquashInProgressRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).IsSquashInProgress(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/IsSquashInProgress", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).IsSquashInProgress(ctx, req.(*IsSquashInProgressRequest)) + } + 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_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_WriteConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WriteConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).WriteConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/WriteConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).WriteConfig(ctx, req.(*WriteConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_SetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SetConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).SetConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/SetConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).SetConfig(ctx, req.(*SetConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_DeleteConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteConfigRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).DeleteConfig(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/DeleteConfig", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).DeleteConfig(ctx, req.(*DeleteConfigRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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_PreFetch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(PreFetchRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).PreFetch(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/PreFetch", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).PreFetch(ctx, req.(*PreFetchRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_FetchHTTPRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(FetchHTTPRemoteRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).FetchHTTPRemote(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/FetchHTTPRemote", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).FetchHTTPRemote(ctx, req.(*FetchHTTPRemoteRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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_CloneFromPool_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CloneFromPoolRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CloneFromPool(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CloneFromPool", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CloneFromPool(ctx, req.(*CloneFromPoolRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RepositoryService_CloneFromPoolInternal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CloneFromPoolInternalRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RepositoryServiceServer).CloneFromPoolInternal(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.RepositoryService/CloneFromPoolInternal", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RepositoryServiceServer).CloneFromPoolInternal(ctx, req.(*CloneFromPoolInternalRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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: "GarbageCollect", + Handler: _RepositoryService_GarbageCollect_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: "IsRebaseInProgress", + Handler: _RepositoryService_IsRebaseInProgress_Handler, + }, + { + MethodName: "IsSquashInProgress", + Handler: _RepositoryService_IsSquashInProgress_Handler, + }, + { + MethodName: "CreateRepositoryFromURL", + Handler: _RepositoryService_CreateRepositoryFromURL_Handler, + }, + { + MethodName: "WriteConfig", + Handler: _RepositoryService_WriteConfig_Handler, + }, + { + MethodName: "SetConfig", + Handler: _RepositoryService_SetConfig_Handler, + }, + { + MethodName: "DeleteConfig", + Handler: _RepositoryService_DeleteConfig_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: "PreFetch", + Handler: _RepositoryService_PreFetch_Handler, + }, + { + MethodName: "FetchHTTPRemote", + Handler: _RepositoryService_FetchHTTPRemote_Handler, + }, + { + MethodName: "GetObjectDirectorySize", + Handler: _RepositoryService_GetObjectDirectorySize_Handler, + }, + { + MethodName: "CloneFromPool", + Handler: _RepositoryService_CloneFromPool_Handler, + }, + { + MethodName: "CloneFromPoolInternal", + Handler: _RepositoryService_CloneFromPoolInternal_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetArchive", + Handler: _RepositoryService_GetArchive_Handler, + ServerStreams: true, + }, + { + StreamName: "CreateBundle", + Handler: _RepositoryService_CreateBundle_Handler, + ServerStreams: true, + }, + { + StreamName: "CreateRepositoryFromBundle", + Handler: _RepositoryService_CreateRepositoryFromBundle_Handler, + ClientStreams: 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-service.proto", +} diff --git a/proto/go/gitalypb/server.pb.go b/proto/go/gitalypb/server.pb.go new file mode 100644 index 000000000..879be71b0 --- /dev/null +++ b/proto/go/gitalypb/server.pb.go @@ -0,0 +1,296 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: server.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ServerInfoRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServerInfoRequest) Reset() { *m = ServerInfoRequest{} } +func (m *ServerInfoRequest) String() string { return proto.CompactTextString(m) } +func (*ServerInfoRequest) ProtoMessage() {} +func (*ServerInfoRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ad098daeda4239f7, []int{0} +} + +func (m *ServerInfoRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServerInfoRequest.Unmarshal(m, b) +} +func (m *ServerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServerInfoRequest.Marshal(b, m, deterministic) +} +func (m *ServerInfoRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServerInfoRequest.Merge(m, src) +} +func (m *ServerInfoRequest) XXX_Size() int { + return xxx_messageInfo_ServerInfoRequest.Size(m) +} +func (m *ServerInfoRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ServerInfoRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ServerInfoRequest proto.InternalMessageInfo + +type ServerInfoResponse struct { + ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` + GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` + StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} } +func (m *ServerInfoResponse) String() string { return proto.CompactTextString(m) } +func (*ServerInfoResponse) ProtoMessage() {} +func (*ServerInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ad098daeda4239f7, []int{1} +} + +func (m *ServerInfoResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServerInfoResponse.Unmarshal(m, b) +} +func (m *ServerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServerInfoResponse.Marshal(b, m, deterministic) +} +func (m *ServerInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServerInfoResponse.Merge(m, src) +} +func (m *ServerInfoResponse) XXX_Size() int { + return xxx_messageInfo_ServerInfoResponse.Size(m) +} +func (m *ServerInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ServerInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ServerInfoResponse proto.InternalMessageInfo + +func (m *ServerInfoResponse) GetServerVersion() string { + if m != nil { + return m.ServerVersion + } + return "" +} + +func (m *ServerInfoResponse) GetGitVersion() string { + if m != nil { + return m.GitVersion + } + return "" +} + +func (m *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus { + if m != nil { + return m.StorageStatuses + } + return nil +} + +type ServerInfoResponse_StorageStatus struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` + Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` + FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` + FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ServerInfoResponse_StorageStatus) Reset() { *m = ServerInfoResponse_StorageStatus{} } +func (m *ServerInfoResponse_StorageStatus) String() string { return proto.CompactTextString(m) } +func (*ServerInfoResponse_StorageStatus) ProtoMessage() {} +func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_ad098daeda4239f7, []int{1, 0} +} + +func (m *ServerInfoResponse_StorageStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ServerInfoResponse_StorageStatus.Unmarshal(m, b) +} +func (m *ServerInfoResponse_StorageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ServerInfoResponse_StorageStatus.Marshal(b, m, deterministic) +} +func (m *ServerInfoResponse_StorageStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServerInfoResponse_StorageStatus.Merge(m, src) +} +func (m *ServerInfoResponse_StorageStatus) XXX_Size() int { + return xxx_messageInfo_ServerInfoResponse_StorageStatus.Size(m) +} +func (m *ServerInfoResponse_StorageStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ServerInfoResponse_StorageStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ServerInfoResponse_StorageStatus proto.InternalMessageInfo + +func (m *ServerInfoResponse_StorageStatus) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *ServerInfoResponse_StorageStatus) GetReadable() bool { + if m != nil { + return m.Readable + } + return false +} + +func (m *ServerInfoResponse_StorageStatus) GetWriteable() bool { + if m != nil { + return m.Writeable + } + return false +} + +func (m *ServerInfoResponse_StorageStatus) GetFsType() string { + if m != nil { + return m.FsType + } + return "" +} + +func (m *ServerInfoResponse_StorageStatus) GetFilesystemId() string { + if m != nil { + return m.FilesystemId + } + return "" +} + +func init() { + proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest") + proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse") + proto.RegisterType((*ServerInfoResponse_StorageStatus)(nil), "gitaly.ServerInfoResponse.StorageStatus") +} + +func init() { proto.RegisterFile("server.proto", fileDescriptor_ad098daeda4239f7) } + +var fileDescriptor_ad098daeda4239f7 = []byte{ + // 344 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0xcd, 0xae, 0x93, 0x40, + 0x14, 0xc7, 0x43, 0x5b, 0x2b, 0x3d, 0x05, 0xad, 0xe3, 0x42, 0x24, 0x26, 0xd6, 0x1a, 0x13, 0x36, + 0x82, 0xa9, 0x6f, 0xe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0x74, 0xd3, 0xb3, 0xcd, 0x5e, 0xc1, 0xec, + 0xb7, 0x12, 0x1a, 0x8d, 0x73, 0x6c, 0x9c, 0x17, 0xc0, 0x5e, 0xc0, 0xe3, 0x8a, 0x72, 0x3d, 0xf4, + 0x18, 0x4c, 0x4c, 0xde, 0x69, 0x45, 0x5f, 0x87, 0x1e, 0xd9, 0x5b, 0xf0, 0x2b, 0xd1, 0x20, 0x0d, + 0xa4, 0xb1, 0xcd, 0x45, 0x19, 0x3c, 0x32, 0x6e, 0xef, 0x02, 0x37, 0xe5, 0xfa, 0x07, 0xf8, 0x76, + 0xc2, 0xc3, 0x2b, 0xb6, 0xc8, 0x3e, 0x03, 0x5c, 0x46, 0x66, 0x2f, 0xef, 0x5b, 0x83, 0x39, 0x4d, + 0x18, 0x3e, 0xbc, 0xa1, 0x95, 0xfb, 0xff, 0x4f, 0x34, 0x71, 0x47, 0x0b, 0xe7, 0xd3, 0x87, 0xef, + 0x07, 0x59, 0xc3, 0x8b, 0x78, 0x2b, 0xdb, 0xc4, 0x7e, 0xdf, 0x4b, 0x55, 0x27, 0x36, 0x38, 0x31, + 0xb7, 0x4f, 0x6a, 0x79, 0xb4, 0xfb, 0xa2, 0x98, 0x1a, 0xf4, 0xf1, 0x26, 0x00, 0x00, 0xff, 0xff, + 0xc2, 0x16, 0x0b, 0xdd, 0x34, 0x02, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ServerServiceClient is the client API for ServerService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ServerServiceClient interface { + ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) +} + +type serverServiceClient struct { + cc *grpc.ClientConn +} + +func NewServerServiceClient(cc *grpc.ClientConn) 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 +} + +// ServerServiceServer is the server API for ServerService service. +type ServerServiceServer interface { + ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) +} + +// UnimplementedServerServiceServer can be embedded to have forward compatible implementations. +type UnimplementedServerServiceServer struct { +} + +func (*UnimplementedServerServiceServer) ServerInfo(ctx context.Context, req *ServerInfoRequest) (*ServerInfoResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ServerInfo not implemented") +} + +func RegisterServerServiceServer(s *grpc.Server, 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) +} + +var _ServerService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.ServerService", + HandlerType: (*ServerServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "ServerInfo", + Handler: _ServerService_ServerInfo_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "server.proto", +} diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go new file mode 100644 index 000000000..711b5b28d --- /dev/null +++ b/proto/go/gitalypb/shared.pb.go @@ -0,0 +1,776 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: shared.proto + +package gitalypb + +import ( + fmt "fmt" + proto "github.com/golang/protobuf/proto" + descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" + timestamp "github.com/golang/protobuf/ptypes/timestamp" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ObjectType int32 + +const ( + ObjectType_UNKNOWN ObjectType = 0 + ObjectType_COMMIT ObjectType = 1 + ObjectType_BLOB ObjectType = 2 + ObjectType_TREE ObjectType = 3 + ObjectType_TAG ObjectType = 4 +) + +var ObjectType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "COMMIT", + 2: "BLOB", + 3: "TREE", + 4: "TAG", +} + +var ObjectType_value = map[string]int32{ + "UNKNOWN": 0, + "COMMIT": 1, + "BLOB": 2, + "TREE": 3, + "TAG": 4, +} + +func (x ObjectType) String() string { + return proto.EnumName(ObjectType_name, int32(x)) +} + +func (ObjectType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{0} +} + +type OperationMsg_Operation int32 + +const ( + OperationMsg_UNKNOWN OperationMsg_Operation = 0 + OperationMsg_MUTATOR OperationMsg_Operation = 1 + OperationMsg_ACCESSOR OperationMsg_Operation = 2 +) + +var OperationMsg_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "MUTATOR", + 2: "ACCESSOR", +} + +var OperationMsg_Operation_value = map[string]int32{ + "UNKNOWN": 0, + "MUTATOR": 1, + "ACCESSOR": 2, +} + +func (x OperationMsg_Operation) String() string { + return proto.EnumName(OperationMsg_Operation_name, int32(x)) +} + +func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{0, 0} +} + +type OperationMsg_Scope int32 + +const ( + OperationMsg_REPOSITORY OperationMsg_Scope = 0 + OperationMsg_SERVER OperationMsg_Scope = 1 +) + +var OperationMsg_Scope_name = map[int32]string{ + 0: "REPOSITORY", + 1: "SERVER", +} + +var OperationMsg_Scope_value = map[string]int32{ + "REPOSITORY": 0, + "SERVER": 1, +} + +func (x OperationMsg_Scope) String() string { + return proto.EnumName(OperationMsg_Scope_name, int32(x)) +} + +func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{0, 1} +} + +type OperationMsg struct { + Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"` + // Scope level indicates how a mutating RPC affects Gitaly: + // - REPOSITORY: mutation is scoped to only a single repo + // - SERVER: mutation affects the entire server and potentially all repos + ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` + // If this operation modifies a repository, this field will + // specify the location of the Repository field within the + // request message. The field is specified in an OID style + // formatted string. + // + // For example, if the target repository is at the top level + // of a message at field 1, then the string will be "1" + // + // If the target repository is nested deeper in the message, + // then it will be necessary to specify a nested OID string. + // + // For example, the following OID refers to a target repo field + // nested in a one-of field, both at field one: "1.1" + TargetRepositoryField string `protobuf:"bytes,3,opt,name=target_repository_field,json=targetRepositoryField,proto3" json:"target_repository_field,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *OperationMsg) Reset() { *m = OperationMsg{} } +func (m *OperationMsg) String() string { return proto.CompactTextString(m) } +func (*OperationMsg) ProtoMessage() {} +func (*OperationMsg) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{0} +} + +func (m *OperationMsg) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_OperationMsg.Unmarshal(m, b) +} +func (m *OperationMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_OperationMsg.Marshal(b, m, deterministic) +} +func (m *OperationMsg) XXX_Merge(src proto.Message) { + xxx_messageInfo_OperationMsg.Merge(m, src) +} +func (m *OperationMsg) XXX_Size() int { + return xxx_messageInfo_OperationMsg.Size(m) +} +func (m *OperationMsg) XXX_DiscardUnknown() { + xxx_messageInfo_OperationMsg.DiscardUnknown(m) +} + +var xxx_messageInfo_OperationMsg proto.InternalMessageInfo + +func (m *OperationMsg) GetOp() OperationMsg_Operation { + if m != nil { + return m.Op + } + return OperationMsg_UNKNOWN +} + +func (m *OperationMsg) GetScopeLevel() OperationMsg_Scope { + if m != nil { + return m.ScopeLevel + } + return OperationMsg_REPOSITORY +} + +func (m *OperationMsg) GetTargetRepositoryField() string { + if m != nil { + return m.TargetRepositoryField + } + return "" +} + +type Repository struct { + StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Repository) Reset() { *m = Repository{} } +func (m *Repository) String() string { return proto.CompactTextString(m) } +func (*Repository) ProtoMessage() {} +func (*Repository) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{1} +} + +func (m *Repository) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Repository.Unmarshal(m, b) +} +func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Repository.Marshal(b, m, deterministic) +} +func (m *Repository) XXX_Merge(src proto.Message) { + xxx_messageInfo_Repository.Merge(m, src) +} +func (m *Repository) XXX_Size() int { + return xxx_messageInfo_Repository.Size(m) +} +func (m *Repository) XXX_DiscardUnknown() { + xxx_messageInfo_Repository.DiscardUnknown(m) +} + +var xxx_messageInfo_Repository proto.InternalMessageInfo + +func (m *Repository) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *Repository) GetRelativePath() string { + if m != nil { + return m.RelativePath + } + return "" +} + +func (m *Repository) GetGitObjectDirectory() string { + if m != nil { + return m.GitObjectDirectory + } + return "" +} + +func (m *Repository) GetGitAlternateObjectDirectories() []string { + if m != nil { + return m.GitAlternateObjectDirectories + } + return nil +} + +func (m *Repository) GetGlRepository() string { + if m != nil { + return m.GlRepository + } + return "" +} + +func (m *Repository) GetGlProjectPath() string { + if m != nil { + return m.GlProjectPath + } + return "" +} + +// Corresponds to Gitlab::Git::Commit +type GitCommit struct { + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` + Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` + Author *CommitAuthor `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` + Committer *CommitAuthor `protobuf:"bytes,5,opt,name=committer,proto3" json:"committer,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GitCommit) Reset() { *m = GitCommit{} } +func (m *GitCommit) String() string { return proto.CompactTextString(m) } +func (*GitCommit) ProtoMessage() {} +func (*GitCommit) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{2} +} + +func (m *GitCommit) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GitCommit.Unmarshal(m, b) +} +func (m *GitCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GitCommit.Marshal(b, m, deterministic) +} +func (m *GitCommit) XXX_Merge(src proto.Message) { + xxx_messageInfo_GitCommit.Merge(m, src) +} +func (m *GitCommit) XXX_Size() int { + return xxx_messageInfo_GitCommit.Size(m) +} +func (m *GitCommit) XXX_DiscardUnknown() { + xxx_messageInfo_GitCommit.DiscardUnknown(m) +} + +var xxx_messageInfo_GitCommit proto.InternalMessageInfo + +func (m *GitCommit) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *GitCommit) GetSubject() []byte { + if m != nil { + return m.Subject + } + return nil +} + +func (m *GitCommit) GetBody() []byte { + if m != nil { + return m.Body + } + return nil +} + +func (m *GitCommit) GetAuthor() *CommitAuthor { + if m != nil { + return m.Author + } + return nil +} + +func (m *GitCommit) GetCommitter() *CommitAuthor { + if m != nil { + return m.Committer + } + return nil +} + +func (m *GitCommit) GetParentIds() []string { + if m != nil { + return m.ParentIds + } + return nil +} + +func (m *GitCommit) GetBodySize() int64 { + if m != nil { + return m.BodySize + } + return 0 +} + +type CommitAuthor struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CommitAuthor) Reset() { *m = CommitAuthor{} } +func (m *CommitAuthor) String() string { return proto.CompactTextString(m) } +func (*CommitAuthor) ProtoMessage() {} +func (*CommitAuthor) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{3} +} + +func (m *CommitAuthor) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CommitAuthor.Unmarshal(m, b) +} +func (m *CommitAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CommitAuthor.Marshal(b, m, deterministic) +} +func (m *CommitAuthor) XXX_Merge(src proto.Message) { + xxx_messageInfo_CommitAuthor.Merge(m, src) +} +func (m *CommitAuthor) XXX_Size() int { + return xxx_messageInfo_CommitAuthor.Size(m) +} +func (m *CommitAuthor) XXX_DiscardUnknown() { + xxx_messageInfo_CommitAuthor.DiscardUnknown(m) +} + +var xxx_messageInfo_CommitAuthor proto.InternalMessageInfo + +func (m *CommitAuthor) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *CommitAuthor) GetEmail() []byte { + if m != nil { + return m.Email + } + return nil +} + +func (m *CommitAuthor) GetDate() *timestamp.Timestamp { + if m != nil { + return m.Date + } + return nil +} + +type ExitStatus struct { + Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ExitStatus) Reset() { *m = ExitStatus{} } +func (m *ExitStatus) String() string { return proto.CompactTextString(m) } +func (*ExitStatus) ProtoMessage() {} +func (*ExitStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{4} +} + +func (m *ExitStatus) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ExitStatus.Unmarshal(m, b) +} +func (m *ExitStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ExitStatus.Marshal(b, m, deterministic) +} +func (m *ExitStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExitStatus.Merge(m, src) +} +func (m *ExitStatus) XXX_Size() int { + return xxx_messageInfo_ExitStatus.Size(m) +} +func (m *ExitStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ExitStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ExitStatus proto.InternalMessageInfo + +func (m *ExitStatus) GetValue() int32 { + if m != nil { + return m.Value + } + return 0 +} + +// Corresponds to Gitlab::Git::Branch +type Branch struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Branch) Reset() { *m = Branch{} } +func (m *Branch) String() string { return proto.CompactTextString(m) } +func (*Branch) ProtoMessage() {} +func (*Branch) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{5} +} + +func (m *Branch) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Branch.Unmarshal(m, b) +} +func (m *Branch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Branch.Marshal(b, m, deterministic) +} +func (m *Branch) XXX_Merge(src proto.Message) { + xxx_messageInfo_Branch.Merge(m, src) +} +func (m *Branch) XXX_Size() int { + return xxx_messageInfo_Branch.Size(m) +} +func (m *Branch) XXX_DiscardUnknown() { + xxx_messageInfo_Branch.DiscardUnknown(m) +} + +var xxx_messageInfo_Branch proto.InternalMessageInfo + +func (m *Branch) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *Branch) GetTargetCommit() *GitCommit { + if m != nil { + return m.TargetCommit + } + return nil +} + +type Tag struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + 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"` + MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` + Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *Tag) Reset() { *m = Tag{} } +func (m *Tag) String() string { return proto.CompactTextString(m) } +func (*Tag) ProtoMessage() {} +func (*Tag) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{6} +} + +func (m *Tag) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_Tag.Unmarshal(m, b) +} +func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_Tag.Marshal(b, m, deterministic) +} +func (m *Tag) XXX_Merge(src proto.Message) { + xxx_messageInfo_Tag.Merge(m, src) +} +func (m *Tag) XXX_Size() int { + return xxx_messageInfo_Tag.Size(m) +} +func (m *Tag) XXX_DiscardUnknown() { + xxx_messageInfo_Tag.DiscardUnknown(m) +} + +var xxx_messageInfo_Tag proto.InternalMessageInfo + +func (m *Tag) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *Tag) GetId() string { + if m != nil { + return m.Id + } + return "" +} + +func (m *Tag) GetTargetCommit() *GitCommit { + if m != nil { + return m.TargetCommit + } + return nil +} + +func (m *Tag) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *Tag) GetMessageSize() int64 { + if m != nil { + return m.MessageSize + } + return 0 +} + +func (m *Tag) GetTagger() *CommitAuthor { + if m != nil { + return m.Tagger + } + return nil +} + +type User struct { + GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` + GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *User) Reset() { *m = User{} } +func (m *User) String() string { return proto.CompactTextString(m) } +func (*User) ProtoMessage() {} +func (*User) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{7} +} + +func (m *User) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_User.Unmarshal(m, b) +} +func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_User.Marshal(b, m, deterministic) +} +func (m *User) XXX_Merge(src proto.Message) { + xxx_messageInfo_User.Merge(m, src) +} +func (m *User) XXX_Size() int { + return xxx_messageInfo_User.Size(m) +} +func (m *User) XXX_DiscardUnknown() { + xxx_messageInfo_User.DiscardUnknown(m) +} + +var xxx_messageInfo_User proto.InternalMessageInfo + +func (m *User) GetGlId() string { + if m != nil { + return m.GlId + } + return "" +} + +func (m *User) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *User) GetEmail() []byte { + if m != nil { + return m.Email + } + return nil +} + +func (m *User) GetGlUsername() string { + if m != nil { + return m.GlUsername + } + return "" +} + +type ObjectPool struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ObjectPool) Reset() { *m = ObjectPool{} } +func (m *ObjectPool) String() string { return proto.CompactTextString(m) } +func (*ObjectPool) ProtoMessage() {} +func (*ObjectPool) Descriptor() ([]byte, []int) { + return fileDescriptor_d8a4e87e678c5ced, []int{8} +} + +func (m *ObjectPool) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ObjectPool.Unmarshal(m, b) +} +func (m *ObjectPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ObjectPool.Marshal(b, m, deterministic) +} +func (m *ObjectPool) XXX_Merge(src proto.Message) { + xxx_messageInfo_ObjectPool.Merge(m, src) +} +func (m *ObjectPool) XXX_Size() int { + return xxx_messageInfo_ObjectPool.Size(m) +} +func (m *ObjectPool) XXX_DiscardUnknown() { + xxx_messageInfo_ObjectPool.DiscardUnknown(m) +} + +var xxx_messageInfo_ObjectPool proto.InternalMessageInfo + +func (m *ObjectPool) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +var E_OpType = &proto.ExtensionDesc{ + ExtendedType: (*descriptor.MethodOptions)(nil), + ExtensionType: (*OperationMsg)(nil), + Field: 82303, + Name: "gitaly.op_type", + Tag: "bytes,82303,opt,name=op_type", + Filename: "shared.proto", +} + +func init() { + proto.RegisterEnum("gitaly.ObjectType", ObjectType_name, ObjectType_value) + proto.RegisterEnum("gitaly.OperationMsg_Operation", OperationMsg_Operation_name, OperationMsg_Operation_value) + proto.RegisterEnum("gitaly.OperationMsg_Scope", OperationMsg_Scope_name, OperationMsg_Scope_value) + proto.RegisterType((*OperationMsg)(nil), "gitaly.OperationMsg") + proto.RegisterType((*Repository)(nil), "gitaly.Repository") + proto.RegisterType((*GitCommit)(nil), "gitaly.GitCommit") + proto.RegisterType((*CommitAuthor)(nil), "gitaly.CommitAuthor") + proto.RegisterType((*ExitStatus)(nil), "gitaly.ExitStatus") + proto.RegisterType((*Branch)(nil), "gitaly.Branch") + proto.RegisterType((*Tag)(nil), "gitaly.Tag") + proto.RegisterType((*User)(nil), "gitaly.User") + proto.RegisterType((*ObjectPool)(nil), "gitaly.ObjectPool") + proto.RegisterExtension(E_OpType) +} + +func init() { proto.RegisterFile("shared.proto", fileDescriptor_d8a4e87e678c5ced) } + +var fileDescriptor_d8a4e87e678c5ced = []byte{ + // 890 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0xdd, 0x6e, 0xe3, 0x44, + 0x14, 0x5e, 0x3b, 0xce, 0xdf, 0x89, 0x5b, 0xcc, 0x50, 0x84, 0x55, 0xb4, 0xbb, 0xc1, 0x2b, 0xa1, + 0x0a, 0x41, 0xba, 0xea, 0x4a, 0x7b, 0x01, 0x37, 0x24, 0x25, 0x54, 0x5d, 0x36, 0x75, 0x35, 0x71, + 0x41, 0x70, 0x63, 0x4d, 0xe2, 0xe9, 0x64, 0x90, 0x9d, 0xb1, 0xc6, 0x93, 0x8a, 0xee, 0x25, 0xf7, + 0xbc, 0x0a, 0x4f, 0xc2, 0x7b, 0xf0, 0x18, 0xa0, 0x99, 0xb1, 0xd3, 0x6c, 0xb7, 0xa0, 0xbd, 0x9b, + 0x73, 0xce, 0x77, 0xfe, 0xcf, 0x67, 0x83, 0x5f, 0xad, 0x88, 0xa4, 0xd9, 0xa8, 0x94, 0x42, 0x09, + 0xd4, 0x61, 0x5c, 0x91, 0xfc, 0xf6, 0xf0, 0x29,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x4b, 0xfd, 0xc9, 0xac, + 0xc2, 0x7f, 0x7e, 0xbf, 0x47, 0x98, 0xdd, 0x0f, 0x35, 0xee, 0x88, 0x52, 0x97, 0x31, 0x79, 0xfe, + 0x8b, 0x36, 0xe7, 0x64, 0x31, 0x5a, 0x8a, 0xe2, 0xd8, 0x3e, 0xbf, 0x12, 0x92, 0x1d, 0x5b, 0x27, + 0xfb, 0x5b, 0x39, 0x66, 0xa2, 0x96, 0xcb, 0xc5, 0xa2, 0x63, 0x54, 0x2f, 0xfe, 0x0d, 0x00, 0x00, + 0xff, 0xff, 0xbc, 0x8f, 0x1f, 0xb5, 0xb0, 0x06, 0x00, 0x00, +} diff --git a/proto/go/gitalypb/smarthttp.pb.go b/proto/go/gitalypb/smarthttp.pb.go new file mode 100644 index 000000000..48f3d9f51 --- /dev/null +++ b/proto/go/gitalypb/smarthttp.pb.go @@ -0,0 +1,727 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: smarthttp.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type InfoRefsRequest struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} } +func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) } +func (*InfoRefsRequest) ProtoMessage() {} +func (*InfoRefsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{0} +} + +func (m *InfoRefsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoRefsRequest.Unmarshal(m, b) +} +func (m *InfoRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoRefsRequest.Marshal(b, m, deterministic) +} +func (m *InfoRefsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoRefsRequest.Merge(m, src) +} +func (m *InfoRefsRequest) XXX_Size() int { + return xxx_messageInfo_InfoRefsRequest.Size(m) +} +func (m *InfoRefsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InfoRefsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_InfoRefsRequest proto.InternalMessageInfo + +func (m *InfoRefsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *InfoRefsRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + +func (m *InfoRefsRequest) GetGitProtocol() string { + if m != nil { + return m.GitProtocol + } + return "" +} + +type InfoRefsResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} } +func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) } +func (*InfoRefsResponse) ProtoMessage() {} +func (*InfoRefsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{1} +} + +func (m *InfoRefsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_InfoRefsResponse.Unmarshal(m, b) +} +func (m *InfoRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_InfoRefsResponse.Marshal(b, m, deterministic) +} +func (m *InfoRefsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_InfoRefsResponse.Merge(m, src) +} +func (m *InfoRefsResponse) XXX_Size() int { + return xxx_messageInfo_InfoRefsResponse.Size(m) +} +func (m *InfoRefsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_InfoRefsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_InfoRefsResponse proto.InternalMessageInfo + +func (m *InfoRefsResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type PostUploadPackRequest struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} } +func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) } +func (*PostUploadPackRequest) ProtoMessage() {} +func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{2} +} + +func (m *PostUploadPackRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PostUploadPackRequest.Unmarshal(m, b) +} +func (m *PostUploadPackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PostUploadPackRequest.Marshal(b, m, deterministic) +} +func (m *PostUploadPackRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostUploadPackRequest.Merge(m, src) +} +func (m *PostUploadPackRequest) XXX_Size() int { + return xxx_messageInfo_PostUploadPackRequest.Size(m) +} +func (m *PostUploadPackRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PostUploadPackRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PostUploadPackRequest proto.InternalMessageInfo + +func (m *PostUploadPackRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *PostUploadPackRequest) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *PostUploadPackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + +func (m *PostUploadPackRequest) GetGitProtocol() string { + if m != nil { + return m.GitProtocol + } + return "" +} + +type PostUploadPackResponse struct { + // Raw data from stdout of 'git upload-pack' + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} } +func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) } +func (*PostUploadPackResponse) ProtoMessage() {} +func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{3} +} + +func (m *PostUploadPackResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PostUploadPackResponse.Unmarshal(m, b) +} +func (m *PostUploadPackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PostUploadPackResponse.Marshal(b, m, deterministic) +} +func (m *PostUploadPackResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostUploadPackResponse.Merge(m, src) +} +func (m *PostUploadPackResponse) XXX_Size() int { + return xxx_messageInfo_PostUploadPackResponse.Size(m) +} +func (m *PostUploadPackResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PostUploadPackResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PostUploadPackResponse proto.InternalMessageInfo + +func (m *PostUploadPackResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type PostReceivePackRequest struct { + // 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"` + GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} } +func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) } +func (*PostReceivePackRequest) ProtoMessage() {} +func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{4} +} + +func (m *PostReceivePackRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PostReceivePackRequest.Unmarshal(m, b) +} +func (m *PostReceivePackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PostReceivePackRequest.Marshal(b, m, deterministic) +} +func (m *PostReceivePackRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostReceivePackRequest.Merge(m, src) +} +func (m *PostReceivePackRequest) XXX_Size() int { + return xxx_messageInfo_PostReceivePackRequest.Size(m) +} +func (m *PostReceivePackRequest) XXX_DiscardUnknown() { + xxx_messageInfo_PostReceivePackRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_PostReceivePackRequest proto.InternalMessageInfo + +func (m *PostReceivePackRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *PostReceivePackRequest) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *PostReceivePackRequest) GetGlId() string { + if m != nil { + return m.GlId + } + return "" +} + +func (m *PostReceivePackRequest) GetGlRepository() string { + if m != nil { + return m.GlRepository + } + return "" +} + +func (m *PostReceivePackRequest) GetGlUsername() string { + if m != nil { + return m.GlUsername + } + return "" +} + +func (m *PostReceivePackRequest) GetGitProtocol() string { + if m != nil { + return m.GitProtocol + } + return "" +} + +func (m *PostReceivePackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + +type PostReceivePackResponse struct { + // Raw data from stdout of 'git receive-pack' + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} } +func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) } +func (*PostReceivePackResponse) ProtoMessage() {} +func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_7da929f3b109874f, []int{5} +} + +func (m *PostReceivePackResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_PostReceivePackResponse.Unmarshal(m, b) +} +func (m *PostReceivePackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_PostReceivePackResponse.Marshal(b, m, deterministic) +} +func (m *PostReceivePackResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PostReceivePackResponse.Merge(m, src) +} +func (m *PostReceivePackResponse) XXX_Size() int { + return xxx_messageInfo_PostReceivePackResponse.Size(m) +} +func (m *PostReceivePackResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PostReceivePackResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PostReceivePackResponse proto.InternalMessageInfo + +func (m *PostReceivePackResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func init() { + proto.RegisterType((*InfoRefsRequest)(nil), "gitaly.InfoRefsRequest") + proto.RegisterType((*InfoRefsResponse)(nil), "gitaly.InfoRefsResponse") + proto.RegisterType((*PostUploadPackRequest)(nil), "gitaly.PostUploadPackRequest") + proto.RegisterType((*PostUploadPackResponse)(nil), "gitaly.PostUploadPackResponse") + proto.RegisterType((*PostReceivePackRequest)(nil), "gitaly.PostReceivePackRequest") + proto.RegisterType((*PostReceivePackResponse)(nil), "gitaly.PostReceivePackResponse") +} + +func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor_7da929f3b109874f) } + +var fileDescriptor_7da929f3b109874f = []byte{ + // 463 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0x96, 0xfb, 0x0b, 0xfa, 0x5a, 0x68, 0xf5, 0x26, 0x58, 0x14, 0x09, 0x56, 0x82, 0x84, 0x72, + 0xd8, 0xda, 0x52, 0xfe, 0x03, 0xb8, 0xb0, 0x13, 0x55, 0xd6, 0x5e, 0x38, 0x10, 0xb9, 0x89, 0xeb, + 0x59, 0xb8, 0x71, 0x88, 0xbd, 0x49, 0xbb, 0x72, 0xe6, 0x0c, 0xff, 0x06, 0x7f, 0x1f, 0x27, 0xd4, + 0xb8, 0x59, 0xb6, 0x66, 0x41, 0x08, 0xb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0xcc, 0x24, 0xdf, 0x8e, 0x09, 0x57, 0xbb, 0x7b, 0xba, 0x5a, 0x75, 0xf2, 0xd0, + 0x9b, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x19, 0x26, 0xb8, 0xcb, 0xc6, 0x04, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SmartHTTPServiceClient is the client API for SmartHTTPService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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`, meaning the server + // will receive new objects in the pack from 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 /receive-pack + PostReceivePack(ctx context.Context, opts ...grpc.CallOption) (SmartHTTPService_PostReceivePackClient, error) +} + +type smartHTTPServiceClient struct { + cc *grpc.ClientConn +} + +func NewSmartHTTPServiceClient(cc *grpc.ClientConn) 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) 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. +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`, meaning the server + // will receive new objects in the pack from 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 /receive-pack + PostReceivePack(SmartHTTPService_PostReceivePackServer) error +} + +// UnimplementedSmartHTTPServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSmartHTTPServiceServer struct { +} + +func (*UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(req *InfoRefsRequest, srv SmartHTTPService_InfoRefsUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method InfoRefsUploadPack not implemented") +} +func (*UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(req *InfoRefsRequest, srv SmartHTTPService_InfoRefsReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method InfoRefsReceivePack not implemented") +} +func (*UnimplementedSmartHTTPServiceServer) PostUploadPack(srv SmartHTTPService_PostUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method PostUploadPack not implemented") +} +func (*UnimplementedSmartHTTPServiceServer) PostReceivePack(srv SmartHTTPService_PostReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method PostReceivePack not implemented") +} + +func RegisterSmartHTTPServiceServer(s *grpc.Server, 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_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 +} + +var _SmartHTTPService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.SmartHTTPService", + HandlerType: (*SmartHTTPServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + 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 new file mode 100644 index 000000000..1e1cd900b --- /dev/null +++ b/proto/go/gitalypb/ssh.pb.go @@ -0,0 +1,711 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: ssh.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type SSHUploadPackRequest struct { + // '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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} } +func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) } +func (*SSHUploadPackRequest) ProtoMessage() {} +func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{0} +} + +func (m *SSHUploadPackRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHUploadPackRequest.Unmarshal(m, b) +} +func (m *SSHUploadPackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHUploadPackRequest.Marshal(b, m, deterministic) +} +func (m *SSHUploadPackRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHUploadPackRequest.Merge(m, src) +} +func (m *SSHUploadPackRequest) XXX_Size() int { + return xxx_messageInfo_SSHUploadPackRequest.Size(m) +} +func (m *SSHUploadPackRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SSHUploadPackRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHUploadPackRequest proto.InternalMessageInfo + +func (m *SSHUploadPackRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SSHUploadPackRequest) GetStdin() []byte { + if m != nil { + return m.Stdin + } + return nil +} + +func (m *SSHUploadPackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + +func (m *SSHUploadPackRequest) GetGitProtocol() string { + if m != nil { + return m.GitProtocol + } + return "" +} + +type SSHUploadPackResponse struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} } +func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) } +func (*SSHUploadPackResponse) ProtoMessage() {} +func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{1} +} + +func (m *SSHUploadPackResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHUploadPackResponse.Unmarshal(m, b) +} +func (m *SSHUploadPackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHUploadPackResponse.Marshal(b, m, deterministic) +} +func (m *SSHUploadPackResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHUploadPackResponse.Merge(m, src) +} +func (m *SSHUploadPackResponse) XXX_Size() int { + return xxx_messageInfo_SSHUploadPackResponse.Size(m) +} +func (m *SSHUploadPackResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SSHUploadPackResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHUploadPackResponse proto.InternalMessageInfo + +func (m *SSHUploadPackResponse) GetStdout() []byte { + if m != nil { + return m.Stdout + } + return nil +} + +func (m *SSHUploadPackResponse) GetStderr() []byte { + if m != nil { + return m.Stderr + } + return nil +} + +func (m *SSHUploadPackResponse) GetExitStatus() *ExitStatus { + if m != nil { + return m.ExitStatus + } + return nil +} + +type SSHReceivePackRequest struct { + // '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"` + GlRepository string `protobuf:"bytes,4,opt,name=gl_repository,json=glRepository,proto3" json:"gl_repository,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } +func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) } +func (*SSHReceivePackRequest) ProtoMessage() {} +func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{2} +} + +func (m *SSHReceivePackRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHReceivePackRequest.Unmarshal(m, b) +} +func (m *SSHReceivePackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHReceivePackRequest.Marshal(b, m, deterministic) +} +func (m *SSHReceivePackRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHReceivePackRequest.Merge(m, src) +} +func (m *SSHReceivePackRequest) XXX_Size() int { + return xxx_messageInfo_SSHReceivePackRequest.Size(m) +} +func (m *SSHReceivePackRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SSHReceivePackRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHReceivePackRequest proto.InternalMessageInfo + +func (m *SSHReceivePackRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SSHReceivePackRequest) GetStdin() []byte { + if m != nil { + return m.Stdin + } + return nil +} + +func (m *SSHReceivePackRequest) GetGlId() string { + if m != nil { + return m.GlId + } + return "" +} + +func (m *SSHReceivePackRequest) GetGlRepository() string { + if m != nil { + return m.GlRepository + } + return "" +} + +func (m *SSHReceivePackRequest) GetGlUsername() string { + if m != nil { + return m.GlUsername + } + return "" +} + +func (m *SSHReceivePackRequest) GetGitProtocol() string { + if m != nil { + return m.GitProtocol + } + return "" +} + +func (m *SSHReceivePackRequest) GetGitConfigOptions() []string { + if m != nil { + return m.GitConfigOptions + } + return nil +} + +type SSHReceivePackResponse struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} } +func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) } +func (*SSHReceivePackResponse) ProtoMessage() {} +func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{3} +} + +func (m *SSHReceivePackResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHReceivePackResponse.Unmarshal(m, b) +} +func (m *SSHReceivePackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHReceivePackResponse.Marshal(b, m, deterministic) +} +func (m *SSHReceivePackResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHReceivePackResponse.Merge(m, src) +} +func (m *SSHReceivePackResponse) XXX_Size() int { + return xxx_messageInfo_SSHReceivePackResponse.Size(m) +} +func (m *SSHReceivePackResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SSHReceivePackResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHReceivePackResponse proto.InternalMessageInfo + +func (m *SSHReceivePackResponse) GetStdout() []byte { + if m != nil { + return m.Stdout + } + return nil +} + +func (m *SSHReceivePackResponse) GetStderr() []byte { + if m != nil { + return m.Stderr + } + return nil +} + +func (m *SSHReceivePackResponse) GetExitStatus() *ExitStatus { + if m != nil { + return m.ExitStatus + } + return nil +} + +type SSHUploadArchiveRequest struct { + // '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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHUploadArchiveRequest) Reset() { *m = SSHUploadArchiveRequest{} } +func (m *SSHUploadArchiveRequest) String() string { return proto.CompactTextString(m) } +func (*SSHUploadArchiveRequest) ProtoMessage() {} +func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{4} +} + +func (m *SSHUploadArchiveRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHUploadArchiveRequest.Unmarshal(m, b) +} +func (m *SSHUploadArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHUploadArchiveRequest.Marshal(b, m, deterministic) +} +func (m *SSHUploadArchiveRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHUploadArchiveRequest.Merge(m, src) +} +func (m *SSHUploadArchiveRequest) XXX_Size() int { + return xxx_messageInfo_SSHUploadArchiveRequest.Size(m) +} +func (m *SSHUploadArchiveRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SSHUploadArchiveRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHUploadArchiveRequest proto.InternalMessageInfo + +func (m *SSHUploadArchiveRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *SSHUploadArchiveRequest) GetStdin() []byte { + if m != nil { + return m.Stdin + } + return nil +} + +type SSHUploadArchiveResponse struct { + // 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *SSHUploadArchiveResponse) Reset() { *m = SSHUploadArchiveResponse{} } +func (m *SSHUploadArchiveResponse) String() string { return proto.CompactTextString(m) } +func (*SSHUploadArchiveResponse) ProtoMessage() {} +func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_ef0eae71e2e883eb, []int{5} +} + +func (m *SSHUploadArchiveResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_SSHUploadArchiveResponse.Unmarshal(m, b) +} +func (m *SSHUploadArchiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_SSHUploadArchiveResponse.Marshal(b, m, deterministic) +} +func (m *SSHUploadArchiveResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_SSHUploadArchiveResponse.Merge(m, src) +} +func (m *SSHUploadArchiveResponse) XXX_Size() int { + return xxx_messageInfo_SSHUploadArchiveResponse.Size(m) +} +func (m *SSHUploadArchiveResponse) XXX_DiscardUnknown() { + xxx_messageInfo_SSHUploadArchiveResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_SSHUploadArchiveResponse proto.InternalMessageInfo + +func (m *SSHUploadArchiveResponse) GetStdout() []byte { + if m != nil { + return m.Stdout + } + return nil +} + +func (m *SSHUploadArchiveResponse) GetStderr() []byte { + if m != nil { + return m.Stderr + } + return nil +} + +func (m *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { + if m != nil { + return m.ExitStatus + } + return nil +} + +func init() { + proto.RegisterType((*SSHUploadPackRequest)(nil), "gitaly.SSHUploadPackRequest") + proto.RegisterType((*SSHUploadPackResponse)(nil), "gitaly.SSHUploadPackResponse") + proto.RegisterType((*SSHReceivePackRequest)(nil), "gitaly.SSHReceivePackRequest") + proto.RegisterType((*SSHReceivePackResponse)(nil), "gitaly.SSHReceivePackResponse") + proto.RegisterType((*SSHUploadArchiveRequest)(nil), "gitaly.SSHUploadArchiveRequest") + proto.RegisterType((*SSHUploadArchiveResponse)(nil), "gitaly.SSHUploadArchiveResponse") +} + +func init() { proto.RegisterFile("ssh.proto", fileDescriptor_ef0eae71e2e883eb) } + +var fileDescriptor_ef0eae71e2e883eb = []byte{ + // 497 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xd1, 0x6e, 0xd3, 0x3c, + 0x14, 0x56, 0xda, 0xb4, 0xff, 0x72, 0x9a, 0xfd, 0xaa, 0xcc, 0x36, 0xa2, 0x08, 0x58, 0x08, 0x37, + 0xb9, 0x80, 0x76, 0x74, 0x4f, 0x00, 0x08, 0x69, 0x70, 0xc3, 0xe4, 0x68, 0x37, 0x20, 0x11, 0xa5, + 0x89, 0x71, 0x2d, 0xdc, 0x38, 0xd8, 0x6e, 0xb5, 0x49, 0x20, 0x9e, 0x80, 0x6b, 0x1e, 0x83, 0x37, + 0xe1, 0x81, 0xb8, 0x42, 0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x06, + 0xbf, 0x75, 0xc3, 0x9f, 0xc3, 0x70, 0x53, 0x4c, 0x74, 0xdc, 0xea, 0xb0, 0xe9, 0xa5, 0x1f, 0xec, + 0xbe, 0xb0, 0xb5, 0xca, 0xf3, 0x93, 0xb7, 0xd7, 0x2f, 0x78, 0x3a, 0x1d, 0x65, 0x62, 0x3e, 0xae, + 0x8e, 0x4f, 0x84, 0xa4, 0xe3, 0x8a, 0x67, 0x6c, 0x16, 0x60, 0x4c, 0x45, 0x1d, 0x97, 0xd3, 0x69, + 0xdf, 0xa4, 0x4e, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0xa6, 0x09, 0x06, 0xce, 0x51, 0x05, 0x00, + 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// SSHServiceClient is the client API for SSHService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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 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.ClientConn +} + +func NewSSHServiceClient(cc *grpc.ClientConn) 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) 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. +type SSHServiceServer interface { + // To forward 'git upload-pack' to Gitaly for SSH sessions + SSHUploadPack(SSHService_SSHUploadPackServer) 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 +} + +// UnimplementedSSHServiceServer can be embedded to have forward compatible implementations. +type UnimplementedSSHServiceServer struct { +} + +func (*UnimplementedSSHServiceServer) SSHUploadPack(srv SSHService_SSHUploadPackServer) error { + return status.Errorf(codes.Unimplemented, "method SSHUploadPack not implemented") +} +func (*UnimplementedSSHServiceServer) SSHReceivePack(srv SSHService_SSHReceivePackServer) error { + return status.Errorf(codes.Unimplemented, "method SSHReceivePack not implemented") +} +func (*UnimplementedSSHServiceServer) SSHUploadArchive(srv SSHService_SSHUploadArchiveServer) error { + return status.Errorf(codes.Unimplemented, "method SSHUploadArchive not implemented") +} + +func RegisterSSHServiceServer(s *grpc.Server, 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_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 +} + +var _SSHService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.SSHService", + HandlerType: (*SSHServiceServer)(nil), + Methods: []grpc.MethodDesc{}, + 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/storage.pb.go b/proto/go/gitalypb/storage.pb.go new file mode 100644 index 000000000..5058414c1 --- /dev/null +++ b/proto/go/gitalypb/storage.pb.go @@ -0,0 +1,356 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: storage.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type ListDirectoriesRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Depth uint32 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDirectoriesRequest) Reset() { *m = ListDirectoriesRequest{} } +func (m *ListDirectoriesRequest) String() string { return proto.CompactTextString(m) } +func (*ListDirectoriesRequest) ProtoMessage() {} +func (*ListDirectoriesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0d2c4ccf1453ffdb, []int{0} +} + +func (m *ListDirectoriesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDirectoriesRequest.Unmarshal(m, b) +} +func (m *ListDirectoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDirectoriesRequest.Marshal(b, m, deterministic) +} +func (m *ListDirectoriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDirectoriesRequest.Merge(m, src) +} +func (m *ListDirectoriesRequest) XXX_Size() int { + return xxx_messageInfo_ListDirectoriesRequest.Size(m) +} +func (m *ListDirectoriesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListDirectoriesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDirectoriesRequest proto.InternalMessageInfo + +func (m *ListDirectoriesRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +func (m *ListDirectoriesRequest) GetDepth() uint32 { + if m != nil { + return m.Depth + } + return 0 +} + +type ListDirectoriesResponse struct { + Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ListDirectoriesResponse) Reset() { *m = ListDirectoriesResponse{} } +func (m *ListDirectoriesResponse) String() string { return proto.CompactTextString(m) } +func (*ListDirectoriesResponse) ProtoMessage() {} +func (*ListDirectoriesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0d2c4ccf1453ffdb, []int{1} +} + +func (m *ListDirectoriesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ListDirectoriesResponse.Unmarshal(m, b) +} +func (m *ListDirectoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ListDirectoriesResponse.Marshal(b, m, deterministic) +} +func (m *ListDirectoriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListDirectoriesResponse.Merge(m, src) +} +func (m *ListDirectoriesResponse) XXX_Size() int { + return xxx_messageInfo_ListDirectoriesResponse.Size(m) +} +func (m *ListDirectoriesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListDirectoriesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListDirectoriesResponse proto.InternalMessageInfo + +func (m *ListDirectoriesResponse) GetPaths() []string { + if m != nil { + return m.Paths + } + return nil +} + +type DeleteAllRepositoriesRequest struct { + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteAllRepositoriesRequest) Reset() { *m = DeleteAllRepositoriesRequest{} } +func (m *DeleteAllRepositoriesRequest) String() string { return proto.CompactTextString(m) } +func (*DeleteAllRepositoriesRequest) ProtoMessage() {} +func (*DeleteAllRepositoriesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_0d2c4ccf1453ffdb, []int{2} +} + +func (m *DeleteAllRepositoriesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteAllRepositoriesRequest.Unmarshal(m, b) +} +func (m *DeleteAllRepositoriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteAllRepositoriesRequest.Marshal(b, m, deterministic) +} +func (m *DeleteAllRepositoriesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteAllRepositoriesRequest.Merge(m, src) +} +func (m *DeleteAllRepositoriesRequest) XXX_Size() int { + return xxx_messageInfo_DeleteAllRepositoriesRequest.Size(m) +} +func (m *DeleteAllRepositoriesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteAllRepositoriesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteAllRepositoriesRequest proto.InternalMessageInfo + +func (m *DeleteAllRepositoriesRequest) GetStorageName() string { + if m != nil { + return m.StorageName + } + return "" +} + +type DeleteAllRepositoriesResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DeleteAllRepositoriesResponse) Reset() { *m = DeleteAllRepositoriesResponse{} } +func (m *DeleteAllRepositoriesResponse) String() string { return proto.CompactTextString(m) } +func (*DeleteAllRepositoriesResponse) ProtoMessage() {} +func (*DeleteAllRepositoriesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_0d2c4ccf1453ffdb, []int{3} +} + +func (m *DeleteAllRepositoriesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DeleteAllRepositoriesResponse.Unmarshal(m, b) +} +func (m *DeleteAllRepositoriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DeleteAllRepositoriesResponse.Marshal(b, m, deterministic) +} +func (m *DeleteAllRepositoriesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DeleteAllRepositoriesResponse.Merge(m, src) +} +func (m *DeleteAllRepositoriesResponse) XXX_Size() int { + return xxx_messageInfo_DeleteAllRepositoriesResponse.Size(m) +} +func (m *DeleteAllRepositoriesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DeleteAllRepositoriesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DeleteAllRepositoriesResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ListDirectoriesRequest)(nil), "gitaly.ListDirectoriesRequest") + proto.RegisterType((*ListDirectoriesResponse)(nil), "gitaly.ListDirectoriesResponse") + proto.RegisterType((*DeleteAllRepositoriesRequest)(nil), "gitaly.DeleteAllRepositoriesRequest") + proto.RegisterType((*DeleteAllRepositoriesResponse)(nil), "gitaly.DeleteAllRepositoriesResponse") +} + +func init() { proto.RegisterFile("storage.proto", fileDescriptor_0d2c4ccf1453ffdb) } + +var fileDescriptor_0d2c4ccf1453ffdb = []byte{ + // 284 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x51, 0xdd, 0x4a, 0xc3, 0x30, + 0x14, 0x26, 0xfe, 0x8c, 0xed, 0xb8, 0xa9, 0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 0x64, 0xf9, 0x4c, + 0x82, 0xd1, 0xca, 0x7b, 0x1f, 0x13, 0x75, 0x3f, 0xde, 0xe2, 0x8d, 0x2e, 0xd9, 0x25, 0x63, 0x42, + 0x6b, 0xd8, 0x5f, 0xda, 0x89, 0x9e, 0x7d, 0xbb, 0xfc, 0xf6, 0xeb, 0xe0, 0xfc, 0x8f, 0x57, 0x8b, + 0x89, 0xd7, 0xe3, 0xfb, 0x2f, 0x85, 0xe4, 0x59, 0x92, 0xab, 0x2a, 0xf5, 0xc7, 0x0b, 0x65, 0x8a, + 0xd4, 0xfb, 0xa4, 0xcd, 0xc2, 0xd3, 0x42, 0xb5, 0x58, 0x67, 0x59, 0xa7, 0xa1, 0xae, 0x3e, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x8f, 0xf0, 0xce, 0x16, 0x2a, 0x02, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// StorageServiceClient is the client API for StorageService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type StorageServiceClient interface { + ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (StorageService_ListDirectoriesClient, error) + DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error) +} + +type storageServiceClient struct { + cc *grpc.ClientConn +} + +func NewStorageServiceClient(cc *grpc.ClientConn) StorageServiceClient { + return &storageServiceClient{cc} +} + +func (c *storageServiceClient) ListDirectories(ctx context.Context, in *ListDirectoriesRequest, opts ...grpc.CallOption) (StorageService_ListDirectoriesClient, error) { + stream, err := c.cc.NewStream(ctx, &_StorageService_serviceDesc.Streams[0], "/gitaly.StorageService/ListDirectories", opts...) + if err != nil { + return nil, err + } + x := &storageServiceListDirectoriesClient{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 StorageService_ListDirectoriesClient interface { + Recv() (*ListDirectoriesResponse, error) + grpc.ClientStream +} + +type storageServiceListDirectoriesClient struct { + grpc.ClientStream +} + +func (x *storageServiceListDirectoriesClient) Recv() (*ListDirectoriesResponse, error) { + m := new(ListDirectoriesResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *storageServiceClient) DeleteAllRepositories(ctx context.Context, in *DeleteAllRepositoriesRequest, opts ...grpc.CallOption) (*DeleteAllRepositoriesResponse, error) { + out := new(DeleteAllRepositoriesResponse) + err := c.cc.Invoke(ctx, "/gitaly.StorageService/DeleteAllRepositories", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// StorageServiceServer is the server API for StorageService service. +type StorageServiceServer interface { + ListDirectories(*ListDirectoriesRequest, StorageService_ListDirectoriesServer) error + DeleteAllRepositories(context.Context, *DeleteAllRepositoriesRequest) (*DeleteAllRepositoriesResponse, error) +} + +// UnimplementedStorageServiceServer can be embedded to have forward compatible implementations. +type UnimplementedStorageServiceServer struct { +} + +func (*UnimplementedStorageServiceServer) ListDirectories(req *ListDirectoriesRequest, srv StorageService_ListDirectoriesServer) error { + return status.Errorf(codes.Unimplemented, "method ListDirectories not implemented") +} +func (*UnimplementedStorageServiceServer) DeleteAllRepositories(ctx context.Context, req *DeleteAllRepositoriesRequest) (*DeleteAllRepositoriesResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteAllRepositories not implemented") +} + +func RegisterStorageServiceServer(s *grpc.Server, srv StorageServiceServer) { + s.RegisterService(&_StorageService_serviceDesc, srv) +} + +func _StorageService_ListDirectories_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(ListDirectoriesRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(StorageServiceServer).ListDirectories(m, &storageServiceListDirectoriesServer{stream}) +} + +type StorageService_ListDirectoriesServer interface { + Send(*ListDirectoriesResponse) error + grpc.ServerStream +} + +type storageServiceListDirectoriesServer struct { + grpc.ServerStream +} + +func (x *storageServiceListDirectoriesServer) Send(m *ListDirectoriesResponse) error { + return x.ServerStream.SendMsg(m) +} + +func _StorageService_DeleteAllRepositories_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteAllRepositoriesRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(StorageServiceServer).DeleteAllRepositories(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.StorageService/DeleteAllRepositories", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(StorageServiceServer).DeleteAllRepositories(ctx, req.(*DeleteAllRepositoriesRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _StorageService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.StorageService", + HandlerType: (*StorageServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "DeleteAllRepositories", + Handler: _StorageService_DeleteAllRepositories_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "ListDirectories", + Handler: _StorageService_ListDirectories_Handler, + ServerStreams: true, + }, + }, + Metadata: "storage.proto", +} diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go new file mode 100644 index 000000000..920317a39 --- /dev/null +++ b/proto/go/gitalypb/wiki.pb.go @@ -0,0 +1,1965 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// source: wiki.proto + +package gitalypb + +import ( + context "context" + fmt "fmt" + proto "github.com/golang/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package + +type WikiGetAllPagesRequest_SortBy int32 + +const ( + WikiGetAllPagesRequest_TITLE WikiGetAllPagesRequest_SortBy = 0 + WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 +) + +var WikiGetAllPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", +} + +var WikiGetAllPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, +} + +func (x WikiGetAllPagesRequest_SortBy) String() string { + return proto.EnumName(WikiGetAllPagesRequest_SortBy_name, int32(x)) +} + +func (WikiGetAllPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{15, 0} +} + +type WikiListPagesRequest_SortBy int32 + +const ( + WikiListPagesRequest_TITLE WikiListPagesRequest_SortBy = 0 + WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 +) + +var WikiListPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", +} + +var WikiListPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, +} + +func (x WikiListPagesRequest_SortBy) String() string { + return proto.EnumName(WikiListPagesRequest_SortBy_name, int32(x)) +} + +func (WikiListPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{19, 0} +} + +type WikiCommitDetails struct { + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiCommitDetails) Reset() { *m = WikiCommitDetails{} } +func (m *WikiCommitDetails) String() string { return proto.CompactTextString(m) } +func (*WikiCommitDetails) ProtoMessage() {} +func (*WikiCommitDetails) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{0} +} + +func (m *WikiCommitDetails) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiCommitDetails.Unmarshal(m, b) +} +func (m *WikiCommitDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiCommitDetails.Marshal(b, m, deterministic) +} +func (m *WikiCommitDetails) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiCommitDetails.Merge(m, src) +} +func (m *WikiCommitDetails) XXX_Size() int { + return xxx_messageInfo_WikiCommitDetails.Size(m) +} +func (m *WikiCommitDetails) XXX_DiscardUnknown() { + xxx_messageInfo_WikiCommitDetails.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiCommitDetails proto.InternalMessageInfo + +func (m *WikiCommitDetails) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *WikiCommitDetails) GetEmail() []byte { + if m != nil { + return m.Email + } + return nil +} + +func (m *WikiCommitDetails) GetMessage() []byte { + if m != nil { + return m.Message + } + return nil +} + +func (m *WikiCommitDetails) GetUserId() int32 { + if m != nil { + return m.UserId + } + return 0 +} + +func (m *WikiCommitDetails) GetUserName() []byte { + if m != nil { + return m.UserName + } + return nil +} + +type WikiPageVersion struct { + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} } +func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) } +func (*WikiPageVersion) ProtoMessage() {} +func (*WikiPageVersion) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{1} +} + +func (m *WikiPageVersion) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiPageVersion.Unmarshal(m, b) +} +func (m *WikiPageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiPageVersion.Marshal(b, m, deterministic) +} +func (m *WikiPageVersion) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiPageVersion.Merge(m, src) +} +func (m *WikiPageVersion) XXX_Size() int { + return xxx_messageInfo_WikiPageVersion.Size(m) +} +func (m *WikiPageVersion) XXX_DiscardUnknown() { + xxx_messageInfo_WikiPageVersion.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiPageVersion proto.InternalMessageInfo + +func (m *WikiPageVersion) GetCommit() *GitCommit { + if m != nil { + return m.Commit + } + return nil +} + +func (m *WikiPageVersion) GetFormat() string { + if m != nil { + return m.Format + } + return "" +} + +type WikiPage struct { + // 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"` + Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` + Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + UrlPath string `protobuf:"bytes,4,opt,name=url_path,json=urlPath,proto3" json:"url_path,omitempty"` + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiPage) Reset() { *m = WikiPage{} } +func (m *WikiPage) String() string { return proto.CompactTextString(m) } +func (*WikiPage) ProtoMessage() {} +func (*WikiPage) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{2} +} + +func (m *WikiPage) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiPage.Unmarshal(m, b) +} +func (m *WikiPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiPage.Marshal(b, m, deterministic) +} +func (m *WikiPage) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiPage.Merge(m, src) +} +func (m *WikiPage) XXX_Size() int { + return xxx_messageInfo_WikiPage.Size(m) +} +func (m *WikiPage) XXX_DiscardUnknown() { + xxx_messageInfo_WikiPage.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiPage proto.InternalMessageInfo + +func (m *WikiPage) GetVersion() *WikiPageVersion { + if m != nil { + return m.Version + } + return nil +} + +func (m *WikiPage) GetFormat() string { + if m != nil { + return m.Format + } + return "" +} + +func (m *WikiPage) GetTitle() []byte { + if m != nil { + return m.Title + } + return nil +} + +func (m *WikiPage) GetUrlPath() string { + if m != nil { + return m.UrlPath + } + return "" +} + +func (m *WikiPage) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +func (m *WikiPage) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *WikiPage) GetHistorical() bool { + if m != nil { + return m.Historical + } + return false +} + +func (m *WikiPage) GetRawData() []byte { + if m != nil { + return m.RawData + } + return nil +} + +type WikiGetPageVersionsRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` + Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` + PerPage int32 `protobuf:"varint,4,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetPageVersionsRequest) Reset() { *m = WikiGetPageVersionsRequest{} } +func (m *WikiGetPageVersionsRequest) String() string { return proto.CompactTextString(m) } +func (*WikiGetPageVersionsRequest) ProtoMessage() {} +func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{3} +} + +func (m *WikiGetPageVersionsRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetPageVersionsRequest.Unmarshal(m, b) +} +func (m *WikiGetPageVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetPageVersionsRequest.Marshal(b, m, deterministic) +} +func (m *WikiGetPageVersionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetPageVersionsRequest.Merge(m, src) +} +func (m *WikiGetPageVersionsRequest) XXX_Size() int { + return xxx_messageInfo_WikiGetPageVersionsRequest.Size(m) +} +func (m *WikiGetPageVersionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetPageVersionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetPageVersionsRequest proto.InternalMessageInfo + +func (m *WikiGetPageVersionsRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiGetPageVersionsRequest) GetPagePath() []byte { + if m != nil { + return m.PagePath + } + return nil +} + +func (m *WikiGetPageVersionsRequest) GetPage() int32 { + if m != nil { + return m.Page + } + return 0 +} + +func (m *WikiGetPageVersionsRequest) GetPerPage() int32 { + if m != nil { + return m.PerPage + } + return 0 +} + +type WikiGetPageVersionsResponse struct { + Versions []*WikiPageVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetPageVersionsResponse) Reset() { *m = WikiGetPageVersionsResponse{} } +func (m *WikiGetPageVersionsResponse) String() string { return proto.CompactTextString(m) } +func (*WikiGetPageVersionsResponse) ProtoMessage() {} +func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{4} +} + +func (m *WikiGetPageVersionsResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetPageVersionsResponse.Unmarshal(m, b) +} +func (m *WikiGetPageVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetPageVersionsResponse.Marshal(b, m, deterministic) +} +func (m *WikiGetPageVersionsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetPageVersionsResponse.Merge(m, src) +} +func (m *WikiGetPageVersionsResponse) XXX_Size() int { + return xxx_messageInfo_WikiGetPageVersionsResponse.Size(m) +} +func (m *WikiGetPageVersionsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetPageVersionsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetPageVersionsResponse proto.InternalMessageInfo + +func (m *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion { + if m != nil { + return m.Versions + } + return nil +} + +// This message is sent in a stream because the 'content' field may be large. +type WikiWritePageRequest struct { + // These following fields are only present in the first message. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiWritePageRequest) Reset() { *m = WikiWritePageRequest{} } +func (m *WikiWritePageRequest) String() string { return proto.CompactTextString(m) } +func (*WikiWritePageRequest) ProtoMessage() {} +func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{5} +} + +func (m *WikiWritePageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiWritePageRequest.Unmarshal(m, b) +} +func (m *WikiWritePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiWritePageRequest.Marshal(b, m, deterministic) +} +func (m *WikiWritePageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiWritePageRequest.Merge(m, src) +} +func (m *WikiWritePageRequest) XXX_Size() int { + return xxx_messageInfo_WikiWritePageRequest.Size(m) +} +func (m *WikiWritePageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiWritePageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiWritePageRequest proto.InternalMessageInfo + +func (m *WikiWritePageRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiWritePageRequest) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *WikiWritePageRequest) GetFormat() string { + if m != nil { + return m.Format + } + return "" +} + +func (m *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails { + if m != nil { + return m.CommitDetails + } + return nil +} + +func (m *WikiWritePageRequest) GetContent() []byte { + if m != nil { + return m.Content + } + return nil +} + +type WikiWritePageResponse struct { + DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiWritePageResponse) Reset() { *m = WikiWritePageResponse{} } +func (m *WikiWritePageResponse) String() string { return proto.CompactTextString(m) } +func (*WikiWritePageResponse) ProtoMessage() {} +func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{6} +} + +func (m *WikiWritePageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiWritePageResponse.Unmarshal(m, b) +} +func (m *WikiWritePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiWritePageResponse.Marshal(b, m, deterministic) +} +func (m *WikiWritePageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiWritePageResponse.Merge(m, src) +} +func (m *WikiWritePageResponse) XXX_Size() int { + return xxx_messageInfo_WikiWritePageResponse.Size(m) +} +func (m *WikiWritePageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiWritePageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiWritePageResponse proto.InternalMessageInfo + +func (m *WikiWritePageResponse) GetDuplicateError() []byte { + if m != nil { + return m.DuplicateError + } + return nil +} + +type WikiUpdatePageRequest struct { + // There fields are only present in the first message of the stream + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` + Title []byte `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` + Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiUpdatePageRequest) Reset() { *m = WikiUpdatePageRequest{} } +func (m *WikiUpdatePageRequest) String() string { return proto.CompactTextString(m) } +func (*WikiUpdatePageRequest) ProtoMessage() {} +func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{7} +} + +func (m *WikiUpdatePageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiUpdatePageRequest.Unmarshal(m, b) +} +func (m *WikiUpdatePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiUpdatePageRequest.Marshal(b, m, deterministic) +} +func (m *WikiUpdatePageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiUpdatePageRequest.Merge(m, src) +} +func (m *WikiUpdatePageRequest) XXX_Size() int { + return xxx_messageInfo_WikiUpdatePageRequest.Size(m) +} +func (m *WikiUpdatePageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiUpdatePageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiUpdatePageRequest proto.InternalMessageInfo + +func (m *WikiUpdatePageRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiUpdatePageRequest) GetPagePath() []byte { + if m != nil { + return m.PagePath + } + return nil +} + +func (m *WikiUpdatePageRequest) GetTitle() []byte { + if m != nil { + return m.Title + } + return nil +} + +func (m *WikiUpdatePageRequest) GetFormat() string { + if m != nil { + return m.Format + } + return "" +} + +func (m *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails { + if m != nil { + return m.CommitDetails + } + return nil +} + +func (m *WikiUpdatePageRequest) GetContent() []byte { + if m != nil { + return m.Content + } + return nil +} + +type WikiUpdatePageResponse struct { + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiUpdatePageResponse) Reset() { *m = WikiUpdatePageResponse{} } +func (m *WikiUpdatePageResponse) String() string { return proto.CompactTextString(m) } +func (*WikiUpdatePageResponse) ProtoMessage() {} +func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{8} +} + +func (m *WikiUpdatePageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiUpdatePageResponse.Unmarshal(m, b) +} +func (m *WikiUpdatePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiUpdatePageResponse.Marshal(b, m, deterministic) +} +func (m *WikiUpdatePageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiUpdatePageResponse.Merge(m, src) +} +func (m *WikiUpdatePageResponse) XXX_Size() int { + return xxx_messageInfo_WikiUpdatePageResponse.Size(m) +} +func (m *WikiUpdatePageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiUpdatePageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiUpdatePageResponse proto.InternalMessageInfo + +func (m *WikiUpdatePageResponse) GetError() []byte { + if m != nil { + return m.Error + } + return nil +} + +type WikiDeletePageRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` + CommitDetails *WikiCommitDetails `protobuf:"bytes,3,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiDeletePageRequest) Reset() { *m = WikiDeletePageRequest{} } +func (m *WikiDeletePageRequest) String() string { return proto.CompactTextString(m) } +func (*WikiDeletePageRequest) ProtoMessage() {} +func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{9} +} + +func (m *WikiDeletePageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiDeletePageRequest.Unmarshal(m, b) +} +func (m *WikiDeletePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiDeletePageRequest.Marshal(b, m, deterministic) +} +func (m *WikiDeletePageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiDeletePageRequest.Merge(m, src) +} +func (m *WikiDeletePageRequest) XXX_Size() int { + return xxx_messageInfo_WikiDeletePageRequest.Size(m) +} +func (m *WikiDeletePageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiDeletePageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiDeletePageRequest proto.InternalMessageInfo + +func (m *WikiDeletePageRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiDeletePageRequest) GetPagePath() []byte { + if m != nil { + return m.PagePath + } + return nil +} + +func (m *WikiDeletePageRequest) GetCommitDetails() *WikiCommitDetails { + if m != nil { + return m.CommitDetails + } + return nil +} + +type WikiDeletePageResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiDeletePageResponse) Reset() { *m = WikiDeletePageResponse{} } +func (m *WikiDeletePageResponse) String() string { return proto.CompactTextString(m) } +func (*WikiDeletePageResponse) ProtoMessage() {} +func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{10} +} + +func (m *WikiDeletePageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiDeletePageResponse.Unmarshal(m, b) +} +func (m *WikiDeletePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiDeletePageResponse.Marshal(b, m, deterministic) +} +func (m *WikiDeletePageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiDeletePageResponse.Merge(m, src) +} +func (m *WikiDeletePageResponse) XXX_Size() int { + return xxx_messageInfo_WikiDeletePageResponse.Size(m) +} +func (m *WikiDeletePageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiDeletePageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiDeletePageResponse proto.InternalMessageInfo + +type WikiFindPageRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiFindPageRequest) Reset() { *m = WikiFindPageRequest{} } +func (m *WikiFindPageRequest) String() string { return proto.CompactTextString(m) } +func (*WikiFindPageRequest) ProtoMessage() {} +func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{11} +} + +func (m *WikiFindPageRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiFindPageRequest.Unmarshal(m, b) +} +func (m *WikiFindPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiFindPageRequest.Marshal(b, m, deterministic) +} +func (m *WikiFindPageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiFindPageRequest.Merge(m, src) +} +func (m *WikiFindPageRequest) XXX_Size() int { + return xxx_messageInfo_WikiFindPageRequest.Size(m) +} +func (m *WikiFindPageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiFindPageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiFindPageRequest proto.InternalMessageInfo + +func (m *WikiFindPageRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiFindPageRequest) GetTitle() []byte { + if m != nil { + return m.Title + } + return nil +} + +func (m *WikiFindPageRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *WikiFindPageRequest) GetDirectory() []byte { + if m != nil { + return m.Directory + } + return nil +} + +// WikiFindPageResponse is a stream because we need multiple WikiPage +// messages to send the raw_data field. +type WikiFindPageResponse struct { + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiFindPageResponse) Reset() { *m = WikiFindPageResponse{} } +func (m *WikiFindPageResponse) String() string { return proto.CompactTextString(m) } +func (*WikiFindPageResponse) ProtoMessage() {} +func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{12} +} + +func (m *WikiFindPageResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiFindPageResponse.Unmarshal(m, b) +} +func (m *WikiFindPageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiFindPageResponse.Marshal(b, m, deterministic) +} +func (m *WikiFindPageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiFindPageResponse.Merge(m, src) +} +func (m *WikiFindPageResponse) XXX_Size() int { + return xxx_messageInfo_WikiFindPageResponse.Size(m) +} +func (m *WikiFindPageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiFindPageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiFindPageResponse proto.InternalMessageInfo + +func (m *WikiFindPageResponse) GetPage() *WikiPage { + if m != nil { + return m.Page + } + return nil +} + +type WikiFindFileRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // Optional: revision + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiFindFileRequest) Reset() { *m = WikiFindFileRequest{} } +func (m *WikiFindFileRequest) String() string { return proto.CompactTextString(m) } +func (*WikiFindFileRequest) ProtoMessage() {} +func (*WikiFindFileRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{13} +} + +func (m *WikiFindFileRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiFindFileRequest.Unmarshal(m, b) +} +func (m *WikiFindFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiFindFileRequest.Marshal(b, m, deterministic) +} +func (m *WikiFindFileRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiFindFileRequest.Merge(m, src) +} +func (m *WikiFindFileRequest) XXX_Size() int { + return xxx_messageInfo_WikiFindFileRequest.Size(m) +} +func (m *WikiFindFileRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiFindFileRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiFindFileRequest proto.InternalMessageInfo + +func (m *WikiFindFileRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiFindFileRequest) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *WikiFindFileRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +type WikiFindFileResponse struct { + // If 'name' is empty, the file was not found. + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + RawData []byte `protobuf:"bytes,3,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` + Path []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiFindFileResponse) Reset() { *m = WikiFindFileResponse{} } +func (m *WikiFindFileResponse) String() string { return proto.CompactTextString(m) } +func (*WikiFindFileResponse) ProtoMessage() {} +func (*WikiFindFileResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{14} +} + +func (m *WikiFindFileResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiFindFileResponse.Unmarshal(m, b) +} +func (m *WikiFindFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiFindFileResponse.Marshal(b, m, deterministic) +} +func (m *WikiFindFileResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiFindFileResponse.Merge(m, src) +} +func (m *WikiFindFileResponse) XXX_Size() int { + return xxx_messageInfo_WikiFindFileResponse.Size(m) +} +func (m *WikiFindFileResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiFindFileResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiFindFileResponse proto.InternalMessageInfo + +func (m *WikiFindFileResponse) GetName() []byte { + if m != nil { + return m.Name + } + return nil +} + +func (m *WikiFindFileResponse) GetMimeType() string { + if m != nil { + return m.MimeType + } + return "" +} + +func (m *WikiFindFileResponse) GetRawData() []byte { + if m != nil { + return m.RawData + } + return nil +} + +func (m *WikiFindFileResponse) GetPath() []byte { + if m != nil { + return m.Path + } + return nil +} + +type WikiGetAllPagesRequest struct { + 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"` + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetAllPagesRequest) Reset() { *m = WikiGetAllPagesRequest{} } +func (m *WikiGetAllPagesRequest) String() string { return proto.CompactTextString(m) } +func (*WikiGetAllPagesRequest) ProtoMessage() {} +func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{15} +} + +func (m *WikiGetAllPagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetAllPagesRequest.Unmarshal(m, b) +} +func (m *WikiGetAllPagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetAllPagesRequest.Marshal(b, m, deterministic) +} +func (m *WikiGetAllPagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetAllPagesRequest.Merge(m, src) +} +func (m *WikiGetAllPagesRequest) XXX_Size() int { + return xxx_messageInfo_WikiGetAllPagesRequest.Size(m) +} +func (m *WikiGetAllPagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetAllPagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetAllPagesRequest proto.InternalMessageInfo + +func (m *WikiGetAllPagesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiGetAllPagesRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *WikiGetAllPagesRequest) GetDirectionDesc() bool { + if m != nil { + return m.DirectionDesc + } + return false +} + +func (m *WikiGetAllPagesRequest) GetSort() WikiGetAllPagesRequest_SortBy { + if m != nil { + return m.Sort + } + return WikiGetAllPagesRequest_TITLE +} + +// The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams +type WikiGetAllPagesResponse struct { + 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"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetAllPagesResponse) Reset() { *m = WikiGetAllPagesResponse{} } +func (m *WikiGetAllPagesResponse) String() string { return proto.CompactTextString(m) } +func (*WikiGetAllPagesResponse) ProtoMessage() {} +func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{16} +} + +func (m *WikiGetAllPagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetAllPagesResponse.Unmarshal(m, b) +} +func (m *WikiGetAllPagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetAllPagesResponse.Marshal(b, m, deterministic) +} +func (m *WikiGetAllPagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetAllPagesResponse.Merge(m, src) +} +func (m *WikiGetAllPagesResponse) XXX_Size() int { + return xxx_messageInfo_WikiGetAllPagesResponse.Size(m) +} +func (m *WikiGetAllPagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetAllPagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetAllPagesResponse proto.InternalMessageInfo + +func (m *WikiGetAllPagesResponse) GetPage() *WikiPage { + if m != nil { + return m.Page + } + return nil +} + +func (m *WikiGetAllPagesResponse) GetEndOfPage() bool { + if m != nil { + return m.EndOfPage + } + return false +} + +type WikiGetFormattedDataRequest struct { + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetFormattedDataRequest) Reset() { *m = WikiGetFormattedDataRequest{} } +func (m *WikiGetFormattedDataRequest) String() string { return proto.CompactTextString(m) } +func (*WikiGetFormattedDataRequest) ProtoMessage() {} +func (*WikiGetFormattedDataRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{17} +} + +func (m *WikiGetFormattedDataRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetFormattedDataRequest.Unmarshal(m, b) +} +func (m *WikiGetFormattedDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetFormattedDataRequest.Marshal(b, m, deterministic) +} +func (m *WikiGetFormattedDataRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetFormattedDataRequest.Merge(m, src) +} +func (m *WikiGetFormattedDataRequest) XXX_Size() int { + return xxx_messageInfo_WikiGetFormattedDataRequest.Size(m) +} +func (m *WikiGetFormattedDataRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetFormattedDataRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetFormattedDataRequest proto.InternalMessageInfo + +func (m *WikiGetFormattedDataRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiGetFormattedDataRequest) GetTitle() []byte { + if m != nil { + return m.Title + } + return nil +} + +func (m *WikiGetFormattedDataRequest) GetRevision() []byte { + if m != nil { + return m.Revision + } + return nil +} + +func (m *WikiGetFormattedDataRequest) GetDirectory() []byte { + if m != nil { + return m.Directory + } + return nil +} + +type WikiGetFormattedDataResponse struct { + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiGetFormattedDataResponse) Reset() { *m = WikiGetFormattedDataResponse{} } +func (m *WikiGetFormattedDataResponse) String() string { return proto.CompactTextString(m) } +func (*WikiGetFormattedDataResponse) ProtoMessage() {} +func (*WikiGetFormattedDataResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{18} +} + +func (m *WikiGetFormattedDataResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiGetFormattedDataResponse.Unmarshal(m, b) +} +func (m *WikiGetFormattedDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiGetFormattedDataResponse.Marshal(b, m, deterministic) +} +func (m *WikiGetFormattedDataResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiGetFormattedDataResponse.Merge(m, src) +} +func (m *WikiGetFormattedDataResponse) XXX_Size() int { + return xxx_messageInfo_WikiGetFormattedDataResponse.Size(m) +} +func (m *WikiGetFormattedDataResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiGetFormattedDataResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiGetFormattedDataResponse proto.InternalMessageInfo + +func (m *WikiGetFormattedDataResponse) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +type WikiListPagesRequest struct { + 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"` + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"` + Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiListPagesRequest) Reset() { *m = WikiListPagesRequest{} } +func (m *WikiListPagesRequest) String() string { return proto.CompactTextString(m) } +func (*WikiListPagesRequest) ProtoMessage() {} +func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{19} +} + +func (m *WikiListPagesRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiListPagesRequest.Unmarshal(m, b) +} +func (m *WikiListPagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiListPagesRequest.Marshal(b, m, deterministic) +} +func (m *WikiListPagesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiListPagesRequest.Merge(m, src) +} +func (m *WikiListPagesRequest) XXX_Size() int { + return xxx_messageInfo_WikiListPagesRequest.Size(m) +} +func (m *WikiListPagesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WikiListPagesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiListPagesRequest proto.InternalMessageInfo + +func (m *WikiListPagesRequest) GetRepository() *Repository { + if m != nil { + return m.Repository + } + return nil +} + +func (m *WikiListPagesRequest) GetLimit() uint32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *WikiListPagesRequest) GetDirectionDesc() bool { + if m != nil { + return m.DirectionDesc + } + return false +} + +func (m *WikiListPagesRequest) GetSort() WikiListPagesRequest_SortBy { + if m != nil { + return m.Sort + } + return WikiListPagesRequest_TITLE +} + +func (m *WikiListPagesRequest) GetOffset() uint32 { + if m != nil { + return m.Offset + } + return 0 +} + +// The WikiListPagesResponse stream is a concatenation of WikiPage streams without content +type WikiListPagesResponse struct { + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *WikiListPagesResponse) Reset() { *m = WikiListPagesResponse{} } +func (m *WikiListPagesResponse) String() string { return proto.CompactTextString(m) } +func (*WikiListPagesResponse) ProtoMessage() {} +func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_5c56f90469cec0af, []int{20} +} + +func (m *WikiListPagesResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_WikiListPagesResponse.Unmarshal(m, b) +} +func (m *WikiListPagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_WikiListPagesResponse.Marshal(b, m, deterministic) +} +func (m *WikiListPagesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_WikiListPagesResponse.Merge(m, src) +} +func (m *WikiListPagesResponse) XXX_Size() int { + return xxx_messageInfo_WikiListPagesResponse.Size(m) +} +func (m *WikiListPagesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_WikiListPagesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_WikiListPagesResponse proto.InternalMessageInfo + +func (m *WikiListPagesResponse) GetPage() *WikiPage { + if m != nil { + return m.Page + } + return nil +} + +func init() { + proto.RegisterEnum("gitaly.WikiGetAllPagesRequest_SortBy", WikiGetAllPagesRequest_SortBy_name, WikiGetAllPagesRequest_SortBy_value) + proto.RegisterEnum("gitaly.WikiListPagesRequest_SortBy", WikiListPagesRequest_SortBy_name, WikiListPagesRequest_SortBy_value) + proto.RegisterType((*WikiCommitDetails)(nil), "gitaly.WikiCommitDetails") + proto.RegisterType((*WikiPageVersion)(nil), "gitaly.WikiPageVersion") + proto.RegisterType((*WikiPage)(nil), "gitaly.WikiPage") + proto.RegisterType((*WikiGetPageVersionsRequest)(nil), "gitaly.WikiGetPageVersionsRequest") + proto.RegisterType((*WikiGetPageVersionsResponse)(nil), "gitaly.WikiGetPageVersionsResponse") + proto.RegisterType((*WikiWritePageRequest)(nil), "gitaly.WikiWritePageRequest") + proto.RegisterType((*WikiWritePageResponse)(nil), "gitaly.WikiWritePageResponse") + proto.RegisterType((*WikiUpdatePageRequest)(nil), "gitaly.WikiUpdatePageRequest") + proto.RegisterType((*WikiUpdatePageResponse)(nil), "gitaly.WikiUpdatePageResponse") + proto.RegisterType((*WikiDeletePageRequest)(nil), "gitaly.WikiDeletePageRequest") + proto.RegisterType((*WikiDeletePageResponse)(nil), "gitaly.WikiDeletePageResponse") + proto.RegisterType((*WikiFindPageRequest)(nil), "gitaly.WikiFindPageRequest") + proto.RegisterType((*WikiFindPageResponse)(nil), "gitaly.WikiFindPageResponse") + proto.RegisterType((*WikiFindFileRequest)(nil), "gitaly.WikiFindFileRequest") + proto.RegisterType((*WikiFindFileResponse)(nil), "gitaly.WikiFindFileResponse") + proto.RegisterType((*WikiGetAllPagesRequest)(nil), "gitaly.WikiGetAllPagesRequest") + proto.RegisterType((*WikiGetAllPagesResponse)(nil), "gitaly.WikiGetAllPagesResponse") + proto.RegisterType((*WikiGetFormattedDataRequest)(nil), "gitaly.WikiGetFormattedDataRequest") + proto.RegisterType((*WikiGetFormattedDataResponse)(nil), "gitaly.WikiGetFormattedDataResponse") + proto.RegisterType((*WikiListPagesRequest)(nil), "gitaly.WikiListPagesRequest") + proto.RegisterType((*WikiListPagesResponse)(nil), "gitaly.WikiListPagesResponse") +} + +func init() { proto.RegisterFile("wiki.proto", fileDescriptor_5c56f90469cec0af) } + +var fileDescriptor_5c56f90469cec0af = []byte{ + // 1119 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4b, 0x6f, 0x1c, 0x45, + 0x10, 0x66, 0xec, 0x7d, 0xcc, 0x96, 0xed, 0x8d, 0xd3, 0x04, 0x7b, 0x33, 0x36, 0xc6, 0x1a, 0x27, + 0xc2, 0x1c, 0x58, 0xc7, 0x9b, 0x03, 0x42, 0x02, 0x29, 0x4e, 0x6c, 0x47, 0x91, 0x22, 0x88, 0x26, + 0x4b, 0x22, 0x22, 0xa4, 0x51, 0x7b, 0xa6, 0xbd, 0x6e, 0x79, 0x5e, 0xf4, 0xf4, 0xda, 0xda, 0x1f, + 0xc1, 0x19, 0x21, 0x71, 0xe1, 0xca, 0xcf, 0xe1, 0x5f, 0x20, 0x6e, 0x1c, 0x91, 0x90, 0x50, 0x3f, + 0x76, 0x5e, 0x3b, 0x5e, 0x30, 0x06, 0xc1, 0xad, 0xab, 0xba, 0xbb, 0xba, 0xea, 0x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0xc0, 0x84, 0x53, 0x1e, 0x4c, 0x63, 0x57, 0x02, 0xba, 0x0b, 0xe6, + 0x98, 0x05, 0x6e, 0x82, 0xf9, 0x99, 0x0c, 0xbd, 0xe3, 0xb4, 0xc7, 0x2c, 0x78, 0x81, 0xf9, 0x99, + 0x00, 0x56, 0xaa, 0x55, 0xd8, 0x72, 0x9d, 0x81, 0xdd, 0x2a, 0x80, 0xbd, 0x05, 0x70, 0x46, 0x53, + 0x1e, 0x33, 0xea, 0xe1, 0xa0, 0xd7, 0xde, 0x36, 0x76, 0x4d, 0xa7, 0xa0, 0x11, 0x4f, 0x30, 0x7c, + 0xe9, 0xfa, 0x98, 0xe3, 0x9e, 0xa9, 0x70, 0x67, 0xf8, 0xf2, 0x10, 0x73, 0x6c, 0x7f, 0x6f, 0x80, + 0x25, 0x02, 0x79, 0x4a, 0x78, 0x21, 0x96, 0xd4, 0x21, 0x5f, 0x8f, 0x49, 0xca, 0xd1, 0x00, 0x80, + 0x91, 0x24, 0x4e, 0x29, 0x8f, 0xd9, 0x44, 0x03, 0x80, 0xa6, 0x00, 0x38, 0xd9, 0x8e, 0x53, 0x38, + 0x25, 0x32, 0x96, 0xe0, 0x11, 0x51, 0x11, 0xa9, 0xf4, 0x9b, 0x42, 0x91, 0x87, 0xa4, 0xd3, 0xdf, + 0x74, 0xe4, 0x5a, 0xb8, 0x97, 0x10, 0xe6, 0x4a, 0xbd, 0x4a, 0x7e, 0x3b, 0x21, 0x4c, 0xb8, 0x63, + 0x3b, 0xb0, 0x51, 0xeb, 0x5d, 0x9a, 0xc4, 0x51, 0x4a, 0xd0, 0x43, 0x30, 0x35, 0xe8, 0x69, 0xcf, + 0xd8, 0x5e, 0x9c, 0x97, 0x9d, 0xec, 0xa0, 0xfd, 0x93, 0x01, 0x77, 0xc4, 0xee, 0x6b, 0x46, 0x39, + 0x11, 0x47, 0x6e, 0x12, 0xec, 0x34, 0x1d, 0x0b, 0x85, 0x74, 0xe4, 0xf9, 0x5f, 0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 0xc1, 0xae, 0x98, 0xe2, 0xb3, 0x76, 0x0b, 0xb4, 0x32, 0x6b, 0xb7, 0x38, 0xf8, 0xcb, 0x76, 0x5d, + 0xf5, 0xab, 0x52, 0x98, 0x5c, 0x68, 0x6b, 0xfe, 0x78, 0xb4, 0xde, 0xbb, 0x72, 0x7f, 0x4e, 0x95, + 0x64, 0x15, 0x5e, 0xae, 0x92, 0x6a, 0x6b, 0x95, 0xab, 0x64, 0xa6, 0x2d, 0xca, 0xa6, 0x23, 0x35, + 0x3b, 0xaa, 0x03, 0x07, 0x55, 0x4b, 0xb9, 0x6e, 0x62, 0x5a, 0xf7, 0xe6, 0x1f, 0xaa, 0x79, 0xef, + 0xf1, 0x83, 0x37, 0xe2, 0x4e, 0x80, 0x4f, 0xfa, 0x5e, 0x1c, 0xee, 0xa9, 0xe5, 0x87, 0x31, 0x1b, + 0xed, 0x29, 0x4b, 0x7b, 0xf2, 0x67, 0x74, 0x6f, 0x14, 0x6b, 0x39, 0x39, 0x39, 0x69, 0x49, 0xd5, + 0xc3, 0x3f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xb4, 0xe3, 0x08, 0xf8, 0xc3, 0x0e, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// WikiServiceClient is the client API for WikiService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type WikiServiceClient interface { + WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, error) + WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) + WikiUpdatePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiUpdatePageClient, error) + WikiDeletePage(ctx context.Context, in *WikiDeletePageRequest, opts ...grpc.CallOption) (*WikiDeletePageResponse, 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) + WikiFindFile(ctx context.Context, in *WikiFindFileRequest, opts ...grpc.CallOption) (WikiService_WikiFindFileClient, error) + WikiGetAllPages(ctx context.Context, in *WikiGetAllPagesRequest, opts ...grpc.CallOption) (WikiService_WikiGetAllPagesClient, error) + WikiListPages(ctx context.Context, in *WikiListPagesRequest, opts ...grpc.CallOption) (WikiService_WikiListPagesClient, error) + WikiGetFormattedData(ctx context.Context, in *WikiGetFormattedDataRequest, opts ...grpc.CallOption) (WikiService_WikiGetFormattedDataClient, error) +} + +type wikiServiceClient struct { + cc *grpc.ClientConn +} + +func NewWikiServiceClient(cc *grpc.ClientConn) WikiServiceClient { + return &wikiServiceClient{cc} +} + +func (c *wikiServiceClient) WikiGetPageVersions(ctx context.Context, in *WikiGetPageVersionsRequest, opts ...grpc.CallOption) (WikiService_WikiGetPageVersionsClient, error) { + stream, err := c.cc.NewStream(ctx, &_WikiService_serviceDesc.Streams[0], "/gitaly.WikiService/WikiGetPageVersions", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiGetPageVersionsClient{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_WikiGetPageVersionsClient interface { + Recv() (*WikiGetPageVersionsResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiGetPageVersionsClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiGetPageVersionsClient) Recv() (*WikiGetPageVersionsResponse, error) { + m := new(WikiGetPageVersionsResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +func (c *wikiServiceClient) WikiWritePage(ctx context.Context, opts ...grpc.CallOption) (WikiService_WikiWritePageClient, error) { + stream, err := c.cc.NewStream(ctx, &_WikiService_serviceDesc.Streams[1], "/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[2], "/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) WikiDeletePage(ctx context.Context, in *WikiDeletePageRequest, opts ...grpc.CallOption) (*WikiDeletePageResponse, error) { + out := new(WikiDeletePageResponse) + err := c.cc.Invoke(ctx, "/gitaly.WikiService/WikiDeletePage", in, out, opts...) + if err != nil { + return nil, err + } + return out, 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[3], "/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) WikiFindFile(ctx context.Context, in *WikiFindFileRequest, opts ...grpc.CallOption) (WikiService_WikiFindFileClient, error) { + stream, err := c.cc.NewStream(ctx, &_WikiService_serviceDesc.Streams[4], "/gitaly.WikiService/WikiFindFile", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiFindFileClient{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_WikiFindFileClient interface { + Recv() (*WikiFindFileResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiFindFileClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiFindFileClient) Recv() (*WikiFindFileResponse, error) { + m := new(WikiFindFileResponse) + 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[5], "/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[6], "/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 +} + +func (c *wikiServiceClient) WikiGetFormattedData(ctx context.Context, in *WikiGetFormattedDataRequest, opts ...grpc.CallOption) (WikiService_WikiGetFormattedDataClient, error) { + stream, err := c.cc.NewStream(ctx, &_WikiService_serviceDesc.Streams[7], "/gitaly.WikiService/WikiGetFormattedData", opts...) + if err != nil { + return nil, err + } + x := &wikiServiceWikiGetFormattedDataClient{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_WikiGetFormattedDataClient interface { + Recv() (*WikiGetFormattedDataResponse, error) + grpc.ClientStream +} + +type wikiServiceWikiGetFormattedDataClient struct { + grpc.ClientStream +} + +func (x *wikiServiceWikiGetFormattedDataClient) Recv() (*WikiGetFormattedDataResponse, error) { + m := new(WikiGetFormattedDataResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + +// WikiServiceServer is the server API for WikiService service. +type WikiServiceServer interface { + WikiGetPageVersions(*WikiGetPageVersionsRequest, WikiService_WikiGetPageVersionsServer) error + WikiWritePage(WikiService_WikiWritePageServer) error + WikiUpdatePage(WikiService_WikiUpdatePageServer) error + WikiDeletePage(context.Context, *WikiDeletePageRequest) (*WikiDeletePageResponse, error) + // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. + WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error + WikiFindFile(*WikiFindFileRequest, WikiService_WikiFindFileServer) error + WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error + WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error + WikiGetFormattedData(*WikiGetFormattedDataRequest, WikiService_WikiGetFormattedDataServer) error +} + +// UnimplementedWikiServiceServer can be embedded to have forward compatible implementations. +type UnimplementedWikiServiceServer struct { +} + +func (*UnimplementedWikiServiceServer) WikiGetPageVersions(req *WikiGetPageVersionsRequest, srv WikiService_WikiGetPageVersionsServer) error { + return status.Errorf(codes.Unimplemented, "method WikiGetPageVersions not implemented") +} +func (*UnimplementedWikiServiceServer) WikiWritePage(srv WikiService_WikiWritePageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiWritePage not implemented") +} +func (*UnimplementedWikiServiceServer) WikiUpdatePage(srv WikiService_WikiUpdatePageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiUpdatePage not implemented") +} +func (*UnimplementedWikiServiceServer) WikiDeletePage(ctx context.Context, req *WikiDeletePageRequest) (*WikiDeletePageResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method WikiDeletePage not implemented") +} +func (*UnimplementedWikiServiceServer) WikiFindPage(req *WikiFindPageRequest, srv WikiService_WikiFindPageServer) error { + return status.Errorf(codes.Unimplemented, "method WikiFindPage not implemented") +} +func (*UnimplementedWikiServiceServer) WikiFindFile(req *WikiFindFileRequest, srv WikiService_WikiFindFileServer) error { + return status.Errorf(codes.Unimplemented, "method WikiFindFile not implemented") +} +func (*UnimplementedWikiServiceServer) WikiGetAllPages(req *WikiGetAllPagesRequest, srv WikiService_WikiGetAllPagesServer) error { + return status.Errorf(codes.Unimplemented, "method WikiGetAllPages not implemented") +} +func (*UnimplementedWikiServiceServer) WikiListPages(req *WikiListPagesRequest, srv WikiService_WikiListPagesServer) error { + return status.Errorf(codes.Unimplemented, "method WikiListPages not implemented") +} +func (*UnimplementedWikiServiceServer) WikiGetFormattedData(req *WikiGetFormattedDataRequest, srv WikiService_WikiGetFormattedDataServer) error { + return status.Errorf(codes.Unimplemented, "method WikiGetFormattedData not implemented") +} + +func RegisterWikiServiceServer(s *grpc.Server, srv WikiServiceServer) { + s.RegisterService(&_WikiService_serviceDesc, srv) +} + +func _WikiService_WikiGetPageVersions_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiGetPageVersionsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiGetPageVersions(m, &wikiServiceWikiGetPageVersionsServer{stream}) +} + +type WikiService_WikiGetPageVersionsServer interface { + Send(*WikiGetPageVersionsResponse) error + grpc.ServerStream +} + +type wikiServiceWikiGetPageVersionsServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiGetPageVersionsServer) Send(m *WikiGetPageVersionsResponse) error { + return x.ServerStream.SendMsg(m) +} + +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_WikiDeletePage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(WikiDeletePageRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(WikiServiceServer).WikiDeletePage(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gitaly.WikiService/WikiDeletePage", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(WikiServiceServer).WikiDeletePage(ctx, req.(*WikiDeletePageRequest)) + } + return interceptor(ctx, in, info, handler) +} + +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_WikiFindFile_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiFindFileRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiFindFile(m, &wikiServiceWikiFindFileServer{stream}) +} + +type WikiService_WikiFindFileServer interface { + Send(*WikiFindFileResponse) error + grpc.ServerStream +} + +type wikiServiceWikiFindFileServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiFindFileServer) Send(m *WikiFindFileResponse) 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) +} + +func _WikiService_WikiGetFormattedData_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(WikiGetFormattedDataRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(WikiServiceServer).WikiGetFormattedData(m, &wikiServiceWikiGetFormattedDataServer{stream}) +} + +type WikiService_WikiGetFormattedDataServer interface { + Send(*WikiGetFormattedDataResponse) error + grpc.ServerStream +} + +type wikiServiceWikiGetFormattedDataServer struct { + grpc.ServerStream +} + +func (x *wikiServiceWikiGetFormattedDataServer) Send(m *WikiGetFormattedDataResponse) error { + return x.ServerStream.SendMsg(m) +} + +var _WikiService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "gitaly.WikiService", + HandlerType: (*WikiServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "WikiDeletePage", + Handler: _WikiService_WikiDeletePage_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "WikiGetPageVersions", + Handler: _WikiService_WikiGetPageVersions_Handler, + ServerStreams: true, + }, + { + 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: "WikiFindFile", + Handler: _WikiService_WikiFindFile_Handler, + ServerStreams: true, + }, + { + StreamName: "WikiGetAllPages", + Handler: _WikiService_WikiGetAllPages_Handler, + ServerStreams: true, + }, + { + StreamName: "WikiListPages", + Handler: _WikiService_WikiListPages_Handler, + ServerStreams: true, + }, + { + StreamName: "WikiGetFormattedData", + Handler: _WikiService_WikiGetFormattedData_Handler, + ServerStreams: true, + }, + }, + Metadata: "wiki.proto", +} diff --git a/proto/namespace.proto b/proto/namespace.proto index 1a8aa2294..4b5ba45d7 100644 --- a/proto/namespace.proto +++ b/proto/namespace.proto @@ -26,7 +26,10 @@ service NamespaceService { }; } rpc NamespaceExists(NamespaceExistsRequest) returns (NamespaceExistsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + scope_level: SERVER, + }; } } diff --git a/proto/ref.proto b/proto/ref.proto index a749d0965..7fccadcb9 100644 --- a/proto/ref.proto +++ b/proto/ref.proto @@ -10,34 +10,61 @@ import "google/protobuf/timestamp.proto"; service RefService { rpc FindDefaultBranchName(FindDefaultBranchNameRequest) returns (FindDefaultBranchNameResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindAllBranchNames(FindAllBranchNamesRequest) returns (stream FindAllBranchNamesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindAllTagNames(FindAllTagNamesRequest) returns (stream FindAllTagNamesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Find a Ref matching the given constraints. Response may be empty. rpc FindRefName(FindRefNameRequest) returns (FindRefNameResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Return a stream so we can divide the response in chunks of branches rpc FindLocalBranches(FindLocalBranchesRequest) returns (stream FindLocalBranchesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindAllBranches(FindAllBranchesRequest) returns (stream FindAllBranchesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindAllTags(FindAllTagsRequest) returns (stream FindAllTagsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FindAllRemoteBranches(FindAllRemoteBranchesRequest) returns (stream FindAllRemoteBranchesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RefExists(RefExistsRequest) returns (RefExistsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CreateBranch(CreateBranchRequest) returns (CreateBranchResponse) { option (op_type) = { @@ -52,7 +79,10 @@ service RefService { }; } rpc FindBranch(FindBranchRequest) returns (FindBranchResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc DeleteRefs(DeleteRefsRequest) returns (DeleteRefsResponse) { option (op_type) = { @@ -62,23 +92,38 @@ service RefService { } rpc ListBranchNamesContainingCommit(ListBranchNamesContainingCommitRequest) returns (stream ListBranchNamesContainingCommitResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListTagNamesContainingCommit(ListTagNamesContainingCommitRequest) returns (stream ListTagNamesContainingCommitResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetTagMessages(GetTagMessagesRequest) returns (stream GetTagMessagesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Returns commits that are only reachable from the ref passed rpc ListNewCommits(ListNewCommitsRequest) returns (stream ListNewCommitsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListNewBlobs(ListNewBlobsRequest) returns (stream ListNewBlobsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc PackRefs(PackRefsRequest) returns (PackRefsResponse) { option (op_type) = { diff --git a/proto/remote.proto b/proto/remote.proto index 9b76b149c..8241fd2d0 100644 --- a/proto/remote.proto +++ b/proto/remote.proto @@ -33,13 +33,22 @@ service RemoteService { }; } rpc FindRemoteRepository(FindRemoteRepositoryRequest) returns (FindRemoteRepositoryResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + scope_level: SERVER + }; } rpc FindRemoteRootRef(FindRemoteRootRefRequest) returns (FindRemoteRootRefResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc ListRemotes(ListRemotesRequest) returns (stream ListRemotesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } } diff --git a/proto/repository-service.proto b/proto/repository-service.proto index 017564338..11bc25293 100644 --- a/proto/repository-service.proto +++ b/proto/repository-service.proto @@ -8,7 +8,10 @@ import "shared.proto"; service RepositoryService { rpc RepositoryExists(RepositoryExistsRequest) returns (RepositoryExistsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RepackIncremental(RepackIncrementalRequest) returns (RepackIncrementalResponse) { option (op_type) = { @@ -59,7 +62,10 @@ service RepositoryService { }; } rpc HasLocalBranches(HasLocalBranchesRequest) returns (HasLocalBranchesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc FetchSourceBranch(FetchSourceBranchRequest) returns (FetchSourceBranchResponse) { option (op_type) = { @@ -80,7 +86,10 @@ service RepositoryService { }; } rpc FindMergeBase(FindMergeBaseRequest) returns (FindMergeBaseResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CreateFork(CreateForkRequest) returns (CreateForkResponse) { option (op_type) = { @@ -89,10 +98,16 @@ service RepositoryService { }; } rpc IsRebaseInProgress(IsRebaseInProgressRequest) returns (IsRebaseInProgressResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc IsSquashInProgress(IsSquashInProgressRequest) returns (IsSquashInProgressResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CreateRepositoryFromURL(CreateRepositoryFromURLRequest) returns (CreateRepositoryFromURLResponse) { @@ -132,13 +147,22 @@ service RepositoryService { }; } rpc FindLicense(FindLicenseRequest) returns (FindLicenseResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc GetInfoAttributes(GetInfoAttributesRequest) returns (stream GetInfoAttributesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CalculateChecksum(CalculateChecksumRequest) returns (CalculateChecksumResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc Cleanup(CleanupRequest) returns (CleanupResponse) { option (op_type) = { @@ -147,7 +171,10 @@ service RepositoryService { }; } rpc GetSnapshot(GetSnapshotRequest) returns (stream GetSnapshotResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CreateRepositoryFromSnapshot(CreateRepositoryFromSnapshotRequest) returns (CreateRepositoryFromSnapshotResponse) { option (op_type) = { @@ -156,13 +183,22 @@ service RepositoryService { }; } rpc GetRawChanges(GetRawChangesRequest) returns (stream GetRawChangesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc SearchFilesByContent(SearchFilesByContentRequest) returns (stream SearchFilesByContentResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc SearchFilesByName(SearchFilesByNameRequest) returns (stream SearchFilesByNameResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc RestoreCustomHooks(stream RestoreCustomHooksRequest) returns (RestoreCustomHooksResponse) { option (op_type) = { @@ -171,7 +207,10 @@ service RepositoryService { }; } rpc BackupCustomHooks(BackupCustomHooksRequest) returns (stream BackupCustomHooksResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc PreFetch(PreFetchRequest) returns (PreFetchResponse) { option (op_type) = { @@ -186,7 +225,10 @@ service RepositoryService { }; } rpc GetObjectDirectorySize(GetObjectDirectorySizeRequest) returns (GetObjectDirectorySizeResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc CloneFromPool(CloneFromPoolRequest) returns (CloneFromPoolResponse) { option (op_type) = { diff --git a/proto/server.proto b/proto/server.proto index f56dded92..6774eeae4 100644 --- a/proto/server.proto +++ b/proto/server.proto @@ -8,7 +8,10 @@ import "shared.proto"; service ServerService { rpc ServerInfo(ServerInfoRequest) returns (ServerInfoResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + scope_level: SERVER + }; } } diff --git a/proto/smarthttp.proto b/proto/smarthttp.proto index 92311b169..7b1537c97 100644 --- a/proto/smarthttp.proto +++ b/proto/smarthttp.proto @@ -11,7 +11,10 @@ service SmartHTTPService { // 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. rpc InfoRefsUploadPack(InfoRefsRequest) returns (stream InfoRefsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // The response body for GET /info/refs?service=git-receive-pack @@ -26,7 +29,10 @@ service SmartHTTPService { // Request and response body for POST /upload-pack rpc PostUploadPack(stream PostUploadPackRequest) returns (stream PostUploadPackResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // Request and response body for POST /receive-pack diff --git a/proto/ssh.proto b/proto/ssh.proto index ee8d15fdb..e2185bffa 100644 --- a/proto/ssh.proto +++ b/proto/ssh.proto @@ -9,7 +9,10 @@ import "shared.proto"; service SSHService { // To forward 'git upload-pack' to Gitaly for SSH sessions rpc SSHUploadPack(stream SSHUploadPackRequest) returns (stream SSHUploadPackResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } // To forward 'git receive-pack' to Gitaly for SSH sessions diff --git a/proto/wiki.proto b/proto/wiki.proto index 00f0a9c8f..6f9b61d2c 100644 --- a/proto/wiki.proto +++ b/proto/wiki.proto @@ -8,7 +8,10 @@ option go_package = "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"; service WikiService { rpc WikiGetPageVersions(WikiGetPageVersionsRequest) returns (stream WikiGetPageVersionsResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc WikiWritePage(stream WikiWritePageRequest) returns (WikiWritePageResponse) { option (op_type) = { @@ -30,19 +33,36 @@ service WikiService { } // WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. rpc WikiFindPage(WikiFindPageRequest) returns (stream WikiFindPageResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc WikiFindFile(WikiFindFileRequest) returns (stream WikiFindFileResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } rpc WikiGetAllPages(WikiGetAllPagesRequest) returns (stream WikiGetAllPagesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; + } rpc WikiListPages(WikiListPagesRequest) returns (stream WikiListPagesResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; + } rpc WikiGetFormattedData(WikiGetFormattedDataRequest) returns (stream WikiGetFormattedDataResponse) { - option (op_type).op = ACCESSOR; + option (op_type) = { + op: ACCESSOR + target_repository_field: "1" + }; } } diff --git a/ruby/.rubocop.yml b/ruby/.rubocop.yml index 4408434bf..bad6b8ab1 100644 --- a/ruby/.rubocop.yml +++ b/ruby/.rubocop.yml @@ -5,6 +5,7 @@ AllCops: Exclude: - 'tmp/**/*' - 'vendor/**/*' + - 'proto/**/*' # TODO stop ignoring gitlab-shell/ https://gitlab.com/gitlab-org/gitaly/issues/1592 - 'gitlab-shell/**/*' diff --git a/ruby/proto/README.md b/ruby/proto/README.md new file mode 100644 index 000000000..b25873e92 --- /dev/null +++ b/ruby/proto/README.md @@ -0,0 +1,5 @@ +# Gitaly-proto ruby stubs + +We are moving gitaly-proto inside the Gitaly repository. These stubs are not yet in use. Please use the `gitaly-proto` gem from Rubygems instead of this. + +https://gitlab.com/gitlab-org/gitaly/issues/1761
\ No newline at end of file diff --git a/ruby/proto/gitaly.rb b/ruby/proto/gitaly.rb new file mode 100644 index 000000000..c35bc6e06 --- /dev/null +++ b/ruby/proto/gitaly.rb @@ -0,0 +1,37 @@ +# This file is generated by generate-proto-ruby. Do not edit. +$:.unshift(File.expand_path('../gitaly', __FILE__)) + +require 'gitaly/version' + +require 'gitaly/blob_services_pb' + +require 'gitaly/cleanup_services_pb' + +require 'gitaly/commit_services_pb' + +require 'gitaly/conflicts_services_pb' + +require 'gitaly/diff_services_pb' + +require 'gitaly/namespace_services_pb' + +require 'gitaly/objectpool_services_pb' + +require 'gitaly/operations_services_pb' + +require 'gitaly/ref_services_pb' + +require 'gitaly/remote_services_pb' + +require 'gitaly/repository-service_services_pb' + +require 'gitaly/server_services_pb' + +require 'gitaly/smarthttp_services_pb' + +require 'gitaly/ssh_services_pb' + +require 'gitaly/storage_services_pb' + +require 'gitaly/wiki_services_pb' + diff --git a/ruby/proto/gitaly/blob_pb.rb b/ruby/proto/gitaly/blob_pb.rb new file mode 100644 index 000000000..2e29cedab --- /dev/null +++ b/ruby/proto/gitaly/blob_pb.rb @@ -0,0 +1,86 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: blob.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.GetBlobRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :oid, :string, 2 + optional :limit, :int64, 3 + end + add_message "gitaly.GetBlobResponse" do + optional :size, :int64, 1 + optional :data, :bytes, 2 + optional :oid, :string, 3 + end + add_message "gitaly.GetBlobsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :revision_paths, :message, 2, "gitaly.GetBlobsRequest.RevisionPath" + optional :limit, :int64, 3 + end + add_message "gitaly.GetBlobsRequest.RevisionPath" do + optional :revision, :string, 1 + optional :path, :bytes, 2 + end + add_message "gitaly.GetBlobsResponse" do + optional :size, :int64, 1 + optional :data, :bytes, 2 + optional :oid, :string, 3 + optional :is_submodule, :bool, 4 + optional :mode, :int32, 5 + optional :revision, :string, 6 + optional :path, :bytes, 7 + end + add_message "gitaly.LFSPointer" do + optional :size, :int64, 1 + optional :data, :bytes, 2 + optional :oid, :string, 3 + end + add_message "gitaly.NewBlobObject" do + optional :size, :int64, 1 + optional :oid, :string, 2 + optional :path, :bytes, 3 + end + add_message "gitaly.GetLFSPointersRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :blob_ids, :string, 2 + end + add_message "gitaly.GetLFSPointersResponse" do + repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer" + end + add_message "gitaly.GetNewLFSPointersRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :limit, :int32, 3 + optional :not_in_all, :bool, 4 + repeated :not_in_refs, :bytes, 5 + end + add_message "gitaly.GetNewLFSPointersResponse" do + repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer" + end + add_message "gitaly.GetAllLFSPointersRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.GetAllLFSPointersResponse" do + repeated :lfs_pointers, :message, 1, "gitaly.LFSPointer" + end +end + +module Gitaly + GetBlobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobRequest").msgclass + GetBlobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobResponse").msgclass + GetBlobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsRequest").msgclass + GetBlobsRequest::RevisionPath = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsRequest.RevisionPath").msgclass + GetBlobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetBlobsResponse").msgclass + LFSPointer = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LFSPointer").msgclass + NewBlobObject = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NewBlobObject").msgclass + GetLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersRequest").msgclass + GetLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetLFSPointersResponse").msgclass + GetNewLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetNewLFSPointersRequest").msgclass + GetNewLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetNewLFSPointersResponse").msgclass + GetAllLFSPointersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersRequest").msgclass + GetAllLFSPointersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetAllLFSPointersResponse").msgclass +end diff --git a/ruby/proto/gitaly/blob_services_pb.rb b/ruby/proto/gitaly/blob_services_pb.rb new file mode 100644 index 000000000..a498f14e8 --- /dev/null +++ b/ruby/proto/gitaly/blob_services_pb.rb @@ -0,0 +1,29 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: blob.proto for package 'gitaly' + +require 'grpc' +require 'blob_pb' + +module Gitaly + module BlobService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.BlobService' + + # 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 + rpc :GetBlob, GetBlobRequest, stream(GetBlobResponse) + rpc :GetBlobs, GetBlobsRequest, stream(GetBlobsResponse) + rpc :GetLFSPointers, GetLFSPointersRequest, stream(GetLFSPointersResponse) + rpc :GetNewLFSPointers, GetNewLFSPointersRequest, stream(GetNewLFSPointersResponse) + rpc :GetAllLFSPointers, GetAllLFSPointersRequest, stream(GetAllLFSPointersResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/cleanup_pb.rb b/ruby/proto/gitaly/cleanup_pb.rb new file mode 100644 index 000000000..9a694b028 --- /dev/null +++ b/ruby/proto/gitaly/cleanup_pb.rb @@ -0,0 +1,41 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: cleanup.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.ApplyBfgObjectMapRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :object_map, :bytes, 2 + end + add_message "gitaly.ApplyBfgObjectMapResponse" do + end + add_message "gitaly.ApplyBfgObjectMapStreamRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :object_map, :bytes, 2 + end + add_message "gitaly.ApplyBfgObjectMapStreamResponse" do + repeated :entries, :message, 1, "gitaly.ApplyBfgObjectMapStreamResponse.Entry" + end + add_message "gitaly.ApplyBfgObjectMapStreamResponse.Entry" do + optional :type, :enum, 1, "gitaly.ObjectType" + optional :old_oid, :string, 2 + optional :new_oid, :string, 3 + end + add_message "gitaly.CloseSessionRequest" do + optional :session_id, :string, 1 + end + add_message "gitaly.CloseSessionResponse" do + end +end + +module Gitaly + ApplyBfgObjectMapRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapRequest").msgclass + ApplyBfgObjectMapResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapResponse").msgclass + ApplyBfgObjectMapStreamRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamRequest").msgclass + ApplyBfgObjectMapStreamResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse").msgclass + ApplyBfgObjectMapStreamResponse::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyBfgObjectMapStreamResponse.Entry").msgclass + CloseSessionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloseSessionRequest").msgclass + CloseSessionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloseSessionResponse").msgclass +end diff --git a/ruby/proto/gitaly/cleanup_services_pb.rb b/ruby/proto/gitaly/cleanup_services_pb.rb new file mode 100644 index 000000000..e2383d3ea --- /dev/null +++ b/ruby/proto/gitaly/cleanup_services_pb.rb @@ -0,0 +1,25 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: cleanup.proto for package 'gitaly' + +require 'grpc' +require 'cleanup_pb' + +module Gitaly + module CleanupService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.CleanupService' + + # Deprecated in favour of ApplyBfgObjectMapStream + rpc :ApplyBfgObjectMap, stream(ApplyBfgObjectMapRequest), ApplyBfgObjectMapResponse + rpc :ApplyBfgObjectMapStream, stream(ApplyBfgObjectMapStreamRequest), stream(ApplyBfgObjectMapStreamResponse) + rpc :CloseSession, CloseSessionRequest, CloseSessionResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/commit_pb.rb b/ruby/proto/gitaly/commit_pb.rb new file mode 100644 index 000000000..36935c0ef --- /dev/null +++ b/ruby/proto/gitaly/commit_pb.rb @@ -0,0 +1,295 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: commit.proto + +require 'google/protobuf' + +require 'shared_pb' +require 'google/protobuf/timestamp_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.CommitStatsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.CommitStatsResponse" do + optional :oid, :string, 1 + optional :additions, :int32, 2 + optional :deletions, :int32, 3 + end + add_message "gitaly.CommitIsAncestorRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :ancestor_id, :string, 2 + optional :child_id, :string, 3 + end + add_message "gitaly.CommitIsAncestorResponse" do + optional :value, :bool, 1 + end + add_message "gitaly.TreeEntryRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :path, :bytes, 3 + optional :limit, :int64, 4 + end + add_message "gitaly.TreeEntryResponse" do + optional :type, :enum, 1, "gitaly.TreeEntryResponse.ObjectType" + optional :oid, :string, 2 + optional :size, :int64, 3 + optional :mode, :int32, 4 + optional :data, :bytes, 5 + end + add_enum "gitaly.TreeEntryResponse.ObjectType" do + value :COMMIT, 0 + value :BLOB, 1 + value :TREE, 2 + value :TAG, 3 + end + add_message "gitaly.CommitsBetweenRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :from, :bytes, 2 + optional :to, :bytes, 3 + end + add_message "gitaly.CommitsBetweenResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.CountCommitsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :after, :message, 3, "google.protobuf.Timestamp" + optional :before, :message, 4, "google.protobuf.Timestamp" + optional :path, :bytes, 5 + optional :max_count, :int32, 6 + optional :all, :bool, 7 + end + add_message "gitaly.CountCommitsResponse" do + optional :count, :int32, 1 + end + add_message "gitaly.CountDivergingCommitsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :from, :bytes, 2 + optional :to, :bytes, 3 + optional :max_count, :int32, 7 + end + add_message "gitaly.CountDivergingCommitsResponse" do + optional :left_count, :int32, 1 + optional :right_count, :int32, 2 + end + add_message "gitaly.TreeEntry" do + optional :oid, :string, 1 + optional :root_oid, :string, 2 + optional :path, :bytes, 3 + optional :type, :enum, 4, "gitaly.TreeEntry.EntryType" + optional :mode, :int32, 5 + optional :commit_oid, :string, 6 + optional :flat_path, :bytes, 7 + end + add_enum "gitaly.TreeEntry.EntryType" do + value :BLOB, 0 + value :TREE, 1 + value :COMMIT, 3 + end + add_message "gitaly.GetTreeEntriesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :path, :bytes, 3 + optional :recursive, :bool, 4 + end + add_message "gitaly.GetTreeEntriesResponse" do + repeated :entries, :message, 1, "gitaly.TreeEntry" + end + add_message "gitaly.ListFilesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.ListFilesResponse" do + repeated :paths, :bytes, 1 + end + add_message "gitaly.FindCommitRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.FindCommitResponse" do + optional :commit, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.ListCommitsByOidRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :oid, :string, 2 + end + add_message "gitaly.ListCommitsByOidResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.ListCommitsByRefNameRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :ref_names, :bytes, 2 + end + add_message "gitaly.ListCommitsByRefNameResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.FindAllCommitsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :max_count, :int32, 3 + optional :skip, :int32, 4 + optional :order, :enum, 5, "gitaly.FindAllCommitsRequest.Order" + end + add_enum "gitaly.FindAllCommitsRequest.Order" do + value :NONE, 0 + value :TOPO, 1 + value :DATE, 2 + end + add_message "gitaly.FindAllCommitsResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.FindCommitsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :limit, :int32, 3 + optional :offset, :int32, 4 + repeated :paths, :bytes, 5 + optional :follow, :bool, 6 + optional :skip_merges, :bool, 7 + optional :disable_walk, :bool, 8 + optional :after, :message, 9, "google.protobuf.Timestamp" + optional :before, :message, 10, "google.protobuf.Timestamp" + optional :all, :bool, 11 + end + add_message "gitaly.FindCommitsResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.CommitLanguagesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.CommitLanguagesResponse" do + repeated :languages, :message, 1, "gitaly.CommitLanguagesResponse.Language" + end + add_message "gitaly.CommitLanguagesResponse.Language" do + optional :name, :string, 1 + optional :share, :float, 2 + optional :color, :string, 3 + end + add_message "gitaly.RawBlameRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :path, :bytes, 3 + end + add_message "gitaly.RawBlameResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.LastCommitForPathRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :path, :bytes, 3 + end + add_message "gitaly.LastCommitForPathResponse" do + optional :commit, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.ListLastCommitsForTreeRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :string, 2 + optional :path, :bytes, 3 + optional :limit, :int32, 4 + optional :offset, :int32, 5 + end + add_message "gitaly.ListLastCommitsForTreeResponse" do + repeated :commits, :message, 1, "gitaly.ListLastCommitsForTreeResponse.CommitForTree" + end + add_message "gitaly.ListLastCommitsForTreeResponse.CommitForTree" do + optional :commit, :message, 2, "gitaly.GitCommit" + optional :path_bytes, :bytes, 4 + end + add_message "gitaly.CommitsByMessageRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + optional :offset, :int32, 3 + optional :limit, :int32, 4 + optional :path, :bytes, 5 + optional :query, :string, 6 + end + add_message "gitaly.CommitsByMessageResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.FilterShasWithSignaturesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :shas, :bytes, 2 + end + add_message "gitaly.FilterShasWithSignaturesResponse" do + repeated :shas, :bytes, 1 + end + add_message "gitaly.ExtractCommitSignatureRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + end + add_message "gitaly.ExtractCommitSignatureResponse" do + optional :signature, :bytes, 1 + optional :signed_text, :bytes, 2 + end + add_message "gitaly.GetCommitSignaturesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :commit_ids, :string, 2 + end + add_message "gitaly.GetCommitSignaturesResponse" do + optional :commit_id, :string, 1 + optional :signature, :bytes, 2 + optional :signed_text, :bytes, 3 + end + add_message "gitaly.GetCommitMessagesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :commit_ids, :string, 2 + end + add_message "gitaly.GetCommitMessagesResponse" do + optional :commit_id, :string, 1 + optional :message, :bytes, 2 + end +end + +module Gitaly + CommitStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitStatsRequest").msgclass + CommitStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitStatsResponse").msgclass + CommitIsAncestorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorRequest").msgclass + CommitIsAncestorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorResponse").msgclass + TreeEntryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryRequest").msgclass + TreeEntryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse").msgclass + TreeEntryResponse::ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse.ObjectType").enummodule + CommitsBetweenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenRequest").msgclass + CommitsBetweenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass + CountCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass + CountCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsResponse").msgclass + CountDivergingCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountDivergingCommitsRequest").msgclass + CountDivergingCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountDivergingCommitsResponse").msgclass + TreeEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass + TreeEntry::EntryType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule + GetTreeEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass + GetTreeEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass + ListFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesRequest").msgclass + ListFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListFilesResponse").msgclass + FindCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitRequest").msgclass + FindCommitResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitResponse").msgclass + ListCommitsByOidRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidRequest").msgclass + ListCommitsByOidResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByOidResponse").msgclass + ListCommitsByRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameRequest").msgclass + ListCommitsByRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListCommitsByRefNameResponse").msgclass + FindAllCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest").msgclass + FindAllCommitsRequest::Order = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsRequest.Order").enummodule + FindAllCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllCommitsResponse").msgclass + FindCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitsRequest").msgclass + FindCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindCommitsResponse").msgclass + CommitLanguagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesRequest").msgclass + CommitLanguagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesResponse").msgclass + CommitLanguagesResponse::Language = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitLanguagesResponse.Language").msgclass + RawBlameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawBlameRequest").msgclass + RawBlameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawBlameResponse").msgclass + LastCommitForPathRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathRequest").msgclass + LastCommitForPathResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LastCommitForPathResponse").msgclass + ListLastCommitsForTreeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeRequest").msgclass + ListLastCommitsForTreeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeResponse").msgclass + ListLastCommitsForTreeResponse::CommitForTree = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListLastCommitsForTreeResponse.CommitForTree").msgclass + CommitsByMessageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageRequest").msgclass + CommitsByMessageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsByMessageResponse").msgclass + FilterShasWithSignaturesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FilterShasWithSignaturesRequest").msgclass + FilterShasWithSignaturesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FilterShasWithSignaturesResponse").msgclass + ExtractCommitSignatureRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExtractCommitSignatureRequest").msgclass + ExtractCommitSignatureResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExtractCommitSignatureResponse").msgclass + GetCommitSignaturesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitSignaturesRequest").msgclass + GetCommitSignaturesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitSignaturesResponse").msgclass + GetCommitMessagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesRequest").msgclass + GetCommitMessagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetCommitMessagesResponse").msgclass +end diff --git a/ruby/proto/gitaly/commit_services_pb.rb b/ruby/proto/gitaly/commit_services_pb.rb new file mode 100644 index 000000000..a2ece6609 --- /dev/null +++ b/ruby/proto/gitaly/commit_services_pb.rb @@ -0,0 +1,47 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: commit.proto for package 'gitaly' + +require 'grpc' +require 'commit_pb' + +module Gitaly + module CommitService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.CommitService' + + rpc :CommitIsAncestor, CommitIsAncestorRequest, CommitIsAncestorResponse + rpc :TreeEntry, TreeEntryRequest, stream(TreeEntryResponse) + rpc :CommitsBetween, CommitsBetweenRequest, stream(CommitsBetweenResponse) + rpc :CountCommits, CountCommitsRequest, CountCommitsResponse + rpc :CountDivergingCommits, CountDivergingCommitsRequest, CountDivergingCommitsResponse + rpc :GetTreeEntries, GetTreeEntriesRequest, stream(GetTreeEntriesResponse) + rpc :ListFiles, ListFilesRequest, stream(ListFilesResponse) + rpc :FindCommit, FindCommitRequest, FindCommitResponse + rpc :CommitStats, CommitStatsRequest, CommitStatsResponse + # Use a stream to paginate the result set + rpc :FindAllCommits, FindAllCommitsRequest, stream(FindAllCommitsResponse) + rpc :FindCommits, FindCommitsRequest, stream(FindCommitsResponse) + rpc :CommitLanguages, CommitLanguagesRequest, CommitLanguagesResponse + rpc :RawBlame, RawBlameRequest, stream(RawBlameResponse) + rpc :LastCommitForPath, LastCommitForPathRequest, LastCommitForPathResponse + rpc :ListLastCommitsForTree, ListLastCommitsForTreeRequest, stream(ListLastCommitsForTreeResponse) + rpc :CommitsByMessage, CommitsByMessageRequest, stream(CommitsByMessageResponse) + rpc :ListCommitsByOid, ListCommitsByOidRequest, stream(ListCommitsByOidResponse) + rpc :ListCommitsByRefName, ListCommitsByRefNameRequest, stream(ListCommitsByRefNameResponse) + rpc :FilterShasWithSignatures, stream(FilterShasWithSignaturesRequest), stream(FilterShasWithSignaturesResponse) + # ExtractCommitSignature returns a stream because the signed text may be + # arbitrarily large and signature verification is impossible without the + # full text. + rpc :ExtractCommitSignature, ExtractCommitSignatureRequest, stream(ExtractCommitSignatureResponse) + rpc :GetCommitSignatures, GetCommitSignaturesRequest, stream(GetCommitSignaturesResponse) + rpc :GetCommitMessages, GetCommitMessagesRequest, stream(GetCommitMessagesResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/conflicts_pb.rb b/ruby/proto/gitaly/conflicts_pb.rb new file mode 100644 index 000000000..4d94a9ecc --- /dev/null +++ b/ruby/proto/gitaly/conflicts_pb.rb @@ -0,0 +1,58 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: conflicts.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.ListConflictFilesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :our_commit_oid, :string, 2 + optional :their_commit_oid, :string, 3 + end + add_message "gitaly.ConflictFileHeader" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_oid, :string, 2 + optional :their_path, :bytes, 3 + optional :our_path, :bytes, 4 + optional :our_mode, :int32, 5 + end + add_message "gitaly.ConflictFile" do + oneof :conflict_file_payload do + optional :header, :message, 1, "gitaly.ConflictFileHeader" + optional :content, :bytes, 2 + end + end + add_message "gitaly.ListConflictFilesResponse" do + repeated :files, :message, 1, "gitaly.ConflictFile" + end + add_message "gitaly.ResolveConflictsRequestHeader" do + optional :repository, :message, 1, "gitaly.Repository" + optional :our_commit_oid, :string, 2 + optional :target_repository, :message, 3, "gitaly.Repository" + optional :their_commit_oid, :string, 4 + optional :source_branch, :bytes, 5 + optional :target_branch, :bytes, 6 + optional :commit_message, :bytes, 7 + optional :user, :message, 8, "gitaly.User" + end + add_message "gitaly.ResolveConflictsRequest" do + oneof :resolve_conflicts_request_payload do + optional :header, :message, 1, "gitaly.ResolveConflictsRequestHeader" + optional :files_json, :bytes, 2 + end + end + add_message "gitaly.ResolveConflictsResponse" do + optional :resolution_error, :string, 1 + end +end + +module Gitaly + ListConflictFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesRequest").msgclass + ConflictFileHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFileHeader").msgclass + ConflictFile = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ConflictFile").msgclass + ListConflictFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListConflictFilesResponse").msgclass + ResolveConflictsRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequestHeader").msgclass + ResolveConflictsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsRequest").msgclass + ResolveConflictsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveConflictsResponse").msgclass +end diff --git a/ruby/proto/gitaly/conflicts_services_pb.rb b/ruby/proto/gitaly/conflicts_services_pb.rb new file mode 100644 index 000000000..6411d9a3c --- /dev/null +++ b/ruby/proto/gitaly/conflicts_services_pb.rb @@ -0,0 +1,23 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: conflicts.proto for package 'gitaly' + +require 'grpc' +require 'conflicts_pb' + +module Gitaly + module ConflictsService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.ConflictsService' + + rpc :ListConflictFiles, ListConflictFilesRequest, stream(ListConflictFilesResponse) + rpc :ResolveConflicts, stream(ResolveConflictsRequest), ResolveConflictsResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/diff_pb.rb b/ruby/proto/gitaly/diff_pb.rb new file mode 100644 index 000000000..da3b22071 --- /dev/null +++ b/ruby/proto/gitaly/diff_pb.rb @@ -0,0 +1,108 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: diff.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.CommitDiffRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :left_commit_id, :string, 2 + optional :right_commit_id, :string, 3 + optional :ignore_whitespace_change, :bool, 4 + repeated :paths, :bytes, 5 + optional :collapse_diffs, :bool, 6 + optional :enforce_limits, :bool, 7 + optional :max_files, :int32, 8 + optional :max_lines, :int32, 9 + optional :max_bytes, :int32, 10 + optional :max_patch_bytes, :int32, 14 + optional :safe_max_files, :int32, 11 + optional :safe_max_lines, :int32, 12 + optional :safe_max_bytes, :int32, 13 + end + add_message "gitaly.CommitDiffResponse" do + optional :from_path, :bytes, 1 + optional :to_path, :bytes, 2 + optional :from_id, :string, 3 + optional :to_id, :string, 4 + optional :old_mode, :int32, 5 + optional :new_mode, :int32, 6 + optional :binary, :bool, 7 + optional :raw_patch_data, :bytes, 9 + optional :end_of_patch, :bool, 10 + optional :overflow_marker, :bool, 11 + optional :collapsed, :bool, 12 + optional :too_large, :bool, 13 + end + add_message "gitaly.CommitDeltaRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :left_commit_id, :string, 2 + optional :right_commit_id, :string, 3 + repeated :paths, :bytes, 4 + end + add_message "gitaly.CommitDelta" do + optional :from_path, :bytes, 1 + optional :to_path, :bytes, 2 + optional :from_id, :string, 3 + optional :to_id, :string, 4 + optional :old_mode, :int32, 5 + optional :new_mode, :int32, 6 + end + add_message "gitaly.CommitDeltaResponse" do + repeated :deltas, :message, 1, "gitaly.CommitDelta" + end + add_message "gitaly.CommitPatchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.CommitPatchResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.RawDiffRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :left_commit_id, :string, 2 + optional :right_commit_id, :string, 3 + end + add_message "gitaly.RawDiffResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.RawPatchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :left_commit_id, :string, 2 + optional :right_commit_id, :string, 3 + end + add_message "gitaly.RawPatchResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.DiffStatsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :left_commit_id, :string, 2 + optional :right_commit_id, :string, 3 + end + add_message "gitaly.DiffStats" do + optional :path, :bytes, 1 + optional :additions, :int32, 2 + optional :deletions, :int32, 3 + end + add_message "gitaly.DiffStatsResponse" do + repeated :stats, :message, 1, "gitaly.DiffStats" + end +end + +module Gitaly + CommitDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffRequest").msgclass + CommitDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDiffResponse").msgclass + CommitDeltaRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaRequest").msgclass + CommitDelta = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDelta").msgclass + CommitDeltaResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitDeltaResponse").msgclass + CommitPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchRequest").msgclass + CommitPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitPatchResponse").msgclass + RawDiffRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffRequest").msgclass + RawDiffResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawDiffResponse").msgclass + RawPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchRequest").msgclass + RawPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RawPatchResponse").msgclass + DiffStatsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsRequest").msgclass + DiffStats = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStats").msgclass + DiffStatsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DiffStatsResponse").msgclass +end diff --git a/ruby/proto/gitaly/diff_services_pb.rb b/ruby/proto/gitaly/diff_services_pb.rb new file mode 100644 index 000000000..bdbc79265 --- /dev/null +++ b/ruby/proto/gitaly/diff_services_pb.rb @@ -0,0 +1,29 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: diff.proto for package 'gitaly' + +require 'grpc' +require 'diff_pb' + +module Gitaly + module DiffService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.DiffService' + + # Returns stream of CommitDiffResponse with patches chunked over messages + rpc :CommitDiff, CommitDiffRequest, stream(CommitDiffResponse) + # Return a stream so we can divide the response in chunks of deltas + rpc :CommitDelta, CommitDeltaRequest, stream(CommitDeltaResponse) + rpc :CommitPatch, CommitPatchRequest, stream(CommitPatchResponse) + rpc :RawDiff, RawDiffRequest, stream(RawDiffResponse) + rpc :RawPatch, RawPatchRequest, stream(RawPatchResponse) + rpc :DiffStats, DiffStatsRequest, stream(DiffStatsResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/namespace_pb.rb b/ruby/proto/gitaly/namespace_pb.rb new file mode 100644 index 000000000..9d8cde055 --- /dev/null +++ b/ruby/proto/gitaly/namespace_pb.rb @@ -0,0 +1,45 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: namespace.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.AddNamespaceRequest" do + optional :storage_name, :string, 1 + optional :name, :string, 2 + end + add_message "gitaly.RemoveNamespaceRequest" do + optional :storage_name, :string, 1 + optional :name, :string, 2 + end + add_message "gitaly.RenameNamespaceRequest" do + optional :storage_name, :string, 1 + optional :from, :string, 2 + optional :to, :string, 3 + end + add_message "gitaly.NamespaceExistsRequest" do + optional :storage_name, :string, 1 + optional :name, :string, 2 + end + add_message "gitaly.NamespaceExistsResponse" do + optional :exists, :bool, 1 + end + add_message "gitaly.AddNamespaceResponse" do + end + add_message "gitaly.RemoveNamespaceResponse" do + end + add_message "gitaly.RenameNamespaceResponse" do + end +end + +module Gitaly + AddNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceRequest").msgclass + RemoveNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceRequest").msgclass + RenameNamespaceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceRequest").msgclass + NamespaceExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsRequest").msgclass + NamespaceExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NamespaceExistsResponse").msgclass + AddNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddNamespaceResponse").msgclass + RemoveNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveNamespaceResponse").msgclass + RenameNamespaceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RenameNamespaceResponse").msgclass +end diff --git a/ruby/proto/gitaly/namespace_services_pb.rb b/ruby/proto/gitaly/namespace_services_pb.rb new file mode 100644 index 000000000..a90319591 --- /dev/null +++ b/ruby/proto/gitaly/namespace_services_pb.rb @@ -0,0 +1,25 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: namespace.proto for package 'gitaly' + +require 'grpc' +require 'namespace_pb' + +module Gitaly + module NamespaceService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.NamespaceService' + + rpc :AddNamespace, AddNamespaceRequest, AddNamespaceResponse + rpc :RemoveNamespace, RemoveNamespaceRequest, RemoveNamespaceResponse + rpc :RenameNamespace, RenameNamespaceRequest, RenameNamespaceResponse + rpc :NamespaceExists, NamespaceExistsRequest, NamespaceExistsResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/objectpool_pb.rb b/ruby/proto/gitaly/objectpool_pb.rb new file mode 100644 index 000000000..95234f2aa --- /dev/null +++ b/ruby/proto/gitaly/objectpool_pb.rb @@ -0,0 +1,65 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: objectpool.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.CreateObjectPoolRequest" do + optional :object_pool, :message, 1, "gitaly.ObjectPool" + optional :origin, :message, 2, "gitaly.Repository" + end + add_message "gitaly.CreateObjectPoolResponse" do + end + add_message "gitaly.DeleteObjectPoolRequest" do + optional :object_pool, :message, 1, "gitaly.ObjectPool" + end + add_message "gitaly.DeleteObjectPoolResponse" do + end + add_message "gitaly.LinkRepositoryToObjectPoolRequest" do + optional :object_pool, :message, 1, "gitaly.ObjectPool" + optional :repository, :message, 2, "gitaly.Repository" + end + add_message "gitaly.LinkRepositoryToObjectPoolResponse" do + end + add_message "gitaly.UnlinkRepositoryFromObjectPoolRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :object_pool, :message, 2, "gitaly.ObjectPool" + end + add_message "gitaly.UnlinkRepositoryFromObjectPoolResponse" do + end + add_message "gitaly.ReduplicateRepositoryRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.ReduplicateRepositoryResponse" do + end + add_message "gitaly.DisconnectGitAlternatesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.DisconnectGitAlternatesResponse" do + end + add_message "gitaly.FetchIntoObjectPoolRequest" do + optional :origin, :message, 1, "gitaly.Repository" + optional :object_pool, :message, 2, "gitaly.ObjectPool" + optional :repack, :bool, 3 + end + add_message "gitaly.FetchIntoObjectPoolResponse" do + end +end + +module Gitaly + CreateObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolRequest").msgclass + CreateObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateObjectPoolResponse").msgclass + DeleteObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolRequest").msgclass + DeleteObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteObjectPoolResponse").msgclass + LinkRepositoryToObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolRequest").msgclass + LinkRepositoryToObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LinkRepositoryToObjectPoolResponse").msgclass + UnlinkRepositoryFromObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolRequest").msgclass + UnlinkRepositoryFromObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UnlinkRepositoryFromObjectPoolResponse").msgclass + ReduplicateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryRequest").msgclass + ReduplicateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReduplicateRepositoryResponse").msgclass + DisconnectGitAlternatesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesRequest").msgclass + DisconnectGitAlternatesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DisconnectGitAlternatesResponse").msgclass + FetchIntoObjectPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolRequest").msgclass + FetchIntoObjectPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchIntoObjectPoolResponse").msgclass +end diff --git a/ruby/proto/gitaly/objectpool_services_pb.rb b/ruby/proto/gitaly/objectpool_services_pb.rb new file mode 100644 index 000000000..356a3cbf7 --- /dev/null +++ b/ruby/proto/gitaly/objectpool_services_pb.rb @@ -0,0 +1,29 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: objectpool.proto for package 'gitaly' + +require 'grpc' +require 'objectpool_pb' + +module Gitaly + module ObjectPoolService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.ObjectPoolService' + + rpc :CreateObjectPool, CreateObjectPoolRequest, CreateObjectPoolResponse + rpc :DeleteObjectPool, DeleteObjectPoolRequest, DeleteObjectPoolResponse + # Repositories are assumed to be stored on the same disk + rpc :LinkRepositoryToObjectPool, LinkRepositoryToObjectPoolRequest, LinkRepositoryToObjectPoolResponse + rpc :UnlinkRepositoryFromObjectPool, UnlinkRepositoryFromObjectPoolRequest, UnlinkRepositoryFromObjectPoolResponse + rpc :ReduplicateRepository, ReduplicateRepositoryRequest, ReduplicateRepositoryResponse + rpc :DisconnectGitAlternates, DisconnectGitAlternatesRequest, DisconnectGitAlternatesResponse + rpc :FetchIntoObjectPool, FetchIntoObjectPoolRequest, FetchIntoObjectPoolResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/operations_pb.rb b/ruby/proto/gitaly/operations_pb.rb new file mode 100644 index 000000000..2c265f8ee --- /dev/null +++ b/ruby/proto/gitaly/operations_pb.rb @@ -0,0 +1,292 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: operations.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.UserCreateBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :branch_name, :bytes, 2 + optional :user, :message, 3, "gitaly.User" + optional :start_point, :bytes, 4 + end + add_message "gitaly.UserCreateBranchResponse" do + optional :branch, :message, 1, "gitaly.Branch" + optional :pre_receive_error, :string, 2 + end + add_message "gitaly.UserUpdateBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :branch_name, :bytes, 2 + optional :user, :message, 3, "gitaly.User" + optional :newrev, :bytes, 4 + optional :oldrev, :bytes, 5 + end + add_message "gitaly.UserUpdateBranchResponse" do + optional :pre_receive_error, :string, 1 + end + add_message "gitaly.UserDeleteBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :branch_name, :bytes, 2 + optional :user, :message, 3, "gitaly.User" + end + add_message "gitaly.UserDeleteBranchResponse" do + optional :pre_receive_error, :string, 1 + end + add_message "gitaly.UserDeleteTagRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :tag_name, :bytes, 2 + optional :user, :message, 3, "gitaly.User" + end + add_message "gitaly.UserDeleteTagResponse" do + optional :pre_receive_error, :string, 1 + end + add_message "gitaly.UserCreateTagRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :tag_name, :bytes, 2 + optional :user, :message, 3, "gitaly.User" + optional :target_revision, :bytes, 4 + optional :message, :bytes, 5 + end + add_message "gitaly.UserCreateTagResponse" do + optional :tag, :message, 1, "gitaly.Tag" + optional :exists, :bool, 2 + optional :pre_receive_error, :string, 3 + end + add_message "gitaly.UserMergeBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :commit_id, :string, 3 + optional :branch, :bytes, 4 + optional :message, :bytes, 5 + optional :apply, :bool, 6 + end + add_message "gitaly.UserMergeBranchResponse" do + optional :commit_id, :string, 1 + optional :branch_update, :message, 3, "gitaly.OperationBranchUpdate" + optional :pre_receive_error, :string, 4 + end + add_message "gitaly.UserMergeToRefRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :source_sha, :string, 3 + optional :branch, :bytes, 4 + optional :target_ref, :bytes, 5 + optional :message, :bytes, 6 + optional :first_parent_ref, :bytes, 7 + end + add_message "gitaly.UserMergeToRefResponse" do + optional :commit_id, :string, 1 + optional :pre_receive_error, :string, 2 + end + add_message "gitaly.OperationBranchUpdate" do + optional :commit_id, :string, 1 + optional :repo_created, :bool, 2 + optional :branch_created, :bool, 3 + end + add_message "gitaly.UserFFBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :commit_id, :string, 3 + optional :branch, :bytes, 4 + end + add_message "gitaly.UserFFBranchResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + optional :pre_receive_error, :string, 2 + end + add_message "gitaly.UserCherryPickRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :commit, :message, 3, "gitaly.GitCommit" + optional :branch_name, :bytes, 4 + optional :message, :bytes, 5 + optional :start_branch_name, :bytes, 6 + optional :start_repository, :message, 7, "gitaly.Repository" + end + add_message "gitaly.UserCherryPickResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + optional :create_tree_error, :string, 2 + optional :commit_error, :string, 3 + optional :pre_receive_error, :string, 4 + end + add_message "gitaly.UserRevertRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :commit, :message, 3, "gitaly.GitCommit" + optional :branch_name, :bytes, 4 + optional :message, :bytes, 5 + optional :start_branch_name, :bytes, 6 + optional :start_repository, :message, 7, "gitaly.Repository" + end + add_message "gitaly.UserRevertResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + optional :create_tree_error, :string, 2 + optional :commit_error, :string, 3 + optional :pre_receive_error, :string, 4 + end + add_message "gitaly.UserCommitFilesActionHeader" do + optional :action, :enum, 1, "gitaly.UserCommitFilesActionHeader.ActionType" + optional :file_path, :bytes, 2 + optional :previous_path, :bytes, 3 + optional :base64_content, :bool, 4 + optional :execute_filemode, :bool, 5 + optional :infer_content, :bool, 6 + end + add_enum "gitaly.UserCommitFilesActionHeader.ActionType" do + value :CREATE, 0 + value :CREATE_DIR, 1 + value :UPDATE, 2 + value :MOVE, 3 + value :DELETE, 4 + value :CHMOD, 5 + end + add_message "gitaly.UserCommitFilesAction" do + oneof :user_commit_files_action_payload do + optional :header, :message, 1, "gitaly.UserCommitFilesActionHeader" + optional :content, :bytes, 2 + end + end + add_message "gitaly.UserCommitFilesRequestHeader" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :branch_name, :bytes, 3 + optional :commit_message, :bytes, 4 + optional :commit_author_name, :bytes, 5 + optional :commit_author_email, :bytes, 6 + optional :start_branch_name, :bytes, 7 + optional :start_repository, :message, 8, "gitaly.Repository" + optional :force, :bool, 9 + optional :start_sha, :string, 10 + end + add_message "gitaly.UserCommitFilesRequest" do + oneof :user_commit_files_request_payload do + optional :header, :message, 1, "gitaly.UserCommitFilesRequestHeader" + optional :action, :message, 2, "gitaly.UserCommitFilesAction" + end + end + add_message "gitaly.UserCommitFilesResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + optional :index_error, :string, 2 + optional :pre_receive_error, :string, 3 + end + add_message "gitaly.UserRebaseRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :rebase_id, :string, 3 + optional :branch, :bytes, 4 + optional :branch_sha, :string, 5 + optional :remote_repository, :message, 6, "gitaly.Repository" + optional :remote_branch, :bytes, 7 + end + add_message "gitaly.UserRebaseResponse" do + optional :rebase_sha, :string, 1 + optional :pre_receive_error, :string, 2 + optional :git_error, :string, 3 + end + add_message "gitaly.UserRebaseConfirmableRequest" do + oneof :user_rebase_confirmable_request_payload do + optional :header, :message, 1, "gitaly.UserRebaseConfirmableRequest.Header" + optional :apply, :bool, 2 + end + end + add_message "gitaly.UserRebaseConfirmableRequest.Header" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :rebase_id, :string, 3 + optional :branch, :bytes, 4 + optional :branch_sha, :string, 5 + optional :remote_repository, :message, 6, "gitaly.Repository" + optional :remote_branch, :bytes, 7 + end + add_message "gitaly.UserRebaseConfirmableResponse" do + optional :pre_receive_error, :string, 3 + optional :git_error, :string, 4 + oneof :user_rebase_confirmable_response_payload do + optional :rebase_sha, :string, 1 + optional :rebase_applied, :bool, 2 + end + end + add_message "gitaly.UserSquashRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :squash_id, :string, 3 + optional :branch, :bytes, 4 + optional :start_sha, :string, 5 + optional :end_sha, :string, 6 + optional :author, :message, 7, "gitaly.User" + optional :commit_message, :bytes, 8 + end + add_message "gitaly.UserSquashResponse" do + optional :squash_sha, :string, 1 + optional :git_error, :string, 3 + end + add_message "gitaly.UserApplyPatchRequest" do + oneof :user_apply_patch_request_payload do + optional :header, :message, 1, "gitaly.UserApplyPatchRequest.Header" + optional :patches, :bytes, 2 + end + end + add_message "gitaly.UserApplyPatchRequest.Header" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :target_branch, :bytes, 3 + end + add_message "gitaly.UserApplyPatchResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + end + add_message "gitaly.UserUpdateSubmoduleRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :user, :message, 2, "gitaly.User" + optional :commit_sha, :string, 3 + optional :branch, :bytes, 4 + optional :submodule, :bytes, 5 + optional :commit_message, :bytes, 6 + end + add_message "gitaly.UserUpdateSubmoduleResponse" do + optional :branch_update, :message, 1, "gitaly.OperationBranchUpdate" + optional :pre_receive_error, :string, 2 + optional :commit_error, :string, 4 + end +end + +module Gitaly + UserCreateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchRequest").msgclass + UserCreateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateBranchResponse").msgclass + UserUpdateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchRequest").msgclass + UserUpdateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateBranchResponse").msgclass + UserDeleteBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchRequest").msgclass + UserDeleteBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteBranchResponse").msgclass + UserDeleteTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagRequest").msgclass + UserDeleteTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserDeleteTagResponse").msgclass + UserCreateTagRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagRequest").msgclass + UserCreateTagResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCreateTagResponse").msgclass + UserMergeBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchRequest").msgclass + UserMergeBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeBranchResponse").msgclass + UserMergeToRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefRequest").msgclass + UserMergeToRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserMergeToRefResponse").msgclass + OperationBranchUpdate = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationBranchUpdate").msgclass + UserFFBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchRequest").msgclass + UserFFBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserFFBranchResponse").msgclass + UserCherryPickRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickRequest").msgclass + UserCherryPickResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCherryPickResponse").msgclass + UserRevertRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertRequest").msgclass + UserRevertResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRevertResponse").msgclass + UserCommitFilesActionHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader").msgclass + UserCommitFilesActionHeader::ActionType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesActionHeader.ActionType").enummodule + UserCommitFilesAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesAction").msgclass + UserCommitFilesRequestHeader = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequestHeader").msgclass + UserCommitFilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesRequest").msgclass + UserCommitFilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserCommitFilesResponse").msgclass + UserRebaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseRequest").msgclass + UserRebaseResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseResponse").msgclass + UserRebaseConfirmableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest").msgclass + UserRebaseConfirmableRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableRequest.Header").msgclass + UserRebaseConfirmableResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserRebaseConfirmableResponse").msgclass + UserSquashRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashRequest").msgclass + UserSquashResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserSquashResponse").msgclass + UserApplyPatchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest").msgclass + UserApplyPatchRequest::Header = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchRequest.Header").msgclass + UserApplyPatchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserApplyPatchResponse").msgclass + UserUpdateSubmoduleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleRequest").msgclass + UserUpdateSubmoduleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UserUpdateSubmoduleResponse").msgclass +end diff --git a/ruby/proto/gitaly/operations_services_pb.rb b/ruby/proto/gitaly/operations_services_pb.rb new file mode 100644 index 000000000..57a586b1f --- /dev/null +++ b/ruby/proto/gitaly/operations_services_pb.rb @@ -0,0 +1,37 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: operations.proto for package 'gitaly' + +require 'grpc' +require 'operations_pb' + +module Gitaly + module OperationService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.OperationService' + + rpc :UserCreateBranch, UserCreateBranchRequest, UserCreateBranchResponse + rpc :UserUpdateBranch, UserUpdateBranchRequest, UserUpdateBranchResponse + rpc :UserDeleteBranch, UserDeleteBranchRequest, UserDeleteBranchResponse + rpc :UserCreateTag, UserCreateTagRequest, UserCreateTagResponse + rpc :UserDeleteTag, UserDeleteTagRequest, UserDeleteTagResponse + rpc :UserMergeToRef, UserMergeToRefRequest, UserMergeToRefResponse + rpc :UserMergeBranch, stream(UserMergeBranchRequest), stream(UserMergeBranchResponse) + rpc :UserFFBranch, UserFFBranchRequest, UserFFBranchResponse + rpc :UserCherryPick, UserCherryPickRequest, UserCherryPickResponse + rpc :UserCommitFiles, stream(UserCommitFilesRequest), UserCommitFilesResponse + rpc :UserRebase, UserRebaseRequest, UserRebaseResponse + rpc :UserRebaseConfirmable, stream(UserRebaseConfirmableRequest), stream(UserRebaseConfirmableResponse) + rpc :UserRevert, UserRevertRequest, UserRevertResponse + rpc :UserSquash, UserSquashRequest, UserSquashResponse + rpc :UserApplyPatch, stream(UserApplyPatchRequest), UserApplyPatchResponse + rpc :UserUpdateSubmodule, UserUpdateSubmoduleRequest, UserUpdateSubmoduleResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/ref_pb.rb b/ruby/proto/gitaly/ref_pb.rb new file mode 100644 index 000000000..760d969e1 --- /dev/null +++ b/ruby/proto/gitaly/ref_pb.rb @@ -0,0 +1,219 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ref.proto + +require 'google/protobuf' + +require 'blob_pb' +require 'shared_pb' +require 'google/protobuf/timestamp_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.ListNewBlobsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + optional :limit, :uint32, 3 + end + add_message "gitaly.ListNewBlobsResponse" do + repeated :new_blob_objects, :message, 1, "gitaly.NewBlobObject" + end + add_message "gitaly.FindDefaultBranchNameRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FindDefaultBranchNameResponse" do + optional :name, :bytes, 1 + end + add_message "gitaly.FindAllBranchNamesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FindAllBranchNamesResponse" do + repeated :names, :bytes, 1 + end + add_message "gitaly.FindAllTagNamesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FindAllTagNamesResponse" do + repeated :names, :bytes, 1 + end + add_message "gitaly.FindRefNameRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + optional :prefix, :bytes, 3 + end + add_message "gitaly.FindRefNameResponse" do + optional :name, :bytes, 1 + end + add_message "gitaly.FindLocalBranchesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :sort_by, :enum, 2, "gitaly.FindLocalBranchesRequest.SortBy" + end + add_enum "gitaly.FindLocalBranchesRequest.SortBy" do + value :NAME, 0 + value :UPDATED_ASC, 1 + value :UPDATED_DESC, 2 + end + add_message "gitaly.FindLocalBranchesResponse" do + repeated :branches, :message, 1, "gitaly.FindLocalBranchResponse" + end + add_message "gitaly.FindLocalBranchResponse" do + optional :name, :bytes, 1 + optional :commit_id, :string, 2 + optional :commit_subject, :bytes, 3 + optional :commit_author, :message, 4, "gitaly.FindLocalBranchCommitAuthor" + optional :commit_committer, :message, 5, "gitaly.FindLocalBranchCommitAuthor" + end + add_message "gitaly.FindLocalBranchCommitAuthor" do + optional :name, :bytes, 1 + optional :email, :bytes, 2 + optional :date, :message, 3, "google.protobuf.Timestamp" + end + add_message "gitaly.FindAllBranchesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :merged_only, :bool, 2 + repeated :merged_branches, :bytes, 3 + end + add_message "gitaly.FindAllBranchesResponse" do + repeated :branches, :message, 1, "gitaly.FindAllBranchesResponse.Branch" + end + add_message "gitaly.FindAllBranchesResponse.Branch" do + optional :name, :bytes, 1 + optional :target, :message, 2, "gitaly.GitCommit" + end + add_message "gitaly.FindAllTagsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FindAllTagsResponse" do + repeated :tags, :message, 1, "gitaly.Tag" + end + add_message "gitaly.RefExistsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :ref, :bytes, 2 + end + add_message "gitaly.RefExistsResponse" do + optional :value, :bool, 1 + end + add_message "gitaly.CreateBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :bytes, 2 + optional :start_point, :bytes, 3 + end + add_message "gitaly.CreateBranchResponse" do + optional :status, :enum, 1, "gitaly.CreateBranchResponse.Status" + optional :branch, :message, 2, "gitaly.Branch" + end + add_enum "gitaly.CreateBranchResponse.Status" do + value :OK, 0 + value :ERR_EXISTS, 1 + value :ERR_INVALID, 2 + value :ERR_INVALID_START_POINT, 3 + end + add_message "gitaly.DeleteBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :bytes, 2 + end + add_message "gitaly.DeleteBranchResponse" do + end + add_message "gitaly.FindBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :bytes, 2 + end + add_message "gitaly.FindBranchResponse" do + optional :branch, :message, 1, "gitaly.Branch" + end + add_message "gitaly.DeleteRefsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :except_with_prefix, :bytes, 2 + repeated :refs, :bytes, 3 + end + add_message "gitaly.DeleteRefsResponse" do + optional :git_error, :string, 1 + end + add_message "gitaly.ListBranchNamesContainingCommitRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + optional :limit, :uint32, 3 + end + add_message "gitaly.ListBranchNamesContainingCommitResponse" do + repeated :branch_names, :bytes, 2 + end + add_message "gitaly.ListTagNamesContainingCommitRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + optional :limit, :uint32, 3 + end + add_message "gitaly.ListTagNamesContainingCommitResponse" do + repeated :tag_names, :bytes, 2 + end + add_message "gitaly.GetTagMessagesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :tag_ids, :string, 3 + end + add_message "gitaly.GetTagMessagesResponse" do + optional :message, :bytes, 2 + optional :tag_id, :string, 3 + end + add_message "gitaly.ListNewCommitsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + end + add_message "gitaly.ListNewCommitsResponse" do + repeated :commits, :message, 1, "gitaly.GitCommit" + end + add_message "gitaly.FindAllRemoteBranchesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :remote_name, :string, 2 + end + add_message "gitaly.FindAllRemoteBranchesResponse" do + repeated :branches, :message, 1, "gitaly.Branch" + end + add_message "gitaly.PackRefsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :all_refs, :bool, 2 + end + add_message "gitaly.PackRefsResponse" do + end +end + +module Gitaly + ListNewBlobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsRequest").msgclass + ListNewBlobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewBlobsResponse").msgclass + FindDefaultBranchNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameRequest").msgclass + FindDefaultBranchNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindDefaultBranchNameResponse").msgclass + FindAllBranchNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesRequest").msgclass + FindAllBranchNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchNamesResponse").msgclass + FindAllTagNamesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesRequest").msgclass + FindAllTagNamesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagNamesResponse").msgclass + FindRefNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameRequest").msgclass + FindRefNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRefNameResponse").msgclass + FindLocalBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest").msgclass + FindLocalBranchesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesRequest.SortBy").enummodule + FindLocalBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchesResponse").msgclass + FindLocalBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchResponse").msgclass + FindLocalBranchCommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLocalBranchCommitAuthor").msgclass + FindAllBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesRequest").msgclass + FindAllBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse").msgclass + FindAllBranchesResponse::Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllBranchesResponse.Branch").msgclass + FindAllTagsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest").msgclass + FindAllTagsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsResponse").msgclass + RefExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsRequest").msgclass + RefExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RefExistsResponse").msgclass + CreateBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBranchRequest").msgclass + CreateBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBranchResponse").msgclass + CreateBranchResponse::Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBranchResponse.Status").enummodule + DeleteBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteBranchRequest").msgclass + DeleteBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteBranchResponse").msgclass + FindBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindBranchRequest").msgclass + FindBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindBranchResponse").msgclass + DeleteRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsRequest").msgclass + DeleteRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteRefsResponse").msgclass + ListBranchNamesContainingCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitRequest").msgclass + ListBranchNamesContainingCommitResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListBranchNamesContainingCommitResponse").msgclass + ListTagNamesContainingCommitRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitRequest").msgclass + ListTagNamesContainingCommitResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListTagNamesContainingCommitResponse").msgclass + GetTagMessagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesRequest").msgclass + GetTagMessagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagMessagesResponse").msgclass + ListNewCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsRequest").msgclass + ListNewCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListNewCommitsResponse").msgclass + FindAllRemoteBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesRequest").msgclass + FindAllRemoteBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllRemoteBranchesResponse").msgclass + PackRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsRequest").msgclass + PackRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PackRefsResponse").msgclass +end diff --git a/ruby/proto/gitaly/ref_services_pb.rb b/ruby/proto/gitaly/ref_services_pb.rb new file mode 100644 index 000000000..04ff21f8d --- /dev/null +++ b/ruby/proto/gitaly/ref_services_pb.rb @@ -0,0 +1,43 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: ref.proto for package 'gitaly' + +require 'grpc' +require 'ref_pb' + +module Gitaly + module RefService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.RefService' + + rpc :FindDefaultBranchName, FindDefaultBranchNameRequest, FindDefaultBranchNameResponse + rpc :FindAllBranchNames, FindAllBranchNamesRequest, stream(FindAllBranchNamesResponse) + rpc :FindAllTagNames, FindAllTagNamesRequest, stream(FindAllTagNamesResponse) + # Find a Ref matching the given constraints. Response may be empty. + rpc :FindRefName, FindRefNameRequest, FindRefNameResponse + # Return a stream so we can divide the response in chunks of branches + rpc :FindLocalBranches, FindLocalBranchesRequest, stream(FindLocalBranchesResponse) + rpc :FindAllBranches, FindAllBranchesRequest, stream(FindAllBranchesResponse) + rpc :FindAllTags, FindAllTagsRequest, stream(FindAllTagsResponse) + rpc :FindAllRemoteBranches, FindAllRemoteBranchesRequest, stream(FindAllRemoteBranchesResponse) + rpc :RefExists, RefExistsRequest, RefExistsResponse + rpc :CreateBranch, CreateBranchRequest, CreateBranchResponse + rpc :DeleteBranch, DeleteBranchRequest, DeleteBranchResponse + rpc :FindBranch, FindBranchRequest, FindBranchResponse + rpc :DeleteRefs, DeleteRefsRequest, DeleteRefsResponse + rpc :ListBranchNamesContainingCommit, ListBranchNamesContainingCommitRequest, stream(ListBranchNamesContainingCommitResponse) + rpc :ListTagNamesContainingCommit, ListTagNamesContainingCommitRequest, stream(ListTagNamesContainingCommitResponse) + rpc :GetTagMessages, GetTagMessagesRequest, stream(GetTagMessagesResponse) + # Returns commits that are only reachable from the ref passed + rpc :ListNewCommits, ListNewCommitsRequest, stream(ListNewCommitsResponse) + rpc :ListNewBlobs, ListNewBlobsRequest, stream(ListNewBlobsResponse) + rpc :PackRefs, PackRefsRequest, PackRefsResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/remote_pb.rb b/ruby/proto/gitaly/remote_pb.rb new file mode 100644 index 000000000..48c51650e --- /dev/null +++ b/ruby/proto/gitaly/remote_pb.rb @@ -0,0 +1,81 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: remote.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.AddRemoteRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :string, 2 + optional :url, :string, 3 + repeated :mirror_refmaps, :string, 5 + end + add_message "gitaly.AddRemoteResponse" do + end + add_message "gitaly.RemoveRemoteRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :string, 2 + end + add_message "gitaly.RemoveRemoteResponse" do + optional :result, :bool, 1 + end + add_message "gitaly.FetchInternalRemoteRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :remote_repository, :message, 2, "gitaly.Repository" + end + add_message "gitaly.FetchInternalRemoteResponse" do + optional :result, :bool, 1 + end + add_message "gitaly.UpdateRemoteMirrorRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :ref_name, :string, 2 + repeated :only_branches_matching, :bytes, 3 + optional :ssh_key, :string, 4 + optional :known_hosts, :string, 5 + end + add_message "gitaly.UpdateRemoteMirrorResponse" do + end + add_message "gitaly.FindRemoteRepositoryRequest" do + optional :remote, :string, 1 + end + add_message "gitaly.FindRemoteRepositoryResponse" do + optional :exists, :bool, 1 + end + add_message "gitaly.FindRemoteRootRefRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :remote, :string, 2 + end + add_message "gitaly.FindRemoteRootRefResponse" do + optional :ref, :string, 1 + end + add_message "gitaly.ListRemotesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.ListRemotesResponse" do + repeated :remotes, :message, 1, "gitaly.ListRemotesResponse.Remote" + end + add_message "gitaly.ListRemotesResponse.Remote" do + optional :name, :string, 1 + optional :fetch_url, :string, 2 + optional :push_url, :string, 3 + end +end + +module Gitaly + AddRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteRequest").msgclass + AddRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AddRemoteResponse").msgclass + RemoveRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteRequest").msgclass + RemoveRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RemoveRemoteResponse").msgclass + FetchInternalRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteRequest").msgclass + FetchInternalRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchInternalRemoteResponse").msgclass + UpdateRemoteMirrorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorRequest").msgclass + UpdateRemoteMirrorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.UpdateRemoteMirrorResponse").msgclass + FindRemoteRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRepositoryRequest").msgclass + FindRemoteRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRepositoryResponse").msgclass + FindRemoteRootRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRootRefRequest").msgclass + FindRemoteRootRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindRemoteRootRefResponse").msgclass + ListRemotesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesRequest").msgclass + ListRemotesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesResponse").msgclass + ListRemotesResponse::Remote = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRemotesResponse.Remote").msgclass +end diff --git a/ruby/proto/gitaly/remote_services_pb.rb b/ruby/proto/gitaly/remote_services_pb.rb new file mode 100644 index 000000000..b97cc6a02 --- /dev/null +++ b/ruby/proto/gitaly/remote_services_pb.rb @@ -0,0 +1,28 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: remote.proto for package 'gitaly' + +require 'grpc' +require 'remote_pb' + +module Gitaly + module RemoteService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.RemoteService' + + rpc :AddRemote, AddRemoteRequest, AddRemoteResponse + rpc :FetchInternalRemote, FetchInternalRemoteRequest, FetchInternalRemoteResponse + rpc :RemoveRemote, RemoveRemoteRequest, RemoveRemoteResponse + rpc :UpdateRemoteMirror, stream(UpdateRemoteMirrorRequest), UpdateRemoteMirrorResponse + rpc :FindRemoteRepository, FindRemoteRepositoryRequest, FindRemoteRepositoryResponse + rpc :FindRemoteRootRef, FindRemoteRootRefRequest, FindRemoteRootRefResponse + rpc :ListRemotes, ListRemotesRequest, stream(ListRemotesResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/repository-service_pb.rb b/ruby/proto/gitaly/repository-service_pb.rb new file mode 100644 index 000000000..2f20bbf85 --- /dev/null +++ b/ruby/proto/gitaly/repository-service_pb.rb @@ -0,0 +1,401 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: repository-service.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.RepositoryExistsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.RepositoryExistsResponse" do + optional :exists, :bool, 1 + end + add_message "gitaly.RepackIncrementalRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.RepackIncrementalResponse" do + end + add_message "gitaly.RepackFullRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :create_bitmap, :bool, 2 + end + add_message "gitaly.RepackFullResponse" do + end + add_message "gitaly.GarbageCollectRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :create_bitmap, :bool, 2 + end + add_message "gitaly.GarbageCollectResponse" do + end + add_message "gitaly.CleanupRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.CleanupResponse" do + end + add_message "gitaly.RepositorySizeRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.RepositorySizeResponse" do + optional :size, :int64, 1 + end + add_message "gitaly.ApplyGitattributesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :revision, :bytes, 2 + end + add_message "gitaly.ApplyGitattributesResponse" do + end + add_message "gitaly.FetchRemoteRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :remote, :string, 2 + optional :force, :bool, 3 + optional :no_tags, :bool, 4 + optional :timeout, :int32, 5 + optional :ssh_key, :string, 6 + optional :known_hosts, :string, 7 + optional :no_prune, :bool, 9 + optional :remote_params, :message, 10, "gitaly.Remote" + end + add_message "gitaly.FetchRemoteResponse" do + end + add_message "gitaly.CreateRepositoryRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.CreateRepositoryResponse" do + end + add_message "gitaly.GetArchiveRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :commit_id, :string, 2 + optional :prefix, :string, 3 + optional :format, :enum, 4, "gitaly.GetArchiveRequest.Format" + optional :path, :bytes, 5 + end + add_enum "gitaly.GetArchiveRequest.Format" do + value :ZIP, 0 + value :TAR, 1 + value :TAR_GZ, 2 + value :TAR_BZ2, 3 + end + add_message "gitaly.GetArchiveResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.HasLocalBranchesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.HasLocalBranchesResponse" do + optional :value, :bool, 1 + end + add_message "gitaly.FetchSourceBranchRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :source_repository, :message, 2, "gitaly.Repository" + optional :source_branch, :bytes, 3 + optional :target_ref, :bytes, 4 + end + add_message "gitaly.FetchSourceBranchResponse" do + optional :result, :bool, 1 + end + add_message "gitaly.FsckRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FsckResponse" do + optional :error, :bytes, 1 + end + add_message "gitaly.WriteRefRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :ref, :bytes, 2 + optional :revision, :bytes, 3 + optional :old_revision, :bytes, 4 + optional :force, :bool, 5 + end + add_message "gitaly.WriteRefResponse" do + end + add_message "gitaly.FindMergeBaseRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :revisions, :bytes, 2 + end + add_message "gitaly.FindMergeBaseResponse" do + optional :base, :string, 1 + end + add_message "gitaly.CreateForkRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :source_repository, :message, 2, "gitaly.Repository" + end + add_message "gitaly.CreateForkResponse" do + end + add_message "gitaly.IsRebaseInProgressRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :rebase_id, :string, 2 + end + add_message "gitaly.IsRebaseInProgressResponse" do + optional :in_progress, :bool, 1 + end + add_message "gitaly.IsSquashInProgressRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :squash_id, :string, 2 + end + add_message "gitaly.IsSquashInProgressResponse" do + optional :in_progress, :bool, 1 + end + add_message "gitaly.CreateRepositoryFromURLRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :url, :string, 2 + end + add_message "gitaly.CreateRepositoryFromURLResponse" do + end + add_message "gitaly.CreateBundleRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.CreateBundleResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.WriteConfigRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :full_path, :string, 2 + end + add_message "gitaly.WriteConfigResponse" do + optional :error, :bytes, 1 + end + add_message "gitaly.SetConfigRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :entries, :message, 2, "gitaly.SetConfigRequest.Entry" + end + add_message "gitaly.SetConfigRequest.Entry" do + optional :key, :string, 1 + oneof :value do + optional :value_str, :string, 2 + optional :value_int32, :int32, 3 + optional :value_bool, :bool, 4 + end + end + add_message "gitaly.SetConfigResponse" do + end + add_message "gitaly.DeleteConfigRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :keys, :string, 2 + end + add_message "gitaly.DeleteConfigResponse" do + end + add_message "gitaly.RestoreCustomHooksRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :data, :bytes, 2 + end + add_message "gitaly.RestoreCustomHooksResponse" do + end + add_message "gitaly.BackupCustomHooksRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.BackupCustomHooksResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.CreateRepositoryFromBundleRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :data, :bytes, 2 + end + add_message "gitaly.CreateRepositoryFromBundleResponse" do + end + add_message "gitaly.FindLicenseRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.FindLicenseResponse" do + optional :license_short_name, :string, 1 + end + add_message "gitaly.GetInfoAttributesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.GetInfoAttributesResponse" do + optional :attributes, :bytes, 1 + end + add_message "gitaly.CalculateChecksumRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.CalculateChecksumResponse" do + optional :checksum, :string, 1 + end + add_message "gitaly.GetSnapshotRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.GetSnapshotResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.CreateRepositoryFromSnapshotRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :http_url, :string, 2 + optional :http_auth, :string, 3 + end + add_message "gitaly.CreateRepositoryFromSnapshotResponse" do + end + add_message "gitaly.GetRawChangesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :from_revision, :string, 2 + optional :to_revision, :string, 3 + end + add_message "gitaly.GetRawChangesResponse" do + repeated :raw_changes, :message, 1, "gitaly.GetRawChangesResponse.RawChange" + end + add_message "gitaly.GetRawChangesResponse.RawChange" do + optional :blob_id, :string, 1 + optional :size, :int64, 2 + optional :new_path, :string, 3 + optional :old_path, :string, 4 + optional :operation, :enum, 5, "gitaly.GetRawChangesResponse.RawChange.Operation" + optional :raw_operation, :string, 6 + optional :old_mode, :int32, 7 + optional :new_mode, :int32, 8 + optional :new_path_bytes, :bytes, 9 + optional :old_path_bytes, :bytes, 10 + end + add_enum "gitaly.GetRawChangesResponse.RawChange.Operation" do + value :UNKNOWN, 0 + value :ADDED, 1 + value :COPIED, 2 + value :DELETED, 3 + value :MODIFIED, 4 + value :RENAMED, 5 + value :TYPE_CHANGED, 6 + end + add_message "gitaly.SearchFilesByNameRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :query, :string, 2 + optional :ref, :bytes, 3 + end + add_message "gitaly.SearchFilesByNameResponse" do + repeated :files, :bytes, 1 + end + add_message "gitaly.SearchFilesByContentRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :query, :string, 2 + optional :ref, :bytes, 3 + optional :chunked_response, :bool, 4 + end + add_message "gitaly.SearchFilesByContentResponse" do + repeated :matches, :bytes, 1 + optional :match_data, :bytes, 2 + optional :end_of_match, :bool, 3 + end + add_message "gitaly.PreFetchRequest" do + optional :source_repository, :message, 1, "gitaly.Repository" + optional :target_repository, :message, 2, "gitaly.Repository" + optional :object_pool, :message, 3, "gitaly.ObjectPool" + end + add_message "gitaly.PreFetchResponse" do + end + add_message "gitaly.Remote" do + optional :url, :string, 1 + optional :name, :string, 2 + optional :http_authorization_header, :string, 3 + repeated :mirror_refmaps, :string, 4 + end + add_message "gitaly.FetchHTTPRemoteRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :remote, :message, 2, "gitaly.Remote" + optional :timeout, :int32, 3 + end + add_message "gitaly.FetchHTTPRemoteResponse" do + end + add_message "gitaly.GetObjectDirectorySizeRequest" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_message "gitaly.GetObjectDirectorySizeResponse" do + optional :size, :int64, 1 + end + add_message "gitaly.CloneFromPoolRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :pool, :message, 2, "gitaly.ObjectPool" + optional :remote, :message, 3, "gitaly.Remote" + end + add_message "gitaly.CloneFromPoolResponse" do + end + add_message "gitaly.CloneFromPoolInternalRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :pool, :message, 2, "gitaly.ObjectPool" + optional :source_repository, :message, 3, "gitaly.Repository" + end + add_message "gitaly.CloneFromPoolInternalResponse" do + end +end + +module Gitaly + RepositoryExistsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsRequest").msgclass + RepositoryExistsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositoryExistsResponse").msgclass + RepackIncrementalRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalRequest").msgclass + RepackIncrementalResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackIncrementalResponse").msgclass + RepackFullRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullRequest").msgclass + RepackFullResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepackFullResponse").msgclass + GarbageCollectRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectRequest").msgclass + GarbageCollectResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GarbageCollectResponse").msgclass + CleanupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CleanupRequest").msgclass + CleanupResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CleanupResponse").msgclass + RepositorySizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeRequest").msgclass + RepositorySizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RepositorySizeResponse").msgclass + ApplyGitattributesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesRequest").msgclass + ApplyGitattributesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ApplyGitattributesResponse").msgclass + FetchRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteRequest").msgclass + FetchRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchRemoteResponse").msgclass + CreateRepositoryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryRequest").msgclass + CreateRepositoryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryResponse").msgclass + GetArchiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetArchiveRequest").msgclass + GetArchiveRequest::Format = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetArchiveRequest.Format").enummodule + GetArchiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetArchiveResponse").msgclass + HasLocalBranchesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.HasLocalBranchesRequest").msgclass + HasLocalBranchesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.HasLocalBranchesResponse").msgclass + FetchSourceBranchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchSourceBranchRequest").msgclass + FetchSourceBranchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchSourceBranchResponse").msgclass + FsckRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FsckRequest").msgclass + FsckResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FsckResponse").msgclass + WriteRefRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteRefRequest").msgclass + WriteRefResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteRefResponse").msgclass + FindMergeBaseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindMergeBaseRequest").msgclass + FindMergeBaseResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindMergeBaseResponse").msgclass + CreateForkRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkRequest").msgclass + CreateForkResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateForkResponse").msgclass + IsRebaseInProgressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsRebaseInProgressRequest").msgclass + IsRebaseInProgressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsRebaseInProgressResponse").msgclass + IsSquashInProgressRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressRequest").msgclass + IsSquashInProgressResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.IsSquashInProgressResponse").msgclass + CreateRepositoryFromURLRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLRequest").msgclass + CreateRepositoryFromURLResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromURLResponse").msgclass + CreateBundleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleRequest").msgclass + CreateBundleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateBundleResponse").msgclass + WriteConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteConfigRequest").msgclass + WriteConfigResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WriteConfigResponse").msgclass + SetConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest").msgclass + SetConfigRequest::Entry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigRequest.Entry").msgclass + SetConfigResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SetConfigResponse").msgclass + DeleteConfigRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigRequest").msgclass + DeleteConfigResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteConfigResponse").msgclass + RestoreCustomHooksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksRequest").msgclass + RestoreCustomHooksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.RestoreCustomHooksResponse").msgclass + BackupCustomHooksRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.BackupCustomHooksRequest").msgclass + BackupCustomHooksResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.BackupCustomHooksResponse").msgclass + CreateRepositoryFromBundleRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromBundleRequest").msgclass + CreateRepositoryFromBundleResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromBundleResponse").msgclass + FindLicenseRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLicenseRequest").msgclass + FindLicenseResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindLicenseResponse").msgclass + GetInfoAttributesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetInfoAttributesRequest").msgclass + GetInfoAttributesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetInfoAttributesResponse").msgclass + CalculateChecksumRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CalculateChecksumRequest").msgclass + CalculateChecksumResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CalculateChecksumResponse").msgclass + GetSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetSnapshotRequest").msgclass + GetSnapshotResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetSnapshotResponse").msgclass + CreateRepositoryFromSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromSnapshotRequest").msgclass + CreateRepositoryFromSnapshotResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CreateRepositoryFromSnapshotResponse").msgclass + GetRawChangesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRawChangesRequest").msgclass + GetRawChangesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRawChangesResponse").msgclass + GetRawChangesResponse::RawChange = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRawChangesResponse.RawChange").msgclass + GetRawChangesResponse::RawChange::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetRawChangesResponse.RawChange.Operation").enummodule + SearchFilesByNameRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByNameRequest").msgclass + SearchFilesByNameResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByNameResponse").msgclass + SearchFilesByContentRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentRequest").msgclass + SearchFilesByContentResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SearchFilesByContentResponse").msgclass + PreFetchRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreFetchRequest").msgclass + PreFetchResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PreFetchResponse").msgclass + Remote = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Remote").msgclass + FetchHTTPRemoteRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteRequest").msgclass + FetchHTTPRemoteResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FetchHTTPRemoteResponse").msgclass + GetObjectDirectorySizeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeRequest").msgclass + GetObjectDirectorySizeResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetObjectDirectorySizeResponse").msgclass + CloneFromPoolRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolRequest").msgclass + CloneFromPoolResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolResponse").msgclass + CloneFromPoolInternalRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolInternalRequest").msgclass + CloneFromPoolInternalResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CloneFromPoolInternalResponse").msgclass +end diff --git a/ruby/proto/gitaly/repository-service_services_pb.rb b/ruby/proto/gitaly/repository-service_services_pb.rb new file mode 100644 index 000000000..70db374d6 --- /dev/null +++ b/ruby/proto/gitaly/repository-service_services_pb.rb @@ -0,0 +1,60 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: repository-service.proto for package 'gitaly' + +require 'grpc' +require 'repository-service_pb' + +module Gitaly + module RepositoryService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.RepositoryService' + + rpc :RepositoryExists, RepositoryExistsRequest, RepositoryExistsResponse + rpc :RepackIncremental, RepackIncrementalRequest, RepackIncrementalResponse + rpc :RepackFull, RepackFullRequest, RepackFullResponse + rpc :GarbageCollect, GarbageCollectRequest, GarbageCollectResponse + rpc :RepositorySize, RepositorySizeRequest, RepositorySizeResponse + rpc :ApplyGitattributes, ApplyGitattributesRequest, ApplyGitattributesResponse + rpc :FetchRemote, FetchRemoteRequest, FetchRemoteResponse + rpc :CreateRepository, CreateRepositoryRequest, CreateRepositoryResponse + rpc :GetArchive, GetArchiveRequest, stream(GetArchiveResponse) + rpc :HasLocalBranches, HasLocalBranchesRequest, HasLocalBranchesResponse + rpc :FetchSourceBranch, FetchSourceBranchRequest, FetchSourceBranchResponse + rpc :Fsck, FsckRequest, FsckResponse + rpc :WriteRef, WriteRefRequest, WriteRefResponse + rpc :FindMergeBase, FindMergeBaseRequest, FindMergeBaseResponse + rpc :CreateFork, CreateForkRequest, CreateForkResponse + rpc :IsRebaseInProgress, IsRebaseInProgressRequest, IsRebaseInProgressResponse + rpc :IsSquashInProgress, IsSquashInProgressRequest, IsSquashInProgressResponse + rpc :CreateRepositoryFromURL, CreateRepositoryFromURLRequest, CreateRepositoryFromURLResponse + rpc :CreateBundle, CreateBundleRequest, stream(CreateBundleResponse) + rpc :CreateRepositoryFromBundle, stream(CreateRepositoryFromBundleRequest), CreateRepositoryFromBundleResponse + rpc :WriteConfig, WriteConfigRequest, WriteConfigResponse + rpc :SetConfig, SetConfigRequest, SetConfigResponse + rpc :DeleteConfig, DeleteConfigRequest, DeleteConfigResponse + rpc :FindLicense, FindLicenseRequest, FindLicenseResponse + rpc :GetInfoAttributes, GetInfoAttributesRequest, stream(GetInfoAttributesResponse) + rpc :CalculateChecksum, CalculateChecksumRequest, CalculateChecksumResponse + rpc :Cleanup, CleanupRequest, CleanupResponse + rpc :GetSnapshot, GetSnapshotRequest, stream(GetSnapshotResponse) + rpc :CreateRepositoryFromSnapshot, CreateRepositoryFromSnapshotRequest, CreateRepositoryFromSnapshotResponse + rpc :GetRawChanges, GetRawChangesRequest, stream(GetRawChangesResponse) + rpc :SearchFilesByContent, SearchFilesByContentRequest, stream(SearchFilesByContentResponse) + rpc :SearchFilesByName, SearchFilesByNameRequest, stream(SearchFilesByNameResponse) + rpc :RestoreCustomHooks, stream(RestoreCustomHooksRequest), RestoreCustomHooksResponse + rpc :BackupCustomHooks, BackupCustomHooksRequest, stream(BackupCustomHooksResponse) + rpc :PreFetch, PreFetchRequest, PreFetchResponse + rpc :FetchHTTPRemote, FetchHTTPRemoteRequest, FetchHTTPRemoteResponse + rpc :GetObjectDirectorySize, GetObjectDirectorySizeRequest, GetObjectDirectorySizeResponse + rpc :CloneFromPool, CloneFromPoolRequest, CloneFromPoolResponse + rpc :CloneFromPoolInternal, CloneFromPoolInternalRequest, CloneFromPoolInternalResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/server_pb.rb b/ruby/proto/gitaly/server_pb.rb new file mode 100644 index 000000000..e977d209f --- /dev/null +++ b/ruby/proto/gitaly/server_pb.rb @@ -0,0 +1,28 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: server.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.ServerInfoRequest" do + end + add_message "gitaly.ServerInfoResponse" do + optional :server_version, :string, 1 + optional :git_version, :string, 2 + repeated :storage_statuses, :message, 3, "gitaly.ServerInfoResponse.StorageStatus" + end + add_message "gitaly.ServerInfoResponse.StorageStatus" do + optional :storage_name, :string, 1 + optional :readable, :bool, 2 + optional :writeable, :bool, 3 + optional :fs_type, :string, 4 + optional :filesystem_id, :string, 5 + end +end + +module Gitaly + ServerInfoRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoRequest").msgclass + ServerInfoResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse").msgclass + ServerInfoResponse::StorageStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ServerInfoResponse.StorageStatus").msgclass +end diff --git a/ruby/proto/gitaly/server_services_pb.rb b/ruby/proto/gitaly/server_services_pb.rb new file mode 100644 index 000000000..67c68f99e --- /dev/null +++ b/ruby/proto/gitaly/server_services_pb.rb @@ -0,0 +1,22 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: server.proto for package 'gitaly' + +require 'grpc' +require 'server_pb' + +module Gitaly + module ServerService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.ServerService' + + rpc :ServerInfo, ServerInfoRequest, ServerInfoResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/shared_pb.rb b/ruby/proto/gitaly/shared_pb.rb new file mode 100644 index 000000000..8fa21f0bf --- /dev/null +++ b/ruby/proto/gitaly/shared_pb.rb @@ -0,0 +1,90 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: shared.proto + +require 'google/protobuf' + +require 'google/protobuf/timestamp_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.OperationMsg" do + optional :op, :enum, 1, "gitaly.OperationMsg.Operation" + optional :scope_level, :enum, 2, "gitaly.OperationMsg.Scope" + optional :target_repository_field, :string, 3 + end + add_enum "gitaly.OperationMsg.Operation" do + value :UNKNOWN, 0 + value :MUTATOR, 1 + value :ACCESSOR, 2 + end + add_enum "gitaly.OperationMsg.Scope" do + value :REPOSITORY, 0 + value :SERVER, 1 + end + add_message "gitaly.Repository" do + optional :storage_name, :string, 2 + optional :relative_path, :string, 3 + optional :git_object_directory, :string, 4 + repeated :git_alternate_object_directories, :string, 5 + optional :gl_repository, :string, 6 + optional :gl_project_path, :string, 8 + end + add_message "gitaly.GitCommit" do + optional :id, :string, 1 + optional :subject, :bytes, 2 + optional :body, :bytes, 3 + optional :author, :message, 4, "gitaly.CommitAuthor" + optional :committer, :message, 5, "gitaly.CommitAuthor" + repeated :parent_ids, :string, 6 + optional :body_size, :int64, 7 + end + add_message "gitaly.CommitAuthor" do + optional :name, :bytes, 1 + optional :email, :bytes, 2 + optional :date, :message, 3, "google.protobuf.Timestamp" + end + add_message "gitaly.ExitStatus" do + optional :value, :int32, 1 + end + add_message "gitaly.Branch" do + optional :name, :bytes, 1 + optional :target_commit, :message, 2, "gitaly.GitCommit" + end + add_message "gitaly.Tag" do + optional :name, :bytes, 1 + optional :id, :string, 2 + optional :target_commit, :message, 3, "gitaly.GitCommit" + optional :message, :bytes, 4 + optional :message_size, :int64, 5 + optional :tagger, :message, 6, "gitaly.CommitAuthor" + end + add_message "gitaly.User" do + optional :gl_id, :string, 1 + optional :name, :bytes, 2 + optional :email, :bytes, 3 + optional :gl_username, :string, 4 + end + add_message "gitaly.ObjectPool" do + optional :repository, :message, 1, "gitaly.Repository" + end + add_enum "gitaly.ObjectType" do + value :UNKNOWN, 0 + value :COMMIT, 1 + value :BLOB, 2 + value :TREE, 3 + value :TAG, 4 + end +end + +module Gitaly + OperationMsg = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg").msgclass + OperationMsg::Operation = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Operation").enummodule + OperationMsg::Scope = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.OperationMsg.Scope").enummodule + Repository = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass + GitCommit = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GitCommit").msgclass + CommitAuthor = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitAuthor").msgclass + ExitStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ExitStatus").msgclass + Branch = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Branch").msgclass + Tag = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Tag").msgclass + User = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.User").msgclass + ObjectPool = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectPool").msgclass + ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule +end diff --git a/ruby/proto/gitaly/smarthttp_pb.rb b/ruby/proto/gitaly/smarthttp_pb.rb new file mode 100644 index 000000000..3bc87fefd --- /dev/null +++ b/ruby/proto/gitaly/smarthttp_pb.rb @@ -0,0 +1,46 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: smarthttp.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.InfoRefsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + repeated :git_config_options, :string, 2 + optional :git_protocol, :string, 3 + end + add_message "gitaly.InfoRefsResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.PostUploadPackRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :data, :bytes, 2 + repeated :git_config_options, :string, 3 + optional :git_protocol, :string, 4 + end + add_message "gitaly.PostUploadPackResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.PostReceivePackRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :data, :bytes, 2 + optional :gl_id, :string, 3 + optional :gl_repository, :string, 4 + optional :gl_username, :string, 5 + optional :git_protocol, :string, 6 + repeated :git_config_options, :string, 7 + end + add_message "gitaly.PostReceivePackResponse" do + optional :data, :bytes, 1 + end +end + +module Gitaly + InfoRefsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsRequest").msgclass + InfoRefsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InfoRefsResponse").msgclass + PostUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackRequest").msgclass + PostUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostUploadPackResponse").msgclass + PostReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackRequest").msgclass + PostReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PostReceivePackResponse").msgclass +end diff --git a/ruby/proto/gitaly/smarthttp_services_pb.rb b/ruby/proto/gitaly/smarthttp_services_pb.rb new file mode 100644 index 000000000..28b9309a0 --- /dev/null +++ b/ruby/proto/gitaly/smarthttp_services_pb.rb @@ -0,0 +1,33 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: smarthttp.proto for package 'gitaly' + +require 'grpc' +require 'smarthttp_pb' + +module Gitaly + module SmartHTTPService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.SmartHTTPService' + + # 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. + rpc :InfoRefsUploadPack, InfoRefsRequest, stream(InfoRefsResponse) + # The response body for GET /info/refs?service=git-receive-pack + # Will be invoked when the user executes a `git push`, meaning the server + # will receive new objects in the pack from the user. + rpc :InfoRefsReceivePack, InfoRefsRequest, stream(InfoRefsResponse) + # Request and response body for POST /upload-pack + rpc :PostUploadPack, stream(PostUploadPackRequest), stream(PostUploadPackResponse) + # Request and response body for POST /receive-pack + rpc :PostReceivePack, stream(PostReceivePackRequest), stream(PostReceivePackResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/ssh_pb.rb b/ruby/proto/gitaly/ssh_pb.rb new file mode 100644 index 000000000..a48c6a68c --- /dev/null +++ b/ruby/proto/gitaly/ssh_pb.rb @@ -0,0 +1,51 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: ssh.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.SSHUploadPackRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :stdin, :bytes, 2 + repeated :git_config_options, :string, 4 + optional :git_protocol, :string, 5 + end + add_message "gitaly.SSHUploadPackResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :exit_status, :message, 3, "gitaly.ExitStatus" + end + add_message "gitaly.SSHReceivePackRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :stdin, :bytes, 2 + optional :gl_id, :string, 3 + optional :gl_repository, :string, 4 + optional :gl_username, :string, 5 + optional :git_protocol, :string, 6 + repeated :git_config_options, :string, 7 + end + add_message "gitaly.SSHReceivePackResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :exit_status, :message, 3, "gitaly.ExitStatus" + end + add_message "gitaly.SSHUploadArchiveRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :stdin, :bytes, 2 + end + add_message "gitaly.SSHUploadArchiveResponse" do + optional :stdout, :bytes, 1 + optional :stderr, :bytes, 2 + optional :exit_status, :message, 3, "gitaly.ExitStatus" + end +end + +module Gitaly + SSHUploadPackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackRequest").msgclass + SSHUploadPackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadPackResponse").msgclass + SSHReceivePackRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackRequest").msgclass + SSHReceivePackResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHReceivePackResponse").msgclass + SSHUploadArchiveRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveRequest").msgclass + SSHUploadArchiveResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SSHUploadArchiveResponse").msgclass +end diff --git a/ruby/proto/gitaly/ssh_services_pb.rb b/ruby/proto/gitaly/ssh_services_pb.rb new file mode 100644 index 000000000..308977dce --- /dev/null +++ b/ruby/proto/gitaly/ssh_services_pb.rb @@ -0,0 +1,27 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: ssh.proto for package 'gitaly' + +require 'grpc' +require 'ssh_pb' + +module Gitaly + module SSHService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.SSHService' + + # To forward 'git upload-pack' to Gitaly for SSH sessions + rpc :SSHUploadPack, stream(SSHUploadPackRequest), stream(SSHUploadPackResponse) + # To forward 'git receive-pack' to Gitaly for SSH sessions + rpc :SSHReceivePack, stream(SSHReceivePackRequest), stream(SSHReceivePackResponse) + # To forward 'git upload-archive' to Gitaly for SSH sessions + rpc :SSHUploadArchive, stream(SSHUploadArchiveRequest), stream(SSHUploadArchiveResponse) + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/storage_pb.rb b/ruby/proto/gitaly/storage_pb.rb new file mode 100644 index 000000000..22972ab58 --- /dev/null +++ b/ruby/proto/gitaly/storage_pb.rb @@ -0,0 +1,27 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: storage.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.ListDirectoriesRequest" do + optional :storage_name, :string, 1 + optional :depth, :uint32, 2 + end + add_message "gitaly.ListDirectoriesResponse" do + repeated :paths, :string, 1 + end + add_message "gitaly.DeleteAllRepositoriesRequest" do + optional :storage_name, :string, 1 + end + add_message "gitaly.DeleteAllRepositoriesResponse" do + end +end + +module Gitaly + ListDirectoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListDirectoriesRequest").msgclass + ListDirectoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListDirectoriesResponse").msgclass + DeleteAllRepositoriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteAllRepositoriesRequest").msgclass + DeleteAllRepositoriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.DeleteAllRepositoriesResponse").msgclass +end diff --git a/ruby/proto/gitaly/storage_services_pb.rb b/ruby/proto/gitaly/storage_services_pb.rb new file mode 100644 index 000000000..e799263c6 --- /dev/null +++ b/ruby/proto/gitaly/storage_services_pb.rb @@ -0,0 +1,23 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: storage.proto for package 'gitaly' + +require 'grpc' +require 'storage_pb' + +module Gitaly + module StorageService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.StorageService' + + rpc :ListDirectories, ListDirectoriesRequest, stream(ListDirectoriesResponse) + rpc :DeleteAllRepositories, DeleteAllRepositoriesRequest, DeleteAllRepositoriesResponse + end + + Stub = Service.rpc_stub_class + end +end diff --git a/ruby/proto/gitaly/wiki_pb.rb b/ruby/proto/gitaly/wiki_pb.rb new file mode 100644 index 000000000..087447c9d --- /dev/null +++ b/ruby/proto/gitaly/wiki_pb.rb @@ -0,0 +1,149 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: wiki.proto + +require 'google/protobuf' + +require 'shared_pb' +Google::Protobuf::DescriptorPool.generated_pool.build do + add_message "gitaly.WikiCommitDetails" do + optional :name, :bytes, 1 + optional :email, :bytes, 2 + optional :message, :bytes, 3 + optional :user_id, :int32, 4 + optional :user_name, :bytes, 5 + end + add_message "gitaly.WikiPageVersion" do + optional :commit, :message, 1, "gitaly.GitCommit" + optional :format, :string, 2 + end + add_message "gitaly.WikiPage" do + optional :version, :message, 1, "gitaly.WikiPageVersion" + optional :format, :string, 2 + optional :title, :bytes, 3 + optional :url_path, :string, 4 + optional :path, :bytes, 5 + optional :name, :bytes, 6 + optional :historical, :bool, 7 + optional :raw_data, :bytes, 8 + end + add_message "gitaly.WikiGetPageVersionsRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :page_path, :bytes, 2 + optional :page, :int32, 3 + optional :per_page, :int32, 4 + end + add_message "gitaly.WikiGetPageVersionsResponse" do + repeated :versions, :message, 1, "gitaly.WikiPageVersion" + end + add_message "gitaly.WikiWritePageRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :bytes, 2 + optional :format, :string, 3 + optional :commit_details, :message, 4, "gitaly.WikiCommitDetails" + optional :content, :bytes, 5 + end + add_message "gitaly.WikiWritePageResponse" do + optional :duplicate_error, :bytes, 1 + end + add_message "gitaly.WikiUpdatePageRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :page_path, :bytes, 2 + optional :title, :bytes, 3 + optional :format, :string, 4 + optional :commit_details, :message, 5, "gitaly.WikiCommitDetails" + optional :content, :bytes, 6 + end + add_message "gitaly.WikiUpdatePageResponse" do + optional :error, :bytes, 1 + end + add_message "gitaly.WikiDeletePageRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :page_path, :bytes, 2 + optional :commit_details, :message, 3, "gitaly.WikiCommitDetails" + end + add_message "gitaly.WikiDeletePageResponse" do + end + add_message "gitaly.WikiFindPageRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :title, :bytes, 2 + optional :revision, :bytes, 3 + optional :directory, :bytes, 4 + end + add_message "gitaly.WikiFindPageResponse" do + optional :page, :message, 1, "gitaly.WikiPage" + end + add_message "gitaly.WikiFindFileRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :name, :bytes, 2 + optional :revision, :bytes, 3 + end + add_message "gitaly.WikiFindFileResponse" do + optional :name, :bytes, 1 + optional :mime_type, :string, 2 + optional :raw_data, :bytes, 3 + optional :path, :bytes, 4 + end + add_message "gitaly.WikiGetAllPagesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :limit, :uint32, 2 + optional :direction_desc, :bool, 3 + optional :sort, :enum, 4, "gitaly.WikiGetAllPagesRequest.SortBy" + end + add_enum "gitaly.WikiGetAllPagesRequest.SortBy" do + value :TITLE, 0 + value :CREATED_AT, 1 + end + add_message "gitaly.WikiGetAllPagesResponse" do + optional :page, :message, 1, "gitaly.WikiPage" + optional :end_of_page, :bool, 2 + end + add_message "gitaly.WikiGetFormattedDataRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :title, :bytes, 2 + optional :revision, :bytes, 3 + optional :directory, :bytes, 4 + end + add_message "gitaly.WikiGetFormattedDataResponse" do + optional :data, :bytes, 1 + end + add_message "gitaly.WikiListPagesRequest" do + optional :repository, :message, 1, "gitaly.Repository" + optional :limit, :uint32, 2 + optional :direction_desc, :bool, 3 + optional :sort, :enum, 4, "gitaly.WikiListPagesRequest.SortBy" + optional :offset, :uint32, 5 + end + add_enum "gitaly.WikiListPagesRequest.SortBy" do + value :TITLE, 0 + value :CREATED_AT, 1 + end + add_message "gitaly.WikiListPagesResponse" do + optional :page, :message, 1, "gitaly.WikiPage" + end +end + +module Gitaly + WikiCommitDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiCommitDetails").msgclass + WikiPageVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiPageVersion").msgclass + WikiPage = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiPage").msgclass + WikiGetPageVersionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsRequest").msgclass + WikiGetPageVersionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetPageVersionsResponse").msgclass + WikiWritePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiWritePageRequest").msgclass + WikiWritePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiWritePageResponse").msgclass + WikiUpdatePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiUpdatePageRequest").msgclass + WikiUpdatePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiUpdatePageResponse").msgclass + WikiDeletePageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiDeletePageRequest").msgclass + WikiDeletePageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiDeletePageResponse").msgclass + WikiFindPageRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindPageRequest").msgclass + WikiFindPageResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindPageResponse").msgclass + WikiFindFileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindFileRequest").msgclass + WikiFindFileResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiFindFileResponse").msgclass + WikiGetAllPagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesRequest").msgclass + WikiGetAllPagesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesRequest.SortBy").enummodule + WikiGetAllPagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetAllPagesResponse").msgclass + WikiGetFormattedDataRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetFormattedDataRequest").msgclass + WikiGetFormattedDataResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiGetFormattedDataResponse").msgclass + WikiListPagesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesRequest").msgclass + WikiListPagesRequest::SortBy = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesRequest.SortBy").enummodule + WikiListPagesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.WikiListPagesResponse").msgclass +end diff --git a/ruby/proto/gitaly/wiki_services_pb.rb b/ruby/proto/gitaly/wiki_services_pb.rb new file mode 100644 index 000000000..8d3cc38ef --- /dev/null +++ b/ruby/proto/gitaly/wiki_services_pb.rb @@ -0,0 +1,31 @@ +# Generated by the protocol buffer compiler. DO NOT EDIT! +# Source: wiki.proto for package 'gitaly' + +require 'grpc' +require 'wiki_pb' + +module Gitaly + module WikiService + class Service + + include GRPC::GenericService + + self.marshal_class_method = :encode + self.unmarshal_class_method = :decode + self.service_name = 'gitaly.WikiService' + + rpc :WikiGetPageVersions, WikiGetPageVersionsRequest, stream(WikiGetPageVersionsResponse) + rpc :WikiWritePage, stream(WikiWritePageRequest), WikiWritePageResponse + rpc :WikiUpdatePage, stream(WikiUpdatePageRequest), WikiUpdatePageResponse + rpc :WikiDeletePage, WikiDeletePageRequest, WikiDeletePageResponse + # WikiFindPage returns a stream because the page's raw_data field may be arbitrarily large. + rpc :WikiFindPage, WikiFindPageRequest, stream(WikiFindPageResponse) + rpc :WikiFindFile, WikiFindFileRequest, stream(WikiFindFileResponse) + rpc :WikiGetAllPages, WikiGetAllPagesRequest, stream(WikiGetAllPagesResponse) + rpc :WikiListPages, WikiListPagesRequest, stream(WikiListPagesResponse) + rpc :WikiGetFormattedData, WikiGetFormattedDataRequest, stream(WikiGetFormattedDataResponse) + end + + Stub = Service.rpc_stub_class + end +end |