Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Mazurskiy <mmazurskiy@gitlab.com>2021-04-23 11:16:29 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-06-11 09:11:14 +0300
commit69f3f118b1f277013864089f71a7331f8e4ae661 (patch)
tree4ed869e8d0e19a4cd64d71dc6a638670f7ece175 /proto/go/gitalypb/remote.pb.go
parente5dce90ecf1edae4fdb5e943b9d52d565f68eae3 (diff)
Generated
Diffstat (limited to 'proto/go/gitalypb/remote.pb.go')
-rw-r--r--proto/go/gitalypb/remote.pb.go1914
1 files changed, 1041 insertions, 873 deletions
diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go
index 4ed3c2243..c6ffeac29 100644
--- a/proto/go/gitalypb/remote.pb.go
+++ b/proto/go/gitalypb/remote.pb.go
@@ -1,297 +1,344 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// protoc-gen-go v1.26.0
+// protoc v3.17.3
// source: remote.proto
package gitalypb
import (
- context "context"
- fmt "fmt"
- proto "github.com/golang/protobuf/proto"
- grpc "google.golang.org/grpc"
- codes "google.golang.org/grpc/codes"
- status "google.golang.org/grpc/status"
- math "math"
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+ reflect "reflect"
+ sync "sync"
)
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
+const (
+ // Verify that this generated code is sufficiently up-to-date.
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
+ _ = 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"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ MirrorRefmaps []string `protobuf:"bytes,5,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"`
}
-func (m *AddRemoteRequest) Reset() { *m = AddRemoteRequest{} }
-func (m *AddRemoteRequest) String() string { return proto.CompactTextString(m) }
-func (*AddRemoteRequest) ProtoMessage() {}
-func (*AddRemoteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{0}
+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 (m *AddRemoteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AddRemoteRequest.Unmarshal(m, b)
-}
-func (m *AddRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AddRemoteRequest.Marshal(b, m, deterministic)
-}
-func (m *AddRemoteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AddRemoteRequest.Merge(m, src)
-}
-func (m *AddRemoteRequest) XXX_Size() int {
- return xxx_messageInfo_AddRemoteRequest.Size(m)
+func (x *AddRemoteRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *AddRemoteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AddRemoteRequest.DiscardUnknown(m)
+
+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)
}
-var xxx_messageInfo_AddRemoteRequest proto.InternalMessageInfo
+// Deprecated: Use AddRemoteRequest.ProtoReflect.Descriptor instead.
+func (*AddRemoteRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{0}
+}
-func (m *AddRemoteRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *AddRemoteRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
-func (m *AddRemoteRequest) GetName() string {
- if m != nil {
- return m.Name
+func (x *AddRemoteRequest) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
-func (m *AddRemoteRequest) GetUrl() string {
- if m != nil {
- return m.Url
+func (x *AddRemoteRequest) GetUrl() string {
+ if x != nil {
+ return x.Url
}
return ""
}
-func (m *AddRemoteRequest) GetMirrorRefmaps() []string {
- if m != nil {
- return m.MirrorRefmaps
+func (x *AddRemoteRequest) GetMirrorRefmaps() []string {
+ if x != nil {
+ return x.MirrorRefmaps
}
return nil
}
type AddRemoteResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
}
-func (m *AddRemoteResponse) Reset() { *m = AddRemoteResponse{} }
-func (m *AddRemoteResponse) String() string { return proto.CompactTextString(m) }
-func (*AddRemoteResponse) ProtoMessage() {}
-func (*AddRemoteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{1}
+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 (m *AddRemoteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AddRemoteResponse.Unmarshal(m, b)
-}
-func (m *AddRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AddRemoteResponse.Marshal(b, m, deterministic)
-}
-func (m *AddRemoteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AddRemoteResponse.Merge(m, src)
-}
-func (m *AddRemoteResponse) XXX_Size() int {
- return xxx_messageInfo_AddRemoteResponse.Size(m)
-}
-func (m *AddRemoteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_AddRemoteResponse.DiscardUnknown(m)
+func (x *AddRemoteResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-var xxx_messageInfo_AddRemoteResponse proto.InternalMessageInfo
+func (*AddRemoteResponse) ProtoMessage() {}
-type RemoveRemoteRequest struct {
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+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)
}
-func (m *RemoveRemoteRequest) Reset() { *m = RemoveRemoteRequest{} }
-func (m *RemoveRemoteRequest) String() string { return proto.CompactTextString(m) }
-func (*RemoveRemoteRequest) ProtoMessage() {}
-func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{2}
+// Deprecated: Use AddRemoteResponse.ProtoReflect.Descriptor instead.
+func (*AddRemoteResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{1}
}
-func (m *RemoveRemoteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RemoveRemoteRequest.Unmarshal(m, b)
-}
-func (m *RemoveRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RemoveRemoteRequest.Marshal(b, m, deterministic)
+type RemoveRemoteRequest 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"`
}
-func (m *RemoveRemoteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RemoveRemoteRequest.Merge(m, src)
+
+func (x *RemoveRemoteRequest) Reset() {
+ *x = RemoveRemoteRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[2]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RemoveRemoteRequest) XXX_Size() int {
- return xxx_messageInfo_RemoveRemoteRequest.Size(m)
+
+func (x *RemoveRemoteRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RemoveRemoteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_RemoveRemoteRequest.DiscardUnknown(m)
+
+func (*RemoveRemoteRequest) ProtoMessage() {}
+
+func (x *RemoveRemoteRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[2]
+ 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)
}
-var xxx_messageInfo_RemoveRemoteRequest proto.InternalMessageInfo
+// Deprecated: Use RemoveRemoteRequest.ProtoReflect.Descriptor instead.
+func (*RemoveRemoteRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{2}
+}
-func (m *RemoveRemoteRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *RemoveRemoteRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
-func (m *RemoveRemoteRequest) GetName() string {
- if m != nil {
- return m.Name
+func (x *RemoveRemoteRequest) GetName() string {
+ if x != nil {
+ return x.Name
}
return ""
}
type RemoveRemoteResponse struct {
- Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *RemoveRemoteResponse) Reset() { *m = RemoveRemoteResponse{} }
-func (m *RemoveRemoteResponse) String() string { return proto.CompactTextString(m) }
-func (*RemoveRemoteResponse) ProtoMessage() {}
-func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{3}
+ Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
}
-func (m *RemoveRemoteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RemoveRemoteResponse.Unmarshal(m, b)
-}
-func (m *RemoveRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RemoveRemoteResponse.Marshal(b, m, deterministic)
-}
-func (m *RemoveRemoteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RemoveRemoteResponse.Merge(m, src)
+func (x *RemoveRemoteResponse) Reset() {
+ *x = RemoveRemoteResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[3]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *RemoveRemoteResponse) XXX_Size() int {
- return xxx_messageInfo_RemoveRemoteResponse.Size(m)
+
+func (x *RemoveRemoteResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *RemoveRemoteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_RemoveRemoteResponse.DiscardUnknown(m)
+
+func (*RemoveRemoteResponse) ProtoMessage() {}
+
+func (x *RemoveRemoteResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[3]
+ 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)
}
-var xxx_messageInfo_RemoveRemoteResponse proto.InternalMessageInfo
+// Deprecated: Use RemoveRemoteResponse.ProtoReflect.Descriptor instead.
+func (*RemoveRemoteResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{3}
+}
-func (m *RemoveRemoteResponse) GetResult() bool {
- if m != nil {
- return m.Result
+func (x *RemoveRemoteResponse) GetResult() bool {
+ if x != nil {
+ return x.Result
}
return false
}
type FetchInternalRemoteRequest struct {
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- RemoteRepository *Repository `protobuf:"bytes,2,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *FetchInternalRemoteRequest) Reset() { *m = FetchInternalRemoteRequest{} }
-func (m *FetchInternalRemoteRequest) String() string { return proto.CompactTextString(m) }
-func (*FetchInternalRemoteRequest) ProtoMessage() {}
-func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{4}
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+ RemoteRepository *Repository `protobuf:"bytes,2,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"`
}
-func (m *FetchInternalRemoteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FetchInternalRemoteRequest.Unmarshal(m, b)
-}
-func (m *FetchInternalRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FetchInternalRemoteRequest.Marshal(b, m, deterministic)
-}
-func (m *FetchInternalRemoteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FetchInternalRemoteRequest.Merge(m, src)
+func (x *FetchInternalRemoteRequest) Reset() {
+ *x = FetchInternalRemoteRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[4]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FetchInternalRemoteRequest) XXX_Size() int {
- return xxx_messageInfo_FetchInternalRemoteRequest.Size(m)
+
+func (x *FetchInternalRemoteRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FetchInternalRemoteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FetchInternalRemoteRequest.DiscardUnknown(m)
+
+func (*FetchInternalRemoteRequest) ProtoMessage() {}
+
+func (x *FetchInternalRemoteRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[4]
+ 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)
}
-var xxx_messageInfo_FetchInternalRemoteRequest proto.InternalMessageInfo
+// Deprecated: Use FetchInternalRemoteRequest.ProtoReflect.Descriptor instead.
+func (*FetchInternalRemoteRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{4}
+}
-func (m *FetchInternalRemoteRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *FetchInternalRemoteRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
-func (m *FetchInternalRemoteRequest) GetRemoteRepository() *Repository {
- if m != nil {
- return m.RemoteRepository
+func (x *FetchInternalRemoteRequest) GetRemoteRepository() *Repository {
+ if x != nil {
+ return x.RemoteRepository
}
return nil
}
type FetchInternalRemoteResponse struct {
- Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *FetchInternalRemoteResponse) Reset() { *m = FetchInternalRemoteResponse{} }
-func (m *FetchInternalRemoteResponse) String() string { return proto.CompactTextString(m) }
-func (*FetchInternalRemoteResponse) ProtoMessage() {}
-func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{5}
+ Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
}
-func (m *FetchInternalRemoteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FetchInternalRemoteResponse.Unmarshal(m, b)
-}
-func (m *FetchInternalRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FetchInternalRemoteResponse.Marshal(b, m, deterministic)
-}
-func (m *FetchInternalRemoteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FetchInternalRemoteResponse.Merge(m, src)
+func (x *FetchInternalRemoteResponse) Reset() {
+ *x = FetchInternalRemoteResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[5]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FetchInternalRemoteResponse) XXX_Size() int {
- return xxx_messageInfo_FetchInternalRemoteResponse.Size(m)
+
+func (x *FetchInternalRemoteResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FetchInternalRemoteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_FetchInternalRemoteResponse.DiscardUnknown(m)
+
+func (*FetchInternalRemoteResponse) ProtoMessage() {}
+
+func (x *FetchInternalRemoteResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[5]
+ 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)
}
-var xxx_messageInfo_FetchInternalRemoteResponse proto.InternalMessageInfo
+// Deprecated: Use FetchInternalRemoteResponse.ProtoReflect.Descriptor instead.
+func (*FetchInternalRemoteResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{5}
+}
-func (m *FetchInternalRemoteResponse) GetResult() bool {
- if m != nil {
- return m.Result
+func (x *FetchInternalRemoteResponse) GetResult() bool {
+ if x != nil {
+ return x.Result
}
return false
}
type UpdateRemoteMirrorRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// Repository is the repository whose mirror repository to update.
Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// RefName is actually the remote to update. Deprecated in favor of the
@@ -316,223 +363,193 @@ type UpdateRemoteMirrorRequest struct {
KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"`
// KeepDivergentRefs specifies whether or not to update diverged references
// in the mirror repository.
- KeepDivergentRefs bool `protobuf:"varint,6,opt,name=keep_divergent_refs,json=keepDivergentRefs,proto3" json:"keep_divergent_refs,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ KeepDivergentRefs bool `protobuf:"varint,6,opt,name=keep_divergent_refs,json=keepDivergentRefs,proto3" json:"keep_divergent_refs,omitempty"`
}
-func (m *UpdateRemoteMirrorRequest) Reset() { *m = UpdateRemoteMirrorRequest{} }
-func (m *UpdateRemoteMirrorRequest) String() string { return proto.CompactTextString(m) }
-func (*UpdateRemoteMirrorRequest) ProtoMessage() {}
-func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{6}
+func (x *UpdateRemoteMirrorRequest) Reset() {
+ *x = UpdateRemoteMirrorRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[6]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *UpdateRemoteMirrorRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateRemoteMirrorRequest.Unmarshal(m, b)
-}
-func (m *UpdateRemoteMirrorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateRemoteMirrorRequest.Marshal(b, m, deterministic)
-}
-func (m *UpdateRemoteMirrorRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateRemoteMirrorRequest.Merge(m, src)
-}
-func (m *UpdateRemoteMirrorRequest) XXX_Size() int {
- return xxx_messageInfo_UpdateRemoteMirrorRequest.Size(m)
+func (x *UpdateRemoteMirrorRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *UpdateRemoteMirrorRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateRemoteMirrorRequest.DiscardUnknown(m)
+
+func (*UpdateRemoteMirrorRequest) ProtoMessage() {}
+
+func (x *UpdateRemoteMirrorRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[6]
+ 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)
}
-var xxx_messageInfo_UpdateRemoteMirrorRequest proto.InternalMessageInfo
+// Deprecated: Use UpdateRemoteMirrorRequest.ProtoReflect.Descriptor instead.
+func (*UpdateRemoteMirrorRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{6}
+}
-func (m *UpdateRemoteMirrorRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *UpdateRemoteMirrorRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
-func (m *UpdateRemoteMirrorRequest) GetRefName() string {
- if m != nil {
- return m.RefName
+func (x *UpdateRemoteMirrorRequest) GetRefName() string {
+ if x != nil {
+ return x.RefName
}
return ""
}
-func (m *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote {
- if m != nil {
- return m.Remote
+func (x *UpdateRemoteMirrorRequest) GetRemote() *UpdateRemoteMirrorRequest_Remote {
+ if x != nil {
+ return x.Remote
}
return nil
}
-func (m *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte {
- if m != nil {
- return m.OnlyBranchesMatching
+func (x *UpdateRemoteMirrorRequest) GetOnlyBranchesMatching() [][]byte {
+ if x != nil {
+ return x.OnlyBranchesMatching
}
return nil
}
-func (m *UpdateRemoteMirrorRequest) GetSshKey() string {
- if m != nil {
- return m.SshKey
+func (x *UpdateRemoteMirrorRequest) GetSshKey() string {
+ if x != nil {
+ return x.SshKey
}
return ""
}
-func (m *UpdateRemoteMirrorRequest) GetKnownHosts() string {
- if m != nil {
- return m.KnownHosts
+func (x *UpdateRemoteMirrorRequest) GetKnownHosts() string {
+ if x != nil {
+ return x.KnownHosts
}
return ""
}
-func (m *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool {
- if m != nil {
- return m.KeepDivergentRefs
+func (x *UpdateRemoteMirrorRequest) GetKeepDivergentRefs() bool {
+ if x != nil {
+ return x.KeepDivergentRefs
}
return false
}
-type UpdateRemoteMirrorRequest_Remote struct {
- // URL is the URL of the remote repository.
- Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
- // HTTPAuthorizationHeader is an optional HTTP header used for
- // authenticating against the remote repository.
- HttpAuthorizationHeader string `protobuf:"bytes,2,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UpdateRemoteMirrorRequest_Remote) Reset() { *m = UpdateRemoteMirrorRequest_Remote{} }
-func (m *UpdateRemoteMirrorRequest_Remote) String() string { return proto.CompactTextString(m) }
-func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage() {}
-func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{6, 0}
-}
+type UpdateRemoteMirrorResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *UpdateRemoteMirrorRequest_Remote) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateRemoteMirrorRequest_Remote.Unmarshal(m, b)
-}
-func (m *UpdateRemoteMirrorRequest_Remote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateRemoteMirrorRequest_Remote.Marshal(b, m, deterministic)
-}
-func (m *UpdateRemoteMirrorRequest_Remote) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateRemoteMirrorRequest_Remote.Merge(m, src)
-}
-func (m *UpdateRemoteMirrorRequest_Remote) XXX_Size() int {
- return xxx_messageInfo_UpdateRemoteMirrorRequest_Remote.Size(m)
-}
-func (m *UpdateRemoteMirrorRequest_Remote) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateRemoteMirrorRequest_Remote.DiscardUnknown(m)
+ // DivergentRefs contains a list of references that had diverged in the
+ // mirror from the source repository.
+ DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"`
}
-var xxx_messageInfo_UpdateRemoteMirrorRequest_Remote proto.InternalMessageInfo
-
-func (m *UpdateRemoteMirrorRequest_Remote) GetUrl() string {
- if m != nil {
- return m.Url
+func (x *UpdateRemoteMirrorResponse) Reset() {
+ *x = UpdateRemoteMirrorResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[7]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (m *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string {
- if m != nil {
- return m.HttpAuthorizationHeader
- }
- return ""
+func (x *UpdateRemoteMirrorResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-type UpdateRemoteMirrorResponse struct {
- // DivergentRefs contains a list of references that had diverged in the
- // mirror from the source repository.
- DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+func (*UpdateRemoteMirrorResponse) ProtoMessage() {}
-func (m *UpdateRemoteMirrorResponse) Reset() { *m = UpdateRemoteMirrorResponse{} }
-func (m *UpdateRemoteMirrorResponse) String() string { return proto.CompactTextString(m) }
-func (*UpdateRemoteMirrorResponse) ProtoMessage() {}
-func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{7}
+func (x *UpdateRemoteMirrorResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[7]
+ 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)
}
-func (m *UpdateRemoteMirrorResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UpdateRemoteMirrorResponse.Unmarshal(m, b)
-}
-func (m *UpdateRemoteMirrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UpdateRemoteMirrorResponse.Marshal(b, m, deterministic)
-}
-func (m *UpdateRemoteMirrorResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateRemoteMirrorResponse.Merge(m, src)
-}
-func (m *UpdateRemoteMirrorResponse) XXX_Size() int {
- return xxx_messageInfo_UpdateRemoteMirrorResponse.Size(m)
-}
-func (m *UpdateRemoteMirrorResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateRemoteMirrorResponse.DiscardUnknown(m)
+// Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead.
+func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{7}
}
-var xxx_messageInfo_UpdateRemoteMirrorResponse proto.InternalMessageInfo
-
-func (m *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte {
- if m != nil {
- return m.DivergentRefs
+func (x *UpdateRemoteMirrorResponse) GetDivergentRefs() [][]byte {
+ if x != nil {
+ return x.DivergentRefs
}
return nil
}
type FindRemoteRepositoryRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
Remote string `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"`
// This field is used to redirect request to proper storage where it can be handled.
// As of now it doesn't matter what storage will be used, but it still must be a valid.
// For more details: https://gitlab.com/gitlab-org/gitaly/-/issues/2442
- StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
}
-func (m *FindRemoteRepositoryRequest) Reset() { *m = FindRemoteRepositoryRequest{} }
-func (m *FindRemoteRepositoryRequest) String() string { return proto.CompactTextString(m) }
-func (*FindRemoteRepositoryRequest) ProtoMessage() {}
-func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{8}
+func (x *FindRemoteRepositoryRequest) Reset() {
+ *x = FindRemoteRepositoryRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FindRemoteRepositoryRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FindRemoteRepositoryRequest.Unmarshal(m, b)
-}
-func (m *FindRemoteRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FindRemoteRepositoryRequest.Marshal(b, m, deterministic)
-}
-func (m *FindRemoteRepositoryRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FindRemoteRepositoryRequest.Merge(m, src)
-}
-func (m *FindRemoteRepositoryRequest) XXX_Size() int {
- return xxx_messageInfo_FindRemoteRepositoryRequest.Size(m)
+func (x *FindRemoteRepositoryRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FindRemoteRepositoryRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FindRemoteRepositoryRequest.DiscardUnknown(m)
+
+func (*FindRemoteRepositoryRequest) ProtoMessage() {}
+
+func (x *FindRemoteRepositoryRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[8]
+ 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)
}
-var xxx_messageInfo_FindRemoteRepositoryRequest proto.InternalMessageInfo
+// Deprecated: Use FindRemoteRepositoryRequest.ProtoReflect.Descriptor instead.
+func (*FindRemoteRepositoryRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{8}
+}
-func (m *FindRemoteRepositoryRequest) GetRemote() string {
- if m != nil {
- return m.Remote
+func (x *FindRemoteRepositoryRequest) GetRemote() string {
+ if x != nil {
+ return x.Remote
}
return ""
}
-func (m *FindRemoteRepositoryRequest) GetStorageName() string {
- if m != nil {
- return m.StorageName
+func (x *FindRemoteRepositoryRequest) GetStorageName() string {
+ if x != nil {
+ return x.StorageName
}
return ""
}
@@ -540,46 +557,58 @@ func (m *FindRemoteRepositoryRequest) GetStorageName() string {
// This migth throw a GRPC Unavailable code, to signal the request failure
// is transient.
type FindRemoteRepositoryResponse struct {
- Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *FindRemoteRepositoryResponse) Reset() { *m = FindRemoteRepositoryResponse{} }
-func (m *FindRemoteRepositoryResponse) String() string { return proto.CompactTextString(m) }
-func (*FindRemoteRepositoryResponse) ProtoMessage() {}
-func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{9}
+ Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
}
-func (m *FindRemoteRepositoryResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FindRemoteRepositoryResponse.Unmarshal(m, b)
-}
-func (m *FindRemoteRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FindRemoteRepositoryResponse.Marshal(b, m, deterministic)
-}
-func (m *FindRemoteRepositoryResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FindRemoteRepositoryResponse.Merge(m, src)
+func (x *FindRemoteRepositoryResponse) Reset() {
+ *x = FindRemoteRepositoryResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FindRemoteRepositoryResponse) XXX_Size() int {
- return xxx_messageInfo_FindRemoteRepositoryResponse.Size(m)
+
+func (x *FindRemoteRepositoryResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FindRemoteRepositoryResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_FindRemoteRepositoryResponse.DiscardUnknown(m)
+
+func (*FindRemoteRepositoryResponse) ProtoMessage() {}
+
+func (x *FindRemoteRepositoryResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[9]
+ 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)
}
-var xxx_messageInfo_FindRemoteRepositoryResponse proto.InternalMessageInfo
+// Deprecated: Use FindRemoteRepositoryResponse.ProtoReflect.Descriptor instead.
+func (*FindRemoteRepositoryResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{9}
+}
-func (m *FindRemoteRepositoryResponse) GetExists() bool {
- if m != nil {
- return m.Exists
+func (x *FindRemoteRepositoryResponse) GetExists() bool {
+ if x != nil {
+ return x.Exists
}
return false
}
// FindRemoteRootRefRequest represents a request for the FindRemoteRootRef RPC.
type FindRemoteRootRefRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// Repository is the repository in which the request shall be executed in. If
// a remote name is given, then this is the repository in which the remote
// will be looked up.
@@ -588,67 +617,73 @@ type FindRemoteRootRefRequest struct {
// looked up. The remote must have been created before this call. This
// parameter is deprecated in favor of `RemoteUrl`, see
// https://gitlab.com/gitlab-org/gitaly/-/issues/1773.
- Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"` // Deprecated: Do not use.
+ //
+ // Deprecated: Do not use.
+ Remote string `protobuf:"bytes,2,opt,name=remote,proto3" json:"remote,omitempty"`
// RemoteUrl specifies the remote repository URL which should be fetched from.
RemoteUrl string `protobuf:"bytes,3,opt,name=remote_url,json=remoteUrl,proto3" json:"remote_url,omitempty"`
// HttpAuthorizationHeader is the HTTP header which should be added to the
// request in order to authenticate against the repository.
- HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ HttpAuthorizationHeader string `protobuf:"bytes,4,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"`
}
-func (m *FindRemoteRootRefRequest) Reset() { *m = FindRemoteRootRefRequest{} }
-func (m *FindRemoteRootRefRequest) String() string { return proto.CompactTextString(m) }
-func (*FindRemoteRootRefRequest) ProtoMessage() {}
-func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{10}
+func (x *FindRemoteRootRefRequest) Reset() {
+ *x = FindRemoteRootRefRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FindRemoteRootRefRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FindRemoteRootRefRequest.Unmarshal(m, b)
+func (x *FindRemoteRootRefRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *FindRemoteRootRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FindRemoteRootRefRequest.Marshal(b, m, deterministic)
-}
-func (m *FindRemoteRootRefRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FindRemoteRootRefRequest.Merge(m, src)
-}
-func (m *FindRemoteRootRefRequest) XXX_Size() int {
- return xxx_messageInfo_FindRemoteRootRefRequest.Size(m)
-}
-func (m *FindRemoteRootRefRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FindRemoteRootRefRequest.DiscardUnknown(m)
+
+func (*FindRemoteRootRefRequest) ProtoMessage() {}
+
+func (x *FindRemoteRootRefRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[10]
+ 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)
}
-var xxx_messageInfo_FindRemoteRootRefRequest proto.InternalMessageInfo
+// Deprecated: Use FindRemoteRootRefRequest.ProtoReflect.Descriptor instead.
+func (*FindRemoteRootRefRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{10}
+}
-func (m *FindRemoteRootRefRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *FindRemoteRootRefRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
// Deprecated: Do not use.
-func (m *FindRemoteRootRefRequest) GetRemote() string {
- if m != nil {
- return m.Remote
+func (x *FindRemoteRootRefRequest) GetRemote() string {
+ if x != nil {
+ return x.Remote
}
return ""
}
-func (m *FindRemoteRootRefRequest) GetRemoteUrl() string {
- if m != nil {
- return m.RemoteUrl
+func (x *FindRemoteRootRefRequest) GetRemoteUrl() string {
+ if x != nil {
+ return x.RemoteUrl
}
return ""
}
-func (m *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string {
- if m != nil {
- return m.HttpAuthorizationHeader
+func (x *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string {
+ if x != nil {
+ return x.HttpAuthorizationHeader
}
return ""
}
@@ -656,569 +691,702 @@ func (m *FindRemoteRootRefRequest) GetHttpAuthorizationHeader() string {
// FindRemoteRootRefResponse represents the response for the FindRemoteRootRef
// request.
type FindRemoteRootRefResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
// Ref is the name of the remote root reference.
- Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
}
-func (m *FindRemoteRootRefResponse) Reset() { *m = FindRemoteRootRefResponse{} }
-func (m *FindRemoteRootRefResponse) String() string { return proto.CompactTextString(m) }
-func (*FindRemoteRootRefResponse) ProtoMessage() {}
-func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{11}
+func (x *FindRemoteRootRefResponse) Reset() {
+ *x = FindRemoteRootRefResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[11]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
}
-func (m *FindRemoteRootRefResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FindRemoteRootRefResponse.Unmarshal(m, b)
-}
-func (m *FindRemoteRootRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FindRemoteRootRefResponse.Marshal(b, m, deterministic)
-}
-func (m *FindRemoteRootRefResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FindRemoteRootRefResponse.Merge(m, src)
-}
-func (m *FindRemoteRootRefResponse) XXX_Size() int {
- return xxx_messageInfo_FindRemoteRootRefResponse.Size(m)
-}
-func (m *FindRemoteRootRefResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_FindRemoteRootRefResponse.DiscardUnknown(m)
+func (x *FindRemoteRootRefResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-var xxx_messageInfo_FindRemoteRootRefResponse proto.InternalMessageInfo
+func (*FindRemoteRootRefResponse) ProtoMessage() {}
-func (m *FindRemoteRootRefResponse) GetRef() string {
- if m != nil {
- return m.Ref
+func (x *FindRemoteRootRefResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[11]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-type ListRemotesRequest struct {
- Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+// Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead.
+func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{11}
}
-func (m *ListRemotesRequest) Reset() { *m = ListRemotesRequest{} }
-func (m *ListRemotesRequest) String() string { return proto.CompactTextString(m) }
-func (*ListRemotesRequest) ProtoMessage() {}
-func (*ListRemotesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{12}
+func (x *FindRemoteRootRefResponse) GetRef() string {
+ if x != nil {
+ return x.Ref
+ }
+ return ""
}
-func (m *ListRemotesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListRemotesRequest.Unmarshal(m, b)
-}
-func (m *ListRemotesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListRemotesRequest.Marshal(b, m, deterministic)
-}
-func (m *ListRemotesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListRemotesRequest.Merge(m, src)
-}
-func (m *ListRemotesRequest) XXX_Size() int {
- return xxx_messageInfo_ListRemotesRequest.Size(m)
-}
-func (m *ListRemotesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListRemotesRequest.DiscardUnknown(m)
-}
+type ListRemotesRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-var xxx_messageInfo_ListRemotesRequest proto.InternalMessageInfo
+ Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
+}
-func (m *ListRemotesRequest) GetRepository() *Repository {
- if m != nil {
- return m.Repository
+func (x *ListRemotesRequest) Reset() {
+ *x = ListRemotesRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return nil
}
-type ListRemotesResponse struct {
- Remotes []*ListRemotesResponse_Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+func (x *ListRemotesRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ListRemotesResponse) Reset() { *m = ListRemotesResponse{} }
-func (m *ListRemotesResponse) String() string { return proto.CompactTextString(m) }
-func (*ListRemotesResponse) ProtoMessage() {}
-func (*ListRemotesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{13}
-}
+func (*ListRemotesRequest) ProtoMessage() {}
-func (m *ListRemotesResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListRemotesResponse.Unmarshal(m, b)
-}
-func (m *ListRemotesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListRemotesResponse.Marshal(b, m, deterministic)
-}
-func (m *ListRemotesResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListRemotesResponse.Merge(m, src)
-}
-func (m *ListRemotesResponse) XXX_Size() int {
- return xxx_messageInfo_ListRemotesResponse.Size(m)
-}
-func (m *ListRemotesResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListRemotesResponse.DiscardUnknown(m)
+func (x *ListRemotesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[12]
+ 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)
}
-var xxx_messageInfo_ListRemotesResponse proto.InternalMessageInfo
+// Deprecated: Use ListRemotesRequest.ProtoReflect.Descriptor instead.
+func (*ListRemotesRequest) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{12}
+}
-func (m *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote {
- if m != nil {
- return m.Remotes
+func (x *ListRemotesRequest) GetRepository() *Repository {
+ if x != nil {
+ return x.Repository
}
return nil
}
-type ListRemotesResponse_Remote struct {
- Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
- FetchUrl string `protobuf:"bytes,2,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
- PushUrl string `protobuf:"bytes,3,opt,name=push_url,json=pushUrl,proto3" json:"push_url,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ListRemotesResponse_Remote) Reset() { *m = ListRemotesResponse_Remote{} }
-func (m *ListRemotesResponse_Remote) String() string { return proto.CompactTextString(m) }
-func (*ListRemotesResponse_Remote) ProtoMessage() {}
-func (*ListRemotesResponse_Remote) Descriptor() ([]byte, []int) {
- return fileDescriptor_eefc82927d57d89b, []int{13, 0}
-}
+type ListRemotesResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (m *ListRemotesResponse_Remote) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListRemotesResponse_Remote.Unmarshal(m, b)
-}
-func (m *ListRemotesResponse_Remote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListRemotesResponse_Remote.Marshal(b, m, deterministic)
-}
-func (m *ListRemotesResponse_Remote) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListRemotesResponse_Remote.Merge(m, src)
+ Remotes []*ListRemotesResponse_Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"`
}
-func (m *ListRemotesResponse_Remote) XXX_Size() int {
- return xxx_messageInfo_ListRemotesResponse_Remote.Size(m)
-}
-func (m *ListRemotesResponse_Remote) XXX_DiscardUnknown() {
- xxx_messageInfo_ListRemotesResponse_Remote.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListRemotesResponse_Remote proto.InternalMessageInfo
-func (m *ListRemotesResponse_Remote) GetName() string {
- if m != nil {
- return m.Name
+func (x *ListRemotesResponse) Reset() {
+ *x = ListRemotesResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[13]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (m *ListRemotesResponse_Remote) GetFetchUrl() string {
- if m != nil {
- return m.FetchUrl
- }
- return ""
+func (x *ListRemotesResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (m *ListRemotesResponse_Remote) GetPushUrl() string {
- if m != nil {
- return m.PushUrl
+func (*ListRemotesResponse) ProtoMessage() {}
+
+func (x *ListRemotesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[13]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-func init() {
- proto.RegisterType((*AddRemoteRequest)(nil), "gitaly.AddRemoteRequest")
- proto.RegisterType((*AddRemoteResponse)(nil), "gitaly.AddRemoteResponse")
- proto.RegisterType((*RemoveRemoteRequest)(nil), "gitaly.RemoveRemoteRequest")
- proto.RegisterType((*RemoveRemoteResponse)(nil), "gitaly.RemoveRemoteResponse")
- proto.RegisterType((*FetchInternalRemoteRequest)(nil), "gitaly.FetchInternalRemoteRequest")
- proto.RegisterType((*FetchInternalRemoteResponse)(nil), "gitaly.FetchInternalRemoteResponse")
- proto.RegisterType((*UpdateRemoteMirrorRequest)(nil), "gitaly.UpdateRemoteMirrorRequest")
- proto.RegisterType((*UpdateRemoteMirrorRequest_Remote)(nil), "gitaly.UpdateRemoteMirrorRequest.Remote")
- proto.RegisterType((*UpdateRemoteMirrorResponse)(nil), "gitaly.UpdateRemoteMirrorResponse")
- proto.RegisterType((*FindRemoteRepositoryRequest)(nil), "gitaly.FindRemoteRepositoryRequest")
- proto.RegisterType((*FindRemoteRepositoryResponse)(nil), "gitaly.FindRemoteRepositoryResponse")
- proto.RegisterType((*FindRemoteRootRefRequest)(nil), "gitaly.FindRemoteRootRefRequest")
- proto.RegisterType((*FindRemoteRootRefResponse)(nil), "gitaly.FindRemoteRootRefResponse")
- proto.RegisterType((*ListRemotesRequest)(nil), "gitaly.ListRemotesRequest")
- proto.RegisterType((*ListRemotesResponse)(nil), "gitaly.ListRemotesResponse")
- proto.RegisterType((*ListRemotesResponse_Remote)(nil), "gitaly.ListRemotesResponse.Remote")
-}
-
-func init() { proto.RegisterFile("remote.proto", fileDescriptor_eefc82927d57d89b) }
-
-var fileDescriptor_eefc82927d57d89b = []byte{
- // 867 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xdd, 0x6e, 0xe3, 0x44,
- 0x14, 0x96, 0x13, 0x6f, 0x7e, 0x4e, 0xd3, 0x55, 0x3a, 0xa9, 0xba, 0x8e, 0xbb, 0x88, 0xac, 0x61,
- 0x45, 0x2e, 0xd8, 0x44, 0x94, 0x82, 0x10, 0x42, 0x82, 0x2d, 0x68, 0x55, 0x7e, 0x76, 0x25, 0x0c,
- 0xe5, 0x82, 0x0b, 0x8c, 0x9b, 0x1c, 0xc7, 0x56, 0x1d, 0x8f, 0x99, 0x99, 0x14, 0xc2, 0x13, 0xf0,
- 0x06, 0xe5, 0x15, 0xe0, 0x82, 0xc7, 0xe0, 0x02, 0xde, 0x68, 0xaf, 0xd0, 0x78, 0xc6, 0x8e, 0xd3,
- 0x3a, 0xe9, 0x45, 0xd9, 0x3b, 0xcf, 0x39, 0x67, 0xbe, 0xf3, 0x9d, 0xdf, 0x31, 0x74, 0x18, 0xce,
- 0xa9, 0xc0, 0x51, 0xca, 0xa8, 0xa0, 0xa4, 0x31, 0x8b, 0x84, 0x1f, 0x2f, 0x6d, 0x88, 0xa3, 0x44,
- 0x28, 0x99, 0xdd, 0xe1, 0xa1, 0xcf, 0x70, 0xaa, 0x4e, 0xce, 0x5f, 0x06, 0x74, 0x9f, 0x4e, 0xa7,
- 0x6e, 0x76, 0xcb, 0xc5, 0x9f, 0x16, 0xc8, 0x05, 0xf9, 0x00, 0x80, 0x61, 0x4a, 0x79, 0x24, 0x28,
- 0x5b, 0x5a, 0xc6, 0xc0, 0x18, 0xee, 0x1c, 0x91, 0x91, 0xc2, 0x1a, 0xb9, 0x85, 0xe6, 0xc4, 0xfc,
- 0xfd, 0xef, 0xb7, 0x0d, 0xb7, 0x64, 0x4b, 0x08, 0x98, 0x89, 0x3f, 0x47, 0xab, 0x36, 0x30, 0x86,
- 0x6d, 0x37, 0xfb, 0x26, 0x5d, 0xa8, 0x2f, 0x58, 0x6c, 0xd5, 0x33, 0x91, 0xfc, 0x24, 0x8f, 0xe1,
- 0xfe, 0x3c, 0x62, 0x8c, 0x32, 0x8f, 0x61, 0x30, 0xf7, 0x53, 0x6e, 0xdd, 0x1b, 0xd4, 0x87, 0x6d,
- 0x77, 0x57, 0x49, 0x5d, 0x25, 0xfc, 0xc2, 0x6c, 0x99, 0xdd, 0x7b, 0xb9, 0x50, 0x9b, 0x3a, 0x3d,
- 0xd8, 0x2b, 0xf1, 0xe5, 0x29, 0x4d, 0x38, 0x3a, 0x13, 0xe8, 0x49, 0xc9, 0x25, 0xbe, 0xc2, 0x38,
- 0x9c, 0x11, 0xec, 0xaf, 0x3b, 0x51, 0xce, 0xc9, 0x01, 0x34, 0x18, 0xf2, 0x45, 0x2c, 0x32, 0x0f,
- 0x2d, 0x57, 0x9f, 0x9c, 0x2b, 0x03, 0xec, 0x67, 0x28, 0x26, 0xe1, 0xe7, 0x89, 0x40, 0x96, 0xf8,
- 0xf1, 0xff, 0x45, 0xee, 0x63, 0xd8, 0x53, 0x55, 0xf6, 0x4a, 0x00, 0xb5, 0x4d, 0x00, 0x6e, 0x97,
- 0x69, 0xbf, 0xb9, 0xc4, 0x79, 0x0f, 0x0e, 0x2b, 0x89, 0xdd, 0x12, 0xd0, 0x9f, 0x75, 0xe8, 0x9f,
- 0xa5, 0x53, 0x5f, 0xe8, 0x0c, 0x3c, 0xd7, 0xd5, 0xba, 0x6b, 0x3c, 0x7d, 0x68, 0x31, 0x0c, 0xbc,
- 0x52, 0xc2, 0x9b, 0x0c, 0x83, 0x17, 0xb2, 0x77, 0x3e, 0x91, 0x54, 0xa4, 0x2f, 0xab, 0x99, 0x01,
- 0x0e, 0x73, 0xc0, 0x8d, 0x3c, 0x46, 0x3a, 0x18, 0x7d, 0x8f, 0x1c, 0xc3, 0x01, 0x4d, 0xe2, 0xa5,
- 0x77, 0xce, 0xfc, 0x64, 0x12, 0x22, 0xf7, 0xe6, 0xbe, 0x98, 0x84, 0x51, 0x32, 0xb3, 0xea, 0x83,
- 0xfa, 0xb0, 0xe3, 0xee, 0x4b, 0xed, 0x89, 0x56, 0x3e, 0xd7, 0x3a, 0xf2, 0x00, 0x9a, 0x9c, 0x87,
- 0xde, 0x05, 0x2e, 0x2d, 0x33, 0x63, 0xd4, 0xe0, 0x3c, 0xfc, 0x12, 0x97, 0xe4, 0x75, 0xd8, 0xb9,
- 0x48, 0xe8, 0xcf, 0x89, 0x17, 0x52, 0x2e, 0x64, 0xdf, 0x4a, 0x25, 0x64, 0xa2, 0x53, 0x29, 0x21,
- 0x23, 0xe8, 0x5d, 0x20, 0xa6, 0xde, 0x34, 0xba, 0x44, 0x36, 0xc3, 0x44, 0xc8, 0xc6, 0xe5, 0x56,
- 0x23, 0xcb, 0xe4, 0x9e, 0x54, 0x7d, 0x96, 0x6b, 0x5c, 0x0c, 0xb8, 0xfd, 0x1d, 0x34, 0x14, 0xe3,
- 0x7c, 0x4e, 0x8c, 0xd5, 0x9c, 0x7c, 0x08, 0xfd, 0x50, 0x88, 0xd4, 0xf3, 0x17, 0x22, 0xa4, 0x2c,
- 0xfa, 0xd5, 0x17, 0x11, 0x4d, 0xbc, 0x10, 0xfd, 0x29, 0x32, 0x9d, 0xa9, 0x07, 0xd2, 0xe0, 0x69,
- 0x59, 0x7f, 0x9a, 0xa9, 0x9d, 0x4f, 0xc1, 0xae, 0xca, 0x91, 0x2e, 0xf1, 0x63, 0xb8, 0x7f, 0x8d,
- 0xa0, 0x91, 0x65, 0x63, 0x77, 0x5a, 0x26, 0xe7, 0xfc, 0x00, 0x87, 0xcf, 0xa2, 0xa4, 0x98, 0xb6,
- 0xa2, 0xa5, 0x74, 0xc9, 0x0f, 0x8a, 0xea, 0x28, 0xd2, 0x79, 0xce, 0xdf, 0x82, 0x0e, 0x17, 0x94,
- 0xf9, 0x33, 0x2c, 0x15, 0xf5, 0xc4, 0xfc, 0x4d, 0x16, 0x7e, 0x47, 0x6b, 0x64, 0x79, 0x9d, 0xf7,
- 0xe1, 0x61, 0x35, 0xfe, 0xaa, 0x13, 0xf1, 0x97, 0x48, 0x26, 0x5a, 0x77, 0xa2, 0x3a, 0x39, 0xff,
- 0x1a, 0x60, 0x95, 0x2e, 0x52, 0x2a, 0xe9, 0xde, 0xbd, 0x11, 0xed, 0x22, 0x1e, 0xc5, 0xb8, 0x66,
- 0x19, 0x45, 0x4c, 0xaf, 0x49, 0xd4, 0x6c, 0xe8, 0x56, 0xcb, 0xac, 0xad, 0x24, 0x67, 0xb7, 0x95,
- 0xca, 0xdc, 0x5e, 0xaa, 0x27, 0xd0, 0xaf, 0x08, 0x46, 0xa7, 0xa0, 0x0b, 0x75, 0x86, 0x41, 0xde,
- 0x15, 0x0c, 0x03, 0xe7, 0x05, 0x90, 0xaf, 0x22, 0x2e, 0x94, 0x39, 0xbf, 0x73, 0xd4, 0xce, 0x1f,
- 0x06, 0xf4, 0xd6, 0x00, 0xb5, 0xe7, 0x8f, 0xa0, 0xa9, 0xe2, 0x53, 0xcd, 0xb1, 0x73, 0xe4, 0xe4,
- 0x70, 0x15, 0xd6, 0xf9, 0xd8, 0xe5, 0x57, 0xec, 0x6f, 0x8b, 0xbe, 0xce, 0x77, 0xa9, 0x51, 0x7a,
- 0x13, 0x0e, 0xa1, 0x1d, 0xc8, 0x0d, 0x94, 0x25, 0x53, 0x75, 0x72, 0x2b, 0x13, 0xc8, 0x5c, 0xf6,
- 0xa1, 0x95, 0x2e, 0x78, 0x58, 0x4a, 0x74, 0x53, 0x9e, 0xcf, 0x58, 0x7c, 0xf4, 0x8f, 0x09, 0xbb,
- 0x0a, 0xf6, 0x1b, 0x64, 0x97, 0xd1, 0x04, 0xc9, 0x29, 0xb4, 0x8b, 0xf7, 0x80, 0x58, 0x39, 0xc3,
- 0xeb, 0x4f, 0x9a, 0xdd, 0xaf, 0xd0, 0xe8, 0xc7, 0xa3, 0xf1, 0xf2, 0x6a, 0x58, 0x6b, 0x19, 0x24,
- 0x80, 0x5e, 0xc5, 0x56, 0x24, 0x45, 0xd4, 0x9b, 0x77, 0xb9, 0xfd, 0xc6, 0x56, 0x9b, 0x6b, 0x7e,
- 0xbe, 0x86, 0x4e, 0xf9, 0x1d, 0x21, 0x87, 0xab, 0x2a, 0xdd, 0x78, 0xc2, 0xec, 0x87, 0xd5, 0xca,
- 0x6b, 0x90, 0x08, 0xe4, 0xe6, 0xb0, 0x93, 0x47, 0xb7, 0x2e, 0x4b, 0xdb, 0xd9, 0x66, 0xb2, 0xe6,
- 0xa4, 0x36, 0x34, 0xc8, 0x05, 0xec, 0x57, 0x8d, 0x2b, 0x59, 0x85, 0xbf, 0x79, 0x59, 0xd8, 0x6f,
- 0x6e, 0x37, 0xd2, 0xce, 0x5a, 0x2f, 0xaf, 0x86, 0x66, 0xab, 0xd6, 0xad, 0x91, 0x1f, 0x61, 0xef,
- 0xc6, 0x54, 0x90, 0x41, 0x05, 0xc8, 0xda, 0xf4, 0xdb, 0x8f, 0xb6, 0x58, 0xac, 0x07, 0x74, 0x72,
- 0xfc, 0xfd, 0xd1, 0x2c, 0x12, 0xb1, 0x7f, 0x3e, 0x9a, 0xd0, 0xf9, 0x58, 0x7d, 0x3e, 0xa1, 0x6c,
- 0x36, 0x56, 0x08, 0xe3, 0xcb, 0x77, 0x8e, 0xc7, 0xd9, 0x5f, 0xd2, 0x78, 0x46, 0xb5, 0x2c, 0x3d,
- 0x3f, 0x6f, 0x64, 0xa2, 0x77, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x58, 0xfb, 0x0e, 0xfd, 0x6a,
- 0x09, 0x00, 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// RemoteServiceClient is the client API for RemoteService service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#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)
- RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, 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
- // references to the mirror. Created and modified references are updated, removed references are
- // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
- // the patterns specified in the requests.
- UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error)
- FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error)
- // FindRemoteRootRef tries to find the root reference of a remote
- // repository. The root reference is the default branch as pointed to by
- // the remotes HEAD reference. Returns an InvalidArgument error if the
- // specified remote does not exist and a NotFound error in case no HEAD
- // branch was found.
- FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error)
-}
-
-type remoteServiceClient struct {
- cc *grpc.ClientConn
-}
-
-func NewRemoteServiceClient(cc *grpc.ClientConn) 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...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *remoteServiceClient) RemoveRemote(ctx context.Context, in *RemoveRemoteRequest, opts ...grpc.CallOption) (*RemoveRemoteResponse, error) {
- out := new(RemoveRemoteResponse)
- err := c.cc.Invoke(ctx, "/gitaly.RemoteService/RemoveRemote", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+// Deprecated: Use ListRemotesResponse.ProtoReflect.Descriptor instead.
+func (*ListRemotesResponse) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{13}
}
-func (c *remoteServiceClient) UpdateRemoteMirror(ctx context.Context, opts ...grpc.CallOption) (RemoteService_UpdateRemoteMirrorClient, error) {
- stream, err := c.cc.NewStream(ctx, &_RemoteService_serviceDesc.Streams[0], "/gitaly.RemoteService/UpdateRemoteMirror", opts...)
- if err != nil {
- return nil, err
+func (x *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote {
+ if x != nil {
+ return x.Remotes
}
- x := &remoteServiceUpdateRemoteMirrorClient{stream}
- return x, nil
-}
-
-type RemoteService_UpdateRemoteMirrorClient interface {
- Send(*UpdateRemoteMirrorRequest) error
- CloseAndRecv() (*UpdateRemoteMirrorResponse, error)
- grpc.ClientStream
+ return nil
}
-type remoteServiceUpdateRemoteMirrorClient struct {
- grpc.ClientStream
-}
+type UpdateRemoteMirrorRequest_Remote struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (x *remoteServiceUpdateRemoteMirrorClient) Send(m *UpdateRemoteMirrorRequest) error {
- return x.ClientStream.SendMsg(m)
+ // URL is the URL of the remote repository.
+ Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
+ // HTTPAuthorizationHeader is an optional HTTP header used for
+ // authenticating against the remote repository.
+ HttpAuthorizationHeader string `protobuf:"bytes,2,opt,name=http_authorization_header,json=httpAuthorizationHeader,proto3" json:"http_authorization_header,omitempty"`
}
-func (x *remoteServiceUpdateRemoteMirrorClient) CloseAndRecv() (*UpdateRemoteMirrorResponse, error) {
- if err := x.ClientStream.CloseSend(); err != nil {
- return nil, err
- }
- m := new(UpdateRemoteMirrorResponse)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
+func (x *UpdateRemoteMirrorRequest_Remote) Reset() {
+ *x = UpdateRemoteMirrorRequest_Remote{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[14]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return m, nil
}
-func (c *remoteServiceClient) FindRemoteRepository(ctx context.Context, in *FindRemoteRepositoryRequest, opts ...grpc.CallOption) (*FindRemoteRepositoryResponse, error) {
- out := new(FindRemoteRepositoryResponse)
- err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRepository", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func (x *UpdateRemoteMirrorRequest_Remote) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (c *remoteServiceClient) FindRemoteRootRef(ctx context.Context, in *FindRemoteRootRefRequest, opts ...grpc.CallOption) (*FindRemoteRootRefResponse, error) {
- out := new(FindRemoteRootRefResponse)
- err := c.cc.Invoke(ctx, "/gitaly.RemoteService/FindRemoteRootRef", in, out, opts...)
- if err != nil {
- return nil, err
+func (*UpdateRemoteMirrorRequest_Remote) ProtoMessage() {}
+
+func (x *UpdateRemoteMirrorRequest_Remote) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[14]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return out, nil
+ return mi.MessageOf(x)
}
-// RemoteServiceServer is the server API for RemoteService service.
-type RemoteServiceServer interface {
- AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error)
- FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error)
- RemoveRemote(context.Context, *RemoveRemoteRequest) (*RemoveRemoteResponse, 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
- // references to the mirror. Created and modified references are updated, removed references are
- // deleted from the mirror. UpdateRemoteMirror updates all tags. Branches are updated if they match
- // the patterns specified in the requests.
- UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error
- FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error)
- // FindRemoteRootRef tries to find the root reference of a remote
- // repository. The root reference is the default branch as pointed to by
- // the remotes HEAD reference. Returns an InvalidArgument error if the
- // specified remote does not exist and a NotFound error in case no HEAD
- // branch was found.
- FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error)
+// Deprecated: Use UpdateRemoteMirrorRequest_Remote.ProtoReflect.Descriptor instead.
+func (*UpdateRemoteMirrorRequest_Remote) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{6, 0}
}
-// UnimplementedRemoteServiceServer can be embedded to have forward compatible implementations.
-type UnimplementedRemoteServiceServer struct {
+func (x *UpdateRemoteMirrorRequest_Remote) GetUrl() string {
+ if x != nil {
+ return x.Url
+ }
+ return ""
}
-func (*UnimplementedRemoteServiceServer) AddRemote(ctx context.Context, req *AddRemoteRequest) (*AddRemoteResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AddRemote not implemented")
-}
-func (*UnimplementedRemoteServiceServer) FetchInternalRemote(ctx context.Context, req *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FetchInternalRemote not implemented")
-}
-func (*UnimplementedRemoteServiceServer) RemoveRemote(ctx context.Context, req *RemoveRemoteRequest) (*RemoveRemoteResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RemoveRemote not implemented")
-}
-func (*UnimplementedRemoteServiceServer) UpdateRemoteMirror(srv RemoteService_UpdateRemoteMirrorServer) error {
- return status.Errorf(codes.Unimplemented, "method UpdateRemoteMirror not implemented")
-}
-func (*UnimplementedRemoteServiceServer) FindRemoteRepository(ctx context.Context, req *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRepository not implemented")
-}
-func (*UnimplementedRemoteServiceServer) FindRemoteRootRef(ctx context.Context, req *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented")
+func (x *UpdateRemoteMirrorRequest_Remote) GetHttpAuthorizationHeader() string {
+ if x != nil {
+ return x.HttpAuthorizationHeader
+ }
+ return ""
}
-func RegisterRemoteServiceServer(s *grpc.Server, srv RemoteServiceServer) {
- s.RegisterService(&_RemoteService_serviceDesc, srv)
-}
+type ListRemotesResponse_Remote struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-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)
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
+ FetchUrl string `protobuf:"bytes,2,opt,name=fetch_url,json=fetchUrl,proto3" json:"fetch_url,omitempty"`
+ PushUrl string `protobuf:"bytes,3,opt,name=push_url,json=pushUrl,proto3" json:"push_url,omitempty"`
}
-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 {
- return nil, err
- }
- if interceptor == nil {
- return srv.(RemoteServiceServer).FetchInternalRemote(ctx, in)
+func (x *ListRemotesResponse_Remote) Reset() {
+ *x = ListRemotesResponse_Remote{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_remote_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/gitaly.RemoteService/FetchInternalRemote",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(RemoteServiceServer).FetchInternalRemote(ctx, req.(*FetchInternalRemoteRequest))
- }
- return interceptor(ctx, in, info, handler)
}
-func _RemoteService_RemoveRemote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(RemoveRemoteRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(RemoteServiceServer).RemoveRemote(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/gitaly.RemoteService/RemoveRemote",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(RemoteServiceServer).RemoveRemote(ctx, req.(*RemoveRemoteRequest))
- }
- return interceptor(ctx, in, info, handler)
+func (x *ListRemotesResponse_Remote) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func _RemoteService_UpdateRemoteMirror_Handler(srv interface{}, stream grpc.ServerStream) error {
- return srv.(RemoteServiceServer).UpdateRemoteMirror(&remoteServiceUpdateRemoteMirrorServer{stream})
-}
+func (*ListRemotesResponse_Remote) ProtoMessage() {}
-type RemoteService_UpdateRemoteMirrorServer interface {
- SendAndClose(*UpdateRemoteMirrorResponse) error
- Recv() (*UpdateRemoteMirrorRequest, error)
- grpc.ServerStream
+func (x *ListRemotesResponse_Remote) ProtoReflect() protoreflect.Message {
+ mi := &file_remote_proto_msgTypes[15]
+ 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)
}
-type remoteServiceUpdateRemoteMirrorServer struct {
- grpc.ServerStream
+// Deprecated: Use ListRemotesResponse_Remote.ProtoReflect.Descriptor instead.
+func (*ListRemotesResponse_Remote) Descriptor() ([]byte, []int) {
+ return file_remote_proto_rawDescGZIP(), []int{13, 0}
}
-func (x *remoteServiceUpdateRemoteMirrorServer) SendAndClose(m *UpdateRemoteMirrorResponse) error {
- return x.ServerStream.SendMsg(m)
+func (x *ListRemotesResponse_Remote) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
}
-func (x *remoteServiceUpdateRemoteMirrorServer) Recv() (*UpdateRemoteMirrorRequest, error) {
- m := new(UpdateRemoteMirrorRequest)
- if err := x.ServerStream.RecvMsg(m); err != nil {
- return nil, err
+func (x *ListRemotesResponse_Remote) GetFetchUrl() string {
+ if x != nil {
+ return x.FetchUrl
}
- return m, nil
+ return ""
}
-func _RemoteService_FindRemoteRepository_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindRemoteRepositoryRequest)
- if err := dec(in); err != nil {
- return nil, err
+func (x *ListRemotesResponse_Remote) GetPushUrl() string {
+ if x != nil {
+ return x.PushUrl
}
- if interceptor == nil {
- return srv.(RemoteServiceServer).FindRemoteRepository(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/gitaly.RemoteService/FindRemoteRepository",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(RemoteServiceServer).FindRemoteRepository(ctx, req.(*FindRemoteRepositoryRequest))
- }
- return interceptor(ctx, in, info, handler)
+ return ""
}
-func _RemoteService_FindRemoteRootRef_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(FindRemoteRootRefRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/gitaly.RemoteService/FindRemoteRootRef",
+var File_remote_proto protoreflect.FileDescriptor
+
+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, 0x63, 0x0a, 0x13, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 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, 0x22, 0x2e, 0x0a, 0x14, 0x52,
+ 0x65, 0x6d, 0x6f, 0x76, 0x65, 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, 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, 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,
+ 0xca, 0x04, 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, 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, 0x74, 0x1a, 0x23, 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, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28,
+ 0x02, 0x08, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x6d,
+ 0x6f, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d,
+ 0x6f, 0x76, 0x65, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65,
+ 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06,
+ 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 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, 0x1a,
+ 0x22, 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, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x12, 0x6b, 0x0a,
+ 0x14, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73,
+ 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 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, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74,
+ 0x61, 0x6c, 0x79, 0x2e, 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,
+ 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x02, 0x10, 0x02, 0x12, 0x60, 0x0a, 0x11, 0x46, 0x69,
+ 0x6e, 0x64, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x12,
+ 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x6d,
+ 0x6f, 0x74, 0x65, 0x52, 0x6f, 0x6f, 0x74, 0x52, 0x65, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 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, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x34, 0x5a, 0x32,
+ 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61,
+ 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34,
+ 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79,
+ 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+ file_remote_proto_rawDescOnce sync.Once
+ file_remote_proto_rawDescData = file_remote_proto_rawDesc
+)
+
+func file_remote_proto_rawDescGZIP() []byte {
+ file_remote_proto_rawDescOnce.Do(func() {
+ file_remote_proto_rawDescData = protoimpl.X.CompressGZIP(file_remote_proto_rawDescData)
+ })
+ return file_remote_proto_rawDescData
+}
+
+var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
+var file_remote_proto_goTypes = []interface{}{
+ (*AddRemoteRequest)(nil), // 0: gitaly.AddRemoteRequest
+ (*AddRemoteResponse)(nil), // 1: gitaly.AddRemoteResponse
+ (*RemoveRemoteRequest)(nil), // 2: gitaly.RemoveRemoteRequest
+ (*RemoveRemoteResponse)(nil), // 3: gitaly.RemoveRemoteResponse
+ (*FetchInternalRemoteRequest)(nil), // 4: gitaly.FetchInternalRemoteRequest
+ (*FetchInternalRemoteResponse)(nil), // 5: gitaly.FetchInternalRemoteResponse
+ (*UpdateRemoteMirrorRequest)(nil), // 6: gitaly.UpdateRemoteMirrorRequest
+ (*UpdateRemoteMirrorResponse)(nil), // 7: gitaly.UpdateRemoteMirrorResponse
+ (*FindRemoteRepositoryRequest)(nil), // 8: gitaly.FindRemoteRepositoryRequest
+ (*FindRemoteRepositoryResponse)(nil), // 9: gitaly.FindRemoteRepositoryResponse
+ (*FindRemoteRootRefRequest)(nil), // 10: gitaly.FindRemoteRootRefRequest
+ (*FindRemoteRootRefResponse)(nil), // 11: gitaly.FindRemoteRootRefResponse
+ (*ListRemotesRequest)(nil), // 12: gitaly.ListRemotesRequest
+ (*ListRemotesResponse)(nil), // 13: gitaly.ListRemotesResponse
+ (*UpdateRemoteMirrorRequest_Remote)(nil), // 14: gitaly.UpdateRemoteMirrorRequest.Remote
+ (*ListRemotesResponse_Remote)(nil), // 15: gitaly.ListRemotesResponse.Remote
+ (*Repository)(nil), // 16: gitaly.Repository
+}
+var file_remote_proto_depIdxs = []int32{
+ 16, // 0: gitaly.AddRemoteRequest.repository:type_name -> gitaly.Repository
+ 16, // 1: gitaly.RemoveRemoteRequest.repository:type_name -> gitaly.Repository
+ 16, // 2: gitaly.FetchInternalRemoteRequest.repository:type_name -> gitaly.Repository
+ 16, // 3: gitaly.FetchInternalRemoteRequest.remote_repository:type_name -> gitaly.Repository
+ 16, // 4: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository
+ 14, // 5: gitaly.UpdateRemoteMirrorRequest.remote:type_name -> gitaly.UpdateRemoteMirrorRequest.Remote
+ 16, // 6: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository
+ 16, // 7: gitaly.ListRemotesRequest.repository:type_name -> gitaly.Repository
+ 15, // 8: gitaly.ListRemotesResponse.remotes:type_name -> gitaly.ListRemotesResponse.Remote
+ 0, // 9: gitaly.RemoteService.AddRemote:input_type -> gitaly.AddRemoteRequest
+ 4, // 10: gitaly.RemoteService.FetchInternalRemote:input_type -> gitaly.FetchInternalRemoteRequest
+ 2, // 11: gitaly.RemoteService.RemoveRemote:input_type -> gitaly.RemoveRemoteRequest
+ 6, // 12: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest
+ 8, // 13: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest
+ 10, // 14: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest
+ 1, // 15: gitaly.RemoteService.AddRemote:output_type -> gitaly.AddRemoteResponse
+ 5, // 16: gitaly.RemoteService.FetchInternalRemote:output_type -> gitaly.FetchInternalRemoteResponse
+ 3, // 17: gitaly.RemoteService.RemoveRemote:output_type -> gitaly.RemoveRemoteResponse
+ 7, // 18: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse
+ 9, // 19: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse
+ 11, // 20: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse
+ 15, // [15:21] is the sub-list for method output_type
+ 9, // [9:15] is the sub-list for method input_type
+ 9, // [9:9] is the sub-list for extension type_name
+ 9, // [9:9] is the sub-list for extension extendee
+ 0, // [0:9] is the sub-list for field type_name
+}
+
+func init() { file_remote_proto_init() }
+func file_remote_proto_init() {
+ if File_remote_proto != nil {
+ return
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(RemoteServiceServer).FindRemoteRootRef(ctx, req.(*FindRemoteRootRefRequest))
+ file_lint_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.(*RemoveRemoteRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*RemoveRemoteResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FetchInternalRemoteRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FetchInternalRemoteResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateRemoteMirrorRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateRemoteMirrorResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FindRemoteRepositoryRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FindRemoteRepositoryResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FindRemoteRootRefRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*FindRemoteRootRefResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListRemotesRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListRemotesResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*UpdateRemoteMirrorRequest_Remote); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_remote_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*ListRemotesResponse_Remote); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
}
- return interceptor(ctx, in, info, handler)
-}
-
-var _RemoteService_serviceDesc = grpc.ServiceDesc{
- ServiceName: "gitaly.RemoteService",
- HandlerType: (*RemoteServiceServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "AddRemote",
- Handler: _RemoteService_AddRemote_Handler,
- },
- {
- MethodName: "FetchInternalRemote",
- Handler: _RemoteService_FetchInternalRemote_Handler,
- },
- {
- MethodName: "RemoveRemote",
- Handler: _RemoteService_RemoveRemote_Handler,
- },
- {
- MethodName: "FindRemoteRepository",
- Handler: _RemoteService_FindRemoteRepository_Handler,
- },
- {
- MethodName: "FindRemoteRootRef",
- Handler: _RemoteService_FindRemoteRootRef_Handler,
- },
- },
- Streams: []grpc.StreamDesc{
- {
- StreamName: "UpdateRemoteMirror",
- Handler: _RemoteService_UpdateRemoteMirror_Handler,
- ClientStreams: true,
+ type x struct{}
+ out := protoimpl.TypeBuilder{
+ File: protoimpl.DescBuilder{
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+ RawDescriptor: file_remote_proto_rawDesc,
+ NumEnums: 0,
+ NumMessages: 16,
+ NumExtensions: 0,
+ NumServices: 1,
},
- },
- Metadata: "remote.proto",
+ GoTypes: file_remote_proto_goTypes,
+ DependencyIndexes: file_remote_proto_depIdxs,
+ MessageInfos: file_remote_proto_msgTypes,
+ }.Build()
+ File_remote_proto = out.File
+ file_remote_proto_rawDesc = nil
+ file_remote_proto_goTypes = nil
+ file_remote_proto_depIdxs = nil
}