diff options
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/proto/gitaly/commit_pb.rb | 2 | ||||
-rw-r--r-- | ruby/proto/gitaly/shared_pb.rb | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ruby/proto/gitaly/commit_pb.rb b/ruby/proto/gitaly/commit_pb.rb index d064d1f5d..bd2187fd6 100644 --- a/ruby/proto/gitaly/commit_pb.rb +++ b/ruby/proto/gitaly/commit_pb.rb @@ -126,6 +126,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do optional :path, :bytes, 3 optional :recursive, :bool, 4 optional :sort, :enum, 5, "gitaly.GetTreeEntriesRequest.SortBy" + optional :pagination_params, :message, 6, "gitaly.PaginationParameter" end add_enum "gitaly.GetTreeEntriesRequest.SortBy" do value :DEFAULT, 0 @@ -133,6 +134,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do end add_message "gitaly.GetTreeEntriesResponse" do repeated :entries, :message, 1, "gitaly.TreeEntry" + optional :pagination_cursor, :message, 2, "gitaly.PaginationCursor" end add_message "gitaly.ListFilesRequest" do optional :repository, :message, 1, "gitaly.Repository" diff --git a/ruby/proto/gitaly/shared_pb.rb b/ruby/proto/gitaly/shared_pb.rb index 0a9853223..51e0fbc6c 100644 --- a/ruby/proto/gitaly/shared_pb.rb +++ b/ruby/proto/gitaly/shared_pb.rb @@ -67,6 +67,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build 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 @@ -96,6 +99,7 @@ module Gitaly 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 |