# Generated by the protocol buffer compiler. DO NOT EDIT! # source: commit.proto require 'google/protobuf' require 'shared_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_message "gitaly.CommitIsAncestorRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :ancestor_id, :string, 2 optional :child_id, :string, 3 end add_message "gitaly.CommitIsAncestorResponse" do optional :value, :bool, 1 end add_message "gitaly.TreeEntryRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :revision, :bytes, 2 optional :path, :bytes, 3 optional :limit, :int64, 4 end add_message "gitaly.TreeEntryResponse" do optional :type, :enum, 1, "gitaly.TreeEntryResponse.ObjectType" optional :oid, :string, 2 optional :size, :int64, 3 optional :mode, :int32, 4 optional :data, :bytes, 5 end add_enum "gitaly.TreeEntryResponse.ObjectType" do value :COMMIT, 0 value :BLOB, 1 value :TREE, 2 value :TAG, 3 end add_message "gitaly.CommitsBetweenRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :from, :bytes, 2 optional :to, :bytes, 3 end add_message "gitaly.CommitsBetweenResponse" do repeated :commits, :message, 1, "gitaly.GitCommit" end add_message "gitaly.CountCommitsRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :revision, :bytes, 2 end add_message "gitaly.CountCommitsResponse" do optional :count, :int32, 1 end add_message "gitaly.TreeEntry" do optional :oid, :string, 1 optional :root_oid, :string, 2 optional :path, :bytes, 3 optional :type, :enum, 4, "gitaly.TreeEntry.EntryType" optional :mode, :int32, 5 optional :commit_oid, :string, 6 end add_enum "gitaly.TreeEntry.EntryType" do value :BLOB, 0 value :TREE, 1 value :COMMIT, 3 end add_message "gitaly.GetTreeEntriesRequest" do optional :repository, :message, 1, "gitaly.Repository" optional :revision, :bytes, 2 optional :path, :bytes, 3 end add_message "gitaly.GetTreeEntriesResponse" do repeated :entries, :message, 1, "gitaly.TreeEntry" end end module Gitaly CommitIsAncestorRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorRequest").msgclass CommitIsAncestorResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitIsAncestorResponse").msgclass TreeEntryRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryRequest").msgclass TreeEntryResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse").msgclass TreeEntryResponse::ObjectType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntryResponse.ObjectType").enummodule CommitsBetweenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenRequest").msgclass CommitsBetweenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CommitsBetweenResponse").msgclass CountCommitsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsRequest").msgclass CountCommitsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.CountCommitsResponse").msgclass TreeEntry = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry").msgclass TreeEntry::EntryType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.TreeEntry.EntryType").enummodule GetTreeEntriesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesRequest").msgclass GetTreeEntriesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gitaly.GetTreeEntriesResponse").msgclass end