# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: shared.proto

require 'google/protobuf/timestamp_pb'
require 'lint_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("shared.proto", :syntax => :proto3) do
    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.CommitTrailer" do
      optional :key, :bytes, 1
      optional :value, :bytes, 2
    end
    add_message "gitaly.CommitStatInfo" do
      optional :additions, :int32, 1
      optional :deletions, :int32, 2
      optional :changed_files, :int32, 3
    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"
      optional :tree_id, :string, 9
      repeated :trailers, :message, 10, "gitaly.CommitTrailer"
      optional :short_stats, :message, 11, "gitaly.CommitStatInfo"
    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
      optional :timezone, :string, 5
    end
    add_message "gitaly.ObjectPool" do
      optional :repository, :message, 1, "gitaly.Repository"
    end
    add_message "gitaly.PaginationParameter" do
      optional :page_token, :string, 1
      optional :limit, :int32, 2
    end
    add_message "gitaly.PaginationCursor" do
      optional :next_cursor, :string, 1
    end
    add_message "gitaly.GlobalOptions" do
      optional :literal_pathspecs, :bool, 1
    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
      value :SSH, 3
    end
    add_enum "gitaly.SortDirection" do
      value :ASCENDING, 0
      value :DESCENDING, 1
    end
  end
end

module Gitaly
  Repository = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.Repository").msgclass
  CommitTrailer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitTrailer").msgclass
  CommitStatInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitStatInfo").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
  PaginationParameter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationParameter").msgclass
  PaginationCursor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.PaginationCursor").msgclass
  GlobalOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GlobalOptions").msgclass
  ObjectType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.ObjectType").enummodule
  SignatureType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SignatureType").enummodule
  SortDirection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.SortDirection").enummodule
end
