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
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: errors.proto
require 'google/protobuf/duration_pb'
require 'google/protobuf'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("errors.proto", :syntax => :proto3) do
add_message "gitaly.AccessCheckError" do
optional :error_message, :string, 1
optional :protocol, :string, 2
optional :user_id, :string, 3
optional :changes, :bytes, 4
end
add_message "gitaly.MergeConflictError" do
repeated :conflicting_files, :bytes, 1
end
add_message "gitaly.ReferenceUpdateError" do
optional :reference_name, :bytes, 1
optional :old_oid, :string, 2
optional :new_oid, :string, 3
end
add_message "gitaly.ResolveRevisionError" do
optional :revision, :bytes, 1
end
add_message "gitaly.LimitError" do
optional :error_message, :string, 1
optional :retry_after, :message, 2, "google.protobuf.Duration"
end
end
end
module Gitaly
AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
MergeConflictError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.MergeConflictError").msgclass
ReferenceUpdateError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceUpdateError").msgclass
ResolveRevisionError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ResolveRevisionError").msgclass
LimitError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.LimitError").msgclass
end
|