diff options
Diffstat (limited to 'ruby/proto/gitaly/operations_services_pb.rb')
-rw-r--r-- | ruby/proto/gitaly/operations_services_pb.rb | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ruby/proto/gitaly/operations_services_pb.rb b/ruby/proto/gitaly/operations_services_pb.rb index 724b9b37e..0d573e873 100644 --- a/ruby/proto/gitaly/operations_services_pb.rb +++ b/ruby/proto/gitaly/operations_services_pb.rb @@ -12,23 +12,23 @@ module Gitaly # '/allowed' endpoint. class Service - include GRPC::GenericService + include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'gitaly.OperationService' - rpc :UserCreateBranch, Gitaly::UserCreateBranchRequest, Gitaly::UserCreateBranchResponse - rpc :UserUpdateBranch, Gitaly::UserUpdateBranchRequest, Gitaly::UserUpdateBranchResponse - rpc :UserDeleteBranch, Gitaly::UserDeleteBranchRequest, Gitaly::UserDeleteBranchResponse + rpc :UserCreateBranch, ::Gitaly::UserCreateBranchRequest, ::Gitaly::UserCreateBranchResponse + rpc :UserUpdateBranch, ::Gitaly::UserUpdateBranchRequest, ::Gitaly::UserUpdateBranchResponse + rpc :UserDeleteBranch, ::Gitaly::UserDeleteBranchRequest, ::Gitaly::UserDeleteBranchResponse # UserCreateTag creates a new tag. - rpc :UserCreateTag, Gitaly::UserCreateTagRequest, Gitaly::UserCreateTagResponse - rpc :UserDeleteTag, Gitaly::UserDeleteTagRequest, Gitaly::UserDeleteTagResponse + rpc :UserCreateTag, ::Gitaly::UserCreateTagRequest, ::Gitaly::UserCreateTagResponse + rpc :UserDeleteTag, ::Gitaly::UserDeleteTagRequest, ::Gitaly::UserDeleteTagResponse # UserMergeRef creates a merge commit and updates target_ref to point to that # new commit. The first parent of the merge commit (the main line) is taken # from first_parent_ref. The second parent is specified by its commit ID in source_sha. # If target_ref already exists it will be overwritten. - rpc :UserMergeToRef, Gitaly::UserMergeToRefRequest, Gitaly::UserMergeToRefResponse + rpc :UserMergeToRef, ::Gitaly::UserMergeToRefRequest, ::Gitaly::UserMergeToRefResponse # UserMergeBranch tries to merge the given commit into the target branch. # The merge commit is created with the given user as author/committer and # the given message. @@ -38,20 +38,20 @@ module Gitaly # requested merge, which will result in a response with the created merge # commit ID. Only if a second message with `apply = true` is sent will the # merge be applied. - rpc :UserMergeBranch, stream(Gitaly::UserMergeBranchRequest), stream(Gitaly::UserMergeBranchResponse) + rpc :UserMergeBranch, stream(::Gitaly::UserMergeBranchRequest), stream(::Gitaly::UserMergeBranchResponse) # UserFFBranch tries to perform a fast-forward merge of the given branch to # the given commit. If the merge is not a fast-forward merge, the request # will fail. The RPC will return an empty response in case updating the # reference fails e.g. because of a race. - rpc :UserFFBranch, Gitaly::UserFFBranchRequest, Gitaly::UserFFBranchResponse + rpc :UserFFBranch, ::Gitaly::UserFFBranchRequest, ::Gitaly::UserFFBranchResponse # UserCherryPick tries to perform a cherry-pick of a given commit onto a # branch. - rpc :UserCherryPick, Gitaly::UserCherryPickRequest, Gitaly::UserCherryPickResponse + rpc :UserCherryPick, ::Gitaly::UserCherryPickRequest, ::Gitaly::UserCherryPickResponse # UserCommitFiles builds a commit from a stream of actions and updates the target branch to point to it. # UserCommitFilesRequest with a UserCommitFilesRequestHeader must be sent as the first message of the stream. # Following that, a variable number of actions can be sent to build a new commit. Each action consists of # a header followed by content if used by the action. - rpc :UserCommitFiles, stream(Gitaly::UserCommitFilesRequest), Gitaly::UserCommitFilesResponse + rpc :UserCommitFiles, stream(::Gitaly::UserCommitFilesRequest), ::Gitaly::UserCommitFilesResponse # UserRebaseConfirmable rebases the given remote branch onto a target # branch. The remote branch may be part of another repository. # @@ -60,15 +60,15 @@ module Gitaly # requested rebase, which will result in a response with the created rebase # commit ID. Only if a second message with `apply = true` is sent will the # rebase be applied. - rpc :UserRebaseConfirmable, stream(Gitaly::UserRebaseConfirmableRequest), stream(Gitaly::UserRebaseConfirmableResponse) + rpc :UserRebaseConfirmable, stream(::Gitaly::UserRebaseConfirmableRequest), stream(::Gitaly::UserRebaseConfirmableResponse) # UserRevert tries to perform a revert of a given commit onto a branch. - rpc :UserRevert, Gitaly::UserRevertRequest, Gitaly::UserRevertResponse + rpc :UserRevert, ::Gitaly::UserRevertRequest, ::Gitaly::UserRevertResponse # UserSquash squashes a range of commits into a single commit. - rpc :UserSquash, Gitaly::UserSquashRequest, Gitaly::UserSquashResponse + rpc :UserSquash, ::Gitaly::UserSquashRequest, ::Gitaly::UserSquashResponse # UserApplyPatch applies patches to a given branch. - rpc :UserApplyPatch, stream(Gitaly::UserApplyPatchRequest), Gitaly::UserApplyPatchResponse + rpc :UserApplyPatch, stream(::Gitaly::UserApplyPatchRequest), ::Gitaly::UserApplyPatchResponse # UserUpdateSubmodule updates a submodule to point to a new commit. - rpc :UserUpdateSubmodule, Gitaly::UserUpdateSubmoduleRequest, Gitaly::UserUpdateSubmoduleResponse + rpc :UserUpdateSubmodule, ::Gitaly::UserUpdateSubmoduleRequest, ::Gitaly::UserUpdateSubmoduleResponse end Stub = Service.rpc_stub_class |