diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-20 09:11:46 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2021-08-20 13:18:32 +0300 |
commit | 0a66dab35f1790de5050e4857edf6d7811863217 (patch) | |
tree | 3ad24fa0b156d322749e6efd2825c5d6e5c254a5 /proto/go | |
parent | bdc2cabd484908225327a6ea2337055bb5a3487a (diff) |
remote: Remove `AddRemote()` RPC
On-disk remotes have been deprecated, and no upstream callers remain
which use them anymore. Remove the `AddRemote()` RPC and rename the file
where it had been previously contained in to "find_remote_repository.go"
after the only remaining RPC in there.
Changelog: removed
Diffstat (limited to 'proto/go')
-rw-r--r-- | proto/go/gitalypb/remote.pb.go | 488 | ||||
-rw-r--r-- | proto/go/gitalypb/remote_grpc.pb.go | 36 |
2 files changed, 166 insertions, 358 deletions
diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go index 977c25d6d..405b4e441 100644 --- a/proto/go/gitalypb/remote.pb.go +++ b/proto/go/gitalypb/remote.pb.go @@ -20,116 +20,6 @@ const ( _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) -type AddRemoteRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` - // If any, the remote is configured as a mirror with those mappings - MirrorRefmaps []string `protobuf:"bytes,5,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` -} - -func (x *AddRemoteRequest) Reset() { - *x = AddRemoteRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddRemoteRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRemoteRequest) ProtoMessage() {} - -func (x *AddRemoteRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddRemoteRequest.ProtoReflect.Descriptor instead. -func (*AddRemoteRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{0} -} - -func (x *AddRemoteRequest) GetRepository() *Repository { - if x != nil { - return x.Repository - } - return nil -} - -func (x *AddRemoteRequest) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *AddRemoteRequest) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *AddRemoteRequest) GetMirrorRefmaps() []string { - if x != nil { - return x.MirrorRefmaps - } - return nil -} - -type AddRemoteResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *AddRemoteResponse) Reset() { - *x = AddRemoteResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AddRemoteResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRemoteResponse) ProtoMessage() {} - -func (x *AddRemoteResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddRemoteResponse.ProtoReflect.Descriptor instead. -func (*AddRemoteResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{1} -} - type FetchInternalRemoteRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -142,7 +32,7 @@ type FetchInternalRemoteRequest struct { func (x *FetchInternalRemoteRequest) Reset() { *x = FetchInternalRemoteRequest{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[2] + mi := &file_remote_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -155,7 +45,7 @@ func (x *FetchInternalRemoteRequest) String() string { func (*FetchInternalRemoteRequest) ProtoMessage() {} func (x *FetchInternalRemoteRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[2] + mi := &file_remote_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -168,7 +58,7 @@ func (x *FetchInternalRemoteRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FetchInternalRemoteRequest.ProtoReflect.Descriptor instead. func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{2} + return file_remote_proto_rawDescGZIP(), []int{0} } func (x *FetchInternalRemoteRequest) GetRepository() *Repository { @@ -196,7 +86,7 @@ type FetchInternalRemoteResponse struct { func (x *FetchInternalRemoteResponse) Reset() { *x = FetchInternalRemoteResponse{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[3] + mi := &file_remote_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -209,7 +99,7 @@ func (x *FetchInternalRemoteResponse) String() string { func (*FetchInternalRemoteResponse) ProtoMessage() {} func (x *FetchInternalRemoteResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[3] + mi := &file_remote_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -222,7 +112,7 @@ func (x *FetchInternalRemoteResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FetchInternalRemoteResponse.ProtoReflect.Descriptor instead. func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{3} + return file_remote_proto_rawDescGZIP(), []int{1} } func (x *FetchInternalRemoteResponse) GetResult() bool { @@ -267,7 +157,7 @@ type UpdateRemoteMirrorRequest struct { func (x *UpdateRemoteMirrorRequest) Reset() { *x = UpdateRemoteMirrorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[4] + mi := &file_remote_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -280,7 +170,7 @@ func (x *UpdateRemoteMirrorRequest) String() string { func (*UpdateRemoteMirrorRequest) ProtoMessage() {} func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[4] + mi := &file_remote_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -293,7 +183,7 @@ func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRemoteMirrorRequest.ProtoReflect.Descriptor instead. func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{4} + return file_remote_proto_rawDescGZIP(), []int{2} } func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository { @@ -358,7 +248,7 @@ type UpdateRemoteMirrorResponse struct { func (x *UpdateRemoteMirrorResponse) Reset() { *x = UpdateRemoteMirrorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[5] + mi := &file_remote_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -371,7 +261,7 @@ func (x *UpdateRemoteMirrorResponse) String() string { func (*UpdateRemoteMirrorResponse) ProtoMessage() {} func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[5] + mi := &file_remote_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -384,7 +274,7 @@ func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead. func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{5} + return file_remote_proto_rawDescGZIP(), []int{3} } func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte { @@ -409,7 +299,7 @@ type FindRemoteRepositoryRequest struct { func (x *FindRemoteRepositoryRequest) Reset() { *x = FindRemoteRepositoryRequest{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[6] + mi := &file_remote_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -422,7 +312,7 @@ func (x *FindRemoteRepositoryRequest) String() string { func (*FindRemoteRepositoryRequest) ProtoMessage() {} func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[6] + mi := &file_remote_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -435,7 +325,7 @@ func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindRemoteRepositoryRequest.ProtoReflect.Descriptor instead. func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{6} + return file_remote_proto_rawDescGZIP(), []int{4} } func (x *FindRemoteRepositoryRequest) GetRemote() string { @@ -465,7 +355,7 @@ type FindRemoteRepositoryResponse struct { func (x *FindRemoteRepositoryResponse) Reset() { *x = FindRemoteRepositoryResponse{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[7] + mi := &file_remote_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -478,7 +368,7 @@ func (x *FindRemoteRepositoryResponse) String() string { func (*FindRemoteRepositoryResponse) ProtoMessage() {} func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[7] + mi := &file_remote_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -491,7 +381,7 @@ func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindRemoteRepositoryResponse.ProtoReflect.Descriptor instead. func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{7} + return file_remote_proto_rawDescGZIP(), []int{5} } func (x *FindRemoteRepositoryResponse) GetExists() bool { @@ -528,7 +418,7 @@ type FindRemoteRootRefRequest struct { func (x *FindRemoteRootRefRequest) Reset() { *x = FindRemoteRootRefRequest{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[8] + mi := &file_remote_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -541,7 +431,7 @@ func (x *FindRemoteRootRefRequest) String() string { func (*FindRemoteRootRefRequest) ProtoMessage() {} func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[8] + mi := &file_remote_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -554,7 +444,7 @@ func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FindRemoteRootRefRequest.ProtoReflect.Descriptor instead. func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{8} + return file_remote_proto_rawDescGZIP(), []int{6} } func (x *FindRemoteRootRefRequest) GetRepository() *Repository { @@ -600,7 +490,7 @@ type FindRemoteRootRefResponse struct { func (x *FindRemoteRootRefResponse) Reset() { *x = FindRemoteRootRefResponse{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[9] + mi := &file_remote_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -613,7 +503,7 @@ func (x *FindRemoteRootRefResponse) String() string { func (*FindRemoteRootRefResponse) ProtoMessage() {} func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[9] + mi := &file_remote_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -626,7 +516,7 @@ func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead. func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{9} + return file_remote_proto_rawDescGZIP(), []int{7} } func (x *FindRemoteRootRefResponse) GetRef() string { @@ -647,7 +537,7 @@ type ListRemotesRequest struct { func (x *ListRemotesRequest) Reset() { *x = ListRemotesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[10] + mi := &file_remote_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -660,7 +550,7 @@ func (x *ListRemotesRequest) String() string { func (*ListRemotesRequest) ProtoMessage() {} func (x *ListRemotesRequest) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[10] + mi := &file_remote_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -673,7 +563,7 @@ func (x *ListRemotesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRemotesRequest.ProtoReflect.Descriptor instead. func (*ListRemotesRequest) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{10} + return file_remote_proto_rawDescGZIP(), []int{8} } func (x *ListRemotesRequest) GetRepository() *Repository { @@ -694,7 +584,7 @@ type ListRemotesResponse struct { func (x *ListRemotesResponse) Reset() { *x = ListRemotesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[11] + mi := &file_remote_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -707,7 +597,7 @@ func (x *ListRemotesResponse) String() string { func (*ListRemotesResponse) ProtoMessage() {} func (x *ListRemotesResponse) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[11] + mi := &file_remote_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -720,7 +610,7 @@ func (x *ListRemotesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRemotesResponse.ProtoReflect.Descriptor instead. func (*ListRemotesResponse) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{11} + return file_remote_proto_rawDescGZIP(), []int{9} } func (x *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote { @@ -745,7 +635,7 @@ type UpdateRemoteMirrorRequest_Remote struct { func (x *UpdateRemoteMirrorRequest_Remote) Reset() { *x = UpdateRemoteMirrorRequest_Remote{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[12] + mi := &file_remote_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -758,7 +648,7 @@ func (x *UpdateRemoteMirrorRequest_Remote) String() string { func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage() {} func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[12] + mi := &file_remote_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -771,7 +661,7 @@ func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRemoteMirrorRequest_Remote.ProtoReflect.Descriptor instead. func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{4, 0} + return file_remote_proto_rawDescGZIP(), []int{2, 0} } func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string { @@ -801,7 +691,7 @@ type ListRemotesResponse_Remote struct { func (x *ListRemotesResponse_Remote) Reset() { *x = ListRemotesResponse_Remote{} if protoimpl.UnsafeEnabled { - mi := &file_remote_proto_msgTypes[13] + mi := &file_remote_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -814,7 +704,7 @@ func (x *ListRemotesResponse_Remote) String() string { func (*ListRemotesResponse_Remote) ProtoMessage() {} func (x *ListRemotesResponse_Remote) ProtoReflect() protoreflect.Message { - mi := &file_remote_proto_msgTypes[13] + mi := &file_remote_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -827,7 +717,7 @@ func (x *ListRemotesResponse_Remote) ProtoReflect() protoreflect.Message { // Deprecated: Use ListRemotesResponse_Remote.ProtoReflect.Descriptor instead. func (*ListRemotesResponse_Remote) Descriptor() ([]byte, []int) { - return file_remote_proto_rawDescGZIP(), []int{11, 0} + return file_remote_proto_rawDescGZIP(), []int{9, 0} } func (x *ListRemotesResponse_Remote) GetName() string { @@ -857,110 +747,93 @@ var file_remote_proto_rawDesc = []byte{ 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xae, 0x01, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, - 0x72, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, - 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x4a, 0x04, 0x08, 0x04, - 0x10, 0x05, 0x52, 0x0d, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x6d, 0x61, - 0x70, 0x22, 0x13, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, - 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x3f, 0x0a, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, - 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x22, 0x35, 0x0a, 0x1b, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0xaa, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, - 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, - 0x19, 0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, - 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, - 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x14, 0x6f, 0x6e, - 0x6c, 0x79, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, - 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, - 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, - 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, - 0x65, 0x66, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x44, - 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x73, 0x1a, 0x56, 0x0a, 0x06, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, - 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, - 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, - 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, - 0x61, 0x64, 0x65, 0x72, 0x22, 0x43, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, - 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x64, 0x69, 0x76, 0x65, - 0x72, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x73, 0x22, 0x5e, 0x0a, 0x1b, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, - 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, - 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, - 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x18, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x22, 0x97, 0x01, 0x0a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, + 0x61, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x3f, 0x0a, 0x11, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x35, 0x0a, 0x1b, 0x46, 0x65, + 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x22, 0xaa, 0x03, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, + 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x66, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x66, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x06, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x14, 0x6f, 0x6e, 0x6c, 0x79, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x65, 0x73, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, + 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x73, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x68, + 0x6f, 0x73, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, 0x77, + 0x6e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x64, + 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x66, 0x73, 0x1a, 0x56, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, + 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x43, + 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, + 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0d, 0x64, 0x69, 0x76, 0x65, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x66, 0x73, 0x22, 0x5e, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x22, 0x36, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x73, 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x18, + 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, + 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x3a, 0x0a, + 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x19, 0x46, 0x69, 0x6e, + 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x4e, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x6f, - 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x72, 0x65, - 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x55, 0x72, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, - 0x2d, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, - 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, - 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x4e, - 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, - 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, - 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xa9, - 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, - 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6d, - 0x6f, 0x74, 0x65, 0x73, 0x1a, 0x54, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x65, 0x74, 0x63, 0x68, 0x55, 0x72, 0x6c, 0x12, - 0x19, 0x0a, 0x08, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x07, 0x70, 0x75, 0x73, 0x68, 0x55, 0x72, 0x6c, 0x32, 0xf7, 0x03, 0x0a, 0x0d, 0x52, - 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x09, - 0x41, 0x64, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, - 0x6c, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, 0x64, - 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, - 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, 0x0a, 0x13, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xa9, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3c, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x73, 0x1a, 0x54, + 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x66, 0x65, 0x74, 0x63, 0x68, 0x55, 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x75, 0x73, + 0x68, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x75, 0x73, + 0x68, 0x55, 0x72, 0x6c, 0x32, 0xad, 0x03, 0x0a, 0x0d, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x13, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, @@ -1005,48 +878,43 @@ func file_remote_proto_rawDescGZIP() []byte { return file_remote_proto_rawDescData } -var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_remote_proto_goTypes = []interface{}{ - (*AddRemoteRequest)(nil), // 0: gitaly.AddRemoteRequest - (*AddRemoteResponse)(nil), // 1: gitaly.AddRemoteResponse - (*FetchInternalRemoteRequest)(nil), // 2: gitaly.FetchInternalRemoteRequest - (*FetchInternalRemoteResponse)(nil), // 3: gitaly.FetchInternalRemoteResponse - (*UpdateRemoteMirrorRequest)(nil), // 4: gitaly.UpdateRemoteMirrorRequest - (*UpdateRemoteMirrorResponse)(nil), // 5: gitaly.UpdateRemoteMirrorResponse - (*FindRemoteRepositoryRequest)(nil), // 6: gitaly.FindRemoteRepositoryRequest - (*FindRemoteRepositoryResponse)(nil), // 7: gitaly.FindRemoteRepositoryResponse - (*FindRemoteRootRefRequest)(nil), // 8: gitaly.FindRemoteRootRefRequest - (*FindRemoteRootRefResponse)(nil), // 9: gitaly.FindRemoteRootRefResponse - (*ListRemotesRequest)(nil), // 10: gitaly.ListRemotesRequest - (*ListRemotesResponse)(nil), // 11: gitaly.ListRemotesResponse - (*UpdateRemoteMirrorRequest_Remote)(nil), // 12: gitaly.UpdateRemoteMirrorRequest.Remote - (*ListRemotesResponse_Remote)(nil), // 13: gitaly.ListRemotesResponse.Remote - (*Repository)(nil), // 14: gitaly.Repository + (*FetchInternalRemoteRequest)(nil), // 0: gitaly.FetchInternalRemoteRequest + (*FetchInternalRemoteResponse)(nil), // 1: gitaly.FetchInternalRemoteResponse + (*UpdateRemoteMirrorRequest)(nil), // 2: gitaly.UpdateRemoteMirrorRequest + (*UpdateRemoteMirrorResponse)(nil), // 3: gitaly.UpdateRemoteMirrorResponse + (*FindRemoteRepositoryRequest)(nil), // 4: gitaly.FindRemoteRepositoryRequest + (*FindRemoteRepositoryResponse)(nil), // 5: gitaly.FindRemoteRepositoryResponse + (*FindRemoteRootRefRequest)(nil), // 6: gitaly.FindRemoteRootRefRequest + (*FindRemoteRootRefResponse)(nil), // 7: gitaly.FindRemoteRootRefResponse + (*ListRemotesRequest)(nil), // 8: gitaly.ListRemotesRequest + (*ListRemotesResponse)(nil), // 9: gitaly.ListRemotesResponse + (*UpdateRemoteMirrorRequest_Remote)(nil), // 10: gitaly.UpdateRemoteMirrorRequest.Remote + (*ListRemotesResponse_Remote)(nil), // 11: gitaly.ListRemotesResponse.Remote + (*Repository)(nil), // 12: gitaly.Repository } var file_remote_proto_depIdxs = []int32{ - 14, // 0: gitaly.AddRemoteRequest.repository:type_name -> gitaly.Repository - 14, // 1: gitaly.FetchInternalRemoteRequest.repository:type_name -> gitaly.Repository - 14, // 2: gitaly.FetchInternalRemoteRequest.remote_repository:type_name -> gitaly.Repository - 14, // 3: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository - 12, // 4: gitaly.UpdateRemoteMirrorRequest.remote:type_name -> gitaly.UpdateRemoteMirrorRequest.Remote - 14, // 5: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository - 14, // 6: gitaly.ListRemotesRequest.repository:type_name -> gitaly.Repository - 13, // 7: gitaly.ListRemotesResponse.remotes:type_name -> gitaly.ListRemotesResponse.Remote - 0, // 8: gitaly.RemoteService.AddRemote:input_type -> gitaly.AddRemoteRequest - 2, // 9: gitaly.RemoteService.FetchInternalRemote:input_type -> gitaly.FetchInternalRemoteRequest - 4, // 10: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest - 6, // 11: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest - 8, // 12: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest - 1, // 13: gitaly.RemoteService.AddRemote:output_type -> gitaly.AddRemoteResponse - 3, // 14: gitaly.RemoteService.FetchInternalRemote:output_type -> gitaly.FetchInternalRemoteResponse - 5, // 15: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse - 7, // 16: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse - 9, // 17: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse - 13, // [13:18] is the sub-list for method output_type - 8, // [8:13] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name + 12, // 0: gitaly.FetchInternalRemoteRequest.repository:type_name -> gitaly.Repository + 12, // 1: gitaly.FetchInternalRemoteRequest.remote_repository:type_name -> gitaly.Repository + 12, // 2: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository + 10, // 3: gitaly.UpdateRemoteMirrorRequest.remote:type_name -> gitaly.UpdateRemoteMirrorRequest.Remote + 12, // 4: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository + 12, // 5: gitaly.ListRemotesRequest.repository:type_name -> gitaly.Repository + 11, // 6: gitaly.ListRemotesResponse.remotes:type_name -> gitaly.ListRemotesResponse.Remote + 0, // 7: gitaly.RemoteService.FetchInternalRemote:input_type -> gitaly.FetchInternalRemoteRequest + 2, // 8: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest + 4, // 9: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest + 6, // 10: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest + 1, // 11: gitaly.RemoteService.FetchInternalRemote:output_type -> gitaly.FetchInternalRemoteResponse + 3, // 12: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse + 5, // 13: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse + 7, // 14: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse + 11, // [11:15] is the sub-list for method output_type + 7, // [7:11] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name } func init() { file_remote_proto_init() } @@ -1058,30 +926,6 @@ func file_remote_proto_init() { file_shared_proto_init() if !protoimpl.UnsafeEnabled { file_remote_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRemoteRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AddRemoteResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_remote_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FetchInternalRemoteRequest); i { case 0: return &v.state @@ -1093,7 +937,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FetchInternalRemoteResponse); i { case 0: return &v.state @@ -1105,7 +949,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRemoteMirrorRequest); i { case 0: return &v.state @@ -1117,7 +961,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRemoteMirrorResponse); i { case 0: return &v.state @@ -1129,7 +973,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRemoteRepositoryRequest); i { case 0: return &v.state @@ -1141,7 +985,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRemoteRepositoryResponse); i { case 0: return &v.state @@ -1153,7 +997,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRemoteRootRefRequest); i { case 0: return &v.state @@ -1165,7 +1009,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FindRemoteRootRefResponse); i { case 0: return &v.state @@ -1177,7 +1021,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRemotesRequest); i { case 0: return &v.state @@ -1189,7 +1033,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRemotesResponse); i { case 0: return &v.state @@ -1201,7 +1045,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRemoteMirrorRequest_Remote); i { case 0: return &v.state @@ -1213,7 +1057,7 @@ func file_remote_proto_init() { return nil } } - file_remote_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_remote_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListRemotesResponse_Remote); i { case 0: return &v.state @@ -1232,7 +1076,7 @@ func file_remote_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_remote_proto_rawDesc, NumEnums: 0, - NumMessages: 14, + NumMessages: 12, NumExtensions: 0, NumServices: 1, }, diff --git a/proto/go/gitalypb/remote_grpc.pb.go b/proto/go/gitalypb/remote_grpc.pb.go index a89651298..ac70dfbdf 100644 --- a/proto/go/gitalypb/remote_grpc.pb.go +++ b/proto/go/gitalypb/remote_grpc.pb.go @@ -18,7 +18,6 @@ const _ = grpc.SupportPackageIsVersion7 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type RemoteServiceClient interface { - AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error) FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error) // UpdateRemoteMirror compares the references in the target repository and its remote mirror // repository. Any differences in the references are then addressed by pushing the differing @@ -43,15 +42,6 @@ func NewRemoteServiceClient(cc grpc.ClientConnInterface) RemoteServiceClient { return &remoteServiceClient{cc} } -func (c *remoteServiceClient) AddRemote(ctx context.Context, in *AddRemoteRequest, opts ...grpc.CallOption) (*AddRemoteResponse, error) { - out := new(AddRemoteResponse) - err := c.cc.Invoke(ctx, "/gitaly.RemoteService/AddRemote", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *remoteServiceClient) FetchInternalRemote(ctx context.Context, in *FetchInternalRemoteRequest, opts ...grpc.CallOption) (*FetchInternalRemoteResponse, error) { out := new(FetchInternalRemoteResponse) err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FetchInternalRemote", in, out, opts...) @@ -117,7 +107,6 @@ func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRem // All implementations must embed UnimplementedRemoteServiceServer // for forward compatibility type RemoteServiceServer interface { - AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error) FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) // UpdateRemoteMirror compares the references in the target repository and its remote mirror // repository. Any differences in the references are then addressed by pushing the differing @@ -139,9 +128,6 @@ type RemoteServiceServer interface { type UnimplementedRemoteServiceServer struct { } -func (UnimplementedRemoteServiceServer) AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRemote not implemented") -} func (UnimplementedRemoteServiceServer) FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchInternalRemote not implemented") } @@ -167,24 +153,6 @@ func RegisterRemoteServiceServer(s grpc.ServiceRegistrar, srv RemoteServiceServe s.RegisterService(&RemoteService_ServiceDesc, srv) } -func _RemoteService_AddRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRemoteRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(RemoteServiceServer).AddRemote(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gitaly.RemoteService/AddRemote", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RemoteServiceServer).AddRemote(ctx, req.(*AddRemoteRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _RemoteService_FetchInternalRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FetchInternalRemoteRequest) if err := dec(in); err != nil { @@ -273,10 +241,6 @@ var RemoteService_ServiceDesc = grpc.ServiceDesc{ HandlerType: (*RemoteServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "AddRemote", - Handler: _RemoteService_AddRemote_Handler, - }, - { MethodName: "FetchInternalRemote", Handler: _RemoteService_FetchInternalRemote_Handler, }, |