ruby/proto/gitaly/errors_pb.rb in gitaly-14.10.0.pre.rc1 vs ruby/proto/gitaly/errors_pb.rb in gitaly-15.0.0.pre.rc2
- old
+ new
@@ -1,18 +1,25 @@
# 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.NotAncestorError" do
+ optional :parent_revision, :bytes, 1
+ optional :child_revision, :bytes, 2
+ end
+ add_message "gitaly.ChangesAlreadyAppliedError" do
+ end
add_message "gitaly.MergeConflictError" do
repeated :conflicting_files, :bytes, 1
end
add_message "gitaly.ReferenceUpdateError" do
optional :reference_name, :bytes, 1
@@ -20,14 +27,21 @@
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
+ NotAncestorError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.NotAncestorError").msgclass
+ ChangesAlreadyAppliedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ChangesAlreadyAppliedError").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