# 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" 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 value :STORAGE, 2 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 optional :signature_type, :enum, 8, "gitaly.SignatureType" end add_message "gitaly.CommitAuthor" do optional :name, :bytes, 1 optional :email, :bytes, 2 optional :date, :message, 3, "google.protobuf.Timestamp" optional :timezone, :bytes, 4 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" optional :signature_type, :enum, 7, "gitaly.SignatureType" 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 add_enum "gitaly.SignatureType" do value :NONE, 0 value :PGP, 1 value :X509, 2 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 SignatureType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule end