Welcome to mirror list, hosted at ThFree Co, Russian Federation.

errors_pb.rb « gitaly « proto « ruby - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f772b72915792af7c61f3e08b6639109968a70db (plain)
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
# 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.InvalidRefFormatError" do
      repeated :refs, :bytes, 2
    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
      repeated :conflicting_commit_ids, :string, 2
    end
    add_message "gitaly.ReferencesLockedError" do
    end
    add_message "gitaly.ReferenceExistsError" do
      optional :reference_name, :bytes, 1
      optional :oid, :string, 2
    end
    add_message "gitaly.ReferenceNotFoundError" do
      optional :reference_name, :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
    add_message "gitaly.CustomHookError" do
      optional :stdout, :bytes, 1
      optional :stderr, :bytes, 2
      optional :hook_type, :enum, 3, "gitaly.CustomHookError.HookType"
    end
    add_enum "gitaly.CustomHookError.HookType" do
      value :HOOK_TYPE_UNSPECIFIED, 0
      value :HOOK_TYPE_PRERECEIVE, 1
      value :HOOK_TYPE_UPDATE, 2
      value :HOOK_TYPE_POSTRECEIVE, 3
    end
  end
end

module Gitaly
  AccessCheckError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.AccessCheckError").msgclass
  InvalidRefFormatError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.InvalidRefFormatError").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
  ReferencesLockedError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferencesLockedError").msgclass
  ReferenceExistsError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceExistsError").msgclass
  ReferenceNotFoundError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ReferenceNotFoundError").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
  CustomHookError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CustomHookError").msgclass
  CustomHookError::HookType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CustomHookError.HookType").enummodule
end