1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ref.proto
require 'google/protobuf'
require 'lint_pb'
require 'shared_pb'
require 'blob_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("ref.proto", :syntax => :proto3) 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"
optional :pagination_params, :message, 3, "gitaly.PaginationParameter"
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"
optional :commit, :message, 6, "gitaly.GitCommit"
end
add_message "gitaly.FindLocalBranchCommitAuthor" do
optional :name, :bytes, 1
optional :email, :bytes, 2
optional :date, :message, 3, "google.protobuf.Timestamp"
optional :timezone, :bytes, 4
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.FindTagRequest" do
optional :repository, :message, 1, "gitaly.Repository"
optional :tag_name, :bytes, 2
end
add_message "gitaly.FindTagResponse" do
optional :tag, :message, 1, "gitaly.Tag"
end
add_message "gitaly.FindAllTagsRequest" do
optional :repository, :message, 1, "gitaly.Repository"
optional :sort_by, :message, 2, "gitaly.FindAllTagsRequest.SortBy"
end
add_message "gitaly.FindAllTagsRequest.SortBy" do
optional :key, :enum, 1, "gitaly.FindAllTagsRequest.SortBy.Key"
optional :direction, :enum, 2, "gitaly.SortDirection"
end
add_enum "gitaly.FindAllTagsRequest.SortBy.Key" do
value :REFNAME, 0
value :CREATORDATE, 1
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.GetTagSignaturesRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :tag_revisions, :string, 2
end
add_message "gitaly.GetTagSignaturesResponse" do
repeated :signatures, :message, 1, "gitaly.GetTagSignaturesResponse.TagSignature"
end
add_message "gitaly.GetTagSignaturesResponse.TagSignature" do
optional :tag_id, :string, 1
optional :signature, :bytes, 2
optional :content, :bytes, 3
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
add_message "gitaly.ListRefsRequest" do
optional :repository, :message, 1, "gitaly.Repository"
repeated :patterns, :bytes, 2
optional :head, :bool, 3
end
add_message "gitaly.ListRefsResponse" do
repeated :references, :message, 1, "gitaly.ListRefsResponse.Reference"
end
add_message "gitaly.ListRefsResponse.Reference" do
optional :name, :bytes, 1
optional :target, :string, 2
end
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
FindTagRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagRequest").msgclass
FindTagResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindTagResponse").msgclass
FindAllTagsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest").msgclass
FindAllTagsRequest::SortBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest.SortBy").msgclass
FindAllTagsRequest::SortBy::Key = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.FindAllTagsRequest.SortBy.Key").enummodule
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
GetTagSignaturesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesRequest").msgclass
GetTagSignaturesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse").msgclass
GetTagSignaturesResponse::TagSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTagSignaturesResponse.TagSignature").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
ListRefsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsRequest").msgclass
ListRefsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse").msgclass
ListRefsResponse::Reference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ListRefsResponse.Reference").msgclass
end
|